@chrishdx/llm-dev-server 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/backend/dist/models/Conversation.d.ts +3 -3
- package/backend/dist/models/Conversation.d.ts.map +1 -1
- package/backend/dist/models/Conversation.js +15 -13
- package/backend/dist/models/Conversation.js.map +1 -1
- package/backend/dist/models/Message.d.ts +3 -3
- package/backend/dist/models/Message.d.ts.map +1 -1
- package/backend/dist/models/Message.js +14 -12
- package/backend/dist/models/Message.js.map +1 -1
- package/backend/dist/services/conversation/ConversationService.d.ts.map +1 -1
- package/backend/dist/services/conversation/ConversationService.js +11 -5
- package/backend/dist/services/conversation/ConversationService.js.map +1 -1
- package/backend/dist/services/job/JobService.d.ts.map +1 -1
- package/backend/dist/services/job/JobService.js +16 -0
- package/backend/dist/services/job/JobService.js.map +1 -1
- package/backend/public/assets/index-4QnHnKel.js +204 -0
- package/backend/public/index.html +1 -1
- package/package.json +1 -1
- package/backend/public/assets/index-CrDmFy4C.js +0 -242
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
function oE(e,n){for(var o=0;o<n.length;o++){const i=n[o];if(typeof i!="string"&&!Array.isArray(i)){for(const s in i)if(s!=="default"&&!(s in e)){const c=Object.getOwnPropertyDescriptor(i,s);c&&Object.defineProperty(e,s,c.get?c:{enumerable:!0,get:()=>i[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const c of s)if(c.type==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&i(u)}).observe(document,{childList:!0,subtree:!0});function o(s){const c={};return s.integrity&&(c.integrity=s.integrity),s.referrerPolicy&&(c.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?c.credentials="include":s.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function i(s){if(s.ep)return;s.ep=!0;const c=o(s);fetch(s.href,c)}})();function pm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var th={exports:{}},ml={};var e0;function aE(){if(e0)return ml;e0=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function o(i,s,c){var u=null;if(c!==void 0&&(u=""+c),s.key!==void 0&&(u=""+s.key),"key"in s){c={};for(var p in s)p!=="key"&&(c[p]=s[p])}else c=s;return s=c.ref,{$$typeof:e,type:i,key:u,ref:s!==void 0?s:null,props:c}}return ml.Fragment=n,ml.jsx=o,ml.jsxs=o,ml}var t0;function iE(){return t0||(t0=1,th.exports=aE()),th.exports}var d=iE(),nh={exports:{}},Ke={};var n0;function sE(){if(n0)return Ke;n0=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),w=Symbol.iterator;function T(D){return D===null||typeof D!="object"?null:(D=w&&D[w]||D["@@iterator"],typeof D=="function"?D:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,E={};function A(D,H,Q){this.props=D,this.context=H,this.refs=E,this.updater=Q||x}A.prototype.isReactComponent={},A.prototype.setState=function(D,H){if(typeof D!="object"&&typeof D!="function"&&D!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,D,H,"setState")},A.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function O(){}O.prototype=A.prototype;function j(D,H,Q){this.props=D,this.context=H,this.refs=E,this.updater=Q||x}var M=j.prototype=new O;M.constructor=j,S(M,A.prototype),M.isPureReactComponent=!0;var k=Array.isArray;function N(){}var L={H:null,A:null,T:null,S:null},U=Object.prototype.hasOwnProperty;function $(D,H,Q){var se=Q.ref;return{$$typeof:e,type:D,key:H,ref:se!==void 0?se:null,props:Q}}function F(D,H){return $(D.type,H,D.props)}function q(D){return typeof D=="object"&&D!==null&&D.$$typeof===e}function R(D){var H={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(Q){return H[Q]})}var _=/\/+/g;function I(D,H){return typeof D=="object"&&D!==null&&D.key!=null?R(""+D.key):H.toString(36)}function W(D){switch(D.status){case"fulfilled":return D.value;case"rejected":throw D.reason;default:switch(typeof D.status=="string"?D.then(N,N):(D.status="pending",D.then(function(H){D.status==="pending"&&(D.status="fulfilled",D.value=H)},function(H){D.status==="pending"&&(D.status="rejected",D.reason=H)})),D.status){case"fulfilled":return D.value;case"rejected":throw D.reason}}throw D}function B(D,H,Q,se,me){var fe=typeof D;(fe==="undefined"||fe==="boolean")&&(D=null);var ye=!1;if(D===null)ye=!0;else switch(fe){case"bigint":case"string":case"number":ye=!0;break;case"object":switch(D.$$typeof){case e:case n:ye=!0;break;case y:return ye=D._init,B(ye(D._payload),H,Q,se,me)}}if(ye)return me=me(D),ye=se===""?"."+I(D,0):se,k(me)?(Q="",ye!=null&&(Q=ye.replace(_,"$&/")+"/"),B(me,H,Q,"",function(ke){return ke})):me!=null&&(q(me)&&(me=F(me,Q+(me.key==null||D&&D.key===me.key?"":(""+me.key).replace(_,"$&/")+"/")+ye)),H.push(me)),1;ye=0;var ze=se===""?".":se+":";if(k(D))for(var je=0;je<D.length;je++)se=D[je],fe=ze+I(se,je),ye+=B(se,H,Q,fe,me);else if(je=T(D),typeof je=="function")for(D=je.call(D),je=0;!(se=D.next()).done;)se=se.value,fe=ze+I(se,je++),ye+=B(se,H,Q,fe,me);else if(fe==="object"){if(typeof D.then=="function")return B(W(D),H,Q,se,me);throw H=String(D),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}return ye}function P(D,H,Q){if(D==null)return D;var se=[],me=0;return B(D,se,"","",function(fe){return H.call(Q,fe,me++)}),se}function X(D){if(D._status===-1){var H=D._result;H=H(),H.then(function(Q){(D._status===0||D._status===-1)&&(D._status=1,D._result=Q)},function(Q){(D._status===0||D._status===-1)&&(D._status=2,D._result=Q)}),D._status===-1&&(D._status=0,D._result=H)}if(D._status===1)return D._result.default;throw D._result}var Z=typeof reportError=="function"?reportError:function(D){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var H=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof D=="object"&&D!==null&&typeof D.message=="string"?String(D.message):String(D),error:D});if(!window.dispatchEvent(H))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",D);return}console.error(D)},pe={map:P,forEach:function(D,H,Q){P(D,function(){H.apply(this,arguments)},Q)},count:function(D){var H=0;return P(D,function(){H++}),H},toArray:function(D){return P(D,function(H){return H})||[]},only:function(D){if(!q(D))throw Error("React.Children.only expected to receive a single React element child.");return D}};return Ke.Activity=b,Ke.Children=pe,Ke.Component=A,Ke.Fragment=o,Ke.Profiler=s,Ke.PureComponent=j,Ke.StrictMode=i,Ke.Suspense=m,Ke.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=L,Ke.__COMPILER_RUNTIME={__proto__:null,c:function(D){return L.H.useMemoCache(D)}},Ke.cache=function(D){return function(){return D.apply(null,arguments)}},Ke.cacheSignal=function(){return null},Ke.cloneElement=function(D,H,Q){if(D==null)throw Error("The argument must be a React element, but you passed "+D+".");var se=S({},D.props),me=D.key;if(H!=null)for(fe in H.key!==void 0&&(me=""+H.key),H)!U.call(H,fe)||fe==="key"||fe==="__self"||fe==="__source"||fe==="ref"&&H.ref===void 0||(se[fe]=H[fe]);var fe=arguments.length-2;if(fe===1)se.children=Q;else if(1<fe){for(var ye=Array(fe),ze=0;ze<fe;ze++)ye[ze]=arguments[ze+2];se.children=ye}return $(D.type,me,se)},Ke.createContext=function(D){return D={$$typeof:u,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null},D.Provider=D,D.Consumer={$$typeof:c,_context:D},D},Ke.createElement=function(D,H,Q){var se,me={},fe=null;if(H!=null)for(se in H.key!==void 0&&(fe=""+H.key),H)U.call(H,se)&&se!=="key"&&se!=="__self"&&se!=="__source"&&(me[se]=H[se]);var ye=arguments.length-2;if(ye===1)me.children=Q;else if(1<ye){for(var ze=Array(ye),je=0;je<ye;je++)ze[je]=arguments[je+2];me.children=ze}if(D&&D.defaultProps)for(se in ye=D.defaultProps,ye)me[se]===void 0&&(me[se]=ye[se]);return $(D,fe,me)},Ke.createRef=function(){return{current:null}},Ke.forwardRef=function(D){return{$$typeof:p,render:D}},Ke.isValidElement=q,Ke.lazy=function(D){return{$$typeof:y,_payload:{_status:-1,_result:D},_init:X}},Ke.memo=function(D,H){return{$$typeof:g,type:D,compare:H===void 0?null:H}},Ke.startTransition=function(D){var H=L.T,Q={};L.T=Q;try{var se=D(),me=L.S;me!==null&&me(Q,se),typeof se=="object"&&se!==null&&typeof se.then=="function"&&se.then(N,Z)}catch(fe){Z(fe)}finally{H!==null&&Q.types!==null&&(H.types=Q.types),L.T=H}},Ke.unstable_useCacheRefresh=function(){return L.H.useCacheRefresh()},Ke.use=function(D){return L.H.use(D)},Ke.useActionState=function(D,H,Q){return L.H.useActionState(D,H,Q)},Ke.useCallback=function(D,H){return L.H.useCallback(D,H)},Ke.useContext=function(D){return L.H.useContext(D)},Ke.useDebugValue=function(){},Ke.useDeferredValue=function(D,H){return L.H.useDeferredValue(D,H)},Ke.useEffect=function(D,H){return L.H.useEffect(D,H)},Ke.useEffectEvent=function(D){return L.H.useEffectEvent(D)},Ke.useId=function(){return L.H.useId()},Ke.useImperativeHandle=function(D,H,Q){return L.H.useImperativeHandle(D,H,Q)},Ke.useInsertionEffect=function(D,H){return L.H.useInsertionEffect(D,H)},Ke.useLayoutEffect=function(D,H){return L.H.useLayoutEffect(D,H)},Ke.useMemo=function(D,H){return L.H.useMemo(D,H)},Ke.useOptimistic=function(D,H){return L.H.useOptimistic(D,H)},Ke.useReducer=function(D,H,Q){return L.H.useReducer(D,H,Q)},Ke.useRef=function(D){return L.H.useRef(D)},Ke.useState=function(D){return L.H.useState(D)},Ke.useSyncExternalStore=function(D,H,Q){return L.H.useSyncExternalStore(D,H,Q)},Ke.useTransition=function(){return L.H.useTransition()},Ke.version="19.2.3",Ke}var r0;function hm(){return r0||(r0=1,nh.exports=sE()),nh.exports}var v=hm();const Dr=pm(v),kh=oE({__proto__:null,default:Dr},[v]);var rh={exports:{}},gl={},oh={exports:{}},ah={};var o0;function lE(){return o0||(o0=1,(function(e){function n(B,P){var X=B.length;B.push(P);e:for(;0<X;){var Z=X-1>>>1,pe=B[Z];if(0<s(pe,P))B[Z]=P,B[X]=pe,X=Z;else break e}}function o(B){return B.length===0?null:B[0]}function i(B){if(B.length===0)return null;var P=B[0],X=B.pop();if(X!==P){B[0]=X;e:for(var Z=0,pe=B.length,D=pe>>>1;Z<D;){var H=2*(Z+1)-1,Q=B[H],se=H+1,me=B[se];if(0>s(Q,X))se<pe&&0>s(me,Q)?(B[Z]=me,B[se]=X,Z=se):(B[Z]=Q,B[H]=X,Z=H);else if(se<pe&&0>s(me,X))B[Z]=me,B[se]=X,Z=se;else break e}}return P}function s(B,P){var X=B.sortIndex-P.sortIndex;return X!==0?X:B.id-P.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var u=Date,p=u.now();e.unstable_now=function(){return u.now()-p}}var m=[],g=[],y=1,b=null,w=3,T=!1,x=!1,S=!1,E=!1,A=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;function M(B){for(var P=o(g);P!==null;){if(P.callback===null)i(g);else if(P.startTime<=B)i(g),P.sortIndex=P.expirationTime,n(m,P);else break;P=o(g)}}function k(B){if(S=!1,M(B),!x)if(o(m)!==null)x=!0,N||(N=!0,R());else{var P=o(g);P!==null&&W(k,P.startTime-B)}}var N=!1,L=-1,U=5,$=-1;function F(){return E?!0:!(e.unstable_now()-$<U)}function q(){if(E=!1,N){var B=e.unstable_now();$=B;var P=!0;try{e:{x=!1,S&&(S=!1,O(L),L=-1),T=!0;var X=w;try{t:{for(M(B),b=o(m);b!==null&&!(b.expirationTime>B&&F());){var Z=b.callback;if(typeof Z=="function"){b.callback=null,w=b.priorityLevel;var pe=Z(b.expirationTime<=B);if(B=e.unstable_now(),typeof pe=="function"){b.callback=pe,M(B),P=!0;break t}b===o(m)&&i(m),M(B)}else i(m);b=o(m)}if(b!==null)P=!0;else{var D=o(g);D!==null&&W(k,D.startTime-B),P=!1}}break e}finally{b=null,w=X,T=!1}P=void 0}}finally{P?R():N=!1}}}var R;if(typeof j=="function")R=function(){j(q)};else if(typeof MessageChannel<"u"){var _=new MessageChannel,I=_.port2;_.port1.onmessage=q,R=function(){I.postMessage(null)}}else R=function(){A(q,0)};function W(B,P){L=A(function(){B(e.unstable_now())},P)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(B){B.callback=null},e.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):U=0<B?Math.floor(1e3/B):5},e.unstable_getCurrentPriorityLevel=function(){return w},e.unstable_next=function(B){switch(w){case 1:case 2:case 3:var P=3;break;default:P=w}var X=w;w=P;try{return B()}finally{w=X}},e.unstable_requestPaint=function(){E=!0},e.unstable_runWithPriority=function(B,P){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var X=w;w=B;try{return P()}finally{w=X}},e.unstable_scheduleCallback=function(B,P,X){var Z=e.unstable_now();switch(typeof X=="object"&&X!==null?(X=X.delay,X=typeof X=="number"&&0<X?Z+X:Z):X=Z,B){case 1:var pe=-1;break;case 2:pe=250;break;case 5:pe=1073741823;break;case 4:pe=1e4;break;default:pe=5e3}return pe=X+pe,B={id:y++,callback:P,priorityLevel:B,startTime:X,expirationTime:pe,sortIndex:-1},X>Z?(B.sortIndex=X,n(g,B),o(m)===null&&B===o(g)&&(S?(O(L),L=-1):S=!0,W(k,X-Z))):(B.sortIndex=pe,n(m,B),x||T||(x=!0,N||(N=!0,R()))),B},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(B){var P=w;return function(){var X=w;w=P;try{return B.apply(this,arguments)}finally{w=X}}}})(ah)),ah}var a0;function cE(){return a0||(a0=1,oh.exports=lE()),oh.exports}var ih={exports:{}},Rn={};var i0;function uE(){if(i0)return Rn;i0=1;var e=hm();function n(m){var g="https://react.dev/errors/"+m;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)g+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+m+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var i={d:{f:o,r:function(){throw Error(n(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},s=Symbol.for("react.portal");function c(m,g,y){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:b==null?null:""+b,children:m,containerInfo:g,implementation:y}}var u=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(m,g){if(m==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return Rn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,Rn.createPortal=function(m,g){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error(n(299));return c(m,g,null,y)},Rn.flushSync=function(m){var g=u.T,y=i.p;try{if(u.T=null,i.p=2,m)return m()}finally{u.T=g,i.p=y,i.d.f()}},Rn.preconnect=function(m,g){typeof m=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,i.d.C(m,g))},Rn.prefetchDNS=function(m){typeof m=="string"&&i.d.D(m)},Rn.preinit=function(m,g){if(typeof m=="string"&&g&&typeof g.as=="string"){var y=g.as,b=p(y,g.crossOrigin),w=typeof g.integrity=="string"?g.integrity:void 0,T=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;y==="style"?i.d.S(m,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:b,integrity:w,fetchPriority:T}):y==="script"&&i.d.X(m,{crossOrigin:b,integrity:w,fetchPriority:T,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},Rn.preinitModule=function(m,g){if(typeof m=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var y=p(g.as,g.crossOrigin);i.d.M(m,{crossOrigin:y,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})}}else g==null&&i.d.M(m)},Rn.preload=function(m,g){if(typeof m=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var y=g.as,b=p(y,g.crossOrigin);i.d.L(m,y,{crossOrigin:b,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},Rn.preloadModule=function(m,g){if(typeof m=="string")if(g){var y=p(g.as,g.crossOrigin);i.d.m(m,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:y,integrity:typeof g.integrity=="string"?g.integrity:void 0})}else i.d.m(m)},Rn.requestFormReset=function(m){i.d.r(m)},Rn.unstable_batchedUpdates=function(m,g){return m(g)},Rn.useFormState=function(m,g,y){return u.H.useFormState(m,g,y)},Rn.useFormStatus=function(){return u.H.useHostTransitionStatus()},Rn.version="19.2.3",Rn}var s0;function y1(){if(s0)return ih.exports;s0=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(n){console.error(n)}}return e(),ih.exports=uE(),ih.exports}var l0;function dE(){if(l0)return gl;l0=1;var e=cE(),n=hm(),o=y1();function i(t){var r="https://react.dev/errors/"+t;if(1<arguments.length){r+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)r+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+t+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function c(t){var r=t,a=t;if(t.alternate)for(;r.return;)r=r.return;else{t=r;do r=t,(r.flags&4098)!==0&&(a=r.return),t=r.return;while(t)}return r.tag===3?a:null}function u(t){if(t.tag===13){var r=t.memoizedState;if(r===null&&(t=t.alternate,t!==null&&(r=t.memoizedState)),r!==null)return r.dehydrated}return null}function p(t){if(t.tag===31){var r=t.memoizedState;if(r===null&&(t=t.alternate,t!==null&&(r=t.memoizedState)),r!==null)return r.dehydrated}return null}function m(t){if(c(t)!==t)throw Error(i(188))}function g(t){var r=t.alternate;if(!r){if(r=c(t),r===null)throw Error(i(188));return r!==t?null:t}for(var a=t,l=r;;){var f=a.return;if(f===null)break;var h=f.alternate;if(h===null){if(l=f.return,l!==null){a=l;continue}break}if(f.child===h.child){for(h=f.child;h;){if(h===a)return m(f),t;if(h===l)return m(f),r;h=h.sibling}throw Error(i(188))}if(a.return!==l.return)a=f,l=h;else{for(var C=!1,z=f.child;z;){if(z===a){C=!0,a=f,l=h;break}if(z===l){C=!0,l=f,a=h;break}z=z.sibling}if(!C){for(z=h.child;z;){if(z===a){C=!0,a=h,l=f;break}if(z===l){C=!0,l=h,a=f;break}z=z.sibling}if(!C)throw Error(i(189))}}if(a.alternate!==l)throw Error(i(190))}if(a.tag!==3)throw Error(i(188));return a.stateNode.current===a?t:r}function y(t){var r=t.tag;if(r===5||r===26||r===27||r===6)return t;for(t=t.child;t!==null;){if(r=y(t),r!==null)return r;t=t.sibling}return null}var b=Object.assign,w=Symbol.for("react.element"),T=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),O=Symbol.for("react.consumer"),j=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),$=Symbol.for("react.activity"),F=Symbol.for("react.memo_cache_sentinel"),q=Symbol.iterator;function R(t){return t===null||typeof t!="object"?null:(t=q&&t[q]||t["@@iterator"],typeof t=="function"?t:null)}var _=Symbol.for("react.client.reference");function I(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===_?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case S:return"Fragment";case A:return"Profiler";case E:return"StrictMode";case k:return"Suspense";case N:return"SuspenseList";case $:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case x:return"Portal";case j:return t.displayName||"Context";case O:return(t._context.displayName||"Context")+".Consumer";case M:var r=t.render;return t=t.displayName,t||(t=r.displayName||r.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case L:return r=t.displayName||null,r!==null?r:I(t.type)||"Memo";case U:r=t._payload,t=t._init;try{return I(t(r))}catch{}}return null}var W=Array.isArray,B=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X={pending:!1,data:null,method:null,action:null},Z=[],pe=-1;function D(t){return{current:t}}function H(t){0>pe||(t.current=Z[pe],Z[pe]=null,pe--)}function Q(t,r){pe++,Z[pe]=t.current,t.current=r}var se=D(null),me=D(null),fe=D(null),ye=D(null);function ze(t,r){switch(Q(fe,r),Q(me,t),Q(se,null),r.nodeType){case 9:case 11:t=(t=r.documentElement)&&(t=t.namespaceURI)?wb(t):0;break;default:if(t=r.tagName,r=r.namespaceURI)r=wb(r),t=Eb(r,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}H(se),Q(se,t)}function je(){H(se),H(me),H(fe)}function ke(t){t.memoizedState!==null&&Q(ye,t);var r=se.current,a=Eb(r,t.type);r!==a&&(Q(me,t),Q(se,a))}function De(t){me.current===t&&(H(se),H(me)),ye.current===t&&(H(ye),dl._currentValue=X)}var $e,We;function be(t){if($e===void 0)try{throw Error()}catch(a){var r=a.stack.trim().match(/\n( *(at )?)/);$e=r&&r[1]||"",We=-1<a.stack.indexOf(`
|
|
2
|
+
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
+
`+$e+t+We}var ve=!1;function Ye(t,r){if(!t||ve)return"";ve=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(r){var he=function(){throw Error()};if(Object.defineProperty(he.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(he,[])}catch(oe){var te=oe}Reflect.construct(t,[],he)}else{try{he.call()}catch(oe){te=oe}t.call(he.prototype)}}else{try{throw Error()}catch(oe){te=oe}(he=t())&&typeof he.catch=="function"&&he.catch(function(){})}}catch(oe){if(oe&&te&&typeof oe.stack=="string")return[oe.stack,te.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var h=l.DetermineComponentFrameRoot(),C=h[0],z=h[1];if(C&&z){var V=C.split(`
|
|
4
|
+
`),ee=z.split(`
|
|
5
|
+
`);for(f=l=0;l<V.length&&!V[l].includes("DetermineComponentFrameRoot");)l++;for(;f<ee.length&&!ee[f].includes("DetermineComponentFrameRoot");)f++;if(l===V.length||f===ee.length)for(l=V.length-1,f=ee.length-1;1<=l&&0<=f&&V[l]!==ee[f];)f--;for(;1<=l&&0<=f;l--,f--)if(V[l]!==ee[f]){if(l!==1||f!==1)do if(l--,f--,0>f||V[l]!==ee[f]){var le=`
|
|
6
|
+
`+V[l].replace(" at new "," at ");return t.displayName&&le.includes("<anonymous>")&&(le=le.replace("<anonymous>",t.displayName)),le}while(1<=l&&0<=f);break}}}finally{ve=!1,Error.prepareStackTrace=a}return(a=t?t.displayName||t.name:"")?be(a):""}function _e(t,r){switch(t.tag){case 26:case 27:case 5:return be(t.type);case 16:return be("Lazy");case 13:return t.child!==r&&r!==null?be("Suspense Fallback"):be("Suspense");case 19:return be("SuspenseList");case 0:case 15:return Ye(t.type,!1);case 11:return Ye(t.type.render,!1);case 1:return Ye(t.type,!0);case 31:return be("Activity");default:return""}}function Ie(t){try{var r="",a=null;do r+=_e(t,a),a=t,t=t.return;while(t);return r}catch(l){return`
|
|
7
|
+
Error generating stack: `+l.message+`
|
|
8
|
+
`+l.stack}}var Ve=Object.prototype.hasOwnProperty,nt=e.unstable_scheduleCallback,Je=e.unstable_cancelCallback,Ae=e.unstable_shouldYield,on=e.unstable_requestPaint,qe=e.unstable_now,Tn=e.unstable_getCurrentPriorityLevel,ht=e.unstable_ImmediatePriority,et=e.unstable_UserBlockingPriority,vt=e.unstable_NormalPriority,kt=e.unstable_LowPriority,fn=e.unstable_IdlePriority,Xe=e.log,an=e.unstable_setDisableYieldValue,Wt=null,Bt=null;function gn(t){if(typeof Xe=="function"&&an(t),Bt&&typeof Bt.setStrictMode=="function")try{Bt.setStrictMode(Wt,t)}catch{}}var Gt=Math.clz32?Math.clz32:Nt,Be=Math.log,lt=Math.LN2;function Nt(t){return t>>>=0,t===0?32:31-(Be(t)/lt|0)|0}var On=256,Ar=262144,_r=4194304;function Mr(t){var r=t&42;if(r!==0)return r;switch(t&-t){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 t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function _o(t,r,a){var l=t.pendingLanes;if(l===0)return 0;var f=0,h=t.suspendedLanes,C=t.pingedLanes;t=t.warmLanes;var z=l&134217727;return z!==0?(l=z&~h,l!==0?f=Mr(l):(C&=z,C!==0?f=Mr(C):a||(a=z&~t,a!==0&&(f=Mr(a))))):(z=l&~h,z!==0?f=Mr(z):C!==0?f=Mr(C):a||(a=l&~t,a!==0&&(f=Mr(a)))),f===0?0:r!==0&&r!==f&&(r&h)===0&&(h=f&-f,a=r&-r,h>=a||h===32&&(a&4194048)!==0)?r:f}function fo(t,r){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&r)===0}function Es(t,r){switch(t){case 1:case 2:case 4:case 8:case 64:return r+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 r+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 Ge(){var t=_r;return _r<<=1,(_r&62914560)===0&&(_r=4194304),t}function Dn(t){for(var r=[],a=0;31>a;a++)r.push(t);return r}function Ee(t,r){t.pendingLanes|=r,r!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Pe(t,r,a,l,f,h){var C=t.pendingLanes;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=a,t.entangledLanes&=a,t.errorRecoveryDisabledLanes&=a,t.shellSuspendCounter=0;var z=t.entanglements,V=t.expirationTimes,ee=t.hiddenUpdates;for(a=C&~a;0<a;){var le=31-Gt(a),he=1<<le;z[le]=0,V[le]=-1;var te=ee[le];if(te!==null)for(ee[le]=null,le=0;le<te.length;le++){var oe=te[le];oe!==null&&(oe.lane&=-536870913)}a&=~he}l!==0&&dt(t,l,0),h!==0&&f===0&&t.tag!==0&&(t.suspendedLanes|=h&~(C&~r))}function dt(t,r,a){t.pendingLanes|=r,t.suspendedLanes&=~r;var l=31-Gt(r);t.entangledLanes|=r,t.entanglements[l]=t.entanglements[l]|1073741824|a&261930}function ut(t,r){var a=t.entangledLanes|=r;for(t=t.entanglements;a;){var l=31-Gt(a),f=1<<l;f&r|t[l]&r&&(t[l]|=r),a&=~f}}function Ht(t,r){var a=r&-r;return a=(a&42)!==0?1:Ln(a),(a&(t.suspendedLanes|r))!==0?0:a}function Ln(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function kr(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Io(){var t=P.p;return t!==0?t:(t=window.event,t===void 0?32:Gb(t.type))}function Ts(t,r){var a=P.p;try{return P.p=t,r()}finally{P.p=a}}var sr=Math.random().toString(36).slice(2),yn="__reactFiber$"+sr,$n="__reactProps$"+sr,ni="__reactContainer$"+sr,qd="__reactEvents$"+sr,GC="__reactListeners$"+sr,KC="__reactHandles$"+sr,ug="__reactResources$"+sr,Rs="__reactMarker$"+sr;function Wd(t){delete t[yn],delete t[$n],delete t[qd],delete t[GC],delete t[KC]}function ri(t){var r=t[yn];if(r)return r;for(var a=t.parentNode;a;){if(r=a[ni]||a[yn]){if(a=r.alternate,r.child!==null||a!==null&&a.child!==null)for(t=Ob(t);t!==null;){if(a=t[yn])return a;t=Ob(t)}return r}t=a,a=t.parentNode}return null}function oi(t){if(t=t[yn]||t[ni]){var r=t.tag;if(r===5||r===6||r===13||r===31||r===26||r===27||r===3)return t}return null}function js(t){var r=t.tag;if(r===5||r===26||r===27||r===6)return t.stateNode;throw Error(i(33))}function ai(t){var r=t[ug];return r||(r=t[ug]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function hn(t){t[Rs]=!0}var dg=new Set,fg={};function Sa(t,r){ii(t,r),ii(t+"Capture",r)}function ii(t,r){for(fg[t]=r,t=0;t<r.length;t++)dg.add(r[t])}var YC=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),pg={},hg={};function XC(t){return Ve.call(hg,t)?!0:Ve.call(pg,t)?!1:YC.test(t)?hg[t]=!0:(pg[t]=!0,!1)}function hc(t,r,a){if(XC(r))if(a===null)t.removeAttribute(r);else{switch(typeof a){case"undefined":case"function":case"symbol":t.removeAttribute(r);return;case"boolean":var l=r.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(r);return}}t.setAttribute(r,""+a)}}function mc(t,r,a){if(a===null)t.removeAttribute(r);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(r);return}t.setAttribute(r,""+a)}}function po(t,r,a,l){if(l===null)t.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}t.setAttributeNS(r,a,""+l)}}function lr(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function mg(t){var r=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function QC(t,r,a){var l=Object.getOwnPropertyDescriptor(t.constructor.prototype,r);if(!t.hasOwnProperty(r)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var f=l.get,h=l.set;return Object.defineProperty(t,r,{configurable:!0,get:function(){return f.call(this)},set:function(C){a=""+C,h.call(this,C)}}),Object.defineProperty(t,r,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(C){a=""+C},stopTracking:function(){t._valueTracker=null,delete t[r]}}}}function Gd(t){if(!t._valueTracker){var r=mg(t)?"checked":"value";t._valueTracker=QC(t,r,""+t[r])}}function gg(t){if(!t)return!1;var r=t._valueTracker;if(!r)return!0;var a=r.getValue(),l="";return t&&(l=mg(t)?t.checked?"true":"false":t.value),t=l,t!==a?(r.setValue(t),!0):!1}function gc(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var ZC=/[\n"\\]/g;function cr(t){return t.replace(ZC,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function Kd(t,r,a,l,f,h,C,z){t.name="",C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"?t.type=C:t.removeAttribute("type"),r!=null?C==="number"?(r===0&&t.value===""||t.value!=r)&&(t.value=""+lr(r)):t.value!==""+lr(r)&&(t.value=""+lr(r)):C!=="submit"&&C!=="reset"||t.removeAttribute("value"),r!=null?Yd(t,C,lr(r)):a!=null?Yd(t,C,lr(a)):l!=null&&t.removeAttribute("value"),f==null&&h!=null&&(t.defaultChecked=!!h),f!=null&&(t.checked=f&&typeof f!="function"&&typeof f!="symbol"),z!=null&&typeof z!="function"&&typeof z!="symbol"&&typeof z!="boolean"?t.name=""+lr(z):t.removeAttribute("name")}function yg(t,r,a,l,f,h,C,z){if(h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(t.type=h),r!=null||a!=null){if(!(h!=="submit"&&h!=="reset"||r!=null)){Gd(t);return}a=a!=null?""+lr(a):"",r=r!=null?""+lr(r):a,z||r===t.value||(t.value=r),t.defaultValue=r}l=l??f,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=z?t.checked:!!l,t.defaultChecked=!!l,C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"&&(t.name=C),Gd(t)}function Yd(t,r,a){r==="number"&&gc(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function si(t,r,a,l){if(t=t.options,r){r={};for(var f=0;f<a.length;f++)r["$"+a[f]]=!0;for(a=0;a<t.length;a++)f=r.hasOwnProperty("$"+t[a].value),t[a].selected!==f&&(t[a].selected=f),f&&l&&(t[a].defaultSelected=!0)}else{for(a=""+lr(a),r=null,f=0;f<t.length;f++){if(t[f].value===a){t[f].selected=!0,l&&(t[f].defaultSelected=!0);return}r!==null||t[f].disabled||(r=t[f])}r!==null&&(r.selected=!0)}}function vg(t,r,a){if(r!=null&&(r=""+lr(r),r!==t.value&&(t.value=r),a==null)){t.defaultValue!==r&&(t.defaultValue=r);return}t.defaultValue=a!=null?""+lr(a):""}function bg(t,r,a,l){if(r==null){if(l!=null){if(a!=null)throw Error(i(92));if(W(l)){if(1<l.length)throw Error(i(93));l=l[0]}a=l}a==null&&(a=""),r=a}a=lr(r),t.defaultValue=a,l=t.textContent,l===a&&l!==""&&l!==null&&(t.value=l),Gd(t)}function li(t,r){if(r){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=r;return}}t.textContent=r}var JC=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function xg(t,r,a){var l=r.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?l?t.setProperty(r,""):r==="float"?t.cssFloat="":t[r]="":l?t.setProperty(r,a):typeof a!="number"||a===0||JC.has(r)?r==="float"?t.cssFloat=a:t[r]=(""+a).trim():t[r]=a+"px"}function Sg(t,r,a){if(r!=null&&typeof r!="object")throw Error(i(62));if(t=t.style,a!=null){for(var l in a)!a.hasOwnProperty(l)||r!=null&&r.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var f in r)l=r[f],r.hasOwnProperty(f)&&a[f]!==l&&xg(t,f,l)}else for(var h in r)r.hasOwnProperty(h)&&xg(t,h,r[h])}function Xd(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var e2=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),t2=/^[\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;function yc(t){return t2.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function ho(){}var Qd=null;function Zd(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var ci=null,ui=null;function Cg(t){var r=oi(t);if(r&&(t=r.stateNode)){var a=t[$n]||null;e:switch(t=r.stateNode,r.type){case"input":if(Kd(t,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),r=a.name,a.type==="radio"&&r!=null){for(a=t;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+cr(""+r)+'"][type="radio"]'),r=0;r<a.length;r++){var l=a[r];if(l!==t&&l.form===t.form){var f=l[$n]||null;if(!f)throw Error(i(90));Kd(l,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(r=0;r<a.length;r++)l=a[r],l.form===t.form&&gg(l)}break e;case"textarea":vg(t,a.value,a.defaultValue);break e;case"select":r=a.value,r!=null&&si(t,!!a.multiple,r,!1)}}}var Jd=!1;function wg(t,r,a){if(Jd)return t(r,a);Jd=!0;try{var l=t(r);return l}finally{if(Jd=!1,(ci!==null||ui!==null)&&(ou(),ci&&(r=ci,t=ui,ui=ci=null,Cg(r),t)))for(r=0;r<t.length;r++)Cg(t[r])}}function As(t,r){var a=t.stateNode;if(a===null)return null;var l=a[$n]||null;if(l===null)return null;a=l[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break e;default:t=!1}if(t)return null;if(a&&typeof a!="function")throw Error(i(231,r,typeof a));return a}var mo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ef=!1;if(mo)try{var Ms={};Object.defineProperty(Ms,"passive",{get:function(){ef=!0}}),window.addEventListener("test",Ms,Ms),window.removeEventListener("test",Ms,Ms)}catch{ef=!1}var Ho=null,tf=null,vc=null;function Eg(){if(vc)return vc;var t,r=tf,a=r.length,l,f="value"in Ho?Ho.value:Ho.textContent,h=f.length;for(t=0;t<a&&r[t]===f[t];t++);var C=a-t;for(l=1;l<=C&&r[a-l]===f[h-l];l++);return vc=f.slice(t,1<l?1-l:void 0)}function bc(t){var r=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&r===13&&(t=13)):t=r,t===10&&(t=13),32<=t||t===13?t:0}function xc(){return!0}function Tg(){return!1}function Pn(t){function r(a,l,f,h,C){this._reactName=a,this._targetInst=f,this.type=l,this.nativeEvent=h,this.target=C,this.currentTarget=null;for(var z in t)t.hasOwnProperty(z)&&(a=t[z],this[z]=a?a(h):h[z]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?xc:Tg,this.isPropagationStopped=Tg,this}return b(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=xc)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=xc)},persist:function(){},isPersistent:xc}),r}var Ca={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Sc=Pn(Ca),ks=b({},Ca,{view:0,detail:0}),n2=Pn(ks),nf,rf,Os,Cc=b({},ks,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:af,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Os&&(Os&&t.type==="mousemove"?(nf=t.screenX-Os.screenX,rf=t.screenY-Os.screenY):rf=nf=0,Os=t),nf)},movementY:function(t){return"movementY"in t?t.movementY:rf}}),Rg=Pn(Cc),r2=b({},Cc,{dataTransfer:0}),o2=Pn(r2),a2=b({},ks,{relatedTarget:0}),of=Pn(a2),i2=b({},Ca,{animationName:0,elapsedTime:0,pseudoElement:0}),s2=Pn(i2),l2=b({},Ca,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),c2=Pn(l2),u2=b({},Ca,{data:0}),jg=Pn(u2),d2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},f2={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},p2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function h2(t){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(t):(t=p2[t])?!!r[t]:!1}function af(){return h2}var m2=b({},ks,{key:function(t){if(t.key){var r=d2[t.key]||t.key;if(r!=="Unidentified")return r}return t.type==="keypress"?(t=bc(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?f2[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:af,charCode:function(t){return t.type==="keypress"?bc(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?bc(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),g2=Pn(m2),y2=b({},Cc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ag=Pn(y2),v2=b({},ks,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:af}),b2=Pn(v2),x2=b({},Ca,{propertyName:0,elapsedTime:0,pseudoElement:0}),S2=Pn(x2),C2=b({},Cc,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),w2=Pn(C2),E2=b({},Ca,{newState:0,oldState:0}),T2=Pn(E2),R2=[9,13,27,32],sf=mo&&"CompositionEvent"in window,zs=null;mo&&"documentMode"in document&&(zs=document.documentMode);var j2=mo&&"TextEvent"in window&&!zs,Mg=mo&&(!sf||zs&&8<zs&&11>=zs),kg=" ",Og=!1;function zg(t,r){switch(t){case"keyup":return R2.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bg(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var di=!1;function A2(t,r){switch(t){case"compositionend":return Bg(r);case"keypress":return r.which!==32?null:(Og=!0,kg);case"textInput":return t=r.data,t===kg&&Og?null:t;default:return null}}function M2(t,r){if(di)return t==="compositionend"||!sf&&zg(t,r)?(t=Eg(),vc=tf=Ho=null,di=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return Mg&&r.locale!=="ko"?null:r.data;default:return null}}var k2={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ng(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r==="input"?!!k2[t.type]:r==="textarea"}function Dg(t,r,a,l){ci?ui?ui.push(l):ui=[l]:ci=l,r=du(r,"onChange"),0<r.length&&(a=new Sc("onChange","change",null,a,l),t.push({event:a,listeners:r}))}var Bs=null,Ns=null;function O2(t){yb(t,0)}function wc(t){var r=js(t);if(gg(r))return t}function Lg(t,r){if(t==="change")return r}var $g=!1;if(mo){var lf;if(mo){var cf="oninput"in document;if(!cf){var Pg=document.createElement("div");Pg.setAttribute("oninput","return;"),cf=typeof Pg.oninput=="function"}lf=cf}else lf=!1;$g=lf&&(!document.documentMode||9<document.documentMode)}function Ug(){Bs&&(Bs.detachEvent("onpropertychange",_g),Ns=Bs=null)}function _g(t){if(t.propertyName==="value"&&wc(Ns)){var r=[];Dg(r,Ns,t,Zd(t)),wg(O2,r)}}function z2(t,r,a){t==="focusin"?(Ug(),Bs=r,Ns=a,Bs.attachEvent("onpropertychange",_g)):t==="focusout"&&Ug()}function B2(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return wc(Ns)}function N2(t,r){if(t==="click")return wc(r)}function D2(t,r){if(t==="input"||t==="change")return wc(r)}function L2(t,r){return t===r&&(t!==0||1/t===1/r)||t!==t&&r!==r}var Xn=typeof Object.is=="function"?Object.is:L2;function Ds(t,r){if(Xn(t,r))return!0;if(typeof t!="object"||t===null||typeof r!="object"||r===null)return!1;var a=Object.keys(t),l=Object.keys(r);if(a.length!==l.length)return!1;for(l=0;l<a.length;l++){var f=a[l];if(!Ve.call(r,f)||!Xn(t[f],r[f]))return!1}return!0}function Ig(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Hg(t,r){var a=Ig(t);t=0;for(var l;a;){if(a.nodeType===3){if(l=t+a.textContent.length,t<=r&&l>=r)return{node:a,offset:r-t};t=l}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Ig(a)}}function Fg(t,r){return t&&r?t===r?!0:t&&t.nodeType===3?!1:r&&r.nodeType===3?Fg(t,r.parentNode):"contains"in t?t.contains(r):t.compareDocumentPosition?!!(t.compareDocumentPosition(r)&16):!1:!1}function Vg(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var r=gc(t.document);r instanceof t.HTMLIFrameElement;){try{var a=typeof r.contentWindow.location.href=="string"}catch{a=!1}if(a)t=r.contentWindow;else break;r=gc(t.document)}return r}function uf(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r&&(r==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||r==="textarea"||t.contentEditable==="true")}var $2=mo&&"documentMode"in document&&11>=document.documentMode,fi=null,df=null,Ls=null,ff=!1;function qg(t,r,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;ff||fi==null||fi!==gc(l)||(l=fi,"selectionStart"in l&&uf(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}),Ls&&Ds(Ls,l)||(Ls=l,l=du(df,"onSelect"),0<l.length&&(r=new Sc("onSelect","select",null,r,a),t.push({event:r,listeners:l}),r.target=fi)))}function wa(t,r){var a={};return a[t.toLowerCase()]=r.toLowerCase(),a["Webkit"+t]="webkit"+r,a["Moz"+t]="moz"+r,a}var pi={animationend:wa("Animation","AnimationEnd"),animationiteration:wa("Animation","AnimationIteration"),animationstart:wa("Animation","AnimationStart"),transitionrun:wa("Transition","TransitionRun"),transitionstart:wa("Transition","TransitionStart"),transitioncancel:wa("Transition","TransitionCancel"),transitionend:wa("Transition","TransitionEnd")},pf={},Wg={};mo&&(Wg=document.createElement("div").style,"AnimationEvent"in window||(delete pi.animationend.animation,delete pi.animationiteration.animation,delete pi.animationstart.animation),"TransitionEvent"in window||delete pi.transitionend.transition);function Ea(t){if(pf[t])return pf[t];if(!pi[t])return t;var r=pi[t],a;for(a in r)if(r.hasOwnProperty(a)&&a in Wg)return pf[t]=r[a];return t}var Gg=Ea("animationend"),Kg=Ea("animationiteration"),Yg=Ea("animationstart"),P2=Ea("transitionrun"),U2=Ea("transitionstart"),_2=Ea("transitioncancel"),Xg=Ea("transitionend"),Qg=new Map,hf="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(" ");hf.push("scrollEnd");function Or(t,r){Qg.set(t,r),Sa(r,[t])}var Ec=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var r=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(r))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},ur=[],hi=0,mf=0;function Tc(){for(var t=hi,r=mf=hi=0;r<t;){var a=ur[r];ur[r++]=null;var l=ur[r];ur[r++]=null;var f=ur[r];ur[r++]=null;var h=ur[r];if(ur[r++]=null,l!==null&&f!==null){var C=l.pending;C===null?f.next=f:(f.next=C.next,C.next=f),l.pending=f}h!==0&&Zg(a,f,h)}}function Rc(t,r,a,l){ur[hi++]=t,ur[hi++]=r,ur[hi++]=a,ur[hi++]=l,mf|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function gf(t,r,a,l){return Rc(t,r,a,l),jc(t)}function Ta(t,r){return Rc(t,null,null,r),jc(t)}function Zg(t,r,a){t.lanes|=a;var l=t.alternate;l!==null&&(l.lanes|=a);for(var f=!1,h=t.return;h!==null;)h.childLanes|=a,l=h.alternate,l!==null&&(l.childLanes|=a),h.tag===22&&(t=h.stateNode,t===null||t._visibility&1||(f=!0)),t=h,h=h.return;return t.tag===3?(h=t.stateNode,f&&r!==null&&(f=31-Gt(a),t=h.hiddenUpdates,l=t[f],l===null?t[f]=[r]:l.push(r),r.lane=a|536870912),h):null}function jc(t){if(50<ol)throw ol=0,Tp=null,Error(i(185));for(var r=t.return;r!==null;)t=r,r=t.return;return t.tag===3?t.stateNode:null}var mi={};function I2(t,r,a,l){this.tag=t,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Qn(t,r,a,l){return new I2(t,r,a,l)}function yf(t){return t=t.prototype,!(!t||!t.isReactComponent)}function go(t,r){var a=t.alternate;return a===null?(a=Qn(t.tag,r,t.key,t.mode),a.elementType=t.elementType,a.type=t.type,a.stateNode=t.stateNode,a.alternate=t,t.alternate=a):(a.pendingProps=r,a.type=t.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=t.flags&65011712,a.childLanes=t.childLanes,a.lanes=t.lanes,a.child=t.child,a.memoizedProps=t.memoizedProps,a.memoizedState=t.memoizedState,a.updateQueue=t.updateQueue,r=t.dependencies,a.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},a.sibling=t.sibling,a.index=t.index,a.ref=t.ref,a.refCleanup=t.refCleanup,a}function Jg(t,r){t.flags&=65011714;var a=t.alternate;return a===null?(t.childLanes=0,t.lanes=r,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=a.childLanes,t.lanes=a.lanes,t.child=a.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=a.memoizedProps,t.memoizedState=a.memoizedState,t.updateQueue=a.updateQueue,t.type=a.type,r=a.dependencies,t.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),t}function Ac(t,r,a,l,f,h){var C=0;if(l=t,typeof t=="function")yf(t)&&(C=1);else if(typeof t=="string")C=Ww(t,a,se.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case $:return t=Qn(31,a,r,f),t.elementType=$,t.lanes=h,t;case S:return Ra(a.children,f,h,r);case E:C=8,f|=24;break;case A:return t=Qn(12,a,r,f|2),t.elementType=A,t.lanes=h,t;case k:return t=Qn(13,a,r,f),t.elementType=k,t.lanes=h,t;case N:return t=Qn(19,a,r,f),t.elementType=N,t.lanes=h,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case j:C=10;break e;case O:C=9;break e;case M:C=11;break e;case L:C=14;break e;case U:C=16,l=null;break e}C=29,a=Error(i(130,t===null?"null":typeof t,"")),l=null}return r=Qn(C,a,r,f),r.elementType=t,r.type=l,r.lanes=h,r}function Ra(t,r,a,l){return t=Qn(7,t,l,r),t.lanes=a,t}function vf(t,r,a){return t=Qn(6,t,null,r),t.lanes=a,t}function ey(t){var r=Qn(18,null,null,0);return r.stateNode=t,r}function bf(t,r,a){return r=Qn(4,t.children!==null?t.children:[],t.key,r),r.lanes=a,r.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},r}var ty=new WeakMap;function dr(t,r){if(typeof t=="object"&&t!==null){var a=ty.get(t);return a!==void 0?a:(r={value:t,source:r,stack:Ie(r)},ty.set(t,r),r)}return{value:t,source:r,stack:Ie(r)}}var gi=[],yi=0,Mc=null,$s=0,fr=[],pr=0,Fo=null,Ir=1,Hr="";function yo(t,r){gi[yi++]=$s,gi[yi++]=Mc,Mc=t,$s=r}function ny(t,r,a){fr[pr++]=Ir,fr[pr++]=Hr,fr[pr++]=Fo,Fo=t;var l=Ir;t=Hr;var f=32-Gt(l)-1;l&=~(1<<f),a+=1;var h=32-Gt(r)+f;if(30<h){var C=f-f%5;h=(l&(1<<C)-1).toString(32),l>>=C,f-=C,Ir=1<<32-Gt(r)+f|a<<f|l,Hr=h+t}else Ir=1<<h|a<<f|l,Hr=t}function xf(t){t.return!==null&&(yo(t,1),ny(t,1,0))}function Sf(t){for(;t===Mc;)Mc=gi[--yi],gi[yi]=null,$s=gi[--yi],gi[yi]=null;for(;t===Fo;)Fo=fr[--pr],fr[pr]=null,Hr=fr[--pr],fr[pr]=null,Ir=fr[--pr],fr[pr]=null}function ry(t,r){fr[pr++]=Ir,fr[pr++]=Hr,fr[pr++]=Fo,Ir=r.id,Hr=r.overflow,Fo=t}var vn=null,Lt=null,ct=!1,Vo=null,hr=!1,Cf=Error(i(519));function qo(t){var r=Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ps(dr(r,t)),Cf}function oy(t){var r=t.stateNode,a=t.type,l=t.memoizedProps;switch(r[yn]=t,r[$n]=l,a){case"dialog":ot("cancel",r),ot("close",r);break;case"iframe":case"object":case"embed":ot("load",r);break;case"video":case"audio":for(a=0;a<il.length;a++)ot(il[a],r);break;case"source":ot("error",r);break;case"img":case"image":case"link":ot("error",r),ot("load",r);break;case"details":ot("toggle",r);break;case"input":ot("invalid",r),yg(r,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":ot("invalid",r);break;case"textarea":ot("invalid",r),bg(r,l.value,l.defaultValue,l.children)}a=l.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||r.textContent===""+a||l.suppressHydrationWarning===!0||Sb(r.textContent,a)?(l.popover!=null&&(ot("beforetoggle",r),ot("toggle",r)),l.onScroll!=null&&ot("scroll",r),l.onScrollEnd!=null&&ot("scrollend",r),l.onClick!=null&&(r.onclick=ho),r=!0):r=!1,r||qo(t,!0)}function ay(t){for(vn=t.return;vn;)switch(vn.tag){case 5:case 31:case 13:hr=!1;return;case 27:case 3:hr=!0;return;default:vn=vn.return}}function vi(t){if(t!==vn)return!1;if(!ct)return ay(t),ct=!0,!1;var r=t.tag,a;if((a=r!==3&&r!==27)&&((a=r===5)&&(a=t.type,a=!(a!=="form"&&a!=="button")||_p(t.type,t.memoizedProps)),a=!a),a&&Lt&&qo(t),ay(t),r===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));Lt=kb(t)}else if(r===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));Lt=kb(t)}else r===27?(r=Lt,aa(t.type)?(t=qp,qp=null,Lt=t):Lt=r):Lt=vn?gr(t.stateNode.nextSibling):null;return!0}function ja(){Lt=vn=null,ct=!1}function wf(){var t=Vo;return t!==null&&(Hn===null?Hn=t:Hn.push.apply(Hn,t),Vo=null),t}function Ps(t){Vo===null?Vo=[t]:Vo.push(t)}var Ef=D(null),Aa=null,vo=null;function Wo(t,r,a){Q(Ef,r._currentValue),r._currentValue=a}function bo(t){t._currentValue=Ef.current,H(Ef)}function Tf(t,r,a){for(;t!==null;){var l=t.alternate;if((t.childLanes&r)!==r?(t.childLanes|=r,l!==null&&(l.childLanes|=r)):l!==null&&(l.childLanes&r)!==r&&(l.childLanes|=r),t===a)break;t=t.return}}function Rf(t,r,a,l){var f=t.child;for(f!==null&&(f.return=t);f!==null;){var h=f.dependencies;if(h!==null){var C=f.child;h=h.firstContext;e:for(;h!==null;){var z=h;h=f;for(var V=0;V<r.length;V++)if(z.context===r[V]){h.lanes|=a,z=h.alternate,z!==null&&(z.lanes|=a),Tf(h.return,a,t),l||(C=null);break e}h=z.next}}else if(f.tag===18){if(C=f.return,C===null)throw Error(i(341));C.lanes|=a,h=C.alternate,h!==null&&(h.lanes|=a),Tf(C,a,t),C=null}else C=f.child;if(C!==null)C.return=f;else for(C=f;C!==null;){if(C===t){C=null;break}if(f=C.sibling,f!==null){f.return=C.return,C=f;break}C=C.return}f=C}}function bi(t,r,a,l){t=null;for(var f=r,h=!1;f!==null;){if(!h){if((f.flags&524288)!==0)h=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var C=f.alternate;if(C===null)throw Error(i(387));if(C=C.memoizedProps,C!==null){var z=f.type;Xn(f.pendingProps.value,C.value)||(t!==null?t.push(z):t=[z])}}else if(f===ye.current){if(C=f.alternate,C===null)throw Error(i(387));C.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(t!==null?t.push(dl):t=[dl])}f=f.return}t!==null&&Rf(r,t,a,l),r.flags|=262144}function kc(t){for(t=t.firstContext;t!==null;){if(!Xn(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Ma(t){Aa=t,vo=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function bn(t){return iy(Aa,t)}function Oc(t,r){return Aa===null&&Ma(t),iy(t,r)}function iy(t,r){var a=r._currentValue;if(r={context:r,memoizedValue:a,next:null},vo===null){if(t===null)throw Error(i(308));vo=r,t.dependencies={lanes:0,firstContext:r},t.flags|=524288}else vo=vo.next=r;return a}var H2=typeof AbortController<"u"?AbortController:function(){var t=[],r=this.signal={aborted:!1,addEventListener:function(a,l){t.push(l)}};this.abort=function(){r.aborted=!0,t.forEach(function(a){return a()})}},F2=e.unstable_scheduleCallback,V2=e.unstable_NormalPriority,sn={$$typeof:j,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function jf(){return{controller:new H2,data:new Map,refCount:0}}function Us(t){t.refCount--,t.refCount===0&&F2(V2,function(){t.controller.abort()})}var _s=null,Af=0,xi=0,Si=null;function q2(t,r){if(_s===null){var a=_s=[];Af=0,xi=Op(),Si={status:"pending",value:void 0,then:function(l){a.push(l)}}}return Af++,r.then(sy,sy),r}function sy(){if(--Af===0&&_s!==null){Si!==null&&(Si.status="fulfilled");var t=_s;_s=null,xi=0,Si=null;for(var r=0;r<t.length;r++)(0,t[r])()}}function W2(t,r){var a=[],l={status:"pending",value:null,reason:null,then:function(f){a.push(f)}};return t.then(function(){l.status="fulfilled",l.value=r;for(var f=0;f<a.length;f++)(0,a[f])(r)},function(f){for(l.status="rejected",l.reason=f,f=0;f<a.length;f++)(0,a[f])(void 0)}),l}var ly=B.S;B.S=function(t,r){qv=qe(),typeof r=="object"&&r!==null&&typeof r.then=="function"&&q2(t,r),ly!==null&&ly(t,r)};var ka=D(null);function Mf(){var t=ka.current;return t!==null?t:Ot.pooledCache}function zc(t,r){r===null?Q(ka,ka.current):Q(ka,r.pool)}function cy(){var t=Mf();return t===null?null:{parent:sn._currentValue,pool:t}}var Ci=Error(i(460)),kf=Error(i(474)),Bc=Error(i(542)),Nc={then:function(){}};function uy(t){return t=t.status,t==="fulfilled"||t==="rejected"}function dy(t,r,a){switch(a=t[a],a===void 0?t.push(r):a!==r&&(r.then(ho,ho),r=a),r.status){case"fulfilled":return r.value;case"rejected":throw t=r.reason,py(t),t;default:if(typeof r.status=="string")r.then(ho,ho);else{if(t=Ot,t!==null&&100<t.shellSuspendCounter)throw Error(i(482));t=r,t.status="pending",t.then(function(l){if(r.status==="pending"){var f=r;f.status="fulfilled",f.value=l}},function(l){if(r.status==="pending"){var f=r;f.status="rejected",f.reason=l}})}switch(r.status){case"fulfilled":return r.value;case"rejected":throw t=r.reason,py(t),t}throw za=r,Ci}}function Oa(t){try{var r=t._init;return r(t._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(za=a,Ci):a}}var za=null;function fy(){if(za===null)throw Error(i(459));var t=za;return za=null,t}function py(t){if(t===Ci||t===Bc)throw Error(i(483))}var wi=null,Is=0;function Dc(t){var r=Is;return Is+=1,wi===null&&(wi=[]),dy(wi,t,r)}function Hs(t,r){r=r.props.ref,t.ref=r!==void 0?r:null}function Lc(t,r){throw r.$$typeof===w?Error(i(525)):(t=Object.prototype.toString.call(r),Error(i(31,t==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":t)))}function hy(t){function r(K,G){if(t){var J=K.deletions;J===null?(K.deletions=[G],K.flags|=16):J.push(G)}}function a(K,G){if(!t)return null;for(;G!==null;)r(K,G),G=G.sibling;return null}function l(K){for(var G=new Map;K!==null;)K.key!==null?G.set(K.key,K):G.set(K.index,K),K=K.sibling;return G}function f(K,G){return K=go(K,G),K.index=0,K.sibling=null,K}function h(K,G,J){return K.index=J,t?(J=K.alternate,J!==null?(J=J.index,J<G?(K.flags|=67108866,G):J):(K.flags|=67108866,G)):(K.flags|=1048576,G)}function C(K){return t&&K.alternate===null&&(K.flags|=67108866),K}function z(K,G,J,de){return G===null||G.tag!==6?(G=vf(J,K.mode,de),G.return=K,G):(G=f(G,J),G.return=K,G)}function V(K,G,J,de){var Le=J.type;return Le===S?le(K,G,J.props.children,de,J.key):G!==null&&(G.elementType===Le||typeof Le=="object"&&Le!==null&&Le.$$typeof===U&&Oa(Le)===G.type)?(G=f(G,J.props),Hs(G,J),G.return=K,G):(G=Ac(J.type,J.key,J.props,null,K.mode,de),Hs(G,J),G.return=K,G)}function ee(K,G,J,de){return G===null||G.tag!==4||G.stateNode.containerInfo!==J.containerInfo||G.stateNode.implementation!==J.implementation?(G=bf(J,K.mode,de),G.return=K,G):(G=f(G,J.children||[]),G.return=K,G)}function le(K,G,J,de,Le){return G===null||G.tag!==7?(G=Ra(J,K.mode,de,Le),G.return=K,G):(G=f(G,J),G.return=K,G)}function he(K,G,J){if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return G=vf(""+G,K.mode,J),G.return=K,G;if(typeof G=="object"&&G!==null){switch(G.$$typeof){case T:return J=Ac(G.type,G.key,G.props,null,K.mode,J),Hs(J,G),J.return=K,J;case x:return G=bf(G,K.mode,J),G.return=K,G;case U:return G=Oa(G),he(K,G,J)}if(W(G)||R(G))return G=Ra(G,K.mode,J,null),G.return=K,G;if(typeof G.then=="function")return he(K,Dc(G),J);if(G.$$typeof===j)return he(K,Oc(K,G),J);Lc(K,G)}return null}function te(K,G,J,de){var Le=G!==null?G.key:null;if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return Le!==null?null:z(K,G,""+J,de);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case T:return J.key===Le?V(K,G,J,de):null;case x:return J.key===Le?ee(K,G,J,de):null;case U:return J=Oa(J),te(K,G,J,de)}if(W(J)||R(J))return Le!==null?null:le(K,G,J,de,null);if(typeof J.then=="function")return te(K,G,Dc(J),de);if(J.$$typeof===j)return te(K,G,Oc(K,J),de);Lc(K,J)}return null}function oe(K,G,J,de,Le){if(typeof de=="string"&&de!==""||typeof de=="number"||typeof de=="bigint")return K=K.get(J)||null,z(G,K,""+de,Le);if(typeof de=="object"&&de!==null){switch(de.$$typeof){case T:return K=K.get(de.key===null?J:de.key)||null,V(G,K,de,Le);case x:return K=K.get(de.key===null?J:de.key)||null,ee(G,K,de,Le);case U:return de=Oa(de),oe(K,G,J,de,Le)}if(W(de)||R(de))return K=K.get(J)||null,le(G,K,de,Le,null);if(typeof de.then=="function")return oe(K,G,J,Dc(de),Le);if(de.$$typeof===j)return oe(K,G,J,Oc(G,de),Le);Lc(G,de)}return null}function Me(K,G,J,de){for(var Le=null,ft=null,Oe=G,tt=G=0,st=null;Oe!==null&&tt<J.length;tt++){Oe.index>tt?(st=Oe,Oe=null):st=Oe.sibling;var pt=te(K,Oe,J[tt],de);if(pt===null){Oe===null&&(Oe=st);break}t&&Oe&&pt.alternate===null&&r(K,Oe),G=h(pt,G,tt),ft===null?Le=pt:ft.sibling=pt,ft=pt,Oe=st}if(tt===J.length)return a(K,Oe),ct&&yo(K,tt),Le;if(Oe===null){for(;tt<J.length;tt++)Oe=he(K,J[tt],de),Oe!==null&&(G=h(Oe,G,tt),ft===null?Le=Oe:ft.sibling=Oe,ft=Oe);return ct&&yo(K,tt),Le}for(Oe=l(Oe);tt<J.length;tt++)st=oe(Oe,K,tt,J[tt],de),st!==null&&(t&&st.alternate!==null&&Oe.delete(st.key===null?tt:st.key),G=h(st,G,tt),ft===null?Le=st:ft.sibling=st,ft=st);return t&&Oe.forEach(function(ua){return r(K,ua)}),ct&&yo(K,tt),Le}function Ue(K,G,J,de){if(J==null)throw Error(i(151));for(var Le=null,ft=null,Oe=G,tt=G=0,st=null,pt=J.next();Oe!==null&&!pt.done;tt++,pt=J.next()){Oe.index>tt?(st=Oe,Oe=null):st=Oe.sibling;var ua=te(K,Oe,pt.value,de);if(ua===null){Oe===null&&(Oe=st);break}t&&Oe&&ua.alternate===null&&r(K,Oe),G=h(ua,G,tt),ft===null?Le=ua:ft.sibling=ua,ft=ua,Oe=st}if(pt.done)return a(K,Oe),ct&&yo(K,tt),Le;if(Oe===null){for(;!pt.done;tt++,pt=J.next())pt=he(K,pt.value,de),pt!==null&&(G=h(pt,G,tt),ft===null?Le=pt:ft.sibling=pt,ft=pt);return ct&&yo(K,tt),Le}for(Oe=l(Oe);!pt.done;tt++,pt=J.next())pt=oe(Oe,K,tt,pt.value,de),pt!==null&&(t&&pt.alternate!==null&&Oe.delete(pt.key===null?tt:pt.key),G=h(pt,G,tt),ft===null?Le=pt:ft.sibling=pt,ft=pt);return t&&Oe.forEach(function(rE){return r(K,rE)}),ct&&yo(K,tt),Le}function jt(K,G,J,de){if(typeof J=="object"&&J!==null&&J.type===S&&J.key===null&&(J=J.props.children),typeof J=="object"&&J!==null){switch(J.$$typeof){case T:e:{for(var Le=J.key;G!==null;){if(G.key===Le){if(Le=J.type,Le===S){if(G.tag===7){a(K,G.sibling),de=f(G,J.props.children),de.return=K,K=de;break e}}else if(G.elementType===Le||typeof Le=="object"&&Le!==null&&Le.$$typeof===U&&Oa(Le)===G.type){a(K,G.sibling),de=f(G,J.props),Hs(de,J),de.return=K,K=de;break e}a(K,G);break}else r(K,G);G=G.sibling}J.type===S?(de=Ra(J.props.children,K.mode,de,J.key),de.return=K,K=de):(de=Ac(J.type,J.key,J.props,null,K.mode,de),Hs(de,J),de.return=K,K=de)}return C(K);case x:e:{for(Le=J.key;G!==null;){if(G.key===Le)if(G.tag===4&&G.stateNode.containerInfo===J.containerInfo&&G.stateNode.implementation===J.implementation){a(K,G.sibling),de=f(G,J.children||[]),de.return=K,K=de;break e}else{a(K,G);break}else r(K,G);G=G.sibling}de=bf(J,K.mode,de),de.return=K,K=de}return C(K);case U:return J=Oa(J),jt(K,G,J,de)}if(W(J))return Me(K,G,J,de);if(R(J)){if(Le=R(J),typeof Le!="function")throw Error(i(150));return J=Le.call(J),Ue(K,G,J,de)}if(typeof J.then=="function")return jt(K,G,Dc(J),de);if(J.$$typeof===j)return jt(K,G,Oc(K,J),de);Lc(K,J)}return typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint"?(J=""+J,G!==null&&G.tag===6?(a(K,G.sibling),de=f(G,J),de.return=K,K=de):(a(K,G),de=vf(J,K.mode,de),de.return=K,K=de),C(K)):a(K,G)}return function(K,G,J,de){try{Is=0;var Le=jt(K,G,J,de);return wi=null,Le}catch(Oe){if(Oe===Ci||Oe===Bc)throw Oe;var ft=Qn(29,Oe,null,K.mode);return ft.lanes=de,ft.return=K,ft}}}var Ba=hy(!0),my=hy(!1),Go=!1;function Of(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function zf(t,r){t=t.updateQueue,r.updateQueue===t&&(r.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Ko(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Yo(t,r,a){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(mt&2)!==0){var f=l.pending;return f===null?r.next=r:(r.next=f.next,f.next=r),l.pending=r,r=jc(t),Zg(t,null,a),r}return Rc(t,l,r,a),jc(t)}function Fs(t,r,a){if(r=r.updateQueue,r!==null&&(r=r.shared,(a&4194048)!==0)){var l=r.lanes;l&=t.pendingLanes,a|=l,r.lanes=a,ut(t,a)}}function Bf(t,r){var a=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,a===l)){var f=null,h=null;if(a=a.firstBaseUpdate,a!==null){do{var C={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};h===null?f=h=C:h=h.next=C,a=a.next}while(a!==null);h===null?f=h=r:h=h.next=r}else f=h=r;a={baseState:l.baseState,firstBaseUpdate:f,lastBaseUpdate:h,shared:l.shared,callbacks:l.callbacks},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=r:t.next=r,a.lastBaseUpdate=r}var Nf=!1;function Vs(){if(Nf){var t=Si;if(t!==null)throw t}}function qs(t,r,a,l){Nf=!1;var f=t.updateQueue;Go=!1;var h=f.firstBaseUpdate,C=f.lastBaseUpdate,z=f.shared.pending;if(z!==null){f.shared.pending=null;var V=z,ee=V.next;V.next=null,C===null?h=ee:C.next=ee,C=V;var le=t.alternate;le!==null&&(le=le.updateQueue,z=le.lastBaseUpdate,z!==C&&(z===null?le.firstBaseUpdate=ee:z.next=ee,le.lastBaseUpdate=V))}if(h!==null){var he=f.baseState;C=0,le=ee=V=null,z=h;do{var te=z.lane&-536870913,oe=te!==z.lane;if(oe?(it&te)===te:(l&te)===te){te!==0&&te===xi&&(Nf=!0),le!==null&&(le=le.next={lane:0,tag:z.tag,payload:z.payload,callback:null,next:null});e:{var Me=t,Ue=z;te=r;var jt=a;switch(Ue.tag){case 1:if(Me=Ue.payload,typeof Me=="function"){he=Me.call(jt,he,te);break e}he=Me;break e;case 3:Me.flags=Me.flags&-65537|128;case 0:if(Me=Ue.payload,te=typeof Me=="function"?Me.call(jt,he,te):Me,te==null)break e;he=b({},he,te);break e;case 2:Go=!0}}te=z.callback,te!==null&&(t.flags|=64,oe&&(t.flags|=8192),oe=f.callbacks,oe===null?f.callbacks=[te]:oe.push(te))}else oe={lane:te,tag:z.tag,payload:z.payload,callback:z.callback,next:null},le===null?(ee=le=oe,V=he):le=le.next=oe,C|=te;if(z=z.next,z===null){if(z=f.shared.pending,z===null)break;oe=z,z=oe.next,oe.next=null,f.lastBaseUpdate=oe,f.shared.pending=null}}while(!0);le===null&&(V=he),f.baseState=V,f.firstBaseUpdate=ee,f.lastBaseUpdate=le,h===null&&(f.shared.lanes=0),ea|=C,t.lanes=C,t.memoizedState=he}}function gy(t,r){if(typeof t!="function")throw Error(i(191,t));t.call(r)}function yy(t,r){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)gy(a[t],r)}var Ei=D(null),$c=D(0);function vy(t,r){t=Ao,Q($c,t),Q(Ei,r),Ao=t|r.baseLanes}function Df(){Q($c,Ao),Q(Ei,Ei.current)}function Lf(){Ao=$c.current,H(Ei),H($c)}var Zn=D(null),mr=null;function Xo(t){var r=t.alternate;Q(en,en.current&1),Q(Zn,t),mr===null&&(r===null||Ei.current!==null||r.memoizedState!==null)&&(mr=t)}function $f(t){Q(en,en.current),Q(Zn,t),mr===null&&(mr=t)}function by(t){t.tag===22?(Q(en,en.current),Q(Zn,t),mr===null&&(mr=t)):Qo()}function Qo(){Q(en,en.current),Q(Zn,Zn.current)}function Jn(t){H(Zn),mr===t&&(mr=null),H(en)}var en=D(0);function Pc(t){for(var r=t;r!==null;){if(r.tag===13){var a=r.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Fp(a)||Vp(a)))return r}else if(r.tag===19&&(r.memoizedProps.revealOrder==="forwards"||r.memoizedProps.revealOrder==="backwards"||r.memoizedProps.revealOrder==="unstable_legacy-backwards"||r.memoizedProps.revealOrder==="together")){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var xo=0,Qe=null,Tt=null,ln=null,Uc=!1,Ti=!1,Na=!1,_c=0,Ws=0,Ri=null,G2=0;function Kt(){throw Error(i(321))}function Pf(t,r){if(r===null)return!1;for(var a=0;a<r.length&&a<t.length;a++)if(!Xn(t[a],r[a]))return!1;return!0}function Uf(t,r,a,l,f,h){return xo=h,Qe=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,B.H=t===null||t.memoizedState===null?nv:ep,Na=!1,h=a(l,f),Na=!1,Ti&&(h=Sy(r,a,l,f)),xy(t),h}function xy(t){B.H=Ys;var r=Tt!==null&&Tt.next!==null;if(xo=0,ln=Tt=Qe=null,Uc=!1,Ws=0,Ri=null,r)throw Error(i(300));t===null||cn||(t=t.dependencies,t!==null&&kc(t)&&(cn=!0))}function Sy(t,r,a,l){Qe=t;var f=0;do{if(Ti&&(Ri=null),Ws=0,Ti=!1,25<=f)throw Error(i(301));if(f+=1,ln=Tt=null,t.updateQueue!=null){var h=t.updateQueue;h.lastEffect=null,h.events=null,h.stores=null,h.memoCache!=null&&(h.memoCache.index=0)}B.H=rv,h=r(a,l)}while(Ti);return h}function K2(){var t=B.H,r=t.useState()[0];return r=typeof r.then=="function"?Gs(r):r,t=t.useState()[0],(Tt!==null?Tt.memoizedState:null)!==t&&(Qe.flags|=1024),r}function _f(){var t=_c!==0;return _c=0,t}function If(t,r,a){r.updateQueue=t.updateQueue,r.flags&=-2053,t.lanes&=~a}function Hf(t){if(Uc){for(t=t.memoizedState;t!==null;){var r=t.queue;r!==null&&(r.pending=null),t=t.next}Uc=!1}xo=0,ln=Tt=Qe=null,Ti=!1,Ws=_c=0,Ri=null}function zn(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ln===null?Qe.memoizedState=ln=t:ln=ln.next=t,ln}function tn(){if(Tt===null){var t=Qe.alternate;t=t!==null?t.memoizedState:null}else t=Tt.next;var r=ln===null?Qe.memoizedState:ln.next;if(r!==null)ln=r,Tt=t;else{if(t===null)throw Qe.alternate===null?Error(i(467)):Error(i(310));Tt=t,t={memoizedState:Tt.memoizedState,baseState:Tt.baseState,baseQueue:Tt.baseQueue,queue:Tt.queue,next:null},ln===null?Qe.memoizedState=ln=t:ln=ln.next=t}return ln}function Ic(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Gs(t){var r=Ws;return Ws+=1,Ri===null&&(Ri=[]),t=dy(Ri,t,r),r=Qe,(ln===null?r.memoizedState:ln.next)===null&&(r=r.alternate,B.H=r===null||r.memoizedState===null?nv:ep),t}function Hc(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Gs(t);if(t.$$typeof===j)return bn(t)}throw Error(i(438,String(t)))}function Ff(t){var r=null,a=Qe.updateQueue;if(a!==null&&(r=a.memoCache),r==null){var l=Qe.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(r={data:l.data.map(function(f){return f.slice()}),index:0})))}if(r==null&&(r={data:[],index:0}),a===null&&(a=Ic(),Qe.updateQueue=a),a.memoCache=r,a=r.data[r.index],a===void 0)for(a=r.data[r.index]=Array(t),l=0;l<t;l++)a[l]=F;return r.index++,a}function So(t,r){return typeof r=="function"?r(t):r}function Fc(t){var r=tn();return Vf(r,Tt,t)}function Vf(t,r,a){var l=t.queue;if(l===null)throw Error(i(311));l.lastRenderedReducer=a;var f=t.baseQueue,h=l.pending;if(h!==null){if(f!==null){var C=f.next;f.next=h.next,h.next=C}r.baseQueue=f=h,l.pending=null}if(h=t.baseState,f===null)t.memoizedState=h;else{r=f.next;var z=C=null,V=null,ee=r,le=!1;do{var he=ee.lane&-536870913;if(he!==ee.lane?(it&he)===he:(xo&he)===he){var te=ee.revertLane;if(te===0)V!==null&&(V=V.next={lane:0,revertLane:0,gesture:null,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null}),he===xi&&(le=!0);else if((xo&te)===te){ee=ee.next,te===xi&&(le=!0);continue}else he={lane:0,revertLane:ee.revertLane,gesture:null,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null},V===null?(z=V=he,C=h):V=V.next=he,Qe.lanes|=te,ea|=te;he=ee.action,Na&&a(h,he),h=ee.hasEagerState?ee.eagerState:a(h,he)}else te={lane:he,revertLane:ee.revertLane,gesture:ee.gesture,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null},V===null?(z=V=te,C=h):V=V.next=te,Qe.lanes|=he,ea|=he;ee=ee.next}while(ee!==null&&ee!==r);if(V===null?C=h:V.next=z,!Xn(h,t.memoizedState)&&(cn=!0,le&&(a=Si,a!==null)))throw a;t.memoizedState=h,t.baseState=C,t.baseQueue=V,l.lastRenderedState=h}return f===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function qf(t){var r=tn(),a=r.queue;if(a===null)throw Error(i(311));a.lastRenderedReducer=t;var l=a.dispatch,f=a.pending,h=r.memoizedState;if(f!==null){a.pending=null;var C=f=f.next;do h=t(h,C.action),C=C.next;while(C!==f);Xn(h,r.memoizedState)||(cn=!0),r.memoizedState=h,r.baseQueue===null&&(r.baseState=h),a.lastRenderedState=h}return[h,l]}function Cy(t,r,a){var l=Qe,f=tn(),h=ct;if(h){if(a===void 0)throw Error(i(407));a=a()}else a=r();var C=!Xn((Tt||f).memoizedState,a);if(C&&(f.memoizedState=a,cn=!0),f=f.queue,Kf(Ty.bind(null,l,f,t),[t]),f.getSnapshot!==r||C||ln!==null&&ln.memoizedState.tag&1){if(l.flags|=2048,ji(9,{destroy:void 0},Ey.bind(null,l,f,a,r),null),Ot===null)throw Error(i(349));h||(xo&127)!==0||wy(l,r,a)}return a}function wy(t,r,a){t.flags|=16384,t={getSnapshot:r,value:a},r=Qe.updateQueue,r===null?(r=Ic(),Qe.updateQueue=r,r.stores=[t]):(a=r.stores,a===null?r.stores=[t]:a.push(t))}function Ey(t,r,a,l){r.value=a,r.getSnapshot=l,Ry(r)&&jy(t)}function Ty(t,r,a){return a(function(){Ry(r)&&jy(t)})}function Ry(t){var r=t.getSnapshot;t=t.value;try{var a=r();return!Xn(t,a)}catch{return!0}}function jy(t){var r=Ta(t,2);r!==null&&Fn(r,t,2)}function Wf(t){var r=zn();if(typeof t=="function"){var a=t;if(t=a(),Na){gn(!0);try{a()}finally{gn(!1)}}}return r.memoizedState=r.baseState=t,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:So,lastRenderedState:t},r}function Ay(t,r,a,l){return t.baseState=a,Vf(t,Tt,typeof l=="function"?l:So)}function Y2(t,r,a,l,f){if(Wc(t))throw Error(i(485));if(t=r.action,t!==null){var h={payload:f,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(C){h.listeners.push(C)}};B.T!==null?a(!0):h.isTransition=!1,l(h),a=r.pending,a===null?(h.next=r.pending=h,My(r,h)):(h.next=a.next,r.pending=a.next=h)}}function My(t,r){var a=r.action,l=r.payload,f=t.state;if(r.isTransition){var h=B.T,C={};B.T=C;try{var z=a(f,l),V=B.S;V!==null&&V(C,z),ky(t,r,z)}catch(ee){Gf(t,r,ee)}finally{h!==null&&C.types!==null&&(h.types=C.types),B.T=h}}else try{h=a(f,l),ky(t,r,h)}catch(ee){Gf(t,r,ee)}}function ky(t,r,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(l){Oy(t,r,l)},function(l){return Gf(t,r,l)}):Oy(t,r,a)}function Oy(t,r,a){r.status="fulfilled",r.value=a,zy(r),t.state=a,r=t.pending,r!==null&&(a=r.next,a===r?t.pending=null:(a=a.next,r.next=a,My(t,a)))}function Gf(t,r,a){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do r.status="rejected",r.reason=a,zy(r),r=r.next;while(r!==l)}t.action=null}function zy(t){t=t.listeners;for(var r=0;r<t.length;r++)(0,t[r])()}function By(t,r){return r}function Ny(t,r){if(ct){var a=Ot.formState;if(a!==null){e:{var l=Qe;if(ct){if(Lt){t:{for(var f=Lt,h=hr;f.nodeType!==8;){if(!h){f=null;break t}if(f=gr(f.nextSibling),f===null){f=null;break t}}h=f.data,f=h==="F!"||h==="F"?f:null}if(f){Lt=gr(f.nextSibling),l=f.data==="F!";break e}}qo(l)}l=!1}l&&(r=a[0])}}return a=zn(),a.memoizedState=a.baseState=r,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:By,lastRenderedState:r},a.queue=l,a=Jy.bind(null,Qe,l),l.dispatch=a,l=Wf(!1),h=Jf.bind(null,Qe,!1,l.queue),l=zn(),f={state:r,dispatch:null,action:t,pending:null},l.queue=f,a=Y2.bind(null,Qe,f,h,a),f.dispatch=a,l.memoizedState=t,[r,a,!1]}function Dy(t){var r=tn();return Ly(r,Tt,t)}function Ly(t,r,a){if(r=Vf(t,r,By)[0],t=Fc(So)[0],typeof r=="object"&&r!==null&&typeof r.then=="function")try{var l=Gs(r)}catch(C){throw C===Ci?Bc:C}else l=r;r=tn();var f=r.queue,h=f.dispatch;return a!==r.memoizedState&&(Qe.flags|=2048,ji(9,{destroy:void 0},X2.bind(null,f,a),null)),[l,h,t]}function X2(t,r){t.action=r}function $y(t){var r=tn(),a=Tt;if(a!==null)return Ly(r,a,t);tn(),r=r.memoizedState,a=tn();var l=a.queue.dispatch;return a.memoizedState=t,[r,l,!1]}function ji(t,r,a,l){return t={tag:t,create:a,deps:l,inst:r,next:null},r=Qe.updateQueue,r===null&&(r=Ic(),Qe.updateQueue=r),a=r.lastEffect,a===null?r.lastEffect=t.next=t:(l=a.next,a.next=t,t.next=l,r.lastEffect=t),t}function Py(){return tn().memoizedState}function Vc(t,r,a,l){var f=zn();Qe.flags|=t,f.memoizedState=ji(1|r,{destroy:void 0},a,l===void 0?null:l)}function qc(t,r,a,l){var f=tn();l=l===void 0?null:l;var h=f.memoizedState.inst;Tt!==null&&l!==null&&Pf(l,Tt.memoizedState.deps)?f.memoizedState=ji(r,h,a,l):(Qe.flags|=t,f.memoizedState=ji(1|r,h,a,l))}function Uy(t,r){Vc(8390656,8,t,r)}function Kf(t,r){qc(2048,8,t,r)}function Q2(t){Qe.flags|=4;var r=Qe.updateQueue;if(r===null)r=Ic(),Qe.updateQueue=r,r.events=[t];else{var a=r.events;a===null?r.events=[t]:a.push(t)}}function _y(t){var r=tn().memoizedState;return Q2({ref:r,nextImpl:t}),function(){if((mt&2)!==0)throw Error(i(440));return r.impl.apply(void 0,arguments)}}function Iy(t,r){return qc(4,2,t,r)}function Hy(t,r){return qc(4,4,t,r)}function Fy(t,r){if(typeof r=="function"){t=t();var a=r(t);return function(){typeof a=="function"?a():r(null)}}if(r!=null)return t=t(),r.current=t,function(){r.current=null}}function Vy(t,r,a){a=a!=null?a.concat([t]):null,qc(4,4,Fy.bind(null,r,t),a)}function Yf(){}function qy(t,r){var a=tn();r=r===void 0?null:r;var l=a.memoizedState;return r!==null&&Pf(r,l[1])?l[0]:(a.memoizedState=[t,r],t)}function Wy(t,r){var a=tn();r=r===void 0?null:r;var l=a.memoizedState;if(r!==null&&Pf(r,l[1]))return l[0];if(l=t(),Na){gn(!0);try{t()}finally{gn(!1)}}return a.memoizedState=[l,r],l}function Xf(t,r,a){return a===void 0||(xo&1073741824)!==0&&(it&261930)===0?t.memoizedState=r:(t.memoizedState=a,t=Gv(),Qe.lanes|=t,ea|=t,a)}function Gy(t,r,a,l){return Xn(a,r)?a:Ei.current!==null?(t=Xf(t,a,l),Xn(t,r)||(cn=!0),t):(xo&42)===0||(xo&1073741824)!==0&&(it&261930)===0?(cn=!0,t.memoizedState=a):(t=Gv(),Qe.lanes|=t,ea|=t,r)}function Ky(t,r,a,l,f){var h=P.p;P.p=h!==0&&8>h?h:8;var C=B.T,z={};B.T=z,Jf(t,!1,r,a);try{var V=f(),ee=B.S;if(ee!==null&&ee(z,V),V!==null&&typeof V=="object"&&typeof V.then=="function"){var le=W2(V,l);Ks(t,r,le,nr(t))}else Ks(t,r,l,nr(t))}catch(he){Ks(t,r,{then:function(){},status:"rejected",reason:he},nr())}finally{P.p=h,C!==null&&z.types!==null&&(C.types=z.types),B.T=C}}function Z2(){}function Qf(t,r,a,l){if(t.tag!==5)throw Error(i(476));var f=Yy(t).queue;Ky(t,f,r,X,a===null?Z2:function(){return Xy(t),a(l)})}function Yy(t){var r=t.memoizedState;if(r!==null)return r;r={memoizedState:X,baseState:X,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:So,lastRenderedState:X},next:null};var a={};return r.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:So,lastRenderedState:a},next:null},t.memoizedState=r,t=t.alternate,t!==null&&(t.memoizedState=r),r}function Xy(t){var r=Yy(t);r.next===null&&(r=t.alternate.memoizedState),Ks(t,r.next.queue,{},nr())}function Zf(){return bn(dl)}function Qy(){return tn().memoizedState}function Zy(){return tn().memoizedState}function J2(t){for(var r=t.return;r!==null;){switch(r.tag){case 24:case 3:var a=nr();t=Ko(a);var l=Yo(r,t,a);l!==null&&(Fn(l,r,a),Fs(l,r,a)),r={cache:jf()},t.payload=r;return}r=r.return}}function ew(t,r,a){var l=nr();a={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Wc(t)?ev(r,a):(a=gf(t,r,a,l),a!==null&&(Fn(a,t,l),tv(a,r,l)))}function Jy(t,r,a){var l=nr();Ks(t,r,a,l)}function Ks(t,r,a,l){var f={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Wc(t))ev(r,f);else{var h=t.alternate;if(t.lanes===0&&(h===null||h.lanes===0)&&(h=r.lastRenderedReducer,h!==null))try{var C=r.lastRenderedState,z=h(C,a);if(f.hasEagerState=!0,f.eagerState=z,Xn(z,C))return Rc(t,r,f,0),Ot===null&&Tc(),!1}catch{}if(a=gf(t,r,f,l),a!==null)return Fn(a,t,l),tv(a,r,l),!0}return!1}function Jf(t,r,a,l){if(l={lane:2,revertLane:Op(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Wc(t)){if(r)throw Error(i(479))}else r=gf(t,a,l,2),r!==null&&Fn(r,t,2)}function Wc(t){var r=t.alternate;return t===Qe||r!==null&&r===Qe}function ev(t,r){Ti=Uc=!0;var a=t.pending;a===null?r.next=r:(r.next=a.next,a.next=r),t.pending=r}function tv(t,r,a){if((a&4194048)!==0){var l=r.lanes;l&=t.pendingLanes,a|=l,r.lanes=a,ut(t,a)}}var Ys={readContext:bn,use:Hc,useCallback:Kt,useContext:Kt,useEffect:Kt,useImperativeHandle:Kt,useLayoutEffect:Kt,useInsertionEffect:Kt,useMemo:Kt,useReducer:Kt,useRef:Kt,useState:Kt,useDebugValue:Kt,useDeferredValue:Kt,useTransition:Kt,useSyncExternalStore:Kt,useId:Kt,useHostTransitionStatus:Kt,useFormState:Kt,useActionState:Kt,useOptimistic:Kt,useMemoCache:Kt,useCacheRefresh:Kt};Ys.useEffectEvent=Kt;var nv={readContext:bn,use:Hc,useCallback:function(t,r){return zn().memoizedState=[t,r===void 0?null:r],t},useContext:bn,useEffect:Uy,useImperativeHandle:function(t,r,a){a=a!=null?a.concat([t]):null,Vc(4194308,4,Fy.bind(null,r,t),a)},useLayoutEffect:function(t,r){return Vc(4194308,4,t,r)},useInsertionEffect:function(t,r){Vc(4,2,t,r)},useMemo:function(t,r){var a=zn();r=r===void 0?null:r;var l=t();if(Na){gn(!0);try{t()}finally{gn(!1)}}return a.memoizedState=[l,r],l},useReducer:function(t,r,a){var l=zn();if(a!==void 0){var f=a(r);if(Na){gn(!0);try{a(r)}finally{gn(!1)}}}else f=r;return l.memoizedState=l.baseState=f,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:f},l.queue=t,t=t.dispatch=ew.bind(null,Qe,t),[l.memoizedState,t]},useRef:function(t){var r=zn();return t={current:t},r.memoizedState=t},useState:function(t){t=Wf(t);var r=t.queue,a=Jy.bind(null,Qe,r);return r.dispatch=a,[t.memoizedState,a]},useDebugValue:Yf,useDeferredValue:function(t,r){var a=zn();return Xf(a,t,r)},useTransition:function(){var t=Wf(!1);return t=Ky.bind(null,Qe,t.queue,!0,!1),zn().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,r,a){var l=Qe,f=zn();if(ct){if(a===void 0)throw Error(i(407));a=a()}else{if(a=r(),Ot===null)throw Error(i(349));(it&127)!==0||wy(l,r,a)}f.memoizedState=a;var h={value:a,getSnapshot:r};return f.queue=h,Uy(Ty.bind(null,l,h,t),[t]),l.flags|=2048,ji(9,{destroy:void 0},Ey.bind(null,l,h,a,r),null),a},useId:function(){var t=zn(),r=Ot.identifierPrefix;if(ct){var a=Hr,l=Ir;a=(l&~(1<<32-Gt(l)-1)).toString(32)+a,r="_"+r+"R_"+a,a=_c++,0<a&&(r+="H"+a.toString(32)),r+="_"}else a=G2++,r="_"+r+"r_"+a.toString(32)+"_";return t.memoizedState=r},useHostTransitionStatus:Zf,useFormState:Ny,useActionState:Ny,useOptimistic:function(t){var r=zn();r.memoizedState=r.baseState=t;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=a,r=Jf.bind(null,Qe,!0,a),a.dispatch=r,[t,r]},useMemoCache:Ff,useCacheRefresh:function(){return zn().memoizedState=J2.bind(null,Qe)},useEffectEvent:function(t){var r=zn(),a={impl:t};return r.memoizedState=a,function(){if((mt&2)!==0)throw Error(i(440));return a.impl.apply(void 0,arguments)}}},ep={readContext:bn,use:Hc,useCallback:qy,useContext:bn,useEffect:Kf,useImperativeHandle:Vy,useInsertionEffect:Iy,useLayoutEffect:Hy,useMemo:Wy,useReducer:Fc,useRef:Py,useState:function(){return Fc(So)},useDebugValue:Yf,useDeferredValue:function(t,r){var a=tn();return Gy(a,Tt.memoizedState,t,r)},useTransition:function(){var t=Fc(So)[0],r=tn().memoizedState;return[typeof t=="boolean"?t:Gs(t),r]},useSyncExternalStore:Cy,useId:Qy,useHostTransitionStatus:Zf,useFormState:Dy,useActionState:Dy,useOptimistic:function(t,r){var a=tn();return Ay(a,Tt,t,r)},useMemoCache:Ff,useCacheRefresh:Zy};ep.useEffectEvent=_y;var rv={readContext:bn,use:Hc,useCallback:qy,useContext:bn,useEffect:Kf,useImperativeHandle:Vy,useInsertionEffect:Iy,useLayoutEffect:Hy,useMemo:Wy,useReducer:qf,useRef:Py,useState:function(){return qf(So)},useDebugValue:Yf,useDeferredValue:function(t,r){var a=tn();return Tt===null?Xf(a,t,r):Gy(a,Tt.memoizedState,t,r)},useTransition:function(){var t=qf(So)[0],r=tn().memoizedState;return[typeof t=="boolean"?t:Gs(t),r]},useSyncExternalStore:Cy,useId:Qy,useHostTransitionStatus:Zf,useFormState:$y,useActionState:$y,useOptimistic:function(t,r){var a=tn();return Tt!==null?Ay(a,Tt,t,r):(a.baseState=t,[t,a.queue.dispatch])},useMemoCache:Ff,useCacheRefresh:Zy};rv.useEffectEvent=_y;function tp(t,r,a,l){r=t.memoizedState,a=a(l,r),a=a==null?r:b({},r,a),t.memoizedState=a,t.lanes===0&&(t.updateQueue.baseState=a)}var np={enqueueSetState:function(t,r,a){t=t._reactInternals;var l=nr(),f=Ko(l);f.payload=r,a!=null&&(f.callback=a),r=Yo(t,f,l),r!==null&&(Fn(r,t,l),Fs(r,t,l))},enqueueReplaceState:function(t,r,a){t=t._reactInternals;var l=nr(),f=Ko(l);f.tag=1,f.payload=r,a!=null&&(f.callback=a),r=Yo(t,f,l),r!==null&&(Fn(r,t,l),Fs(r,t,l))},enqueueForceUpdate:function(t,r){t=t._reactInternals;var a=nr(),l=Ko(a);l.tag=2,r!=null&&(l.callback=r),r=Yo(t,l,a),r!==null&&(Fn(r,t,a),Fs(r,t,a))}};function ov(t,r,a,l,f,h,C){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,h,C):r.prototype&&r.prototype.isPureReactComponent?!Ds(a,l)||!Ds(f,h):!0}function av(t,r,a,l){t=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(a,l),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(a,l),r.state!==t&&np.enqueueReplaceState(r,r.state,null)}function Da(t,r){var a=r;if("ref"in r){a={};for(var l in r)l!=="ref"&&(a[l]=r[l])}if(t=t.defaultProps){a===r&&(a=b({},a));for(var f in t)a[f]===void 0&&(a[f]=t[f])}return a}function iv(t){Ec(t)}function sv(t){console.error(t)}function lv(t){Ec(t)}function Gc(t,r){try{var a=t.onUncaughtError;a(r.value,{componentStack:r.stack})}catch(l){setTimeout(function(){throw l})}}function cv(t,r,a){try{var l=t.onCaughtError;l(a.value,{componentStack:a.stack,errorBoundary:r.tag===1?r.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function rp(t,r,a){return a=Ko(a),a.tag=3,a.payload={element:null},a.callback=function(){Gc(t,r)},a}function uv(t){return t=Ko(t),t.tag=3,t}function dv(t,r,a,l){var f=a.type.getDerivedStateFromError;if(typeof f=="function"){var h=l.value;t.payload=function(){return f(h)},t.callback=function(){cv(r,a,l)}}var C=a.stateNode;C!==null&&typeof C.componentDidCatch=="function"&&(t.callback=function(){cv(r,a,l),typeof f!="function"&&(ta===null?ta=new Set([this]):ta.add(this));var z=l.stack;this.componentDidCatch(l.value,{componentStack:z!==null?z:""})})}function tw(t,r,a,l,f){if(a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(r=a.alternate,r!==null&&bi(r,a,f,!0),a=Zn.current,a!==null){switch(a.tag){case 31:case 13:return mr===null?au():a.alternate===null&&Yt===0&&(Yt=3),a.flags&=-257,a.flags|=65536,a.lanes=f,l===Nc?a.flags|=16384:(r=a.updateQueue,r===null?a.updateQueue=new Set([l]):r.add(l),Ap(t,l,f)),!1;case 22:return a.flags|=65536,l===Nc?a.flags|=16384:(r=a.updateQueue,r===null?(r={transitions:null,markerInstances:null,retryQueue:new Set([l])},a.updateQueue=r):(a=r.retryQueue,a===null?r.retryQueue=new Set([l]):a.add(l)),Ap(t,l,f)),!1}throw Error(i(435,a.tag))}return Ap(t,l,f),au(),!1}if(ct)return r=Zn.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=f,l!==Cf&&(t=Error(i(422),{cause:l}),Ps(dr(t,a)))):(l!==Cf&&(r=Error(i(423),{cause:l}),Ps(dr(r,a))),t=t.current.alternate,t.flags|=65536,f&=-f,t.lanes|=f,l=dr(l,a),f=rp(t.stateNode,l,f),Bf(t,f),Yt!==4&&(Yt=2)),!1;var h=Error(i(520),{cause:l});if(h=dr(h,a),rl===null?rl=[h]:rl.push(h),Yt!==4&&(Yt=2),r===null)return!0;l=dr(l,a),a=r;do{switch(a.tag){case 3:return a.flags|=65536,t=f&-f,a.lanes|=t,t=rp(a.stateNode,l,t),Bf(a,t),!1;case 1:if(r=a.type,h=a.stateNode,(a.flags&128)===0&&(typeof r.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(ta===null||!ta.has(h))))return a.flags|=65536,f&=-f,a.lanes|=f,f=uv(f),dv(f,t,a,l),Bf(a,f),!1}a=a.return}while(a!==null);return!1}var op=Error(i(461)),cn=!1;function xn(t,r,a,l){r.child=t===null?my(r,null,a,l):Ba(r,t.child,a,l)}function fv(t,r,a,l,f){a=a.render;var h=r.ref;if("ref"in l){var C={};for(var z in l)z!=="ref"&&(C[z]=l[z])}else C=l;return Ma(r),l=Uf(t,r,a,C,h,f),z=_f(),t!==null&&!cn?(If(t,r,f),Co(t,r,f)):(ct&&z&&xf(r),r.flags|=1,xn(t,r,l,f),r.child)}function pv(t,r,a,l,f){if(t===null){var h=a.type;return typeof h=="function"&&!yf(h)&&h.defaultProps===void 0&&a.compare===null?(r.tag=15,r.type=h,hv(t,r,h,l,f)):(t=Ac(a.type,null,l,r,r.mode,f),t.ref=r.ref,t.return=r,r.child=t)}if(h=t.child,!fp(t,f)){var C=h.memoizedProps;if(a=a.compare,a=a!==null?a:Ds,a(C,l)&&t.ref===r.ref)return Co(t,r,f)}return r.flags|=1,t=go(h,l),t.ref=r.ref,t.return=r,r.child=t}function hv(t,r,a,l,f){if(t!==null){var h=t.memoizedProps;if(Ds(h,l)&&t.ref===r.ref)if(cn=!1,r.pendingProps=l=h,fp(t,f))(t.flags&131072)!==0&&(cn=!0);else return r.lanes=t.lanes,Co(t,r,f)}return ap(t,r,a,l,f)}function mv(t,r,a,l){var f=l.children,h=t!==null?t.memoizedState:null;if(t===null&&r.stateNode===null&&(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((r.flags&128)!==0){if(h=h!==null?h.baseLanes|a:a,t!==null){for(l=r.child=t.child,f=0;l!==null;)f=f|l.lanes|l.childLanes,l=l.sibling;l=f&~h}else l=0,r.child=null;return gv(t,r,h,a,l)}if((a&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},t!==null&&zc(r,h!==null?h.cachePool:null),h!==null?vy(r,h):Df(),by(r);else return l=r.lanes=536870912,gv(t,r,h!==null?h.baseLanes|a:a,a,l)}else h!==null?(zc(r,h.cachePool),vy(r,h),Qo(),r.memoizedState=null):(t!==null&&zc(r,null),Df(),Qo());return xn(t,r,f,a),r.child}function Xs(t,r){return t!==null&&t.tag===22||r.stateNode!==null||(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.sibling}function gv(t,r,a,l,f){var h=Mf();return h=h===null?null:{parent:sn._currentValue,pool:h},r.memoizedState={baseLanes:a,cachePool:h},t!==null&&zc(r,null),Df(),by(r),t!==null&&bi(t,r,l,!0),r.childLanes=f,null}function Kc(t,r){return r=Xc({mode:r.mode,children:r.children},t.mode),r.ref=t.ref,t.child=r,r.return=t,r}function yv(t,r,a){return Ba(r,t.child,null,a),t=Kc(r,r.pendingProps),t.flags|=2,Jn(r),r.memoizedState=null,t}function nw(t,r,a){var l=r.pendingProps,f=(r.flags&128)!==0;if(r.flags&=-129,t===null){if(ct){if(l.mode==="hidden")return t=Kc(r,l),r.lanes=536870912,Xs(null,t);if($f(r),(t=Lt)?(t=Mb(t,hr),t=t!==null&&t.data==="&"?t:null,t!==null&&(r.memoizedState={dehydrated:t,treeContext:Fo!==null?{id:Ir,overflow:Hr}:null,retryLane:536870912,hydrationErrors:null},a=ey(t),a.return=r,r.child=a,vn=r,Lt=null)):t=null,t===null)throw qo(r);return r.lanes=536870912,null}return Kc(r,l)}var h=t.memoizedState;if(h!==null){var C=h.dehydrated;if($f(r),f)if(r.flags&256)r.flags&=-257,r=yv(t,r,a);else if(r.memoizedState!==null)r.child=t.child,r.flags|=128,r=null;else throw Error(i(558));else if(cn||bi(t,r,a,!1),f=(a&t.childLanes)!==0,cn||f){if(l=Ot,l!==null&&(C=Ht(l,a),C!==0&&C!==h.retryLane))throw h.retryLane=C,Ta(t,C),Fn(l,t,C),op;au(),r=yv(t,r,a)}else t=h.treeContext,Lt=gr(C.nextSibling),vn=r,ct=!0,Vo=null,hr=!1,t!==null&&ry(r,t),r=Kc(r,l),r.flags|=4096;return r}return t=go(t.child,{mode:l.mode,children:l.children}),t.ref=r.ref,r.child=t,t.return=r,t}function Yc(t,r){var a=r.ref;if(a===null)t!==null&&t.ref!==null&&(r.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(i(284));(t===null||t.ref!==a)&&(r.flags|=4194816)}}function ap(t,r,a,l,f){return Ma(r),a=Uf(t,r,a,l,void 0,f),l=_f(),t!==null&&!cn?(If(t,r,f),Co(t,r,f)):(ct&&l&&xf(r),r.flags|=1,xn(t,r,a,f),r.child)}function vv(t,r,a,l,f,h){return Ma(r),r.updateQueue=null,a=Sy(r,l,a,f),xy(t),l=_f(),t!==null&&!cn?(If(t,r,h),Co(t,r,h)):(ct&&l&&xf(r),r.flags|=1,xn(t,r,a,h),r.child)}function bv(t,r,a,l,f){if(Ma(r),r.stateNode===null){var h=mi,C=a.contextType;typeof C=="object"&&C!==null&&(h=bn(C)),h=new a(l,h),r.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,h.updater=np,r.stateNode=h,h._reactInternals=r,h=r.stateNode,h.props=l,h.state=r.memoizedState,h.refs={},Of(r),C=a.contextType,h.context=typeof C=="object"&&C!==null?bn(C):mi,h.state=r.memoizedState,C=a.getDerivedStateFromProps,typeof C=="function"&&(tp(r,a,C,l),h.state=r.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(C=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),C!==h.state&&np.enqueueReplaceState(h,h.state,null),qs(r,l,h,f),Vs(),h.state=r.memoizedState),typeof h.componentDidMount=="function"&&(r.flags|=4194308),l=!0}else if(t===null){h=r.stateNode;var z=r.memoizedProps,V=Da(a,z);h.props=V;var ee=h.context,le=a.contextType;C=mi,typeof le=="object"&&le!==null&&(C=bn(le));var he=a.getDerivedStateFromProps;le=typeof he=="function"||typeof h.getSnapshotBeforeUpdate=="function",z=r.pendingProps!==z,le||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(z||ee!==C)&&av(r,h,l,C),Go=!1;var te=r.memoizedState;h.state=te,qs(r,l,h,f),Vs(),ee=r.memoizedState,z||te!==ee||Go?(typeof he=="function"&&(tp(r,a,he,l),ee=r.memoizedState),(V=Go||ov(r,a,V,l,te,ee,C))?(le||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(r.flags|=4194308)):(typeof h.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=l,r.memoizedState=ee),h.props=l,h.state=ee,h.context=C,l=V):(typeof h.componentDidMount=="function"&&(r.flags|=4194308),l=!1)}else{h=r.stateNode,zf(t,r),C=r.memoizedProps,le=Da(a,C),h.props=le,he=r.pendingProps,te=h.context,ee=a.contextType,V=mi,typeof ee=="object"&&ee!==null&&(V=bn(ee)),z=a.getDerivedStateFromProps,(ee=typeof z=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(C!==he||te!==V)&&av(r,h,l,V),Go=!1,te=r.memoizedState,h.state=te,qs(r,l,h,f),Vs();var oe=r.memoizedState;C!==he||te!==oe||Go||t!==null&&t.dependencies!==null&&kc(t.dependencies)?(typeof z=="function"&&(tp(r,a,z,l),oe=r.memoizedState),(le=Go||ov(r,a,le,l,te,oe,V)||t!==null&&t.dependencies!==null&&kc(t.dependencies))?(ee||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(l,oe,V),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(l,oe,V)),typeof h.componentDidUpdate=="function"&&(r.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof h.componentDidUpdate!="function"||C===t.memoizedProps&&te===t.memoizedState||(r.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||C===t.memoizedProps&&te===t.memoizedState||(r.flags|=1024),r.memoizedProps=l,r.memoizedState=oe),h.props=l,h.state=oe,h.context=V,l=le):(typeof h.componentDidUpdate!="function"||C===t.memoizedProps&&te===t.memoizedState||(r.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||C===t.memoizedProps&&te===t.memoizedState||(r.flags|=1024),l=!1)}return h=l,Yc(t,r),l=(r.flags&128)!==0,h||l?(h=r.stateNode,a=l&&typeof a.getDerivedStateFromError!="function"?null:h.render(),r.flags|=1,t!==null&&l?(r.child=Ba(r,t.child,null,f),r.child=Ba(r,null,a,f)):xn(t,r,a,f),r.memoizedState=h.state,t=r.child):t=Co(t,r,f),t}function xv(t,r,a,l){return ja(),r.flags|=256,xn(t,r,a,l),r.child}var ip={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function sp(t){return{baseLanes:t,cachePool:cy()}}function lp(t,r,a){return t=t!==null?t.childLanes&~a:0,r&&(t|=tr),t}function Sv(t,r,a){var l=r.pendingProps,f=!1,h=(r.flags&128)!==0,C;if((C=h)||(C=t!==null&&t.memoizedState===null?!1:(en.current&2)!==0),C&&(f=!0,r.flags&=-129),C=(r.flags&32)!==0,r.flags&=-33,t===null){if(ct){if(f?Xo(r):Qo(),(t=Lt)?(t=Mb(t,hr),t=t!==null&&t.data!=="&"?t:null,t!==null&&(r.memoizedState={dehydrated:t,treeContext:Fo!==null?{id:Ir,overflow:Hr}:null,retryLane:536870912,hydrationErrors:null},a=ey(t),a.return=r,r.child=a,vn=r,Lt=null)):t=null,t===null)throw qo(r);return Vp(t)?r.lanes=32:r.lanes=536870912,null}var z=l.children;return l=l.fallback,f?(Qo(),f=r.mode,z=Xc({mode:"hidden",children:z},f),l=Ra(l,f,a,null),z.return=r,l.return=r,z.sibling=l,r.child=z,l=r.child,l.memoizedState=sp(a),l.childLanes=lp(t,C,a),r.memoizedState=ip,Xs(null,l)):(Xo(r),cp(r,z))}var V=t.memoizedState;if(V!==null&&(z=V.dehydrated,z!==null)){if(h)r.flags&256?(Xo(r),r.flags&=-257,r=up(t,r,a)):r.memoizedState!==null?(Qo(),r.child=t.child,r.flags|=128,r=null):(Qo(),z=l.fallback,f=r.mode,l=Xc({mode:"visible",children:l.children},f),z=Ra(z,f,a,null),z.flags|=2,l.return=r,z.return=r,l.sibling=z,r.child=l,Ba(r,t.child,null,a),l=r.child,l.memoizedState=sp(a),l.childLanes=lp(t,C,a),r.memoizedState=ip,r=Xs(null,l));else if(Xo(r),Vp(z)){if(C=z.nextSibling&&z.nextSibling.dataset,C)var ee=C.dgst;C=ee,l=Error(i(419)),l.stack="",l.digest=C,Ps({value:l,source:null,stack:null}),r=up(t,r,a)}else if(cn||bi(t,r,a,!1),C=(a&t.childLanes)!==0,cn||C){if(C=Ot,C!==null&&(l=Ht(C,a),l!==0&&l!==V.retryLane))throw V.retryLane=l,Ta(t,l),Fn(C,t,l),op;Fp(z)||au(),r=up(t,r,a)}else Fp(z)?(r.flags|=192,r.child=t.child,r=null):(t=V.treeContext,Lt=gr(z.nextSibling),vn=r,ct=!0,Vo=null,hr=!1,t!==null&&ry(r,t),r=cp(r,l.children),r.flags|=4096);return r}return f?(Qo(),z=l.fallback,f=r.mode,V=t.child,ee=V.sibling,l=go(V,{mode:"hidden",children:l.children}),l.subtreeFlags=V.subtreeFlags&65011712,ee!==null?z=go(ee,z):(z=Ra(z,f,a,null),z.flags|=2),z.return=r,l.return=r,l.sibling=z,r.child=l,Xs(null,l),l=r.child,z=t.child.memoizedState,z===null?z=sp(a):(f=z.cachePool,f!==null?(V=sn._currentValue,f=f.parent!==V?{parent:V,pool:V}:f):f=cy(),z={baseLanes:z.baseLanes|a,cachePool:f}),l.memoizedState=z,l.childLanes=lp(t,C,a),r.memoizedState=ip,Xs(t.child,l)):(Xo(r),a=t.child,t=a.sibling,a=go(a,{mode:"visible",children:l.children}),a.return=r,a.sibling=null,t!==null&&(C=r.deletions,C===null?(r.deletions=[t],r.flags|=16):C.push(t)),r.child=a,r.memoizedState=null,a)}function cp(t,r){return r=Xc({mode:"visible",children:r},t.mode),r.return=t,t.child=r}function Xc(t,r){return t=Qn(22,t,null,r),t.lanes=0,t}function up(t,r,a){return Ba(r,t.child,null,a),t=cp(r,r.pendingProps.children),t.flags|=2,r.memoizedState=null,t}function Cv(t,r,a){t.lanes|=r;var l=t.alternate;l!==null&&(l.lanes|=r),Tf(t.return,r,a)}function dp(t,r,a,l,f,h){var C=t.memoizedState;C===null?t.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:l,tail:a,tailMode:f,treeForkCount:h}:(C.isBackwards=r,C.rendering=null,C.renderingStartTime=0,C.last=l,C.tail=a,C.tailMode=f,C.treeForkCount=h)}function wv(t,r,a){var l=r.pendingProps,f=l.revealOrder,h=l.tail;l=l.children;var C=en.current,z=(C&2)!==0;if(z?(C=C&1|2,r.flags|=128):C&=1,Q(en,C),xn(t,r,l,a),l=ct?$s:0,!z&&t!==null&&(t.flags&128)!==0)e:for(t=r.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Cv(t,a,r);else if(t.tag===19)Cv(t,a,r);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===r)break e;for(;t.sibling===null;){if(t.return===null||t.return===r)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(f){case"forwards":for(a=r.child,f=null;a!==null;)t=a.alternate,t!==null&&Pc(t)===null&&(f=a),a=a.sibling;a=f,a===null?(f=r.child,r.child=null):(f=a.sibling,a.sibling=null),dp(r,!1,f,a,h,l);break;case"backwards":case"unstable_legacy-backwards":for(a=null,f=r.child,r.child=null;f!==null;){if(t=f.alternate,t!==null&&Pc(t)===null){r.child=f;break}t=f.sibling,f.sibling=a,a=f,f=t}dp(r,!0,a,null,h,l);break;case"together":dp(r,!1,null,null,void 0,l);break;default:r.memoizedState=null}return r.child}function Co(t,r,a){if(t!==null&&(r.dependencies=t.dependencies),ea|=r.lanes,(a&r.childLanes)===0)if(t!==null){if(bi(t,r,a,!1),(a&r.childLanes)===0)return null}else return null;if(t!==null&&r.child!==t.child)throw Error(i(153));if(r.child!==null){for(t=r.child,a=go(t,t.pendingProps),r.child=a,a.return=r;t.sibling!==null;)t=t.sibling,a=a.sibling=go(t,t.pendingProps),a.return=r;a.sibling=null}return r.child}function fp(t,r){return(t.lanes&r)!==0?!0:(t=t.dependencies,!!(t!==null&&kc(t)))}function rw(t,r,a){switch(r.tag){case 3:ze(r,r.stateNode.containerInfo),Wo(r,sn,t.memoizedState.cache),ja();break;case 27:case 5:ke(r);break;case 4:ze(r,r.stateNode.containerInfo);break;case 10:Wo(r,r.type,r.memoizedProps.value);break;case 31:if(r.memoizedState!==null)return r.flags|=128,$f(r),null;break;case 13:var l=r.memoizedState;if(l!==null)return l.dehydrated!==null?(Xo(r),r.flags|=128,null):(a&r.child.childLanes)!==0?Sv(t,r,a):(Xo(r),t=Co(t,r,a),t!==null?t.sibling:null);Xo(r);break;case 19:var f=(t.flags&128)!==0;if(l=(a&r.childLanes)!==0,l||(bi(t,r,a,!1),l=(a&r.childLanes)!==0),f){if(l)return wv(t,r,a);r.flags|=128}if(f=r.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),Q(en,en.current),l)break;return null;case 22:return r.lanes=0,mv(t,r,a,r.pendingProps);case 24:Wo(r,sn,t.memoizedState.cache)}return Co(t,r,a)}function Ev(t,r,a){if(t!==null)if(t.memoizedProps!==r.pendingProps)cn=!0;else{if(!fp(t,a)&&(r.flags&128)===0)return cn=!1,rw(t,r,a);cn=(t.flags&131072)!==0}else cn=!1,ct&&(r.flags&1048576)!==0&&ny(r,$s,r.index);switch(r.lanes=0,r.tag){case 16:e:{var l=r.pendingProps;if(t=Oa(r.elementType),r.type=t,typeof t=="function")yf(t)?(l=Da(t,l),r.tag=1,r=bv(null,r,t,l,a)):(r.tag=0,r=ap(null,r,t,l,a));else{if(t!=null){var f=t.$$typeof;if(f===M){r.tag=11,r=fv(null,r,t,l,a);break e}else if(f===L){r.tag=14,r=pv(null,r,t,l,a);break e}}throw r=I(t)||t,Error(i(306,r,""))}}return r;case 0:return ap(t,r,r.type,r.pendingProps,a);case 1:return l=r.type,f=Da(l,r.pendingProps),bv(t,r,l,f,a);case 3:e:{if(ze(r,r.stateNode.containerInfo),t===null)throw Error(i(387));l=r.pendingProps;var h=r.memoizedState;f=h.element,zf(t,r),qs(r,l,null,a);var C=r.memoizedState;if(l=C.cache,Wo(r,sn,l),l!==h.cache&&Rf(r,[sn],a,!0),Vs(),l=C.element,h.isDehydrated)if(h={element:l,isDehydrated:!1,cache:C.cache},r.updateQueue.baseState=h,r.memoizedState=h,r.flags&256){r=xv(t,r,l,a);break e}else if(l!==f){f=dr(Error(i(424)),r),Ps(f),r=xv(t,r,l,a);break e}else for(t=r.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,Lt=gr(t.firstChild),vn=r,ct=!0,Vo=null,hr=!0,a=my(r,null,l,a),r.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(ja(),l===f){r=Co(t,r,a);break e}xn(t,r,l,a)}r=r.child}return r;case 26:return Yc(t,r),t===null?(a=Db(r.type,null,r.pendingProps,null))?r.memoizedState=a:ct||(a=r.type,t=r.pendingProps,l=fu(fe.current).createElement(a),l[yn]=r,l[$n]=t,Sn(l,a,t),hn(l),r.stateNode=l):r.memoizedState=Db(r.type,t.memoizedProps,r.pendingProps,t.memoizedState),null;case 27:return ke(r),t===null&&ct&&(l=r.stateNode=zb(r.type,r.pendingProps,fe.current),vn=r,hr=!0,f=Lt,aa(r.type)?(qp=f,Lt=gr(l.firstChild)):Lt=f),xn(t,r,r.pendingProps.children,a),Yc(t,r),t===null&&(r.flags|=4194304),r.child;case 5:return t===null&&ct&&((f=l=Lt)&&(l=Bw(l,r.type,r.pendingProps,hr),l!==null?(r.stateNode=l,vn=r,Lt=gr(l.firstChild),hr=!1,f=!0):f=!1),f||qo(r)),ke(r),f=r.type,h=r.pendingProps,C=t!==null?t.memoizedProps:null,l=h.children,_p(f,h)?l=null:C!==null&&_p(f,C)&&(r.flags|=32),r.memoizedState!==null&&(f=Uf(t,r,K2,null,null,a),dl._currentValue=f),Yc(t,r),xn(t,r,l,a),r.child;case 6:return t===null&&ct&&((t=a=Lt)&&(a=Nw(a,r.pendingProps,hr),a!==null?(r.stateNode=a,vn=r,Lt=null,t=!0):t=!1),t||qo(r)),null;case 13:return Sv(t,r,a);case 4:return ze(r,r.stateNode.containerInfo),l=r.pendingProps,t===null?r.child=Ba(r,null,l,a):xn(t,r,l,a),r.child;case 11:return fv(t,r,r.type,r.pendingProps,a);case 7:return xn(t,r,r.pendingProps,a),r.child;case 8:return xn(t,r,r.pendingProps.children,a),r.child;case 12:return xn(t,r,r.pendingProps.children,a),r.child;case 10:return l=r.pendingProps,Wo(r,r.type,l.value),xn(t,r,l.children,a),r.child;case 9:return f=r.type._context,l=r.pendingProps.children,Ma(r),f=bn(f),l=l(f),r.flags|=1,xn(t,r,l,a),r.child;case 14:return pv(t,r,r.type,r.pendingProps,a);case 15:return hv(t,r,r.type,r.pendingProps,a);case 19:return wv(t,r,a);case 31:return nw(t,r,a);case 22:return mv(t,r,a,r.pendingProps);case 24:return Ma(r),l=bn(sn),t===null?(f=Mf(),f===null&&(f=Ot,h=jf(),f.pooledCache=h,h.refCount++,h!==null&&(f.pooledCacheLanes|=a),f=h),r.memoizedState={parent:l,cache:f},Of(r),Wo(r,sn,f)):((t.lanes&a)!==0&&(zf(t,r),qs(r,null,null,a),Vs()),f=t.memoizedState,h=r.memoizedState,f.parent!==l?(f={parent:l,cache:l},r.memoizedState=f,r.lanes===0&&(r.memoizedState=r.updateQueue.baseState=f),Wo(r,sn,l)):(l=h.cache,Wo(r,sn,l),l!==f.cache&&Rf(r,[sn],a,!0))),xn(t,r,r.pendingProps.children,a),r.child;case 29:throw r.pendingProps}throw Error(i(156,r.tag))}function wo(t){t.flags|=4}function pp(t,r,a,l,f){if((r=(t.mode&32)!==0)&&(r=!1),r){if(t.flags|=16777216,(f&335544128)===f)if(t.stateNode.complete)t.flags|=8192;else if(Qv())t.flags|=8192;else throw za=Nc,kf}else t.flags&=-16777217}function Tv(t,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!_b(r))if(Qv())t.flags|=8192;else throw za=Nc,kf}function Qc(t,r){r!==null&&(t.flags|=4),t.flags&16384&&(r=t.tag!==22?Ge():536870912,t.lanes|=r,Oi|=r)}function Qs(t,r){if(!ct)switch(t.tailMode){case"hidden":r=t.tail;for(var a=null;r!==null;)r.alternate!==null&&(a=r),r=r.sibling;a===null?t.tail=null:a.sibling=null;break;case"collapsed":a=t.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?r||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function $t(t){var r=t.alternate!==null&&t.alternate.child===t.child,a=0,l=0;if(r)for(var f=t.child;f!==null;)a|=f.lanes|f.childLanes,l|=f.subtreeFlags&65011712,l|=f.flags&65011712,f.return=t,f=f.sibling;else for(f=t.child;f!==null;)a|=f.lanes|f.childLanes,l|=f.subtreeFlags,l|=f.flags,f.return=t,f=f.sibling;return t.subtreeFlags|=l,t.childLanes=a,r}function ow(t,r,a){var l=r.pendingProps;switch(Sf(r),r.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $t(r),null;case 1:return $t(r),null;case 3:return a=r.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),r.memoizedState.cache!==l&&(r.flags|=2048),bo(sn),je(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(vi(r)?wo(r):t===null||t.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,wf())),$t(r),null;case 26:var f=r.type,h=r.memoizedState;return t===null?(wo(r),h!==null?($t(r),Tv(r,h)):($t(r),pp(r,f,null,l,a))):h?h!==t.memoizedState?(wo(r),$t(r),Tv(r,h)):($t(r),r.flags&=-16777217):(t=t.memoizedProps,t!==l&&wo(r),$t(r),pp(r,f,t,l,a)),null;case 27:if(De(r),a=fe.current,f=r.type,t!==null&&r.stateNode!=null)t.memoizedProps!==l&&wo(r);else{if(!l){if(r.stateNode===null)throw Error(i(166));return $t(r),null}t=se.current,vi(r)?oy(r):(t=zb(f,l,a),r.stateNode=t,wo(r))}return $t(r),null;case 5:if(De(r),f=r.type,t!==null&&r.stateNode!=null)t.memoizedProps!==l&&wo(r);else{if(!l){if(r.stateNode===null)throw Error(i(166));return $t(r),null}if(h=se.current,vi(r))oy(r);else{var C=fu(fe.current);switch(h){case 1:h=C.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:h=C.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":h=C.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":h=C.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":h=C.createElement("div"),h.innerHTML="<script><\/script>",h=h.removeChild(h.firstChild);break;case"select":h=typeof l.is=="string"?C.createElement("select",{is:l.is}):C.createElement("select"),l.multiple?h.multiple=!0:l.size&&(h.size=l.size);break;default:h=typeof l.is=="string"?C.createElement(f,{is:l.is}):C.createElement(f)}}h[yn]=r,h[$n]=l;e:for(C=r.child;C!==null;){if(C.tag===5||C.tag===6)h.appendChild(C.stateNode);else if(C.tag!==4&&C.tag!==27&&C.child!==null){C.child.return=C,C=C.child;continue}if(C===r)break e;for(;C.sibling===null;){if(C.return===null||C.return===r)break e;C=C.return}C.sibling.return=C.return,C=C.sibling}r.stateNode=h;e:switch(Sn(h,f,l),f){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&wo(r)}}return $t(r),pp(r,r.type,t===null?null:t.memoizedProps,r.pendingProps,a),null;case 6:if(t&&r.stateNode!=null)t.memoizedProps!==l&&wo(r);else{if(typeof l!="string"&&r.stateNode===null)throw Error(i(166));if(t=fe.current,vi(r)){if(t=r.stateNode,a=r.memoizedProps,l=null,f=vn,f!==null)switch(f.tag){case 27:case 5:l=f.memoizedProps}t[yn]=r,t=!!(t.nodeValue===a||l!==null&&l.suppressHydrationWarning===!0||Sb(t.nodeValue,a)),t||qo(r,!0)}else t=fu(t).createTextNode(l),t[yn]=r,r.stateNode=t}return $t(r),null;case 31:if(a=r.memoizedState,t===null||t.memoizedState!==null){if(l=vi(r),a!==null){if(t===null){if(!l)throw Error(i(318));if(t=r.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(557));t[yn]=r}else ja(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;$t(r),t=!1}else a=wf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),t=!0;if(!t)return r.flags&256?(Jn(r),r):(Jn(r),null);if((r.flags&128)!==0)throw Error(i(558))}return $t(r),null;case 13:if(l=r.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(f=vi(r),l!==null&&l.dehydrated!==null){if(t===null){if(!f)throw Error(i(318));if(f=r.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(i(317));f[yn]=r}else ja(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;$t(r),f=!1}else f=wf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=f),f=!0;if(!f)return r.flags&256?(Jn(r),r):(Jn(r),null)}return Jn(r),(r.flags&128)!==0?(r.lanes=a,r):(a=l!==null,t=t!==null&&t.memoizedState!==null,a&&(l=r.child,f=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(f=l.alternate.memoizedState.cachePool.pool),h=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(h=l.memoizedState.cachePool.pool),h!==f&&(l.flags|=2048)),a!==t&&a&&(r.child.flags|=8192),Qc(r,r.updateQueue),$t(r),null);case 4:return je(),t===null&&Dp(r.stateNode.containerInfo),$t(r),null;case 10:return bo(r.type),$t(r),null;case 19:if(H(en),l=r.memoizedState,l===null)return $t(r),null;if(f=(r.flags&128)!==0,h=l.rendering,h===null)if(f)Qs(l,!1);else{if(Yt!==0||t!==null&&(t.flags&128)!==0)for(t=r.child;t!==null;){if(h=Pc(t),h!==null){for(r.flags|=128,Qs(l,!1),t=h.updateQueue,r.updateQueue=t,Qc(r,t),r.subtreeFlags=0,t=a,a=r.child;a!==null;)Jg(a,t),a=a.sibling;return Q(en,en.current&1|2),ct&&yo(r,l.treeForkCount),r.child}t=t.sibling}l.tail!==null&&qe()>nu&&(r.flags|=128,f=!0,Qs(l,!1),r.lanes=4194304)}else{if(!f)if(t=Pc(h),t!==null){if(r.flags|=128,f=!0,t=t.updateQueue,r.updateQueue=t,Qc(r,t),Qs(l,!0),l.tail===null&&l.tailMode==="hidden"&&!h.alternate&&!ct)return $t(r),null}else 2*qe()-l.renderingStartTime>nu&&a!==536870912&&(r.flags|=128,f=!0,Qs(l,!1),r.lanes=4194304);l.isBackwards?(h.sibling=r.child,r.child=h):(t=l.last,t!==null?t.sibling=h:r.child=h,l.last=h)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=qe(),t.sibling=null,a=en.current,Q(en,f?a&1|2:a&1),ct&&yo(r,l.treeForkCount),t):($t(r),null);case 22:case 23:return Jn(r),Lf(),l=r.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(r.flags|=8192):l&&(r.flags|=8192),l?(a&536870912)!==0&&(r.flags&128)===0&&($t(r),r.subtreeFlags&6&&(r.flags|=8192)):$t(r),a=r.updateQueue,a!==null&&Qc(r,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),l=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(l=r.memoizedState.cachePool.pool),l!==a&&(r.flags|=2048),t!==null&&H(ka),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),r.memoizedState.cache!==a&&(r.flags|=2048),bo(sn),$t(r),null;case 25:return null;case 30:return null}throw Error(i(156,r.tag))}function aw(t,r){switch(Sf(r),r.tag){case 1:return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 3:return bo(sn),je(),t=r.flags,(t&65536)!==0&&(t&128)===0?(r.flags=t&-65537|128,r):null;case 26:case 27:case 5:return De(r),null;case 31:if(r.memoizedState!==null){if(Jn(r),r.alternate===null)throw Error(i(340));ja()}return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 13:if(Jn(r),t=r.memoizedState,t!==null&&t.dehydrated!==null){if(r.alternate===null)throw Error(i(340));ja()}return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 19:return H(en),null;case 4:return je(),null;case 10:return bo(r.type),null;case 22:case 23:return Jn(r),Lf(),t!==null&&H(ka),t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 24:return bo(sn),null;case 25:return null;default:return null}}function Rv(t,r){switch(Sf(r),r.tag){case 3:bo(sn),je();break;case 26:case 27:case 5:De(r);break;case 4:je();break;case 31:r.memoizedState!==null&&Jn(r);break;case 13:Jn(r);break;case 19:H(en);break;case 10:bo(r.type);break;case 22:case 23:Jn(r),Lf(),t!==null&&H(ka);break;case 24:bo(sn)}}function Zs(t,r){try{var a=r.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var f=l.next;a=f;do{if((a.tag&t)===t){l=void 0;var h=a.create,C=a.inst;l=h(),C.destroy=l}a=a.next}while(a!==f)}}catch(z){St(r,r.return,z)}}function Zo(t,r,a){try{var l=r.updateQueue,f=l!==null?l.lastEffect:null;if(f!==null){var h=f.next;l=h;do{if((l.tag&t)===t){var C=l.inst,z=C.destroy;if(z!==void 0){C.destroy=void 0,f=r;var V=a,ee=z;try{ee()}catch(le){St(f,V,le)}}}l=l.next}while(l!==h)}}catch(le){St(r,r.return,le)}}function jv(t){var r=t.updateQueue;if(r!==null){var a=t.stateNode;try{yy(r,a)}catch(l){St(t,t.return,l)}}}function Av(t,r,a){a.props=Da(t.type,t.memoizedProps),a.state=t.memoizedState;try{a.componentWillUnmount()}catch(l){St(t,r,l)}}function Js(t,r){try{var a=t.ref;if(a!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof a=="function"?t.refCleanup=a(l):a.current=l}}catch(f){St(t,r,f)}}function Fr(t,r){var a=t.ref,l=t.refCleanup;if(a!==null)if(typeof l=="function")try{l()}catch(f){St(t,r,f)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(f){St(t,r,f)}else a.current=null}function Mv(t){var r=t.type,a=t.memoizedProps,l=t.stateNode;try{e:switch(r){case"button":case"input":case"select":case"textarea":a.autoFocus&&l.focus();break e;case"img":a.src?l.src=a.src:a.srcSet&&(l.srcset=a.srcSet)}}catch(f){St(t,t.return,f)}}function hp(t,r,a){try{var l=t.stateNode;jw(l,t.type,a,r),l[$n]=r}catch(f){St(t,t.return,f)}}function kv(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&aa(t.type)||t.tag===4}function mp(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||kv(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&aa(t.type)||t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function gp(t,r,a){var l=t.tag;if(l===5||l===6)t=t.stateNode,r?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(t,r):(r=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,r.appendChild(t),a=a._reactRootContainer,a!=null||r.onclick!==null||(r.onclick=ho));else if(l!==4&&(l===27&&aa(t.type)&&(a=t.stateNode,r=null),t=t.child,t!==null))for(gp(t,r,a),t=t.sibling;t!==null;)gp(t,r,a),t=t.sibling}function Zc(t,r,a){var l=t.tag;if(l===5||l===6)t=t.stateNode,r?a.insertBefore(t,r):a.appendChild(t);else if(l!==4&&(l===27&&aa(t.type)&&(a=t.stateNode),t=t.child,t!==null))for(Zc(t,r,a),t=t.sibling;t!==null;)Zc(t,r,a),t=t.sibling}function Ov(t){var r=t.stateNode,a=t.memoizedProps;try{for(var l=t.type,f=r.attributes;f.length;)r.removeAttributeNode(f[0]);Sn(r,l,a),r[yn]=t,r[$n]=a}catch(h){St(t,t.return,h)}}var Eo=!1,un=!1,yp=!1,zv=typeof WeakSet=="function"?WeakSet:Set,mn=null;function iw(t,r){if(t=t.containerInfo,Pp=bu,t=Vg(t),uf(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else e:{a=(a=t.ownerDocument)&&a.defaultView||window;var l=a.getSelection&&a.getSelection();if(l&&l.rangeCount!==0){a=l.anchorNode;var f=l.anchorOffset,h=l.focusNode;l=l.focusOffset;try{a.nodeType,h.nodeType}catch{a=null;break e}var C=0,z=-1,V=-1,ee=0,le=0,he=t,te=null;t:for(;;){for(var oe;he!==a||f!==0&&he.nodeType!==3||(z=C+f),he!==h||l!==0&&he.nodeType!==3||(V=C+l),he.nodeType===3&&(C+=he.nodeValue.length),(oe=he.firstChild)!==null;)te=he,he=oe;for(;;){if(he===t)break t;if(te===a&&++ee===f&&(z=C),te===h&&++le===l&&(V=C),(oe=he.nextSibling)!==null)break;he=te,te=he.parentNode}he=oe}a=z===-1||V===-1?null:{start:z,end:V}}else a=null}a=a||{start:0,end:0}}else a=null;for(Up={focusedElem:t,selectionRange:a},bu=!1,mn=r;mn!==null;)if(r=mn,t=r.child,(r.subtreeFlags&1028)!==0&&t!==null)t.return=r,mn=t;else for(;mn!==null;){switch(r=mn,h=r.alternate,t=r.flags,r.tag){case 0:if((t&4)!==0&&(t=r.updateQueue,t=t!==null?t.events:null,t!==null))for(a=0;a<t.length;a++)f=t[a],f.ref.impl=f.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&h!==null){t=void 0,a=r,f=h.memoizedProps,h=h.memoizedState,l=a.stateNode;try{var Me=Da(a.type,f);t=l.getSnapshotBeforeUpdate(Me,h),l.__reactInternalSnapshotBeforeUpdate=t}catch(Ue){St(a,a.return,Ue)}}break;case 3:if((t&1024)!==0){if(t=r.stateNode.containerInfo,a=t.nodeType,a===9)Hp(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Hp(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(i(163))}if(t=r.sibling,t!==null){t.return=r.return,mn=t;break}mn=r.return}}function Bv(t,r,a){var l=a.flags;switch(a.tag){case 0:case 11:case 15:Ro(t,a),l&4&&Zs(5,a);break;case 1:if(Ro(t,a),l&4)if(t=a.stateNode,r===null)try{t.componentDidMount()}catch(C){St(a,a.return,C)}else{var f=Da(a.type,r.memoizedProps);r=r.memoizedState;try{t.componentDidUpdate(f,r,t.__reactInternalSnapshotBeforeUpdate)}catch(C){St(a,a.return,C)}}l&64&&jv(a),l&512&&Js(a,a.return);break;case 3:if(Ro(t,a),l&64&&(t=a.updateQueue,t!==null)){if(r=null,a.child!==null)switch(a.child.tag){case 27:case 5:r=a.child.stateNode;break;case 1:r=a.child.stateNode}try{yy(t,r)}catch(C){St(a,a.return,C)}}break;case 27:r===null&&l&4&&Ov(a);case 26:case 5:Ro(t,a),r===null&&l&4&&Mv(a),l&512&&Js(a,a.return);break;case 12:Ro(t,a);break;case 31:Ro(t,a),l&4&&Lv(t,a);break;case 13:Ro(t,a),l&4&&$v(t,a),l&64&&(t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(a=mw.bind(null,a),Dw(t,a))));break;case 22:if(l=a.memoizedState!==null||Eo,!l){r=r!==null&&r.memoizedState!==null||un,f=Eo;var h=un;Eo=l,(un=r)&&!h?jo(t,a,(a.subtreeFlags&8772)!==0):Ro(t,a),Eo=f,un=h}break;case 30:break;default:Ro(t,a)}}function Nv(t){var r=t.alternate;r!==null&&(t.alternate=null,Nv(r)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(r=t.stateNode,r!==null&&Wd(r)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Pt=null,Un=!1;function To(t,r,a){for(a=a.child;a!==null;)Dv(t,r,a),a=a.sibling}function Dv(t,r,a){if(Bt&&typeof Bt.onCommitFiberUnmount=="function")try{Bt.onCommitFiberUnmount(Wt,a)}catch{}switch(a.tag){case 26:un||Fr(a,r),To(t,r,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:un||Fr(a,r);var l=Pt,f=Un;aa(a.type)&&(Pt=a.stateNode,Un=!1),To(t,r,a),ll(a.stateNode),Pt=l,Un=f;break;case 5:un||Fr(a,r);case 6:if(l=Pt,f=Un,Pt=null,To(t,r,a),Pt=l,Un=f,Pt!==null)if(Un)try{(Pt.nodeType===9?Pt.body:Pt.nodeName==="HTML"?Pt.ownerDocument.body:Pt).removeChild(a.stateNode)}catch(h){St(a,r,h)}else try{Pt.removeChild(a.stateNode)}catch(h){St(a,r,h)}break;case 18:Pt!==null&&(Un?(t=Pt,jb(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.stateNode),Ui(t)):jb(Pt,a.stateNode));break;case 4:l=Pt,f=Un,Pt=a.stateNode.containerInfo,Un=!0,To(t,r,a),Pt=l,Un=f;break;case 0:case 11:case 14:case 15:Zo(2,a,r),un||Zo(4,a,r),To(t,r,a);break;case 1:un||(Fr(a,r),l=a.stateNode,typeof l.componentWillUnmount=="function"&&Av(a,r,l)),To(t,r,a);break;case 21:To(t,r,a);break;case 22:un=(l=un)||a.memoizedState!==null,To(t,r,a),un=l;break;default:To(t,r,a)}}function Lv(t,r){if(r.memoizedState===null&&(t=r.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Ui(t)}catch(a){St(r,r.return,a)}}}function $v(t,r){if(r.memoizedState===null&&(t=r.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Ui(t)}catch(a){St(r,r.return,a)}}function sw(t){switch(t.tag){case 31:case 13:case 19:var r=t.stateNode;return r===null&&(r=t.stateNode=new zv),r;case 22:return t=t.stateNode,r=t._retryCache,r===null&&(r=t._retryCache=new zv),r;default:throw Error(i(435,t.tag))}}function Jc(t,r){var a=sw(t);r.forEach(function(l){if(!a.has(l)){a.add(l);var f=gw.bind(null,t,l);l.then(f,f)}})}function _n(t,r){var a=r.deletions;if(a!==null)for(var l=0;l<a.length;l++){var f=a[l],h=t,C=r,z=C;e:for(;z!==null;){switch(z.tag){case 27:if(aa(z.type)){Pt=z.stateNode,Un=!1;break e}break;case 5:Pt=z.stateNode,Un=!1;break e;case 3:case 4:Pt=z.stateNode.containerInfo,Un=!0;break e}z=z.return}if(Pt===null)throw Error(i(160));Dv(h,C,f),Pt=null,Un=!1,h=f.alternate,h!==null&&(h.return=null),f.return=null}if(r.subtreeFlags&13886)for(r=r.child;r!==null;)Pv(r,t),r=r.sibling}var zr=null;function Pv(t,r){var a=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:_n(r,t),In(t),l&4&&(Zo(3,t,t.return),Zs(3,t),Zo(5,t,t.return));break;case 1:_n(r,t),In(t),l&512&&(un||a===null||Fr(a,a.return)),l&64&&Eo&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(a=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=a===null?l:a.concat(l))));break;case 26:var f=zr;if(_n(r,t),In(t),l&512&&(un||a===null||Fr(a,a.return)),l&4){var h=a!==null?a.memoizedState:null;if(l=t.memoizedState,a===null)if(l===null)if(t.stateNode===null){e:{l=t.type,a=t.memoizedProps,f=f.ownerDocument||f;t:switch(l){case"title":h=f.getElementsByTagName("title")[0],(!h||h[Rs]||h[yn]||h.namespaceURI==="http://www.w3.org/2000/svg"||h.hasAttribute("itemprop"))&&(h=f.createElement(l),f.head.insertBefore(h,f.querySelector("head > title"))),Sn(h,l,a),h[yn]=t,hn(h),l=h;break e;case"link":var C=Pb("link","href",f).get(l+(a.href||""));if(C){for(var z=0;z<C.length;z++)if(h=C[z],h.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&h.getAttribute("rel")===(a.rel==null?null:a.rel)&&h.getAttribute("title")===(a.title==null?null:a.title)&&h.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){C.splice(z,1);break t}}h=f.createElement(l),Sn(h,l,a),f.head.appendChild(h);break;case"meta":if(C=Pb("meta","content",f).get(l+(a.content||""))){for(z=0;z<C.length;z++)if(h=C[z],h.getAttribute("content")===(a.content==null?null:""+a.content)&&h.getAttribute("name")===(a.name==null?null:a.name)&&h.getAttribute("property")===(a.property==null?null:a.property)&&h.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&h.getAttribute("charset")===(a.charSet==null?null:a.charSet)){C.splice(z,1);break t}}h=f.createElement(l),Sn(h,l,a),f.head.appendChild(h);break;default:throw Error(i(468,l))}h[yn]=t,hn(h),l=h}t.stateNode=l}else Ub(f,t.type,t.stateNode);else t.stateNode=$b(f,l,t.memoizedProps);else h!==l?(h===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):h.count--,l===null?Ub(f,t.type,t.stateNode):$b(f,l,t.memoizedProps)):l===null&&t.stateNode!==null&&hp(t,t.memoizedProps,a.memoizedProps)}break;case 27:_n(r,t),In(t),l&512&&(un||a===null||Fr(a,a.return)),a!==null&&l&4&&hp(t,t.memoizedProps,a.memoizedProps);break;case 5:if(_n(r,t),In(t),l&512&&(un||a===null||Fr(a,a.return)),t.flags&32){f=t.stateNode;try{li(f,"")}catch(Me){St(t,t.return,Me)}}l&4&&t.stateNode!=null&&(f=t.memoizedProps,hp(t,f,a!==null?a.memoizedProps:f)),l&1024&&(yp=!0);break;case 6:if(_n(r,t),In(t),l&4){if(t.stateNode===null)throw Error(i(162));l=t.memoizedProps,a=t.stateNode;try{a.nodeValue=l}catch(Me){St(t,t.return,Me)}}break;case 3:if(mu=null,f=zr,zr=pu(r.containerInfo),_n(r,t),zr=f,In(t),l&4&&a!==null&&a.memoizedState.isDehydrated)try{Ui(r.containerInfo)}catch(Me){St(t,t.return,Me)}yp&&(yp=!1,Uv(t));break;case 4:l=zr,zr=pu(t.stateNode.containerInfo),_n(r,t),In(t),zr=l;break;case 12:_n(r,t),In(t);break;case 31:_n(r,t),In(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Jc(t,l)));break;case 13:_n(r,t),In(t),t.child.flags&8192&&t.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(tu=qe()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Jc(t,l)));break;case 22:f=t.memoizedState!==null;var V=a!==null&&a.memoizedState!==null,ee=Eo,le=un;if(Eo=ee||f,un=le||V,_n(r,t),un=le,Eo=ee,In(t),l&8192)e:for(r=t.stateNode,r._visibility=f?r._visibility&-2:r._visibility|1,f&&(a===null||V||Eo||un||La(t)),a=null,r=t;;){if(r.tag===5||r.tag===26){if(a===null){V=a=r;try{if(h=V.stateNode,f)C=h.style,typeof C.setProperty=="function"?C.setProperty("display","none","important"):C.display="none";else{z=V.stateNode;var he=V.memoizedProps.style,te=he!=null&&he.hasOwnProperty("display")?he.display:null;z.style.display=te==null||typeof te=="boolean"?"":(""+te).trim()}}catch(Me){St(V,V.return,Me)}}}else if(r.tag===6){if(a===null){V=r;try{V.stateNode.nodeValue=f?"":V.memoizedProps}catch(Me){St(V,V.return,Me)}}}else if(r.tag===18){if(a===null){V=r;try{var oe=V.stateNode;f?Ab(oe,!0):Ab(V.stateNode,!1)}catch(Me){St(V,V.return,Me)}}}else if((r.tag!==22&&r.tag!==23||r.memoizedState===null||r===t)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break e;for(;r.sibling===null;){if(r.return===null||r.return===t)break e;a===r&&(a=null),r=r.return}a===r&&(a=null),r.sibling.return=r.return,r=r.sibling}l&4&&(l=t.updateQueue,l!==null&&(a=l.retryQueue,a!==null&&(l.retryQueue=null,Jc(t,a))));break;case 19:_n(r,t),In(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Jc(t,l)));break;case 30:break;case 21:break;default:_n(r,t),In(t)}}function In(t){var r=t.flags;if(r&2){try{for(var a,l=t.return;l!==null;){if(kv(l)){a=l;break}l=l.return}if(a==null)throw Error(i(160));switch(a.tag){case 27:var f=a.stateNode,h=mp(t);Zc(t,h,f);break;case 5:var C=a.stateNode;a.flags&32&&(li(C,""),a.flags&=-33);var z=mp(t);Zc(t,z,C);break;case 3:case 4:var V=a.stateNode.containerInfo,ee=mp(t);gp(t,ee,V);break;default:throw Error(i(161))}}catch(le){St(t,t.return,le)}t.flags&=-3}r&4096&&(t.flags&=-4097)}function Uv(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var r=t;Uv(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),t=t.sibling}}function Ro(t,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)Bv(t,r.alternate,r),r=r.sibling}function La(t){for(t=t.child;t!==null;){var r=t;switch(r.tag){case 0:case 11:case 14:case 15:Zo(4,r,r.return),La(r);break;case 1:Fr(r,r.return);var a=r.stateNode;typeof a.componentWillUnmount=="function"&&Av(r,r.return,a),La(r);break;case 27:ll(r.stateNode);case 26:case 5:Fr(r,r.return),La(r);break;case 22:r.memoizedState===null&&La(r);break;case 30:La(r);break;default:La(r)}t=t.sibling}}function jo(t,r,a){for(a=a&&(r.subtreeFlags&8772)!==0,r=r.child;r!==null;){var l=r.alternate,f=t,h=r,C=h.flags;switch(h.tag){case 0:case 11:case 15:jo(f,h,a),Zs(4,h);break;case 1:if(jo(f,h,a),l=h,f=l.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(ee){St(l,l.return,ee)}if(l=h,f=l.updateQueue,f!==null){var z=l.stateNode;try{var V=f.shared.hiddenCallbacks;if(V!==null)for(f.shared.hiddenCallbacks=null,f=0;f<V.length;f++)gy(V[f],z)}catch(ee){St(l,l.return,ee)}}a&&C&64&&jv(h),Js(h,h.return);break;case 27:Ov(h);case 26:case 5:jo(f,h,a),a&&l===null&&C&4&&Mv(h),Js(h,h.return);break;case 12:jo(f,h,a);break;case 31:jo(f,h,a),a&&C&4&&Lv(f,h);break;case 13:jo(f,h,a),a&&C&4&&$v(f,h);break;case 22:h.memoizedState===null&&jo(f,h,a),Js(h,h.return);break;case 30:break;default:jo(f,h,a)}r=r.sibling}}function vp(t,r){var a=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),t=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(t=r.memoizedState.cachePool.pool),t!==a&&(t!=null&&t.refCount++,a!=null&&Us(a))}function bp(t,r){t=null,r.alternate!==null&&(t=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==t&&(r.refCount++,t!=null&&Us(t))}function Br(t,r,a,l){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)_v(t,r,a,l),r=r.sibling}function _v(t,r,a,l){var f=r.flags;switch(r.tag){case 0:case 11:case 15:Br(t,r,a,l),f&2048&&Zs(9,r);break;case 1:Br(t,r,a,l);break;case 3:Br(t,r,a,l),f&2048&&(t=null,r.alternate!==null&&(t=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==t&&(r.refCount++,t!=null&&Us(t)));break;case 12:if(f&2048){Br(t,r,a,l),t=r.stateNode;try{var h=r.memoizedProps,C=h.id,z=h.onPostCommit;typeof z=="function"&&z(C,r.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(V){St(r,r.return,V)}}else Br(t,r,a,l);break;case 31:Br(t,r,a,l);break;case 13:Br(t,r,a,l);break;case 23:break;case 22:h=r.stateNode,C=r.alternate,r.memoizedState!==null?h._visibility&2?Br(t,r,a,l):el(t,r):h._visibility&2?Br(t,r,a,l):(h._visibility|=2,Ai(t,r,a,l,(r.subtreeFlags&10256)!==0||!1)),f&2048&&vp(C,r);break;case 24:Br(t,r,a,l),f&2048&&bp(r.alternate,r);break;default:Br(t,r,a,l)}}function Ai(t,r,a,l,f){for(f=f&&((r.subtreeFlags&10256)!==0||!1),r=r.child;r!==null;){var h=t,C=r,z=a,V=l,ee=C.flags;switch(C.tag){case 0:case 11:case 15:Ai(h,C,z,V,f),Zs(8,C);break;case 23:break;case 22:var le=C.stateNode;C.memoizedState!==null?le._visibility&2?Ai(h,C,z,V,f):el(h,C):(le._visibility|=2,Ai(h,C,z,V,f)),f&&ee&2048&&vp(C.alternate,C);break;case 24:Ai(h,C,z,V,f),f&&ee&2048&&bp(C.alternate,C);break;default:Ai(h,C,z,V,f)}r=r.sibling}}function el(t,r){if(r.subtreeFlags&10256)for(r=r.child;r!==null;){var a=t,l=r,f=l.flags;switch(l.tag){case 22:el(a,l),f&2048&&vp(l.alternate,l);break;case 24:el(a,l),f&2048&&bp(l.alternate,l);break;default:el(a,l)}r=r.sibling}}var tl=8192;function Mi(t,r,a){if(t.subtreeFlags&tl)for(t=t.child;t!==null;)Iv(t,r,a),t=t.sibling}function Iv(t,r,a){switch(t.tag){case 26:Mi(t,r,a),t.flags&tl&&t.memoizedState!==null&&Gw(a,zr,t.memoizedState,t.memoizedProps);break;case 5:Mi(t,r,a);break;case 3:case 4:var l=zr;zr=pu(t.stateNode.containerInfo),Mi(t,r,a),zr=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=tl,tl=16777216,Mi(t,r,a),tl=l):Mi(t,r,a));break;default:Mi(t,r,a)}}function Hv(t){var r=t.alternate;if(r!==null&&(t=r.child,t!==null)){r.child=null;do r=t.sibling,t.sibling=null,t=r;while(t!==null)}}function nl(t){var r=t.deletions;if((t.flags&16)!==0){if(r!==null)for(var a=0;a<r.length;a++){var l=r[a];mn=l,Vv(l,t)}Hv(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Fv(t),t=t.sibling}function Fv(t){switch(t.tag){case 0:case 11:case 15:nl(t),t.flags&2048&&Zo(9,t,t.return);break;case 3:nl(t);break;case 12:nl(t);break;case 22:var r=t.stateNode;t.memoizedState!==null&&r._visibility&2&&(t.return===null||t.return.tag!==13)?(r._visibility&=-3,eu(t)):nl(t);break;default:nl(t)}}function eu(t){var r=t.deletions;if((t.flags&16)!==0){if(r!==null)for(var a=0;a<r.length;a++){var l=r[a];mn=l,Vv(l,t)}Hv(t)}for(t=t.child;t!==null;){switch(r=t,r.tag){case 0:case 11:case 15:Zo(8,r,r.return),eu(r);break;case 22:a=r.stateNode,a._visibility&2&&(a._visibility&=-3,eu(r));break;default:eu(r)}t=t.sibling}}function Vv(t,r){for(;mn!==null;){var a=mn;switch(a.tag){case 0:case 11:case 15:Zo(8,a,r);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var l=a.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Us(a.memoizedState.cache)}if(l=a.child,l!==null)l.return=a,mn=l;else e:for(a=t;mn!==null;){l=mn;var f=l.sibling,h=l.return;if(Nv(l),l===a){mn=null;break e}if(f!==null){f.return=h,mn=f;break e}mn=h}}}var lw={getCacheForType:function(t){var r=bn(sn),a=r.data.get(t);return a===void 0&&(a=t(),r.data.set(t,a)),a},cacheSignal:function(){return bn(sn).controller.signal}},cw=typeof WeakMap=="function"?WeakMap:Map,mt=0,Ot=null,rt=null,it=0,xt=0,er=null,Jo=!1,ki=!1,xp=!1,Ao=0,Yt=0,ea=0,$a=0,Sp=0,tr=0,Oi=0,rl=null,Hn=null,Cp=!1,tu=0,qv=0,nu=1/0,ru=null,ta=null,pn=0,na=null,zi=null,Mo=0,wp=0,Ep=null,Wv=null,ol=0,Tp=null;function nr(){return(mt&2)!==0&&it!==0?it&-it:B.T!==null?Op():Io()}function Gv(){if(tr===0)if((it&536870912)===0||ct){var t=Ar;Ar<<=1,(Ar&3932160)===0&&(Ar=262144),tr=t}else tr=536870912;return t=Zn.current,t!==null&&(t.flags|=32),tr}function Fn(t,r,a){(t===Ot&&(xt===2||xt===9)||t.cancelPendingCommit!==null)&&(Bi(t,0),ra(t,it,tr,!1)),Ee(t,a),((mt&2)===0||t!==Ot)&&(t===Ot&&((mt&2)===0&&($a|=a),Yt===4&&ra(t,it,tr,!1)),Vr(t))}function Kv(t,r,a){if((mt&6)!==0)throw Error(i(327));var l=!a&&(r&127)===0&&(r&t.expiredLanes)===0||fo(t,r),f=l?fw(t,r):jp(t,r,!0),h=l;do{if(f===0){ki&&!l&&ra(t,r,0,!1);break}else{if(a=t.current.alternate,h&&!uw(a)){f=jp(t,r,!1),h=!1;continue}if(f===2){if(h=r,t.errorRecoveryDisabledLanes&h)var C=0;else C=t.pendingLanes&-536870913,C=C!==0?C:C&536870912?536870912:0;if(C!==0){r=C;e:{var z=t;f=rl;var V=z.current.memoizedState.isDehydrated;if(V&&(Bi(z,C).flags|=256),C=jp(z,C,!1),C!==2){if(xp&&!V){z.errorRecoveryDisabledLanes|=h,$a|=h,f=4;break e}h=Hn,Hn=f,h!==null&&(Hn===null?Hn=h:Hn.push.apply(Hn,h))}f=C}if(h=!1,f!==2)continue}}if(f===1){Bi(t,0),ra(t,r,0,!0);break}e:{switch(l=t,h=f,h){case 0:case 1:throw Error(i(345));case 4:if((r&4194048)!==r)break;case 6:ra(l,r,tr,!Jo);break e;case 2:Hn=null;break;case 3:case 5:break;default:throw Error(i(329))}if((r&62914560)===r&&(f=tu+300-qe(),10<f)){if(ra(l,r,tr,!Jo),_o(l,0,!0)!==0)break e;Mo=r,l.timeoutHandle=Tb(Yv.bind(null,l,a,Hn,ru,Cp,r,tr,$a,Oi,Jo,h,"Throttled",-0,0),f);break e}Yv(l,a,Hn,ru,Cp,r,tr,$a,Oi,Jo,h,null,-0,0)}}break}while(!0);Vr(t)}function Yv(t,r,a,l,f,h,C,z,V,ee,le,he,te,oe){if(t.timeoutHandle=-1,he=r.subtreeFlags,he&8192||(he&16785408)===16785408){he={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ho},Iv(r,h,he);var Me=(h&62914560)===h?tu-qe():(h&4194048)===h?qv-qe():0;if(Me=Kw(he,Me),Me!==null){Mo=h,t.cancelPendingCommit=Me(rb.bind(null,t,r,h,a,l,f,C,z,V,le,he,null,te,oe)),ra(t,h,C,!ee);return}}rb(t,r,h,a,l,f,C,z,V)}function uw(t){for(var r=t;;){var a=r.tag;if((a===0||a===11||a===15)&&r.flags&16384&&(a=r.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var l=0;l<a.length;l++){var f=a[l],h=f.getSnapshot;f=f.value;try{if(!Xn(h(),f))return!1}catch{return!1}}if(a=r.child,r.subtreeFlags&16384&&a!==null)a.return=r,r=a;else{if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function ra(t,r,a,l){r&=~Sp,r&=~$a,t.suspendedLanes|=r,t.pingedLanes&=~r,l&&(t.warmLanes|=r),l=t.expirationTimes;for(var f=r;0<f;){var h=31-Gt(f),C=1<<h;l[h]=-1,f&=~C}a!==0&&dt(t,a,r)}function ou(){return(mt&6)===0?(al(0),!1):!0}function Rp(){if(rt!==null){if(xt===0)var t=rt.return;else t=rt,vo=Aa=null,Hf(t),wi=null,Is=0,t=rt;for(;t!==null;)Rv(t.alternate,t),t=t.return;rt=null}}function Bi(t,r){var a=t.timeoutHandle;a!==-1&&(t.timeoutHandle=-1,kw(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),Mo=0,Rp(),Ot=t,rt=a=go(t.current,null),it=r,xt=0,er=null,Jo=!1,ki=fo(t,r),xp=!1,Oi=tr=Sp=$a=ea=Yt=0,Hn=rl=null,Cp=!1,(r&8)!==0&&(r|=r&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=r;0<l;){var f=31-Gt(l),h=1<<f;r|=t[f],l&=~h}return Ao=r,Tc(),a}function Xv(t,r){Qe=null,B.H=Ys,r===Ci||r===Bc?(r=fy(),xt=3):r===kf?(r=fy(),xt=4):xt=r===op?8:r!==null&&typeof r=="object"&&typeof r.then=="function"?6:1,er=r,rt===null&&(Yt=1,Gc(t,dr(r,t.current)))}function Qv(){var t=Zn.current;return t===null?!0:(it&4194048)===it?mr===null:(it&62914560)===it||(it&536870912)!==0?t===mr:!1}function Zv(){var t=B.H;return B.H=Ys,t===null?Ys:t}function Jv(){var t=B.A;return B.A=lw,t}function au(){Yt=4,Jo||(it&4194048)!==it&&Zn.current!==null||(ki=!0),(ea&134217727)===0&&($a&134217727)===0||Ot===null||ra(Ot,it,tr,!1)}function jp(t,r,a){var l=mt;mt|=2;var f=Zv(),h=Jv();(Ot!==t||it!==r)&&(ru=null,Bi(t,r)),r=!1;var C=Yt;e:do try{if(xt!==0&&rt!==null){var z=rt,V=er;switch(xt){case 8:Rp(),C=6;break e;case 3:case 2:case 9:case 6:Zn.current===null&&(r=!0);var ee=xt;if(xt=0,er=null,Ni(t,z,V,ee),a&&ki){C=0;break e}break;default:ee=xt,xt=0,er=null,Ni(t,z,V,ee)}}dw(),C=Yt;break}catch(le){Xv(t,le)}while(!0);return r&&t.shellSuspendCounter++,vo=Aa=null,mt=l,B.H=f,B.A=h,rt===null&&(Ot=null,it=0,Tc()),C}function dw(){for(;rt!==null;)eb(rt)}function fw(t,r){var a=mt;mt|=2;var l=Zv(),f=Jv();Ot!==t||it!==r?(ru=null,nu=qe()+500,Bi(t,r)):ki=fo(t,r);e:do try{if(xt!==0&&rt!==null){r=rt;var h=er;t:switch(xt){case 1:xt=0,er=null,Ni(t,r,h,1);break;case 2:case 9:if(uy(h)){xt=0,er=null,tb(r);break}r=function(){xt!==2&&xt!==9||Ot!==t||(xt=7),Vr(t)},h.then(r,r);break e;case 3:xt=7;break e;case 4:xt=5;break e;case 7:uy(h)?(xt=0,er=null,tb(r)):(xt=0,er=null,Ni(t,r,h,7));break;case 5:var C=null;switch(rt.tag){case 26:C=rt.memoizedState;case 5:case 27:var z=rt;if(C?_b(C):z.stateNode.complete){xt=0,er=null;var V=z.sibling;if(V!==null)rt=V;else{var ee=z.return;ee!==null?(rt=ee,iu(ee)):rt=null}break t}}xt=0,er=null,Ni(t,r,h,5);break;case 6:xt=0,er=null,Ni(t,r,h,6);break;case 8:Rp(),Yt=6;break e;default:throw Error(i(462))}}pw();break}catch(le){Xv(t,le)}while(!0);return vo=Aa=null,B.H=l,B.A=f,mt=a,rt!==null?0:(Ot=null,it=0,Tc(),Yt)}function pw(){for(;rt!==null&&!Ae();)eb(rt)}function eb(t){var r=Ev(t.alternate,t,Ao);t.memoizedProps=t.pendingProps,r===null?iu(t):rt=r}function tb(t){var r=t,a=r.alternate;switch(r.tag){case 15:case 0:r=vv(a,r,r.pendingProps,r.type,void 0,it);break;case 11:r=vv(a,r,r.pendingProps,r.type.render,r.ref,it);break;case 5:Hf(r);default:Rv(a,r),r=rt=Jg(r,Ao),r=Ev(a,r,Ao)}t.memoizedProps=t.pendingProps,r===null?iu(t):rt=r}function Ni(t,r,a,l){vo=Aa=null,Hf(r),wi=null,Is=0;var f=r.return;try{if(tw(t,f,r,a,it)){Yt=1,Gc(t,dr(a,t.current)),rt=null;return}}catch(h){if(f!==null)throw rt=f,h;Yt=1,Gc(t,dr(a,t.current)),rt=null;return}r.flags&32768?(ct||l===1?t=!0:ki||(it&536870912)!==0?t=!1:(Jo=t=!0,(l===2||l===9||l===3||l===6)&&(l=Zn.current,l!==null&&l.tag===13&&(l.flags|=16384))),nb(r,t)):iu(r)}function iu(t){var r=t;do{if((r.flags&32768)!==0){nb(r,Jo);return}t=r.return;var a=ow(r.alternate,r,Ao);if(a!==null){rt=a;return}if(r=r.sibling,r!==null){rt=r;return}rt=r=t}while(r!==null);Yt===0&&(Yt=5)}function nb(t,r){do{var a=aw(t.alternate,t);if(a!==null){a.flags&=32767,rt=a;return}if(a=t.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!r&&(t=t.sibling,t!==null)){rt=t;return}rt=t=a}while(t!==null);Yt=6,rt=null}function rb(t,r,a,l,f,h,C,z,V){t.cancelPendingCommit=null;do su();while(pn!==0);if((mt&6)!==0)throw Error(i(327));if(r!==null){if(r===t.current)throw Error(i(177));if(h=r.lanes|r.childLanes,h|=mf,Pe(t,a,h,C,z,V),t===Ot&&(rt=Ot=null,it=0),zi=r,na=t,Mo=a,wp=h,Ep=f,Wv=l,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,yw(vt,function(){return lb(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||l){l=B.T,B.T=null,f=P.p,P.p=2,C=mt,mt|=4;try{iw(t,r,a)}finally{mt=C,P.p=f,B.T=l}}pn=1,ob(),ab(),ib()}}function ob(){if(pn===1){pn=0;var t=na,r=zi,a=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||a){a=B.T,B.T=null;var l=P.p;P.p=2;var f=mt;mt|=4;try{Pv(r,t);var h=Up,C=Vg(t.containerInfo),z=h.focusedElem,V=h.selectionRange;if(C!==z&&z&&z.ownerDocument&&Fg(z.ownerDocument.documentElement,z)){if(V!==null&&uf(z)){var ee=V.start,le=V.end;if(le===void 0&&(le=ee),"selectionStart"in z)z.selectionStart=ee,z.selectionEnd=Math.min(le,z.value.length);else{var he=z.ownerDocument||document,te=he&&he.defaultView||window;if(te.getSelection){var oe=te.getSelection(),Me=z.textContent.length,Ue=Math.min(V.start,Me),jt=V.end===void 0?Ue:Math.min(V.end,Me);!oe.extend&&Ue>jt&&(C=jt,jt=Ue,Ue=C);var K=Hg(z,Ue),G=Hg(z,jt);if(K&&G&&(oe.rangeCount!==1||oe.anchorNode!==K.node||oe.anchorOffset!==K.offset||oe.focusNode!==G.node||oe.focusOffset!==G.offset)){var J=he.createRange();J.setStart(K.node,K.offset),oe.removeAllRanges(),Ue>jt?(oe.addRange(J),oe.extend(G.node,G.offset)):(J.setEnd(G.node,G.offset),oe.addRange(J))}}}}for(he=[],oe=z;oe=oe.parentNode;)oe.nodeType===1&&he.push({element:oe,left:oe.scrollLeft,top:oe.scrollTop});for(typeof z.focus=="function"&&z.focus(),z=0;z<he.length;z++){var de=he[z];de.element.scrollLeft=de.left,de.element.scrollTop=de.top}}bu=!!Pp,Up=Pp=null}finally{mt=f,P.p=l,B.T=a}}t.current=r,pn=2}}function ab(){if(pn===2){pn=0;var t=na,r=zi,a=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||a){a=B.T,B.T=null;var l=P.p;P.p=2;var f=mt;mt|=4;try{Bv(t,r.alternate,r)}finally{mt=f,P.p=l,B.T=a}}pn=3}}function ib(){if(pn===4||pn===3){pn=0,on();var t=na,r=zi,a=Mo,l=Wv;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?pn=5:(pn=0,zi=na=null,sb(t,t.pendingLanes));var f=t.pendingLanes;if(f===0&&(ta=null),kr(a),r=r.stateNode,Bt&&typeof Bt.onCommitFiberRoot=="function")try{Bt.onCommitFiberRoot(Wt,r,void 0,(r.current.flags&128)===128)}catch{}if(l!==null){r=B.T,f=P.p,P.p=2,B.T=null;try{for(var h=t.onRecoverableError,C=0;C<l.length;C++){var z=l[C];h(z.value,{componentStack:z.stack})}}finally{B.T=r,P.p=f}}(Mo&3)!==0&&su(),Vr(t),f=t.pendingLanes,(a&261930)!==0&&(f&42)!==0?t===Tp?ol++:(ol=0,Tp=t):ol=0,al(0)}}function sb(t,r){(t.pooledCacheLanes&=r)===0&&(r=t.pooledCache,r!=null&&(t.pooledCache=null,Us(r)))}function su(){return ob(),ab(),ib(),lb()}function lb(){if(pn!==5)return!1;var t=na,r=wp;wp=0;var a=kr(Mo),l=B.T,f=P.p;try{P.p=32>a?32:a,B.T=null,a=Ep,Ep=null;var h=na,C=Mo;if(pn=0,zi=na=null,Mo=0,(mt&6)!==0)throw Error(i(331));var z=mt;if(mt|=4,Fv(h.current),_v(h,h.current,C,a),mt=z,al(0,!1),Bt&&typeof Bt.onPostCommitFiberRoot=="function")try{Bt.onPostCommitFiberRoot(Wt,h)}catch{}return!0}finally{P.p=f,B.T=l,sb(t,r)}}function cb(t,r,a){r=dr(a,r),r=rp(t.stateNode,r,2),t=Yo(t,r,2),t!==null&&(Ee(t,2),Vr(t))}function St(t,r,a){if(t.tag===3)cb(t,t,a);else for(;r!==null;){if(r.tag===3){cb(r,t,a);break}else if(r.tag===1){var l=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(ta===null||!ta.has(l))){t=dr(a,t),a=uv(2),l=Yo(r,a,2),l!==null&&(dv(a,l,r,t),Ee(l,2),Vr(l));break}}r=r.return}}function Ap(t,r,a){var l=t.pingCache;if(l===null){l=t.pingCache=new cw;var f=new Set;l.set(r,f)}else f=l.get(r),f===void 0&&(f=new Set,l.set(r,f));f.has(a)||(xp=!0,f.add(a),t=hw.bind(null,t,r,a),r.then(t,t))}function hw(t,r,a){var l=t.pingCache;l!==null&&l.delete(r),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,Ot===t&&(it&a)===a&&(Yt===4||Yt===3&&(it&62914560)===it&&300>qe()-tu?(mt&2)===0&&Bi(t,0):Sp|=a,Oi===it&&(Oi=0)),Vr(t)}function ub(t,r){r===0&&(r=Ge()),t=Ta(t,r),t!==null&&(Ee(t,r),Vr(t))}function mw(t){var r=t.memoizedState,a=0;r!==null&&(a=r.retryLane),ub(t,a)}function gw(t,r){var a=0;switch(t.tag){case 31:case 13:var l=t.stateNode,f=t.memoizedState;f!==null&&(a=f.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(i(314))}l!==null&&l.delete(r),ub(t,a)}function yw(t,r){return nt(t,r)}var lu=null,Di=null,Mp=!1,cu=!1,kp=!1,oa=0;function Vr(t){t!==Di&&t.next===null&&(Di===null?lu=Di=t:Di=Di.next=t),cu=!0,Mp||(Mp=!0,bw())}function al(t,r){if(!kp&&cu){kp=!0;do for(var a=!1,l=lu;l!==null;){if(t!==0){var f=l.pendingLanes;if(f===0)var h=0;else{var C=l.suspendedLanes,z=l.pingedLanes;h=(1<<31-Gt(42|t)+1)-1,h&=f&~(C&~z),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(a=!0,hb(l,h))}else h=it,h=_o(l,l===Ot?h:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(h&3)===0||fo(l,h)||(a=!0,hb(l,h));l=l.next}while(a);kp=!1}}function vw(){db()}function db(){cu=Mp=!1;var t=0;oa!==0&&Mw()&&(t=oa);for(var r=qe(),a=null,l=lu;l!==null;){var f=l.next,h=fb(l,r);h===0?(l.next=null,a===null?lu=f:a.next=f,f===null&&(Di=a)):(a=l,(t!==0||(h&3)!==0)&&(cu=!0)),l=f}pn!==0&&pn!==5||al(t),oa!==0&&(oa=0)}function fb(t,r){for(var a=t.suspendedLanes,l=t.pingedLanes,f=t.expirationTimes,h=t.pendingLanes&-62914561;0<h;){var C=31-Gt(h),z=1<<C,V=f[C];V===-1?((z&a)===0||(z&l)!==0)&&(f[C]=Es(z,r)):V<=r&&(t.expiredLanes|=z),h&=~z}if(r=Ot,a=it,a=_o(t,t===r?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,a===0||t===r&&(xt===2||xt===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&Je(l),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||fo(t,a)){if(r=a&-a,r===t.callbackPriority)return r;switch(l!==null&&Je(l),kr(a)){case 2:case 8:a=et;break;case 32:a=vt;break;case 268435456:a=fn;break;default:a=vt}return l=pb.bind(null,t),a=nt(a,l),t.callbackPriority=r,t.callbackNode=a,r}return l!==null&&l!==null&&Je(l),t.callbackPriority=2,t.callbackNode=null,2}function pb(t,r){if(pn!==0&&pn!==5)return t.callbackNode=null,t.callbackPriority=0,null;var a=t.callbackNode;if(su()&&t.callbackNode!==a)return null;var l=it;return l=_o(t,t===Ot?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(Kv(t,l,r),fb(t,qe()),t.callbackNode!=null&&t.callbackNode===a?pb.bind(null,t):null)}function hb(t,r){if(su())return null;Kv(t,r,!0)}function bw(){Ow(function(){(mt&6)!==0?nt(ht,vw):db()})}function Op(){if(oa===0){var t=xi;t===0&&(t=On,On<<=1,(On&261888)===0&&(On=256)),oa=t}return oa}function mb(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:yc(""+t)}function gb(t,r){var a=r.ownerDocument.createElement("input");return a.name=r.name,a.value=r.value,t.id&&a.setAttribute("form",t.id),r.parentNode.insertBefore(a,r),t=new FormData(t),a.parentNode.removeChild(a),t}function xw(t,r,a,l,f){if(r==="submit"&&a&&a.stateNode===f){var h=mb((f[$n]||null).action),C=l.submitter;C&&(r=(r=C[$n]||null)?mb(r.formAction):C.getAttribute("formAction"),r!==null&&(h=r,C=null));var z=new Sc("action","action",null,l,f);t.push({event:z,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(oa!==0){var V=C?gb(f,C):new FormData(f);Qf(a,{pending:!0,data:V,method:f.method,action:h},null,V)}}else typeof h=="function"&&(z.preventDefault(),V=C?gb(f,C):new FormData(f),Qf(a,{pending:!0,data:V,method:f.method,action:h},h,V))},currentTarget:f}]})}}for(var zp=0;zp<hf.length;zp++){var Bp=hf[zp],Sw=Bp.toLowerCase(),Cw=Bp[0].toUpperCase()+Bp.slice(1);Or(Sw,"on"+Cw)}Or(Gg,"onAnimationEnd"),Or(Kg,"onAnimationIteration"),Or(Yg,"onAnimationStart"),Or("dblclick","onDoubleClick"),Or("focusin","onFocus"),Or("focusout","onBlur"),Or(P2,"onTransitionRun"),Or(U2,"onTransitionStart"),Or(_2,"onTransitionCancel"),Or(Xg,"onTransitionEnd"),ii("onMouseEnter",["mouseout","mouseover"]),ii("onMouseLeave",["mouseout","mouseover"]),ii("onPointerEnter",["pointerout","pointerover"]),ii("onPointerLeave",["pointerout","pointerover"]),Sa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Sa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Sa("onBeforeInput",["compositionend","keypress","textInput","paste"]),Sa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Sa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Sa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var il="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ww=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(il));function yb(t,r){r=(r&4)!==0;for(var a=0;a<t.length;a++){var l=t[a],f=l.event;l=l.listeners;e:{var h=void 0;if(r)for(var C=l.length-1;0<=C;C--){var z=l[C],V=z.instance,ee=z.currentTarget;if(z=z.listener,V!==h&&f.isPropagationStopped())break e;h=z,f.currentTarget=ee;try{h(f)}catch(le){Ec(le)}f.currentTarget=null,h=V}else for(C=0;C<l.length;C++){if(z=l[C],V=z.instance,ee=z.currentTarget,z=z.listener,V!==h&&f.isPropagationStopped())break e;h=z,f.currentTarget=ee;try{h(f)}catch(le){Ec(le)}f.currentTarget=null,h=V}}}}function ot(t,r){var a=r[qd];a===void 0&&(a=r[qd]=new Set);var l=t+"__bubble";a.has(l)||(vb(r,t,2,!1),a.add(l))}function Np(t,r,a){var l=0;r&&(l|=4),vb(a,t,l,r)}var uu="_reactListening"+Math.random().toString(36).slice(2);function Dp(t){if(!t[uu]){t[uu]=!0,dg.forEach(function(a){a!=="selectionchange"&&(ww.has(a)||Np(a,!1,t),Np(a,!0,t))});var r=t.nodeType===9?t:t.ownerDocument;r===null||r[uu]||(r[uu]=!0,Np("selectionchange",!1,r))}}function vb(t,r,a,l){switch(Gb(r)){case 2:var f=Qw;break;case 8:f=Zw;break;default:f=Xp}a=f.bind(null,r,a,t),f=void 0,!ef||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(f=!0),l?f!==void 0?t.addEventListener(r,a,{capture:!0,passive:f}):t.addEventListener(r,a,!0):f!==void 0?t.addEventListener(r,a,{passive:f}):t.addEventListener(r,a,!1)}function Lp(t,r,a,l,f){var h=l;if((r&1)===0&&(r&2)===0&&l!==null)e:for(;;){if(l===null)return;var C=l.tag;if(C===3||C===4){var z=l.stateNode.containerInfo;if(z===f)break;if(C===4)for(C=l.return;C!==null;){var V=C.tag;if((V===3||V===4)&&C.stateNode.containerInfo===f)return;C=C.return}for(;z!==null;){if(C=ri(z),C===null)return;if(V=C.tag,V===5||V===6||V===26||V===27){l=h=C;continue e}z=z.parentNode}}l=l.return}wg(function(){var ee=h,le=Zd(a),he=[];e:{var te=Qg.get(t);if(te!==void 0){var oe=Sc,Me=t;switch(t){case"keypress":if(bc(a)===0)break e;case"keydown":case"keyup":oe=g2;break;case"focusin":Me="focus",oe=of;break;case"focusout":Me="blur",oe=of;break;case"beforeblur":case"afterblur":oe=of;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":oe=Rg;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":oe=o2;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":oe=b2;break;case Gg:case Kg:case Yg:oe=s2;break;case Xg:oe=S2;break;case"scroll":case"scrollend":oe=n2;break;case"wheel":oe=w2;break;case"copy":case"cut":case"paste":oe=c2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":oe=Ag;break;case"toggle":case"beforetoggle":oe=T2}var Ue=(r&4)!==0,jt=!Ue&&(t==="scroll"||t==="scrollend"),K=Ue?te!==null?te+"Capture":null:te;Ue=[];for(var G=ee,J;G!==null;){var de=G;if(J=de.stateNode,de=de.tag,de!==5&&de!==26&&de!==27||J===null||K===null||(de=As(G,K),de!=null&&Ue.push(sl(G,de,J))),jt)break;G=G.return}0<Ue.length&&(te=new oe(te,Me,null,a,le),he.push({event:te,listeners:Ue}))}}if((r&7)===0){e:{if(te=t==="mouseover"||t==="pointerover",oe=t==="mouseout"||t==="pointerout",te&&a!==Qd&&(Me=a.relatedTarget||a.fromElement)&&(ri(Me)||Me[ni]))break e;if((oe||te)&&(te=le.window===le?le:(te=le.ownerDocument)?te.defaultView||te.parentWindow:window,oe?(Me=a.relatedTarget||a.toElement,oe=ee,Me=Me?ri(Me):null,Me!==null&&(jt=c(Me),Ue=Me.tag,Me!==jt||Ue!==5&&Ue!==27&&Ue!==6)&&(Me=null)):(oe=null,Me=ee),oe!==Me)){if(Ue=Rg,de="onMouseLeave",K="onMouseEnter",G="mouse",(t==="pointerout"||t==="pointerover")&&(Ue=Ag,de="onPointerLeave",K="onPointerEnter",G="pointer"),jt=oe==null?te:js(oe),J=Me==null?te:js(Me),te=new Ue(de,G+"leave",oe,a,le),te.target=jt,te.relatedTarget=J,de=null,ri(le)===ee&&(Ue=new Ue(K,G+"enter",Me,a,le),Ue.target=J,Ue.relatedTarget=jt,de=Ue),jt=de,oe&&Me)t:{for(Ue=Ew,K=oe,G=Me,J=0,de=K;de;de=Ue(de))J++;de=0;for(var Le=G;Le;Le=Ue(Le))de++;for(;0<J-de;)K=Ue(K),J--;for(;0<de-J;)G=Ue(G),de--;for(;J--;){if(K===G||G!==null&&K===G.alternate){Ue=K;break t}K=Ue(K),G=Ue(G)}Ue=null}else Ue=null;oe!==null&&bb(he,te,oe,Ue,!1),Me!==null&&jt!==null&&bb(he,jt,Me,Ue,!0)}}e:{if(te=ee?js(ee):window,oe=te.nodeName&&te.nodeName.toLowerCase(),oe==="select"||oe==="input"&&te.type==="file")var ft=Lg;else if(Ng(te))if($g)ft=D2;else{ft=B2;var Oe=z2}else oe=te.nodeName,!oe||oe.toLowerCase()!=="input"||te.type!=="checkbox"&&te.type!=="radio"?ee&&Xd(ee.elementType)&&(ft=Lg):ft=N2;if(ft&&(ft=ft(t,ee))){Dg(he,ft,a,le);break e}Oe&&Oe(t,te,ee),t==="focusout"&&ee&&te.type==="number"&&ee.memoizedProps.value!=null&&Yd(te,"number",te.value)}switch(Oe=ee?js(ee):window,t){case"focusin":(Ng(Oe)||Oe.contentEditable==="true")&&(fi=Oe,df=ee,Ls=null);break;case"focusout":Ls=df=fi=null;break;case"mousedown":ff=!0;break;case"contextmenu":case"mouseup":case"dragend":ff=!1,qg(he,a,le);break;case"selectionchange":if($2)break;case"keydown":case"keyup":qg(he,a,le)}var tt;if(sf)e:{switch(t){case"compositionstart":var st="onCompositionStart";break e;case"compositionend":st="onCompositionEnd";break e;case"compositionupdate":st="onCompositionUpdate";break e}st=void 0}else di?zg(t,a)&&(st="onCompositionEnd"):t==="keydown"&&a.keyCode===229&&(st="onCompositionStart");st&&(Mg&&a.locale!=="ko"&&(di||st!=="onCompositionStart"?st==="onCompositionEnd"&&di&&(tt=Eg()):(Ho=le,tf="value"in Ho?Ho.value:Ho.textContent,di=!0)),Oe=du(ee,st),0<Oe.length&&(st=new jg(st,t,null,a,le),he.push({event:st,listeners:Oe}),tt?st.data=tt:(tt=Bg(a),tt!==null&&(st.data=tt)))),(tt=j2?A2(t,a):M2(t,a))&&(st=du(ee,"onBeforeInput"),0<st.length&&(Oe=new jg("onBeforeInput","beforeinput",null,a,le),he.push({event:Oe,listeners:st}),Oe.data=tt)),xw(he,t,ee,a,le)}yb(he,r)})}function sl(t,r,a){return{instance:t,listener:r,currentTarget:a}}function du(t,r){for(var a=r+"Capture",l=[];t!==null;){var f=t,h=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||h===null||(f=As(t,a),f!=null&&l.unshift(sl(t,f,h)),f=As(t,r),f!=null&&l.push(sl(t,f,h))),t.tag===3)return l;t=t.return}return[]}function Ew(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function bb(t,r,a,l,f){for(var h=r._reactName,C=[];a!==null&&a!==l;){var z=a,V=z.alternate,ee=z.stateNode;if(z=z.tag,V!==null&&V===l)break;z!==5&&z!==26&&z!==27||ee===null||(V=ee,f?(ee=As(a,h),ee!=null&&C.unshift(sl(a,ee,V))):f||(ee=As(a,h),ee!=null&&C.push(sl(a,ee,V)))),a=a.return}C.length!==0&&t.push({event:r,listeners:C})}var Tw=/\r\n?/g,Rw=/\u0000|\uFFFD/g;function xb(t){return(typeof t=="string"?t:""+t).replace(Tw,`
|
|
9
|
+
`).replace(Rw,"")}function Sb(t,r){return r=xb(r),xb(t)===r}function Rt(t,r,a,l,f,h){switch(a){case"children":typeof l=="string"?r==="body"||r==="textarea"&&l===""||li(t,l):(typeof l=="number"||typeof l=="bigint")&&r!=="body"&&li(t,""+l);break;case"className":mc(t,"class",l);break;case"tabIndex":mc(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":mc(t,a,l);break;case"style":Sg(t,l,h);break;case"data":if(r!=="object"){mc(t,"data",l);break}case"src":case"href":if(l===""&&(r!=="a"||a!=="href")){t.removeAttribute(a);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(a);break}l=yc(""+l),t.setAttribute(a,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof h=="function"&&(a==="formAction"?(r!=="input"&&Rt(t,r,"name",f.name,f,null),Rt(t,r,"formEncType",f.formEncType,f,null),Rt(t,r,"formMethod",f.formMethod,f,null),Rt(t,r,"formTarget",f.formTarget,f,null)):(Rt(t,r,"encType",f.encType,f,null),Rt(t,r,"method",f.method,f,null),Rt(t,r,"target",f.target,f,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(a);break}l=yc(""+l),t.setAttribute(a,l);break;case"onClick":l!=null&&(t.onclick=ho);break;case"onScroll":l!=null&&ot("scroll",t);break;case"onScrollEnd":l!=null&&ot("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(i(61));if(a=l.__html,a!=null){if(f.children!=null)throw Error(i(60));t.innerHTML=a}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}a=yc(""+l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(a,""+l):t.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(a,""):t.removeAttribute(a);break;case"capture":case"download":l===!0?t.setAttribute(a,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(a,l):t.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(a,l):t.removeAttribute(a);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(a):t.setAttribute(a,l);break;case"popover":ot("beforetoggle",t),ot("toggle",t),hc(t,"popover",l);break;case"xlinkActuate":po(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":po(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":po(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":po(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":po(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":po(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":po(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":po(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":po(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":hc(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=e2.get(a)||a,hc(t,a,l))}}function $p(t,r,a,l,f,h){switch(a){case"style":Sg(t,l,h);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(i(61));if(a=l.__html,a!=null){if(f.children!=null)throw Error(i(60));t.innerHTML=a}}break;case"children":typeof l=="string"?li(t,l):(typeof l=="number"||typeof l=="bigint")&&li(t,""+l);break;case"onScroll":l!=null&&ot("scroll",t);break;case"onScrollEnd":l!=null&&ot("scrollend",t);break;case"onClick":l!=null&&(t.onclick=ho);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!fg.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(f=a.endsWith("Capture"),r=a.slice(2,f?a.length-7:void 0),h=t[$n]||null,h=h!=null?h[a]:null,typeof h=="function"&&t.removeEventListener(r,h,f),typeof l=="function")){typeof h!="function"&&h!==null&&(a in t?t[a]=null:t.hasAttribute(a)&&t.removeAttribute(a)),t.addEventListener(r,l,f);break e}a in t?t[a]=l:l===!0?t.setAttribute(a,""):hc(t,a,l)}}}function Sn(t,r,a){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ot("error",t),ot("load",t);var l=!1,f=!1,h;for(h in a)if(a.hasOwnProperty(h)){var C=a[h];if(C!=null)switch(h){case"src":l=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,r));default:Rt(t,r,h,C,a,null)}}f&&Rt(t,r,"srcSet",a.srcSet,a,null),l&&Rt(t,r,"src",a.src,a,null);return;case"input":ot("invalid",t);var z=h=C=f=null,V=null,ee=null;for(l in a)if(a.hasOwnProperty(l)){var le=a[l];if(le!=null)switch(l){case"name":f=le;break;case"type":C=le;break;case"checked":V=le;break;case"defaultChecked":ee=le;break;case"value":h=le;break;case"defaultValue":z=le;break;case"children":case"dangerouslySetInnerHTML":if(le!=null)throw Error(i(137,r));break;default:Rt(t,r,l,le,a,null)}}yg(t,h,z,V,ee,C,f,!1);return;case"select":ot("invalid",t),l=C=h=null;for(f in a)if(a.hasOwnProperty(f)&&(z=a[f],z!=null))switch(f){case"value":h=z;break;case"defaultValue":C=z;break;case"multiple":l=z;default:Rt(t,r,f,z,a,null)}r=h,a=C,t.multiple=!!l,r!=null?si(t,!!l,r,!1):a!=null&&si(t,!!l,a,!0);return;case"textarea":ot("invalid",t),h=f=l=null;for(C in a)if(a.hasOwnProperty(C)&&(z=a[C],z!=null))switch(C){case"value":l=z;break;case"defaultValue":f=z;break;case"children":h=z;break;case"dangerouslySetInnerHTML":if(z!=null)throw Error(i(91));break;default:Rt(t,r,C,z,a,null)}bg(t,l,f,h);return;case"option":for(V in a)a.hasOwnProperty(V)&&(l=a[V],l!=null)&&(V==="selected"?t.selected=l&&typeof l!="function"&&typeof l!="symbol":Rt(t,r,V,l,a,null));return;case"dialog":ot("beforetoggle",t),ot("toggle",t),ot("cancel",t),ot("close",t);break;case"iframe":case"object":ot("load",t);break;case"video":case"audio":for(l=0;l<il.length;l++)ot(il[l],t);break;case"image":ot("error",t),ot("load",t);break;case"details":ot("toggle",t);break;case"embed":case"source":case"link":ot("error",t),ot("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(ee in a)if(a.hasOwnProperty(ee)&&(l=a[ee],l!=null))switch(ee){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,r));default:Rt(t,r,ee,l,a,null)}return;default:if(Xd(r)){for(le in a)a.hasOwnProperty(le)&&(l=a[le],l!==void 0&&$p(t,r,le,l,a,void 0));return}}for(z in a)a.hasOwnProperty(z)&&(l=a[z],l!=null&&Rt(t,r,z,l,a,null))}function jw(t,r,a,l){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,h=null,C=null,z=null,V=null,ee=null,le=null;for(oe in a){var he=a[oe];if(a.hasOwnProperty(oe)&&he!=null)switch(oe){case"checked":break;case"value":break;case"defaultValue":V=he;default:l.hasOwnProperty(oe)||Rt(t,r,oe,null,l,he)}}for(var te in l){var oe=l[te];if(he=a[te],l.hasOwnProperty(te)&&(oe!=null||he!=null))switch(te){case"type":h=oe;break;case"name":f=oe;break;case"checked":ee=oe;break;case"defaultChecked":le=oe;break;case"value":C=oe;break;case"defaultValue":z=oe;break;case"children":case"dangerouslySetInnerHTML":if(oe!=null)throw Error(i(137,r));break;default:oe!==he&&Rt(t,r,te,oe,l,he)}}Kd(t,C,z,V,ee,le,h,f);return;case"select":oe=C=z=te=null;for(h in a)if(V=a[h],a.hasOwnProperty(h)&&V!=null)switch(h){case"value":break;case"multiple":oe=V;default:l.hasOwnProperty(h)||Rt(t,r,h,null,l,V)}for(f in l)if(h=l[f],V=a[f],l.hasOwnProperty(f)&&(h!=null||V!=null))switch(f){case"value":te=h;break;case"defaultValue":z=h;break;case"multiple":C=h;default:h!==V&&Rt(t,r,f,h,l,V)}r=z,a=C,l=oe,te!=null?si(t,!!a,te,!1):!!l!=!!a&&(r!=null?si(t,!!a,r,!0):si(t,!!a,a?[]:"",!1));return;case"textarea":oe=te=null;for(z in a)if(f=a[z],a.hasOwnProperty(z)&&f!=null&&!l.hasOwnProperty(z))switch(z){case"value":break;case"children":break;default:Rt(t,r,z,null,l,f)}for(C in l)if(f=l[C],h=a[C],l.hasOwnProperty(C)&&(f!=null||h!=null))switch(C){case"value":te=f;break;case"defaultValue":oe=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(i(91));break;default:f!==h&&Rt(t,r,C,f,l,h)}vg(t,te,oe);return;case"option":for(var Me in a)te=a[Me],a.hasOwnProperty(Me)&&te!=null&&!l.hasOwnProperty(Me)&&(Me==="selected"?t.selected=!1:Rt(t,r,Me,null,l,te));for(V in l)te=l[V],oe=a[V],l.hasOwnProperty(V)&&te!==oe&&(te!=null||oe!=null)&&(V==="selected"?t.selected=te&&typeof te!="function"&&typeof te!="symbol":Rt(t,r,V,te,l,oe));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ue in a)te=a[Ue],a.hasOwnProperty(Ue)&&te!=null&&!l.hasOwnProperty(Ue)&&Rt(t,r,Ue,null,l,te);for(ee in l)if(te=l[ee],oe=a[ee],l.hasOwnProperty(ee)&&te!==oe&&(te!=null||oe!=null))switch(ee){case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(i(137,r));break;default:Rt(t,r,ee,te,l,oe)}return;default:if(Xd(r)){for(var jt in a)te=a[jt],a.hasOwnProperty(jt)&&te!==void 0&&!l.hasOwnProperty(jt)&&$p(t,r,jt,void 0,l,te);for(le in l)te=l[le],oe=a[le],!l.hasOwnProperty(le)||te===oe||te===void 0&&oe===void 0||$p(t,r,le,te,l,oe);return}}for(var K in a)te=a[K],a.hasOwnProperty(K)&&te!=null&&!l.hasOwnProperty(K)&&Rt(t,r,K,null,l,te);for(he in l)te=l[he],oe=a[he],!l.hasOwnProperty(he)||te===oe||te==null&&oe==null||Rt(t,r,he,te,l,oe)}function Cb(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Aw(){if(typeof performance.getEntriesByType=="function"){for(var t=0,r=0,a=performance.getEntriesByType("resource"),l=0;l<a.length;l++){var f=a[l],h=f.transferSize,C=f.initiatorType,z=f.duration;if(h&&z&&Cb(C)){for(C=0,z=f.responseEnd,l+=1;l<a.length;l++){var V=a[l],ee=V.startTime;if(ee>z)break;var le=V.transferSize,he=V.initiatorType;le&&Cb(he)&&(V=V.responseEnd,C+=le*(V<z?1:(z-ee)/(V-ee)))}if(--l,r+=8*(h+C)/(f.duration/1e3),t++,10<t)break}}if(0<t)return r/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Pp=null,Up=null;function fu(t){return t.nodeType===9?t:t.ownerDocument}function wb(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Eb(t,r){if(t===0)switch(r){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&r==="foreignObject"?0:t}function _p(t,r){return t==="textarea"||t==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.children=="bigint"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Ip=null;function Mw(){var t=window.event;return t&&t.type==="popstate"?t===Ip?!1:(Ip=t,!0):(Ip=null,!1)}var Tb=typeof setTimeout=="function"?setTimeout:void 0,kw=typeof clearTimeout=="function"?clearTimeout:void 0,Rb=typeof Promise=="function"?Promise:void 0,Ow=typeof queueMicrotask=="function"?queueMicrotask:typeof Rb<"u"?function(t){return Rb.resolve(null).then(t).catch(zw)}:Tb;function zw(t){setTimeout(function(){throw t})}function aa(t){return t==="head"}function jb(t,r){var a=r,l=0;do{var f=a.nextSibling;if(t.removeChild(a),f&&f.nodeType===8)if(a=f.data,a==="/$"||a==="/&"){if(l===0){t.removeChild(f),Ui(r);return}l--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")l++;else if(a==="html")ll(t.ownerDocument.documentElement);else if(a==="head"){a=t.ownerDocument.head,ll(a);for(var h=a.firstChild;h;){var C=h.nextSibling,z=h.nodeName;h[Rs]||z==="SCRIPT"||z==="STYLE"||z==="LINK"&&h.rel.toLowerCase()==="stylesheet"||a.removeChild(h),h=C}}else a==="body"&&ll(t.ownerDocument.body);a=f}while(a);Ui(r)}function Ab(t,r){var a=t;t=0;do{var l=a.nextSibling;if(a.nodeType===1?r?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(r?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),l&&l.nodeType===8)if(a=l.data,a==="/$"){if(t===0)break;t--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||t++;a=l}while(a)}function Hp(t){var r=t.firstChild;for(r&&r.nodeType===10&&(r=r.nextSibling);r;){var a=r;switch(r=r.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Hp(a),Wd(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function Bw(t,r,a,l){for(;t.nodeType===1;){var f=a;if(t.nodeName.toLowerCase()!==r.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[Rs])switch(r){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(h=t.getAttribute("rel"),h==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(h!==f.rel||t.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||t.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||t.getAttribute("title")!==(f.title==null?null:f.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(h=t.getAttribute("src"),(h!==(f.src==null?null:f.src)||t.getAttribute("type")!==(f.type==null?null:f.type)||t.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&h&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(r==="input"&&t.type==="hidden"){var h=f.name==null?null:""+f.name;if(f.type==="hidden"&&t.getAttribute("name")===h)return t}else return t;if(t=gr(t.nextSibling),t===null)break}return null}function Nw(t,r,a){if(r==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=gr(t.nextSibling),t===null))return null;return t}function Mb(t,r){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!r||(t=gr(t.nextSibling),t===null))return null;return t}function Fp(t){return t.data==="$?"||t.data==="$~"}function Vp(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function Dw(t,r){var a=t.ownerDocument;if(t.data==="$~")t._reactRetry=r;else if(t.data!=="$?"||a.readyState!=="loading")r();else{var l=function(){r(),a.removeEventListener("DOMContentLoaded",l)};a.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function gr(t){for(;t!=null;t=t.nextSibling){var r=t.nodeType;if(r===1||r===3)break;if(r===8){if(r=t.data,r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"||r==="F!"||r==="F")break;if(r==="/$"||r==="/&")return null}}return t}var qp=null;function kb(t){t=t.nextSibling;for(var r=0;t;){if(t.nodeType===8){var a=t.data;if(a==="/$"||a==="/&"){if(r===0)return gr(t.nextSibling);r--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||r++}t=t.nextSibling}return null}function Ob(t){t=t.previousSibling;for(var r=0;t;){if(t.nodeType===8){var a=t.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(r===0)return t;r--}else a!=="/$"&&a!=="/&"||r++}t=t.previousSibling}return null}function zb(t,r,a){switch(r=fu(a),t){case"html":if(t=r.documentElement,!t)throw Error(i(452));return t;case"head":if(t=r.head,!t)throw Error(i(453));return t;case"body":if(t=r.body,!t)throw Error(i(454));return t;default:throw Error(i(451))}}function ll(t){for(var r=t.attributes;r.length;)t.removeAttributeNode(r[0]);Wd(t)}var yr=new Map,Bb=new Set;function pu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var ko=P.d;P.d={f:Lw,r:$w,D:Pw,C:Uw,L:_w,m:Iw,X:Fw,S:Hw,M:Vw};function Lw(){var t=ko.f(),r=ou();return t||r}function $w(t){var r=oi(t);r!==null&&r.tag===5&&r.type==="form"?Xy(r):ko.r(t)}var Li=typeof document>"u"?null:document;function Nb(t,r,a){var l=Li;if(l&&typeof r=="string"&&r){var f=cr(r);f='link[rel="'+t+'"][href="'+f+'"]',typeof a=="string"&&(f+='[crossorigin="'+a+'"]'),Bb.has(f)||(Bb.add(f),t={rel:t,crossOrigin:a,href:r},l.querySelector(f)===null&&(r=l.createElement("link"),Sn(r,"link",t),hn(r),l.head.appendChild(r)))}}function Pw(t){ko.D(t),Nb("dns-prefetch",t,null)}function Uw(t,r){ko.C(t,r),Nb("preconnect",t,r)}function _w(t,r,a){ko.L(t,r,a);var l=Li;if(l&&t&&r){var f='link[rel="preload"][as="'+cr(r)+'"]';r==="image"&&a&&a.imageSrcSet?(f+='[imagesrcset="'+cr(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(f+='[imagesizes="'+cr(a.imageSizes)+'"]')):f+='[href="'+cr(t)+'"]';var h=f;switch(r){case"style":h=$i(t);break;case"script":h=Pi(t)}yr.has(h)||(t=b({rel:"preload",href:r==="image"&&a&&a.imageSrcSet?void 0:t,as:r},a),yr.set(h,t),l.querySelector(f)!==null||r==="style"&&l.querySelector(cl(h))||r==="script"&&l.querySelector(ul(h))||(r=l.createElement("link"),Sn(r,"link",t),hn(r),l.head.appendChild(r)))}}function Iw(t,r){ko.m(t,r);var a=Li;if(a&&t){var l=r&&typeof r.as=="string"?r.as:"script",f='link[rel="modulepreload"][as="'+cr(l)+'"][href="'+cr(t)+'"]',h=f;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=Pi(t)}if(!yr.has(h)&&(t=b({rel:"modulepreload",href:t},r),yr.set(h,t),a.querySelector(f)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(ul(h)))return}l=a.createElement("link"),Sn(l,"link",t),hn(l),a.head.appendChild(l)}}}function Hw(t,r,a){ko.S(t,r,a);var l=Li;if(l&&t){var f=ai(l).hoistableStyles,h=$i(t);r=r||"default";var C=f.get(h);if(!C){var z={loading:0,preload:null};if(C=l.querySelector(cl(h)))z.loading=5;else{t=b({rel:"stylesheet",href:t,"data-precedence":r},a),(a=yr.get(h))&&Wp(t,a);var V=C=l.createElement("link");hn(V),Sn(V,"link",t),V._p=new Promise(function(ee,le){V.onload=ee,V.onerror=le}),V.addEventListener("load",function(){z.loading|=1}),V.addEventListener("error",function(){z.loading|=2}),z.loading|=4,hu(C,r,l)}C={type:"stylesheet",instance:C,count:1,state:z},f.set(h,C)}}}function Fw(t,r){ko.X(t,r);var a=Li;if(a&&t){var l=ai(a).hoistableScripts,f=Pi(t),h=l.get(f);h||(h=a.querySelector(ul(f)),h||(t=b({src:t,async:!0},r),(r=yr.get(f))&&Gp(t,r),h=a.createElement("script"),hn(h),Sn(h,"link",t),a.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},l.set(f,h))}}function Vw(t,r){ko.M(t,r);var a=Li;if(a&&t){var l=ai(a).hoistableScripts,f=Pi(t),h=l.get(f);h||(h=a.querySelector(ul(f)),h||(t=b({src:t,async:!0,type:"module"},r),(r=yr.get(f))&&Gp(t,r),h=a.createElement("script"),hn(h),Sn(h,"link",t),a.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},l.set(f,h))}}function Db(t,r,a,l){var f=(f=fe.current)?pu(f):null;if(!f)throw Error(i(446));switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(r=$i(a.href),a=ai(f).hoistableStyles,l=a.get(r),l||(l={type:"style",instance:null,count:0,state:null},a.set(r,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){t=$i(a.href);var h=ai(f).hoistableStyles,C=h.get(t);if(C||(f=f.ownerDocument||f,C={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},h.set(t,C),(h=f.querySelector(cl(t)))&&!h._p&&(C.instance=h,C.state.loading=5),yr.has(t)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},yr.set(t,a),h||qw(f,t,a,C.state))),r&&l===null)throw Error(i(528,""));return C}if(r&&l!==null)throw Error(i(529,""));return null;case"script":return r=a.async,a=a.src,typeof a=="string"&&r&&typeof r!="function"&&typeof r!="symbol"?(r=Pi(a),a=ai(f).hoistableScripts,l=a.get(r),l||(l={type:"script",instance:null,count:0,state:null},a.set(r,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,t))}}function $i(t){return'href="'+cr(t)+'"'}function cl(t){return'link[rel="stylesheet"]['+t+"]"}function Lb(t){return b({},t,{"data-precedence":t.precedence,precedence:null})}function qw(t,r,a,l){t.querySelector('link[rel="preload"][as="style"]['+r+"]")?l.loading=1:(r=t.createElement("link"),l.preload=r,r.addEventListener("load",function(){return l.loading|=1}),r.addEventListener("error",function(){return l.loading|=2}),Sn(r,"link",a),hn(r),t.head.appendChild(r))}function Pi(t){return'[src="'+cr(t)+'"]'}function ul(t){return"script[async]"+t}function $b(t,r,a){if(r.count++,r.instance===null)switch(r.type){case"style":var l=t.querySelector('style[data-href~="'+cr(a.href)+'"]');if(l)return r.instance=l,hn(l),l;var f=b({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),hn(l),Sn(l,"style",f),hu(l,a.precedence,t),r.instance=l;case"stylesheet":f=$i(a.href);var h=t.querySelector(cl(f));if(h)return r.state.loading|=4,r.instance=h,hn(h),h;l=Lb(a),(f=yr.get(f))&&Wp(l,f),h=(t.ownerDocument||t).createElement("link"),hn(h);var C=h;return C._p=new Promise(function(z,V){C.onload=z,C.onerror=V}),Sn(h,"link",l),r.state.loading|=4,hu(h,a.precedence,t),r.instance=h;case"script":return h=Pi(a.src),(f=t.querySelector(ul(h)))?(r.instance=f,hn(f),f):(l=a,(f=yr.get(h))&&(l=b({},a),Gp(l,f)),t=t.ownerDocument||t,f=t.createElement("script"),hn(f),Sn(f,"link",l),t.head.appendChild(f),r.instance=f);case"void":return null;default:throw Error(i(443,r.type))}else r.type==="stylesheet"&&(r.state.loading&4)===0&&(l=r.instance,r.state.loading|=4,hu(l,a.precedence,t));return r.instance}function hu(t,r,a){for(var l=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=l.length?l[l.length-1]:null,h=f,C=0;C<l.length;C++){var z=l[C];if(z.dataset.precedence===r)h=z;else if(h!==f)break}h?h.parentNode.insertBefore(t,h.nextSibling):(r=a.nodeType===9?a.head:a,r.insertBefore(t,r.firstChild))}function Wp(t,r){t.crossOrigin==null&&(t.crossOrigin=r.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=r.referrerPolicy),t.title==null&&(t.title=r.title)}function Gp(t,r){t.crossOrigin==null&&(t.crossOrigin=r.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=r.referrerPolicy),t.integrity==null&&(t.integrity=r.integrity)}var mu=null;function Pb(t,r,a){if(mu===null){var l=new Map,f=mu=new Map;f.set(a,l)}else f=mu,l=f.get(a),l||(l=new Map,f.set(a,l));if(l.has(t))return l;for(l.set(t,null),a=a.getElementsByTagName(t),f=0;f<a.length;f++){var h=a[f];if(!(h[Rs]||h[yn]||t==="link"&&h.getAttribute("rel")==="stylesheet")&&h.namespaceURI!=="http://www.w3.org/2000/svg"){var C=h.getAttribute(r)||"";C=t+C;var z=l.get(C);z?z.push(h):l.set(C,[h])}}return l}function Ub(t,r,a){t=t.ownerDocument||t,t.head.insertBefore(a,r==="title"?t.querySelector("head > title"):null)}function Ww(t,r,a){if(a===1||r.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof r.precedence!="string"||typeof r.href!="string"||r.href==="")break;return!0;case"link":if(typeof r.rel!="string"||typeof r.href!="string"||r.href===""||r.onLoad||r.onError)break;return r.rel==="stylesheet"?(t=r.disabled,typeof r.precedence=="string"&&t==null):!0;case"script":if(r.async&&typeof r.async!="function"&&typeof r.async!="symbol"&&!r.onLoad&&!r.onError&&r.src&&typeof r.src=="string")return!0}return!1}function _b(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Gw(t,r,a,l){if(a.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var f=$i(l.href),h=r.querySelector(cl(f));if(h){r=h._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(t.count++,t=gu.bind(t),r.then(t,t)),a.state.loading|=4,a.instance=h,hn(h);return}h=r.ownerDocument||r,l=Lb(l),(f=yr.get(f))&&Wp(l,f),h=h.createElement("link"),hn(h);var C=h;C._p=new Promise(function(z,V){C.onload=z,C.onerror=V}),Sn(h,"link",l),a.instance=h}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(a,r),(r=a.state.preload)&&(a.state.loading&3)===0&&(t.count++,a=gu.bind(t),r.addEventListener("load",a),r.addEventListener("error",a))}}var Kp=0;function Kw(t,r){return t.stylesheets&&t.count===0&&vu(t,t.stylesheets),0<t.count||0<t.imgCount?function(a){var l=setTimeout(function(){if(t.stylesheets&&vu(t,t.stylesheets),t.unsuspend){var h=t.unsuspend;t.unsuspend=null,h()}},6e4+r);0<t.imgBytes&&Kp===0&&(Kp=62500*Aw());var f=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&vu(t,t.stylesheets),t.unsuspend)){var h=t.unsuspend;t.unsuspend=null,h()}},(t.imgBytes>Kp?50:800)+r);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(f)}}:null}function gu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)vu(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var yu=null;function vu(t,r){t.stylesheets=null,t.unsuspend!==null&&(t.count++,yu=new Map,r.forEach(Yw,t),yu=null,gu.call(t))}function Yw(t,r){if(!(r.state.loading&4)){var a=yu.get(t);if(a)var l=a.get(null);else{a=new Map,yu.set(t,a);for(var f=t.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h<f.length;h++){var C=f[h];(C.nodeName==="LINK"||C.getAttribute("media")!=="not all")&&(a.set(C.dataset.precedence,C),l=C)}l&&a.set(null,l)}f=r.instance,C=f.getAttribute("data-precedence"),h=a.get(C)||l,h===l&&a.set(null,f),a.set(C,f),this.count++,l=gu.bind(this),f.addEventListener("load",l),f.addEventListener("error",l),h?h.parentNode.insertBefore(f,h.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(f,t.firstChild)),r.state.loading|=4}}var dl={$$typeof:j,Provider:null,Consumer:null,_currentValue:X,_currentValue2:X,_threadCount:0};function Xw(t,r,a,l,f,h,C,z,V){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Dn(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Dn(0),this.hiddenUpdates=Dn(null),this.identifierPrefix=l,this.onUncaughtError=f,this.onCaughtError=h,this.onRecoverableError=C,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=V,this.incompleteTransitions=new Map}function Ib(t,r,a,l,f,h,C,z,V,ee,le,he){return t=new Xw(t,r,a,C,V,ee,le,he,z),r=1,h===!0&&(r|=24),h=Qn(3,null,null,r),t.current=h,h.stateNode=t,r=jf(),r.refCount++,t.pooledCache=r,r.refCount++,h.memoizedState={element:l,isDehydrated:a,cache:r},Of(h),t}function Hb(t){return t?(t=mi,t):mi}function Fb(t,r,a,l,f,h){f=Hb(f),l.context===null?l.context=f:l.pendingContext=f,l=Ko(r),l.payload={element:a},h=h===void 0?null:h,h!==null&&(l.callback=h),a=Yo(t,l,r),a!==null&&(Fn(a,t,r),Fs(a,t,r))}function Vb(t,r){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<r?a:r}}function Yp(t,r){Vb(t,r),(t=t.alternate)&&Vb(t,r)}function qb(t){if(t.tag===13||t.tag===31){var r=Ta(t,67108864);r!==null&&Fn(r,t,67108864),Yp(t,67108864)}}function Wb(t){if(t.tag===13||t.tag===31){var r=nr();r=Ln(r);var a=Ta(t,r);a!==null&&Fn(a,t,r),Yp(t,r)}}var bu=!0;function Qw(t,r,a,l){var f=B.T;B.T=null;var h=P.p;try{P.p=2,Xp(t,r,a,l)}finally{P.p=h,B.T=f}}function Zw(t,r,a,l){var f=B.T;B.T=null;var h=P.p;try{P.p=8,Xp(t,r,a,l)}finally{P.p=h,B.T=f}}function Xp(t,r,a,l){if(bu){var f=Qp(l);if(f===null)Lp(t,r,l,xu,a),Kb(t,l);else if(eE(f,t,r,a,l))l.stopPropagation();else if(Kb(t,l),r&4&&-1<Jw.indexOf(t)){for(;f!==null;){var h=oi(f);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var C=Mr(h.pendingLanes);if(C!==0){var z=h;for(z.pendingLanes|=2,z.entangledLanes|=2;C;){var V=1<<31-Gt(C);z.entanglements[1]|=V,C&=~V}Vr(h),(mt&6)===0&&(nu=qe()+500,al(0))}}break;case 31:case 13:z=Ta(h,2),z!==null&&Fn(z,h,2),ou(),Yp(h,2)}if(h=Qp(l),h===null&&Lp(t,r,l,xu,a),h===f)break;f=h}f!==null&&l.stopPropagation()}else Lp(t,r,l,null,a)}}function Qp(t){return t=Zd(t),Zp(t)}var xu=null;function Zp(t){if(xu=null,t=ri(t),t!==null){var r=c(t);if(r===null)t=null;else{var a=r.tag;if(a===13){if(t=u(r),t!==null)return t;t=null}else if(a===31){if(t=p(r),t!==null)return t;t=null}else if(a===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;t=null}else r!==t&&(t=null)}}return xu=t,null}function Gb(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Tn()){case ht:return 2;case et:return 8;case vt:case kt:return 32;case fn:return 268435456;default:return 32}default:return 32}}var Jp=!1,ia=null,sa=null,la=null,fl=new Map,pl=new Map,ca=[],Jw="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Kb(t,r){switch(t){case"focusin":case"focusout":ia=null;break;case"dragenter":case"dragleave":sa=null;break;case"mouseover":case"mouseout":la=null;break;case"pointerover":case"pointerout":fl.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":pl.delete(r.pointerId)}}function hl(t,r,a,l,f,h){return t===null||t.nativeEvent!==h?(t={blockedOn:r,domEventName:a,eventSystemFlags:l,nativeEvent:h,targetContainers:[f]},r!==null&&(r=oi(r),r!==null&&qb(r)),t):(t.eventSystemFlags|=l,r=t.targetContainers,f!==null&&r.indexOf(f)===-1&&r.push(f),t)}function eE(t,r,a,l,f){switch(r){case"focusin":return ia=hl(ia,t,r,a,l,f),!0;case"dragenter":return sa=hl(sa,t,r,a,l,f),!0;case"mouseover":return la=hl(la,t,r,a,l,f),!0;case"pointerover":var h=f.pointerId;return fl.set(h,hl(fl.get(h)||null,t,r,a,l,f)),!0;case"gotpointercapture":return h=f.pointerId,pl.set(h,hl(pl.get(h)||null,t,r,a,l,f)),!0}return!1}function Yb(t){var r=ri(t.target);if(r!==null){var a=c(r);if(a!==null){if(r=a.tag,r===13){if(r=u(a),r!==null){t.blockedOn=r,Ts(t.priority,function(){Wb(a)});return}}else if(r===31){if(r=p(a),r!==null){t.blockedOn=r,Ts(t.priority,function(){Wb(a)});return}}else if(r===3&&a.stateNode.current.memoizedState.isDehydrated){t.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Su(t){if(t.blockedOn!==null)return!1;for(var r=t.targetContainers;0<r.length;){var a=Qp(t.nativeEvent);if(a===null){a=t.nativeEvent;var l=new a.constructor(a.type,a);Qd=l,a.target.dispatchEvent(l),Qd=null}else return r=oi(a),r!==null&&qb(r),t.blockedOn=a,!1;r.shift()}return!0}function Xb(t,r,a){Su(t)&&a.delete(r)}function tE(){Jp=!1,ia!==null&&Su(ia)&&(ia=null),sa!==null&&Su(sa)&&(sa=null),la!==null&&Su(la)&&(la=null),fl.forEach(Xb),pl.forEach(Xb)}function Cu(t,r){t.blockedOn===r&&(t.blockedOn=null,Jp||(Jp=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,tE)))}var wu=null;function Qb(t){wu!==t&&(wu=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){wu===t&&(wu=null);for(var r=0;r<t.length;r+=3){var a=t[r],l=t[r+1],f=t[r+2];if(typeof l!="function"){if(Zp(l||a)===null)continue;break}var h=oi(a);h!==null&&(t.splice(r,3),r-=3,Qf(h,{pending:!0,data:f,method:a.method,action:l},l,f))}}))}function Ui(t){function r(V){return Cu(V,t)}ia!==null&&Cu(ia,t),sa!==null&&Cu(sa,t),la!==null&&Cu(la,t),fl.forEach(r),pl.forEach(r);for(var a=0;a<ca.length;a++){var l=ca[a];l.blockedOn===t&&(l.blockedOn=null)}for(;0<ca.length&&(a=ca[0],a.blockedOn===null);)Yb(a),a.blockedOn===null&&ca.shift();if(a=(t.ownerDocument||t).$$reactFormReplay,a!=null)for(l=0;l<a.length;l+=3){var f=a[l],h=a[l+1],C=f[$n]||null;if(typeof h=="function")C||Qb(a);else if(C){var z=null;if(h&&h.hasAttribute("formAction")){if(f=h,C=h[$n]||null)z=C.formAction;else if(Zp(f)!==null)continue}else z=C.action;typeof z=="function"?a[l+1]=z:(a.splice(l,3),l-=3),Qb(a)}}}function Zb(){function t(h){h.canIntercept&&h.info==="react-transition"&&h.intercept({handler:function(){return new Promise(function(C){return f=C})},focusReset:"manual",scroll:"manual"})}function r(){f!==null&&(f(),f=null),l||setTimeout(a,20)}function a(){if(!l&&!navigation.transition){var h=navigation.currentEntry;h&&h.url!=null&&navigation.navigate(h.url,{state:h.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,f=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",r),navigation.addEventListener("navigateerror",r),setTimeout(a,100),function(){l=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",r),navigation.removeEventListener("navigateerror",r),f!==null&&(f(),f=null)}}}function eh(t){this._internalRoot=t}Eu.prototype.render=eh.prototype.render=function(t){var r=this._internalRoot;if(r===null)throw Error(i(409));var a=r.current,l=nr();Fb(a,l,t,r,null,null)},Eu.prototype.unmount=eh.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var r=t.containerInfo;Fb(t.current,2,null,t,null,null),ou(),r[ni]=null}};function Eu(t){this._internalRoot=t}Eu.prototype.unstable_scheduleHydration=function(t){if(t){var r=Io();t={blockedOn:null,target:t,priority:r};for(var a=0;a<ca.length&&r!==0&&r<ca[a].priority;a++);ca.splice(a,0,t),a===0&&Yb(t)}};var Jb=n.version;if(Jb!=="19.2.3")throw Error(i(527,Jb,"19.2.3"));P.findDOMNode=function(t){var r=t._reactInternals;if(r===void 0)throw typeof t.render=="function"?Error(i(188)):(t=Object.keys(t).join(","),Error(i(268,t)));return t=g(r),t=t!==null?y(t):null,t=t===null?null:t.stateNode,t};var nE={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Tu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Tu.isDisabled&&Tu.supportsFiber)try{Wt=Tu.inject(nE),Bt=Tu}catch{}}return gl.createRoot=function(t,r){if(!s(t))throw Error(i(299));var a=!1,l="",f=iv,h=sv,C=lv;return r!=null&&(r.unstable_strictMode===!0&&(a=!0),r.identifierPrefix!==void 0&&(l=r.identifierPrefix),r.onUncaughtError!==void 0&&(f=r.onUncaughtError),r.onCaughtError!==void 0&&(h=r.onCaughtError),r.onRecoverableError!==void 0&&(C=r.onRecoverableError)),r=Ib(t,1,!1,null,null,a,l,null,f,h,C,Zb),t[ni]=r.current,Dp(t),new eh(r)},gl.hydrateRoot=function(t,r,a){if(!s(t))throw Error(i(299));var l=!1,f="",h=iv,C=sv,z=lv,V=null;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(f=a.identifierPrefix),a.onUncaughtError!==void 0&&(h=a.onUncaughtError),a.onCaughtError!==void 0&&(C=a.onCaughtError),a.onRecoverableError!==void 0&&(z=a.onRecoverableError),a.formState!==void 0&&(V=a.formState)),r=Ib(t,1,!0,r,a??null,l,f,V,h,C,z,Zb),r.context=Hb(null),a=r.current,l=nr(),l=Ln(l),f=Ko(l),f.callback=null,Yo(a,f,l),a=l,r.current.lanes=a,Ee(r,a),Vr(r),t[ni]=r.current,Dp(t),new Eu(r)},gl.version="19.2.3",gl}var c0;function fE(){if(c0)return rh.exports;c0=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(n){console.error(n)}}return e(),rh.exports=dE(),rh.exports}var pE=fE();const hE=pm(pE);var u0="popstate";function mE(e={}){function n(i,s){let{pathname:c,search:u,hash:p}=i.location;return Oh("",{pathname:c,search:u,hash:p},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function o(i,s){return typeof s=="string"?s:Pl(s)}return yE(n,o,null,e)}function It(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}function Cr(e,n){if(!e){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function gE(){return Math.random().toString(36).substring(2,10)}function d0(e,n){return{usr:e.state,key:e.key,idx:n}}function Oh(e,n,o=null,i){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof n=="string"?ms(n):n,state:o,key:n&&n.key||i||gE()}}function Pl({pathname:e="/",search:n="",hash:o=""}){return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),o&&o!=="#"&&(e+=o.charAt(0)==="#"?o:"#"+o),e}function ms(e){let n={};if(e){let o=e.indexOf("#");o>=0&&(n.hash=e.substring(o),e=e.substring(0,o));let i=e.indexOf("?");i>=0&&(n.search=e.substring(i),e=e.substring(0,i)),e&&(n.pathname=e)}return n}function yE(e,n,o,i={}){let{window:s=document.defaultView,v5Compat:c=!1}=i,u=s.history,p="POP",m=null,g=y();g==null&&(g=0,u.replaceState({...u.state,idx:g},""));function y(){return(u.state||{idx:null}).idx}function b(){p="POP";let E=y(),A=E==null?null:E-g;g=E,m&&m({action:p,location:S.location,delta:A})}function w(E,A){p="PUSH";let O=Oh(S.location,E,A);g=y()+1;let j=d0(O,g),M=S.createHref(O);try{u.pushState(j,"",M)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;s.location.assign(M)}c&&m&&m({action:p,location:S.location,delta:1})}function T(E,A){p="REPLACE";let O=Oh(S.location,E,A);g=y();let j=d0(O,g),M=S.createHref(O);u.replaceState(j,"",M),c&&m&&m({action:p,location:S.location,delta:0})}function x(E){return vE(E)}let S={get action(){return p},get location(){return e(s,u)},listen(E){if(m)throw new Error("A history only accepts one active listener");return s.addEventListener(u0,b),m=E,()=>{s.removeEventListener(u0,b),m=null}},createHref(E){return n(s,E)},createURL:x,encodeLocation(E){let A=x(E);return{pathname:A.pathname,search:A.search,hash:A.hash}},push:w,replace:T,go(E){return u.go(E)}};return S}function vE(e,n=!1){let o="http://localhost";typeof window<"u"&&(o=window.location.origin!=="null"?window.location.origin:window.location.href),It(o,"No window.location.(origin|href) available to create URL");let i=typeof e=="string"?e:Pl(e);return i=i.replace(/ $/,"%20"),!n&&i.startsWith("//")&&(i=o+i),new URL(i,o)}function v1(e,n,o="/"){return bE(e,n,o,!1)}function bE(e,n,o,i){let s=typeof n=="string"?ms(n):n,c=Do(s.pathname||"/",o);if(c==null)return null;let u=b1(e);xE(u);let p=null;for(let m=0;p==null&&m<u.length;++m){let g=OE(c);p=ME(u[m],g,i)}return p}function b1(e,n=[],o=[],i="",s=!1){let c=(u,p,m=s,g)=>{let y={relativePath:g===void 0?u.path||"":g,caseSensitive:u.caseSensitive===!0,childrenIndex:p,route:u};if(y.relativePath.startsWith("/")){if(!y.relativePath.startsWith(i)&&m)return;It(y.relativePath.startsWith(i),`Absolute route path "${y.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),y.relativePath=y.relativePath.slice(i.length)}let b=Bo([i,y.relativePath]),w=o.concat(y);u.children&&u.children.length>0&&(It(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${b}".`),b1(u.children,n,w,b,m)),!(u.path==null&&!u.index)&&n.push({path:b,score:jE(b,u.index),routesMeta:w})};return e.forEach((u,p)=>{if(u.path===""||!u.path?.includes("?"))c(u,p);else for(let m of x1(u.path))c(u,p,!0,m)}),n}function x1(e){let n=e.split("/");if(n.length===0)return[];let[o,...i]=n,s=o.endsWith("?"),c=o.replace(/\?$/,"");if(i.length===0)return s?[c,""]:[c];let u=x1(i.join("/")),p=[];return p.push(...u.map(m=>m===""?c:[c,m].join("/"))),s&&p.push(...u),p.map(m=>e.startsWith("/")&&m===""?"/":m)}function xE(e){e.sort((n,o)=>n.score!==o.score?o.score-n.score:AE(n.routesMeta.map(i=>i.childrenIndex),o.routesMeta.map(i=>i.childrenIndex)))}var SE=/^:[\w-]+$/,CE=3,wE=2,EE=1,TE=10,RE=-2,f0=e=>e==="*";function jE(e,n){let o=e.split("/"),i=o.length;return o.some(f0)&&(i+=RE),n&&(i+=wE),o.filter(s=>!f0(s)).reduce((s,c)=>s+(SE.test(c)?CE:c===""?EE:TE),i)}function AE(e,n){return e.length===n.length&&e.slice(0,-1).every((i,s)=>i===n[s])?e[e.length-1]-n[n.length-1]:0}function ME(e,n,o=!1){let{routesMeta:i}=e,s={},c="/",u=[];for(let p=0;p<i.length;++p){let m=i[p],g=p===i.length-1,y=c==="/"?n:n.slice(c.length)||"/",b=Ju({path:m.relativePath,caseSensitive:m.caseSensitive,end:g},y),w=m.route;if(!b&&g&&o&&!i[i.length-1].route.index&&(b=Ju({path:m.relativePath,caseSensitive:m.caseSensitive,end:!1},y)),!b)return null;Object.assign(s,b.params),u.push({params:s,pathname:Bo([c,b.pathname]),pathnameBase:DE(Bo([c,b.pathnameBase])),route:w}),b.pathnameBase!=="/"&&(c=Bo([c,b.pathnameBase]))}return u}function Ju(e,n){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[o,i]=kE(e.path,e.caseSensitive,e.end),s=n.match(o);if(!s)return null;let c=s[0],u=c.replace(/(.)\/+$/,"$1"),p=s.slice(1);return{params:i.reduce((g,{paramName:y,isOptional:b},w)=>{if(y==="*"){let x=p[w]||"";u=c.slice(0,c.length-x.length).replace(/(.)\/+$/,"$1")}const T=p[w];return b&&!T?g[y]=void 0:g[y]=(T||"").replace(/%2F/g,"/"),g},{}),pathname:c,pathnameBase:u,pattern:e}}function kE(e,n=!1,o=!0){Cr(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let i=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,p,m)=>(i.push({paramName:p,isOptional:m!=null}),m?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(i.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,n?void 0:"i"),i]}function OE(e){try{return e.split("/").map(n=>decodeURIComponent(n).replace(/\//g,"%2F")).join("/")}catch(n){return Cr(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${n}).`),e}}function Do(e,n){if(n==="/")return e;if(!e.toLowerCase().startsWith(n.toLowerCase()))return null;let o=n.endsWith("/")?n.length-1:n.length,i=e.charAt(o);return i&&i!=="/"?null:e.slice(o)||"/"}var S1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,zE=e=>S1.test(e);function BE(e,n="/"){let{pathname:o,search:i="",hash:s=""}=typeof e=="string"?ms(e):e,c;if(o)if(zE(o))c=o;else{if(o.includes("//")){let u=o;o=o.replace(/\/\/+/g,"/"),Cr(!1,`Pathnames cannot have embedded double slashes - normalizing ${u} -> ${o}`)}o.startsWith("/")?c=p0(o.substring(1),"/"):c=p0(o,n)}else c=n;return{pathname:c,search:LE(i),hash:$E(s)}}function p0(e,n){let o=n.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?o.length>1&&o.pop():s!=="."&&o.push(s)}),o.length>1?o.join("/"):"/"}function sh(e,n,o,i){return`Cannot include a '${e}' character in a manually specified \`to.${n}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function NE(e){return e.filter((n,o)=>o===0||n.route.path&&n.route.path.length>0)}function mm(e){let n=NE(e);return n.map((o,i)=>i===n.length-1?o.pathname:o.pathnameBase)}function gm(e,n,o,i=!1){let s;typeof e=="string"?s=ms(e):(s={...e},It(!s.pathname||!s.pathname.includes("?"),sh("?","pathname","search",s)),It(!s.pathname||!s.pathname.includes("#"),sh("#","pathname","hash",s)),It(!s.search||!s.search.includes("#"),sh("#","search","hash",s)));let c=e===""||s.pathname==="",u=c?"/":s.pathname,p;if(u==null)p=o;else{let b=n.length-1;if(!i&&u.startsWith("..")){let w=u.split("/");for(;w[0]==="..";)w.shift(),b-=1;s.pathname=w.join("/")}p=b>=0?n[b]:"/"}let m=BE(s,p),g=u&&u!=="/"&&u.endsWith("/"),y=(c||u===".")&&o.endsWith("/");return!m.pathname.endsWith("/")&&(g||y)&&(m.pathname+="/"),m}var Bo=e=>e.join("/").replace(/\/\/+/g,"/"),DE=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),LE=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,$E=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,PE=class{constructor(e,n,o,i=!1){this.status=e,this.statusText=n||"",this.internal=i,o instanceof Error?(this.data=o.toString(),this.error=o):this.data=o}};function UE(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function _E(e){return e.map(n=>n.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var C1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function w1(e,n){let o=e;if(typeof o!="string"||!S1.test(o))return{absoluteURL:void 0,isExternal:!1,to:o};let i=o,s=!1;if(C1)try{let c=new URL(window.location.href),u=o.startsWith("//")?new URL(c.protocol+o):new URL(o),p=Do(u.pathname,n);u.origin===c.origin&&p!=null?o=p+u.search+u.hash:s=!0}catch{Cr(!1,`<Link to="${o}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:i,isExternal:s,to:o}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var E1=["POST","PUT","PATCH","DELETE"];new Set(E1);var IE=["GET",...E1];new Set(IE);var gs=v.createContext(null);gs.displayName="DataRouter";var fd=v.createContext(null);fd.displayName="DataRouterState";var HE=v.createContext(!1),T1=v.createContext({isTransitioning:!1});T1.displayName="ViewTransition";var FE=v.createContext(new Map);FE.displayName="Fetchers";var VE=v.createContext(null);VE.displayName="Await";var ir=v.createContext(null);ir.displayName="Navigation";var Xl=v.createContext(null);Xl.displayName="Location";var lo=v.createContext({outlet:null,matches:[],isDataRoute:!1});lo.displayName="Route";var ym=v.createContext(null);ym.displayName="RouteError";var R1="REACT_ROUTER_ERROR",qE="REDIRECT",WE="ROUTE_ERROR_RESPONSE";function GE(e){if(e.startsWith(`${R1}:${qE}:{`))try{let n=JSON.parse(e.slice(28));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.location=="string"&&typeof n.reloadDocument=="boolean"&&typeof n.replace=="boolean")return n}catch{}}function KE(e){if(e.startsWith(`${R1}:${WE}:{`))try{let n=JSON.parse(e.slice(40));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string")return new PE(n.status,n.statusText,n.data)}catch{}}function YE(e,{relative:n}={}){It(ys(),"useHref() may be used only in the context of a <Router> component.");let{basename:o,navigator:i}=v.useContext(ir),{hash:s,pathname:c,search:u}=Ql(e,{relative:n}),p=c;return o!=="/"&&(p=c==="/"?o:Bo([o,c])),i.createHref({pathname:p,search:u,hash:s})}function ys(){return v.useContext(Xl)!=null}function Rr(){return It(ys(),"useLocation() may be used only in the context of a <Router> component."),v.useContext(Xl).location}var j1="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function A1(e){v.useContext(ir).static||v.useLayoutEffect(e)}function ya(){let{isDataRoute:e}=v.useContext(lo);return e?lT():XE()}function XE(){It(ys(),"useNavigate() may be used only in the context of a <Router> component.");let e=v.useContext(gs),{basename:n,navigator:o}=v.useContext(ir),{matches:i}=v.useContext(lo),{pathname:s}=Rr(),c=JSON.stringify(mm(i)),u=v.useRef(!1);return A1(()=>{u.current=!0}),v.useCallback((m,g={})=>{if(Cr(u.current,j1),!u.current)return;if(typeof m=="number"){o.go(m);return}let y=gm(m,JSON.parse(c),s,g.relative==="path");e==null&&n!=="/"&&(y.pathname=y.pathname==="/"?n:Bo([n,y.pathname])),(g.replace?o.replace:o.push)(y,g.state,g)},[n,o,c,s,e])}v.createContext(null);function Ql(e,{relative:n}={}){let{matches:o}=v.useContext(lo),{pathname:i}=Rr(),s=JSON.stringify(mm(o));return v.useMemo(()=>gm(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function QE(e,n){return M1(e,n)}function M1(e,n,o,i,s){It(ys(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:c}=v.useContext(ir),{matches:u}=v.useContext(lo),p=u[u.length-1],m=p?p.params:{},g=p?p.pathname:"/",y=p?p.pathnameBase:"/",b=p&&p.route;{let O=b&&b.path||"";O1(g,!b||O.endsWith("*")||O.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${g}" (under <Route path="${O}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
10
|
+
|
|
11
|
+
Please change the parent <Route path="${O}"> to <Route path="${O==="/"?"*":`${O}/*`}">.`)}let w=Rr(),T;if(n){let O=typeof n=="string"?ms(n):n;It(y==="/"||O.pathname?.startsWith(y),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${y}" but pathname "${O.pathname}" was given in the \`location\` prop.`),T=O}else T=w;let x=T.pathname||"/",S=x;if(y!=="/"){let O=y.replace(/^\//,"").split("/");S="/"+x.replace(/^\//,"").split("/").slice(O.length).join("/")}let E=v1(e,{pathname:S});Cr(b||E!=null,`No routes matched location "${T.pathname}${T.search}${T.hash}" `),Cr(E==null||E[E.length-1].route.element!==void 0||E[E.length-1].route.Component!==void 0||E[E.length-1].route.lazy!==void 0,`Matched leaf route at location "${T.pathname}${T.search}${T.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let A=nT(E&&E.map(O=>Object.assign({},O,{params:Object.assign({},m,O.params),pathname:Bo([y,c.encodeLocation?c.encodeLocation(O.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathname]),pathnameBase:O.pathnameBase==="/"?y:Bo([y,c.encodeLocation?c.encodeLocation(O.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathnameBase])})),u,o,i,s);return n&&A?v.createElement(Xl.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...T},navigationType:"POP"}},A):A}function ZE(){let e=sT(),n=UE(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),o=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:i},c={padding:"2px 4px",backgroundColor:i},u=null;return console.error("Error handled by React Router default ErrorBoundary:",e),u=v.createElement(v.Fragment,null,v.createElement("p",null,"💿 Hey developer 👋"),v.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",v.createElement("code",{style:c},"ErrorBoundary")," or"," ",v.createElement("code",{style:c},"errorElement")," prop on your route.")),v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},n),o?v.createElement("pre",{style:s},o):null,u)}var JE=v.createElement(ZE,null),k1=class extends v.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){this.props.onError?this.props.onError(e,n):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const o=KE(e.digest);o&&(e=o)}let n=e!==void 0?v.createElement(lo.Provider,{value:this.props.routeContext},v.createElement(ym.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?v.createElement(eT,{error:e},n):n}};k1.contextType=HE;var lh=new WeakMap;function eT({children:e,error:n}){let{basename:o}=v.useContext(ir);if(typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){let i=GE(n.digest);if(i){let s=lh.get(n);if(s)throw s;let c=w1(i.location,o);if(C1&&!lh.get(n))if(c.isExternal||i.reloadDocument)window.location.href=c.absoluteURL||c.to;else{const u=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:i.replace}));throw lh.set(n,u),u}return v.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return e}function tT({routeContext:e,match:n,children:o}){let i=v.useContext(gs);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),v.createElement(lo.Provider,{value:e},o)}function nT(e,n=[],o=null,i=null,s=null){if(e==null){if(!o)return null;if(o.errors)e=o.matches;else if(n.length===0&&!o.initialized&&o.matches.length>0)e=o.matches;else return null}let c=e,u=o?.errors;if(u!=null){let y=c.findIndex(b=>b.route.id&&u?.[b.route.id]!==void 0);It(y>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(u).join(",")}`),c=c.slice(0,Math.min(c.length,y+1))}let p=!1,m=-1;if(o)for(let y=0;y<c.length;y++){let b=c[y];if((b.route.HydrateFallback||b.route.hydrateFallbackElement)&&(m=y),b.route.id){let{loaderData:w,errors:T}=o,x=b.route.loader&&!w.hasOwnProperty(b.route.id)&&(!T||T[b.route.id]===void 0);if(b.route.lazy||x){p=!0,m>=0?c=c.slice(0,m+1):c=[c[0]];break}}}let g=o&&i?(y,b)=>{i(y,{location:o.location,params:o.matches?.[0]?.params??{},unstable_pattern:_E(o.matches),errorInfo:b})}:void 0;return c.reduceRight((y,b,w)=>{let T,x=!1,S=null,E=null;o&&(T=u&&b.route.id?u[b.route.id]:void 0,S=b.route.errorElement||JE,p&&(m<0&&w===0?(O1("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),x=!0,E=null):m===w&&(x=!0,E=b.route.hydrateFallbackElement||null)));let A=n.concat(c.slice(0,w+1)),O=()=>{let j;return T?j=S:x?j=E:b.route.Component?j=v.createElement(b.route.Component,null):b.route.element?j=b.route.element:j=y,v.createElement(tT,{match:b,routeContext:{outlet:y,matches:A,isDataRoute:o!=null},children:j})};return o&&(b.route.ErrorBoundary||b.route.errorElement||w===0)?v.createElement(k1,{location:o.location,revalidation:o.revalidation,component:S,error:T,children:O(),routeContext:{outlet:null,matches:A,isDataRoute:!0},onError:g}):O()},null)}function vm(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function rT(e){let n=v.useContext(gs);return It(n,vm(e)),n}function oT(e){let n=v.useContext(fd);return It(n,vm(e)),n}function aT(e){let n=v.useContext(lo);return It(n,vm(e)),n}function bm(e){let n=aT(e),o=n.matches[n.matches.length-1];return It(o.route.id,`${e} can only be used on routes that contain a unique "id"`),o.route.id}function iT(){return bm("useRouteId")}function sT(){let e=v.useContext(ym),n=oT("useRouteError"),o=bm("useRouteError");return e!==void 0?e:n.errors?.[o]}function lT(){let{router:e}=rT("useNavigate"),n=bm("useNavigate"),o=v.useRef(!1);return A1(()=>{o.current=!0}),v.useCallback(async(s,c={})=>{Cr(o.current,j1),o.current&&(typeof s=="number"?await e.navigate(s):await e.navigate(s,{fromRouteId:n,...c}))},[e,n])}var h0={};function O1(e,n,o){!n&&!h0[e]&&(h0[e]=!0,Cr(!1,o))}v.memo(cT);function cT({routes:e,future:n,state:o,onError:i}){return M1(e,void 0,o,i,n)}function zh({to:e,replace:n,state:o,relative:i}){It(ys(),"<Navigate> may be used only in the context of a <Router> component.");let{static:s}=v.useContext(ir);Cr(!s,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:c}=v.useContext(lo),{pathname:u}=Rr(),p=ya(),m=gm(e,mm(c),u,i==="path"),g=JSON.stringify(m);return v.useEffect(()=>{p(JSON.parse(g),{replace:n,state:o,relative:i})},[p,g,i,n,o]),null}function _u(e){It(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function uT({basename:e="/",children:n=null,location:o,navigationType:i="POP",navigator:s,static:c=!1,unstable_useTransitions:u}){It(!ys(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let p=e.replace(/^\/*/,"/"),m=v.useMemo(()=>({basename:p,navigator:s,static:c,unstable_useTransitions:u,future:{}}),[p,s,c,u]);typeof o=="string"&&(o=ms(o));let{pathname:g="/",search:y="",hash:b="",state:w=null,key:T="default"}=o,x=v.useMemo(()=>{let S=Do(g,p);return S==null?null:{location:{pathname:S,search:y,hash:b,state:w,key:T},navigationType:i}},[p,g,y,b,w,T,i]);return Cr(x!=null,`<Router basename="${p}"> is not able to match the URL "${g}${y}${b}" because it does not start with the basename, so the <Router> won't render anything.`),x==null?null:v.createElement(ir.Provider,{value:m},v.createElement(Xl.Provider,{children:n,value:x}))}function dT({children:e,location:n}){return QE(Bh(e),n)}function Bh(e,n=[]){let o=[];return v.Children.forEach(e,(i,s)=>{if(!v.isValidElement(i))return;let c=[...n,s];if(i.type===v.Fragment){o.push.apply(o,Bh(i.props.children,c));return}It(i.type===_u,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),It(!i.props.index||!i.props.children,"An index route cannot have child routes.");let u={id:i.props.id||c.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,middleware:i.props.middleware,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(u.children=Bh(i.props.children,c)),o.push(u)}),o}var Iu="get",Hu="application/x-www-form-urlencoded";function pd(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function fT(e){return pd(e)&&e.tagName.toLowerCase()==="button"}function pT(e){return pd(e)&&e.tagName.toLowerCase()==="form"}function hT(e){return pd(e)&&e.tagName.toLowerCase()==="input"}function mT(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function gT(e,n){return e.button===0&&(!n||n==="_self")&&!mT(e)}var Ru=null;function yT(){if(Ru===null)try{new FormData(document.createElement("form"),0),Ru=!1}catch{Ru=!0}return Ru}var vT=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function ch(e){return e!=null&&!vT.has(e)?(Cr(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Hu}"`),null):e}function bT(e,n){let o,i,s,c,u;if(pT(e)){let p=e.getAttribute("action");i=p?Do(p,n):null,o=e.getAttribute("method")||Iu,s=ch(e.getAttribute("enctype"))||Hu,c=new FormData(e)}else if(fT(e)||hT(e)&&(e.type==="submit"||e.type==="image")){let p=e.form;if(p==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let m=e.getAttribute("formaction")||p.getAttribute("action");if(i=m?Do(m,n):null,o=e.getAttribute("formmethod")||p.getAttribute("method")||Iu,s=ch(e.getAttribute("formenctype"))||ch(p.getAttribute("enctype"))||Hu,c=new FormData(p,e),!yT()){let{name:g,type:y,value:b}=e;if(y==="image"){let w=g?`${g}.`:"";c.append(`${w}x`,"0"),c.append(`${w}y`,"0")}else g&&c.append(g,b)}}else{if(pd(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');o=Iu,i=null,s=Hu,u=e}return c&&s==="text/plain"&&(u=c,c=void 0),{action:i,method:o.toLowerCase(),encType:s,formData:c,body:u}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function xm(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}function xT(e,n,o,i){let s=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return o?s.pathname.endsWith("/")?s.pathname=`${s.pathname}_.${i}`:s.pathname=`${s.pathname}.${i}`:s.pathname==="/"?s.pathname=`_root.${i}`:n&&Do(s.pathname,n)==="/"?s.pathname=`${n.replace(/\/$/,"")}/_root.${i}`:s.pathname=`${s.pathname.replace(/\/$/,"")}.${i}`,s}async function ST(e,n){if(e.id in n)return n[e.id];try{let o=await import(e.module);return n[e.id]=o,o}catch(o){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(o),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function CT(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function wT(e,n,o){let i=await Promise.all(e.map(async s=>{let c=n.routes[s.route.id];if(c){let u=await ST(c,o);return u.links?u.links():[]}return[]}));return jT(i.flat(1).filter(CT).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function m0(e,n,o,i,s,c){let u=(m,g)=>o[g]?m.route.id!==o[g].route.id:!0,p=(m,g)=>o[g].pathname!==m.pathname||o[g].route.path?.endsWith("*")&&o[g].params["*"]!==m.params["*"];return c==="assets"?n.filter((m,g)=>u(m,g)||p(m,g)):c==="data"?n.filter((m,g)=>{let y=i.routes[m.route.id];if(!y||!y.hasLoader)return!1;if(u(m,g)||p(m,g))return!0;if(m.route.shouldRevalidate){let b=m.route.shouldRevalidate({currentUrl:new URL(s.pathname+s.search+s.hash,window.origin),currentParams:o[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:m.params,defaultShouldRevalidate:!0});if(typeof b=="boolean")return b}return!0}):[]}function ET(e,n,{includeHydrateFallback:o}={}){return TT(e.map(i=>{let s=n.routes[i.route.id];if(!s)return[];let c=[s.module];return s.clientActionModule&&(c=c.concat(s.clientActionModule)),s.clientLoaderModule&&(c=c.concat(s.clientLoaderModule)),o&&s.hydrateFallbackModule&&(c=c.concat(s.hydrateFallbackModule)),s.imports&&(c=c.concat(s.imports)),c}).flat(1))}function TT(e){return[...new Set(e)]}function RT(e){let n={},o=Object.keys(e).sort();for(let i of o)n[i]=e[i];return n}function jT(e,n){let o=new Set;return new Set(n),e.reduce((i,s)=>{let c=JSON.stringify(RT(s));return o.has(c)||(o.add(c),i.push({key:c,link:s})),i},[])}function z1(){let e=v.useContext(gs);return xm(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function AT(){let e=v.useContext(fd);return xm(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Sm=v.createContext(void 0);Sm.displayName="FrameworkContext";function B1(){let e=v.useContext(Sm);return xm(e,"You must render this element inside a <HydratedRouter> element"),e}function MT(e,n){let o=v.useContext(Sm),[i,s]=v.useState(!1),[c,u]=v.useState(!1),{onFocus:p,onBlur:m,onMouseEnter:g,onMouseLeave:y,onTouchStart:b}=n,w=v.useRef(null);v.useEffect(()=>{if(e==="render"&&u(!0),e==="viewport"){let S=A=>{A.forEach(O=>{u(O.isIntersecting)})},E=new IntersectionObserver(S,{threshold:.5});return w.current&&E.observe(w.current),()=>{E.disconnect()}}},[e]),v.useEffect(()=>{if(i){let S=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(S)}}},[i]);let T=()=>{s(!0)},x=()=>{s(!1),u(!1)};return o?e!=="intent"?[c,w,{}]:[c,w,{onFocus:yl(p,T),onBlur:yl(m,x),onMouseEnter:yl(g,T),onMouseLeave:yl(y,x),onTouchStart:yl(b,T)}]:[!1,w,{}]}function yl(e,n){return o=>{e&&e(o),o.defaultPrevented||n(o)}}function kT({page:e,...n}){let{router:o}=z1(),i=v.useMemo(()=>v1(o.routes,e,o.basename),[o.routes,e,o.basename]);return i?v.createElement(zT,{page:e,matches:i,...n}):null}function OT(e){let{manifest:n,routeModules:o}=B1(),[i,s]=v.useState([]);return v.useEffect(()=>{let c=!1;return wT(e,n,o).then(u=>{c||s(u)}),()=>{c=!0}},[e,n,o]),i}function zT({page:e,matches:n,...o}){let i=Rr(),{future:s,manifest:c,routeModules:u}=B1(),{basename:p}=z1(),{loaderData:m,matches:g}=AT(),y=v.useMemo(()=>m0(e,n,g,c,i,"data"),[e,n,g,c,i]),b=v.useMemo(()=>m0(e,n,g,c,i,"assets"),[e,n,g,c,i]),w=v.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let S=new Set,E=!1;if(n.forEach(O=>{let j=c.routes[O.route.id];!j||!j.hasLoader||(!y.some(M=>M.route.id===O.route.id)&&O.route.id in m&&u[O.route.id]?.shouldRevalidate||j.hasClientLoader?E=!0:S.add(O.route.id))}),S.size===0)return[];let A=xT(e,p,s.unstable_trailingSlashAwareDataRequests,"data");return E&&S.size>0&&A.searchParams.set("_routes",n.filter(O=>S.has(O.route.id)).map(O=>O.route.id).join(",")),[A.pathname+A.search]},[p,s.unstable_trailingSlashAwareDataRequests,m,i,c,y,n,e,u]),T=v.useMemo(()=>ET(b,c),[b,c]),x=OT(b);return v.createElement(v.Fragment,null,w.map(S=>v.createElement("link",{key:S,rel:"prefetch",as:"fetch",href:S,...o})),T.map(S=>v.createElement("link",{key:S,rel:"modulepreload",href:S,...o})),x.map(({key:S,link:E})=>v.createElement("link",{key:S,nonce:o.nonce,...E})))}function BT(...e){return n=>{e.forEach(o=>{typeof o=="function"?o(n):o!=null&&(o.current=n)})}}var NT=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{NT&&(window.__reactRouterVersion="7.12.0")}catch{}function DT({basename:e,children:n,unstable_useTransitions:o,window:i}){let s=v.useRef();s.current==null&&(s.current=mE({window:i,v5Compat:!0}));let c=s.current,[u,p]=v.useState({action:c.action,location:c.location}),m=v.useCallback(g=>{o===!1?p(g):v.startTransition(()=>p(g))},[o]);return v.useLayoutEffect(()=>c.listen(m),[c,m]),v.createElement(uT,{basename:e,children:n,location:u.location,navigationType:u.action,navigator:c,unstable_useTransitions:o})}var N1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,D1=v.forwardRef(function({onClick:n,discover:o="render",prefetch:i="none",relative:s,reloadDocument:c,replace:u,state:p,target:m,to:g,preventScrollReset:y,viewTransition:b,unstable_defaultShouldRevalidate:w,...T},x){let{basename:S,unstable_useTransitions:E}=v.useContext(ir),A=typeof g=="string"&&N1.test(g),O=w1(g,S);g=O.to;let j=YE(g,{relative:s}),[M,k,N]=MT(i,T),L=UT(g,{replace:u,state:p,target:m,preventScrollReset:y,relative:s,viewTransition:b,unstable_defaultShouldRevalidate:w,unstable_useTransitions:E});function U(F){n&&n(F),F.defaultPrevented||L(F)}let $=v.createElement("a",{...T,...N,href:O.absoluteURL||j,onClick:O.isExternal||c?n:U,ref:BT(x,k),target:m,"data-discover":!A&&o==="render"?"true":void 0});return M&&!A?v.createElement(v.Fragment,null,$,v.createElement(kT,{page:j})):$});D1.displayName="Link";var LT=v.forwardRef(function({"aria-current":n="page",caseSensitive:o=!1,className:i="",end:s=!1,style:c,to:u,viewTransition:p,children:m,...g},y){let b=Ql(u,{relative:g.relative}),w=Rr(),T=v.useContext(fd),{navigator:x,basename:S}=v.useContext(ir),E=T!=null&&VT(b)&&p===!0,A=x.encodeLocation?x.encodeLocation(b).pathname:b.pathname,O=w.pathname,j=T&&T.navigation&&T.navigation.location?T.navigation.location.pathname:null;o||(O=O.toLowerCase(),j=j?j.toLowerCase():null,A=A.toLowerCase()),j&&S&&(j=Do(j,S)||j);const M=A!=="/"&&A.endsWith("/")?A.length-1:A.length;let k=O===A||!s&&O.startsWith(A)&&O.charAt(M)==="/",N=j!=null&&(j===A||!s&&j.startsWith(A)&&j.charAt(A.length)==="/"),L={isActive:k,isPending:N,isTransitioning:E},U=k?n:void 0,$;typeof i=="function"?$=i(L):$=[i,k?"active":null,N?"pending":null,E?"transitioning":null].filter(Boolean).join(" ");let F=typeof c=="function"?c(L):c;return v.createElement(D1,{...g,"aria-current":U,className:$,ref:y,style:F,to:u,viewTransition:p},typeof m=="function"?m(L):m)});LT.displayName="NavLink";var $T=v.forwardRef(({discover:e="render",fetcherKey:n,navigate:o,reloadDocument:i,replace:s,state:c,method:u=Iu,action:p,onSubmit:m,relative:g,preventScrollReset:y,viewTransition:b,unstable_defaultShouldRevalidate:w,...T},x)=>{let{unstable_useTransitions:S}=v.useContext(ir),E=HT(),A=FT(p,{relative:g}),O=u.toLowerCase()==="get"?"get":"post",j=typeof p=="string"&&N1.test(p),M=k=>{if(m&&m(k),k.defaultPrevented)return;k.preventDefault();let N=k.nativeEvent.submitter,L=N?.getAttribute("formmethod")||u,U=()=>E(N||k.currentTarget,{fetcherKey:n,method:L,navigate:o,replace:s,state:c,relative:g,preventScrollReset:y,viewTransition:b,unstable_defaultShouldRevalidate:w});S&&o!==!1?v.startTransition(()=>U()):U()};return v.createElement("form",{ref:x,method:O,action:A,onSubmit:i?m:M,...T,"data-discover":!j&&e==="render"?"true":void 0})});$T.displayName="Form";function PT(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function L1(e){let n=v.useContext(gs);return It(n,PT(e)),n}function UT(e,{target:n,replace:o,state:i,preventScrollReset:s,relative:c,viewTransition:u,unstable_defaultShouldRevalidate:p,unstable_useTransitions:m}={}){let g=ya(),y=Rr(),b=Ql(e,{relative:c});return v.useCallback(w=>{if(gT(w,n)){w.preventDefault();let T=o!==void 0?o:Pl(y)===Pl(b),x=()=>g(e,{replace:T,state:i,preventScrollReset:s,relative:c,viewTransition:u,unstable_defaultShouldRevalidate:p});m?v.startTransition(()=>x()):x()}},[y,g,b,o,i,n,e,s,c,u,p,m])}var _T=0,IT=()=>`__${String(++_T)}__`;function HT(){let{router:e}=L1("useSubmit"),{basename:n}=v.useContext(ir),o=iT(),i=e.fetch,s=e.navigate;return v.useCallback(async(c,u={})=>{let{action:p,method:m,encType:g,formData:y,body:b}=bT(c,n);if(u.navigate===!1){let w=u.fetcherKey||IT();await i(w,o,u.action||p,{unstable_defaultShouldRevalidate:u.unstable_defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:y,body:b,formMethod:u.method||m,formEncType:u.encType||g,flushSync:u.flushSync})}else await s(u.action||p,{unstable_defaultShouldRevalidate:u.unstable_defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:y,body:b,formMethod:u.method||m,formEncType:u.encType||g,replace:u.replace,state:u.state,fromRouteId:o,flushSync:u.flushSync,viewTransition:u.viewTransition})},[i,s,n,o])}function FT(e,{relative:n}={}){let{basename:o}=v.useContext(ir),i=v.useContext(lo);It(i,"useFormAction must be used inside a RouteContext");let[s]=i.matches.slice(-1),c={...Ql(e||".",{relative:n})},u=Rr();if(e==null){c.search=u.search;let p=new URLSearchParams(c.search),m=p.getAll("index");if(m.some(y=>y==="")){p.delete("index"),m.filter(b=>b).forEach(b=>p.append("index",b));let y=p.toString();c.search=y?`?${y}`:""}}return(!e||e===".")&&s.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),o!=="/"&&(c.pathname=c.pathname==="/"?o:Bo([o,c.pathname])),Pl(c)}function VT(e,{relative:n}={}){let o=v.useContext(T1);It(o!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=L1("useViewTransitionState"),s=Ql(e,{relative:n});if(!o.isTransitioning)return!1;let c=Do(o.currentLocation.pathname,i)||o.currentLocation.pathname,u=Do(o.nextLocation.pathname,i)||o.nextLocation.pathname;return Ju(s.pathname,u)!=null||Ju(s.pathname,c)!=null}var $1=y1();const ju=pm($1),Ul={black:"#000",white:"#fff"},_i={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Ii={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Hi={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Fi={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Vi={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},vl={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},qT={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function Lo(e,...n){const o=new URL(`https://mui.com/production-error/?code=${e}`);return n.forEach(i=>o.searchParams.append("args[]",i)),`Minified MUI error #${e}; visit ${o} for the full message.`}const Zr="$$material";function ed(){return ed=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var i in o)({}).hasOwnProperty.call(o,i)&&(e[i]=o[i])}return e},ed.apply(null,arguments)}function WT(e){if(e.sheet)return e.sheet;for(var n=0;n<document.styleSheets.length;n++)if(document.styleSheets[n].ownerNode===e)return document.styleSheets[n]}function GT(e){var n=document.createElement("style");return n.setAttribute("data-emotion",e.key),e.nonce!==void 0&&n.setAttribute("nonce",e.nonce),n.appendChild(document.createTextNode("")),n.setAttribute("data-s",""),n}var KT=(function(){function e(o){var i=this;this._insertTag=function(s){var c;i.tags.length===0?i.insertionPoint?c=i.insertionPoint.nextSibling:i.prepend?c=i.container.firstChild:c=i.before:c=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(s,c),i.tags.push(s)},this.isSpeedy=o.speedy===void 0?!0:o.speedy,this.tags=[],this.ctr=0,this.nonce=o.nonce,this.key=o.key,this.container=o.container,this.prepend=o.prepend,this.insertionPoint=o.insertionPoint,this.before=null}var n=e.prototype;return n.hydrate=function(i){i.forEach(this._insertTag)},n.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(GT(this));var s=this.tags[this.tags.length-1];if(this.isSpeedy){var c=WT(s);try{c.insertRule(i,c.cssRules.length)}catch{}}else s.appendChild(document.createTextNode(i));this.ctr++},n.flush=function(){this.tags.forEach(function(i){var s;return(s=i.parentNode)==null?void 0:s.removeChild(i)}),this.tags=[],this.ctr=0},e})(),jn="-ms-",td="-moz-",gt="-webkit-",P1="comm",Cm="rule",wm="decl",YT="@import",U1="@keyframes",XT="@layer",QT=Math.abs,hd=String.fromCharCode,ZT=Object.assign;function JT(e,n){return wn(e,0)^45?(((n<<2^wn(e,0))<<2^wn(e,1))<<2^wn(e,2))<<2^wn(e,3):0}function _1(e){return e.trim()}function eR(e,n){return(e=n.exec(e))?e[0]:e}function yt(e,n,o){return e.replace(n,o)}function Nh(e,n){return e.indexOf(n)}function wn(e,n){return e.charCodeAt(n)|0}function _l(e,n,o){return e.slice(n,o)}function Kr(e){return e.length}function Em(e){return e.length}function Au(e,n){return n.push(e),e}function tR(e,n){return e.map(n).join("")}var md=1,os=1,I1=0,Kn=0,dn=0,vs="";function gd(e,n,o,i,s,c,u){return{value:e,root:n,parent:o,type:i,props:s,children:c,line:md,column:os,length:u,return:""}}function bl(e,n){return ZT(gd("",null,null,"",null,null,0),e,{length:-e.length},n)}function nR(){return dn}function rR(){return dn=Kn>0?wn(vs,--Kn):0,os--,dn===10&&(os=1,md--),dn}function or(){return dn=Kn<I1?wn(vs,Kn++):0,os++,dn===10&&(os=1,md++),dn}function Jr(){return wn(vs,Kn)}function Fu(){return Kn}function Zl(e,n){return _l(vs,e,n)}function Il(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function H1(e){return md=os=1,I1=Kr(vs=e),Kn=0,[]}function F1(e){return vs="",e}function Vu(e){return _1(Zl(Kn-1,Dh(e===91?e+2:e===40?e+1:e)))}function oR(e){for(;(dn=Jr())&&dn<33;)or();return Il(e)>2||Il(dn)>3?"":" "}function aR(e,n){for(;--n&&or()&&!(dn<48||dn>102||dn>57&&dn<65||dn>70&&dn<97););return Zl(e,Fu()+(n<6&&Jr()==32&&or()==32))}function Dh(e){for(;or();)switch(dn){case e:return Kn;case 34:case 39:e!==34&&e!==39&&Dh(dn);break;case 40:e===41&&Dh(e);break;case 92:or();break}return Kn}function iR(e,n){for(;or()&&e+dn!==57;)if(e+dn===84&&Jr()===47)break;return"/*"+Zl(n,Kn-1)+"*"+hd(e===47?e:or())}function sR(e){for(;!Il(Jr());)or();return Zl(e,Kn)}function lR(e){return F1(qu("",null,null,null,[""],e=H1(e),0,[0],e))}function qu(e,n,o,i,s,c,u,p,m){for(var g=0,y=0,b=u,w=0,T=0,x=0,S=1,E=1,A=1,O=0,j="",M=s,k=c,N=i,L=j;E;)switch(x=O,O=or()){case 40:if(x!=108&&wn(L,b-1)==58){Nh(L+=yt(Vu(O),"&","&\f"),"&\f")!=-1&&(A=-1);break}case 34:case 39:case 91:L+=Vu(O);break;case 9:case 10:case 13:case 32:L+=oR(x);break;case 92:L+=aR(Fu()-1,7);continue;case 47:switch(Jr()){case 42:case 47:Au(cR(iR(or(),Fu()),n,o),m);break;default:L+="/"}break;case 123*S:p[g++]=Kr(L)*A;case 125*S:case 59:case 0:switch(O){case 0:case 125:E=0;case 59+y:A==-1&&(L=yt(L,/\f/g,"")),T>0&&Kr(L)-b&&Au(T>32?y0(L+";",i,o,b-1):y0(yt(L," ","")+";",i,o,b-2),m);break;case 59:L+=";";default:if(Au(N=g0(L,n,o,g,y,s,p,j,M=[],k=[],b),c),O===123)if(y===0)qu(L,n,N,N,M,c,b,p,k);else switch(w===99&&wn(L,3)===110?100:w){case 100:case 108:case 109:case 115:qu(e,N,N,i&&Au(g0(e,N,N,0,0,s,p,j,s,M=[],b),k),s,k,b,p,i?M:k);break;default:qu(L,N,N,N,[""],k,0,p,k)}}g=y=T=0,S=A=1,j=L="",b=u;break;case 58:b=1+Kr(L),T=x;default:if(S<1){if(O==123)--S;else if(O==125&&S++==0&&rR()==125)continue}switch(L+=hd(O),O*S){case 38:A=y>0?1:(L+="\f",-1);break;case 44:p[g++]=(Kr(L)-1)*A,A=1;break;case 64:Jr()===45&&(L+=Vu(or())),w=Jr(),y=b=Kr(j=L+=sR(Fu())),O++;break;case 45:x===45&&Kr(L)==2&&(S=0)}}return c}function g0(e,n,o,i,s,c,u,p,m,g,y){for(var b=s-1,w=s===0?c:[""],T=Em(w),x=0,S=0,E=0;x<i;++x)for(var A=0,O=_l(e,b+1,b=QT(S=u[x])),j=e;A<T;++A)(j=_1(S>0?w[A]+" "+O:yt(O,/&\f/g,w[A])))&&(m[E++]=j);return gd(e,n,o,s===0?Cm:p,m,g,y)}function cR(e,n,o){return gd(e,n,o,P1,hd(nR()),_l(e,2,-2),0)}function y0(e,n,o,i){return gd(e,n,o,wm,_l(e,0,i),_l(e,i+1,-1),i)}function es(e,n){for(var o="",i=Em(e),s=0;s<i;s++)o+=n(e[s],s,e,n)||"";return o}function uR(e,n,o,i){switch(e.type){case XT:if(e.children.length)break;case YT:case wm:return e.return=e.return||e.value;case P1:return"";case U1:return e.return=e.value+"{"+es(e.children,i)+"}";case Cm:e.value=e.props.join(",")}return Kr(o=es(e.children,i))?e.return=e.value+"{"+o+"}":""}function dR(e){var n=Em(e);return function(o,i,s,c){for(var u="",p=0;p<n;p++)u+=e[p](o,i,s,c)||"";return u}}function fR(e){return function(n){n.root||(n=n.return)&&e(n)}}function V1(e){var n=Object.create(null);return function(o){return n[o]===void 0&&(n[o]=e(o)),n[o]}}var pR=function(n,o,i){for(var s=0,c=0;s=c,c=Jr(),s===38&&c===12&&(o[i]=1),!Il(c);)or();return Zl(n,Kn)},hR=function(n,o){var i=-1,s=44;do switch(Il(s)){case 0:s===38&&Jr()===12&&(o[i]=1),n[i]+=pR(Kn-1,o,i);break;case 2:n[i]+=Vu(s);break;case 4:if(s===44){n[++i]=Jr()===58?"&\f":"",o[i]=n[i].length;break}default:n[i]+=hd(s)}while(s=or());return n},mR=function(n,o){return F1(hR(H1(n),o))},v0=new WeakMap,gR=function(n){if(!(n.type!=="rule"||!n.parent||n.length<1)){for(var o=n.value,i=n.parent,s=n.column===i.column&&n.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(n.props.length===1&&o.charCodeAt(0)!==58&&!v0.get(i))&&!s){v0.set(n,!0);for(var c=[],u=mR(o,c),p=i.props,m=0,g=0;m<u.length;m++)for(var y=0;y<p.length;y++,g++)n.props[g]=c[m]?u[m].replace(/&\f/g,p[y]):p[y]+" "+u[m]}}},yR=function(n){if(n.type==="decl"){var o=n.value;o.charCodeAt(0)===108&&o.charCodeAt(2)===98&&(n.return="",n.value="")}};function q1(e,n){switch(JT(e,n)){case 5103:return gt+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return gt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return gt+e+td+e+jn+e+e;case 6828:case 4268:return gt+e+jn+e+e;case 6165:return gt+e+jn+"flex-"+e+e;case 5187:return gt+e+yt(e,/(\w+).+(:[^]+)/,gt+"box-$1$2"+jn+"flex-$1$2")+e;case 5443:return gt+e+jn+"flex-item-"+yt(e,/flex-|-self/,"")+e;case 4675:return gt+e+jn+"flex-line-pack"+yt(e,/align-content|flex-|-self/,"")+e;case 5548:return gt+e+jn+yt(e,"shrink","negative")+e;case 5292:return gt+e+jn+yt(e,"basis","preferred-size")+e;case 6060:return gt+"box-"+yt(e,"-grow","")+gt+e+jn+yt(e,"grow","positive")+e;case 4554:return gt+yt(e,/([^-])(transform)/g,"$1"+gt+"$2")+e;case 6187:return yt(yt(yt(e,/(zoom-|grab)/,gt+"$1"),/(image-set)/,gt+"$1"),e,"")+e;case 5495:case 3959:return yt(e,/(image-set\([^]*)/,gt+"$1$`$1");case 4968:return yt(yt(e,/(.+:)(flex-)?(.*)/,gt+"box-pack:$3"+jn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+gt+e+e;case 4095:case 3583:case 4068:case 2532:return yt(e,/(.+)-inline(.+)/,gt+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Kr(e)-1-n>6)switch(wn(e,n+1)){case 109:if(wn(e,n+4)!==45)break;case 102:return yt(e,/(.+:)(.+)-([^]+)/,"$1"+gt+"$2-$3$1"+td+(wn(e,n+3)==108?"$3":"$2-$3"))+e;case 115:return~Nh(e,"stretch")?q1(yt(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(wn(e,n+1)!==115)break;case 6444:switch(wn(e,Kr(e)-3-(~Nh(e,"!important")&&10))){case 107:return yt(e,":",":"+gt)+e;case 101:return yt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+gt+(wn(e,14)===45?"inline-":"")+"box$3$1"+gt+"$2$3$1"+jn+"$2box$3")+e}break;case 5936:switch(wn(e,n+11)){case 114:return gt+e+jn+yt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return gt+e+jn+yt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return gt+e+jn+yt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return gt+e+jn+e+e}return e}var vR=function(n,o,i,s){if(n.length>-1&&!n.return)switch(n.type){case wm:n.return=q1(n.value,n.length);break;case U1:return es([bl(n,{value:yt(n.value,"@","@"+gt)})],s);case Cm:if(n.length)return tR(n.props,function(c){switch(eR(c,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return es([bl(n,{props:[yt(c,/:(read-\w+)/,":"+td+"$1")]})],s);case"::placeholder":return es([bl(n,{props:[yt(c,/:(plac\w+)/,":"+gt+"input-$1")]}),bl(n,{props:[yt(c,/:(plac\w+)/,":"+td+"$1")]}),bl(n,{props:[yt(c,/:(plac\w+)/,jn+"input-$1")]})],s)}return""})}},bR=[vR],xR=function(n){var o=n.key;if(o==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(S){var E=S.getAttribute("data-emotion");E.indexOf(" ")!==-1&&(document.head.appendChild(S),S.setAttribute("data-s",""))})}var s=n.stylisPlugins||bR,c={},u,p=[];u=n.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+o+' "]'),function(S){for(var E=S.getAttribute("data-emotion").split(" "),A=1;A<E.length;A++)c[E[A]]=!0;p.push(S)});var m,g=[gR,yR];{var y,b=[uR,fR(function(S){y.insert(S)})],w=dR(g.concat(s,b)),T=function(E){return es(lR(E),w)};m=function(E,A,O,j){y=O,T(E?E+"{"+A.styles+"}":A.styles),j&&(x.inserted[A.name]=!0)}}var x={key:o,sheet:new KT({key:o,container:u,nonce:n.nonce,speedy:n.speedy,prepend:n.prepend,insertionPoint:n.insertionPoint}),nonce:n.nonce,inserted:c,registered:{},insert:m};return x.sheet.hydrate(p),x},uh={exports:{}},bt={};var b0;function SR(){if(b0)return bt;b0=1;var e=typeof Symbol=="function"&&Symbol.for,n=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,u=e?Symbol.for("react.provider"):60109,p=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,g=e?Symbol.for("react.concurrent_mode"):60111,y=e?Symbol.for("react.forward_ref"):60112,b=e?Symbol.for("react.suspense"):60113,w=e?Symbol.for("react.suspense_list"):60120,T=e?Symbol.for("react.memo"):60115,x=e?Symbol.for("react.lazy"):60116,S=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,A=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function j(k){if(typeof k=="object"&&k!==null){var N=k.$$typeof;switch(N){case n:switch(k=k.type,k){case m:case g:case i:case c:case s:case b:return k;default:switch(k=k&&k.$$typeof,k){case p:case y:case x:case T:case u:return k;default:return N}}case o:return N}}}function M(k){return j(k)===g}return bt.AsyncMode=m,bt.ConcurrentMode=g,bt.ContextConsumer=p,bt.ContextProvider=u,bt.Element=n,bt.ForwardRef=y,bt.Fragment=i,bt.Lazy=x,bt.Memo=T,bt.Portal=o,bt.Profiler=c,bt.StrictMode=s,bt.Suspense=b,bt.isAsyncMode=function(k){return M(k)||j(k)===m},bt.isConcurrentMode=M,bt.isContextConsumer=function(k){return j(k)===p},bt.isContextProvider=function(k){return j(k)===u},bt.isElement=function(k){return typeof k=="object"&&k!==null&&k.$$typeof===n},bt.isForwardRef=function(k){return j(k)===y},bt.isFragment=function(k){return j(k)===i},bt.isLazy=function(k){return j(k)===x},bt.isMemo=function(k){return j(k)===T},bt.isPortal=function(k){return j(k)===o},bt.isProfiler=function(k){return j(k)===c},bt.isStrictMode=function(k){return j(k)===s},bt.isSuspense=function(k){return j(k)===b},bt.isValidElementType=function(k){return typeof k=="string"||typeof k=="function"||k===i||k===g||k===c||k===s||k===b||k===w||typeof k=="object"&&k!==null&&(k.$$typeof===x||k.$$typeof===T||k.$$typeof===u||k.$$typeof===p||k.$$typeof===y||k.$$typeof===E||k.$$typeof===A||k.$$typeof===O||k.$$typeof===S)},bt.typeOf=j,bt}var x0;function CR(){return x0||(x0=1,uh.exports=SR()),uh.exports}var dh,S0;function wR(){if(S0)return dh;S0=1;var e=CR(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};c[e.ForwardRef]=i,c[e.Memo]=s;function u(x){return e.isMemo(x)?s:c[x.$$typeof]||n}var p=Object.defineProperty,m=Object.getOwnPropertyNames,g=Object.getOwnPropertySymbols,y=Object.getOwnPropertyDescriptor,b=Object.getPrototypeOf,w=Object.prototype;function T(x,S,E){if(typeof S!="string"){if(w){var A=b(S);A&&A!==w&&T(x,A,E)}var O=m(S);g&&(O=O.concat(g(S)));for(var j=u(x),M=u(S),k=0;k<O.length;++k){var N=O[k];if(!o[N]&&!(E&&E[N])&&!(M&&M[N])&&!(j&&j[N])){var L=y(S,N);try{p(x,N,L)}catch{}}}}return x}return dh=T,dh}wR();var ER=!0;function W1(e,n,o){var i="";return o.split(" ").forEach(function(s){e[s]!==void 0?n.push(e[s]+";"):s&&(i+=s+" ")}),i}var Tm=function(n,o,i){var s=n.key+"-"+o.name;(i===!1||ER===!1)&&n.registered[s]===void 0&&(n.registered[s]=o.styles)},Rm=function(n,o,i){Tm(n,o,i);var s=n.key+"-"+o.name;if(n.inserted[o.name]===void 0){var c=o;do n.insert(o===c?"."+s:"",c,n.sheet,!0),c=c.next;while(c!==void 0)}};function TR(e){for(var n=0,o,i=0,s=e.length;s>=4;++i,s-=4)o=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,o=(o&65535)*1540483477+((o>>>16)*59797<<16),o^=o>>>24,n=(o&65535)*1540483477+((o>>>16)*59797<<16)^(n&65535)*1540483477+((n>>>16)*59797<<16);switch(s){case 3:n^=(e.charCodeAt(i+2)&255)<<16;case 2:n^=(e.charCodeAt(i+1)&255)<<8;case 1:n^=e.charCodeAt(i)&255,n=(n&65535)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,n=(n&65535)*1540483477+((n>>>16)*59797<<16),((n^n>>>15)>>>0).toString(36)}var RR={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},jR=/[A-Z]|^ms/g,AR=/_EMO_([^_]+?)_([^]*?)_EMO_/g,G1=function(n){return n.charCodeAt(1)===45},C0=function(n){return n!=null&&typeof n!="boolean"},fh=V1(function(e){return G1(e)?e:e.replace(jR,"-$&").toLowerCase()}),w0=function(n,o){switch(n){case"animation":case"animationName":if(typeof o=="string")return o.replace(AR,function(i,s,c){return Yr={name:s,styles:c,next:Yr},s})}return RR[n]!==1&&!G1(n)&&typeof o=="number"&&o!==0?o+"px":o};function Hl(e,n,o){if(o==null)return"";var i=o;if(i.__emotion_styles!==void 0)return i;switch(typeof o){case"boolean":return"";case"object":{var s=o;if(s.anim===1)return Yr={name:s.name,styles:s.styles,next:Yr},s.name;var c=o;if(c.styles!==void 0){var u=c.next;if(u!==void 0)for(;u!==void 0;)Yr={name:u.name,styles:u.styles,next:Yr},u=u.next;var p=c.styles+";";return p}return MR(e,n,o)}case"function":{if(e!==void 0){var m=Yr,g=o(e);return Yr=m,Hl(e,n,g)}break}}var y=o;if(n==null)return y;var b=n[y];return b!==void 0?b:y}function MR(e,n,o){var i="";if(Array.isArray(o))for(var s=0;s<o.length;s++)i+=Hl(e,n,o[s])+";";else for(var c in o){var u=o[c];if(typeof u!="object"){var p=u;n!=null&&n[p]!==void 0?i+=c+"{"+n[p]+"}":C0(p)&&(i+=fh(c)+":"+w0(c,p)+";")}else if(Array.isArray(u)&&typeof u[0]=="string"&&(n==null||n[u[0]]===void 0))for(var m=0;m<u.length;m++)C0(u[m])&&(i+=fh(c)+":"+w0(c,u[m])+";");else{var g=Hl(e,n,u);switch(c){case"animation":case"animationName":{i+=fh(c)+":"+g+";";break}default:i+=c+"{"+g+"}"}}}return i}var E0=/label:\s*([^\s;{]+)\s*(;|$)/g,Yr;function Jl(e,n,o){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var i=!0,s="";Yr=void 0;var c=e[0];if(c==null||c.raw===void 0)i=!1,s+=Hl(o,n,c);else{var u=c;s+=u[0]}for(var p=1;p<e.length;p++)if(s+=Hl(o,n,e[p]),i){var m=c;s+=m[p]}E0.lastIndex=0;for(var g="",y;(y=E0.exec(s))!==null;)g+="-"+y[1];var b=TR(s)+g;return{name:b,styles:s,next:Yr}}var kR=function(n){return n()},K1=kh.useInsertionEffect?kh.useInsertionEffect:!1,Y1=K1||kR,T0=K1||v.useLayoutEffect,X1=v.createContext(typeof HTMLElement<"u"?xR({key:"css"}):null);X1.Provider;var jm=function(n){return v.forwardRef(function(o,i){var s=v.useContext(X1);return n(o,s,i)})},ec=v.createContext({}),Am={}.hasOwnProperty,Lh="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",OR=function(n,o){var i={};for(var s in o)Am.call(o,s)&&(i[s]=o[s]);return i[Lh]=n,i},zR=function(n){var o=n.cache,i=n.serialized,s=n.isStringTag;return Tm(o,i,s),Y1(function(){return Rm(o,i,s)}),null},BR=jm(function(e,n,o){var i=e.css;typeof i=="string"&&n.registered[i]!==void 0&&(i=n.registered[i]);var s=e[Lh],c=[i],u="";typeof e.className=="string"?u=W1(n.registered,c,e.className):e.className!=null&&(u=e.className+" ");var p=Jl(c,void 0,v.useContext(ec));u+=n.key+"-"+p.name;var m={};for(var g in e)Am.call(e,g)&&g!=="css"&&g!==Lh&&(m[g]=e[g]);return m.className=u,o&&(m.ref=o),v.createElement(v.Fragment,null,v.createElement(zR,{cache:n,serialized:p,isStringTag:typeof s=="string"}),v.createElement(s,m))}),NR=BR,R0=function(n,o){var i=arguments;if(o==null||!Am.call(o,"css"))return v.createElement.apply(void 0,i);var s=i.length,c=new Array(s);c[0]=NR,c[1]=OR(n,o);for(var u=2;u<s;u++)c[u]=i[u];return v.createElement.apply(null,c)};(function(e){var n;n||(n=e.JSX||(e.JSX={}))})(R0||(R0={}));var DR=jm(function(e,n){var o=e.styles,i=Jl([o],void 0,v.useContext(ec)),s=v.useRef();return T0(function(){var c=n.key+"-global",u=new n.sheet.constructor({key:c,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),p=!1,m=document.querySelector('style[data-emotion="'+c+" "+i.name+'"]');return n.sheet.tags.length&&(u.before=n.sheet.tags[0]),m!==null&&(p=!0,m.setAttribute("data-emotion",c),u.hydrate([m])),s.current=[u,p],function(){u.flush()}},[n]),T0(function(){var c=s.current,u=c[0],p=c[1];if(p){c[1]=!1;return}if(i.next!==void 0&&Rm(n,i.next,!0),u.tags.length){var m=u.tags[u.tags.length-1].nextElementSibling;u.before=m,u.flush()}n.insert("",i,u,!1)},[n,i.name]),null});function bs(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return Jl(n)}function va(){var e=bs.apply(void 0,arguments),n="animation-"+e.name;return{name:n,styles:"@keyframes "+n+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var LR=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,$R=V1(function(e){return LR.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),PR=$R,UR=function(n){return n!=="theme"},j0=function(n){return typeof n=="string"&&n.charCodeAt(0)>96?PR:UR},A0=function(n,o,i){var s;if(o){var c=o.shouldForwardProp;s=n.__emotion_forwardProp&&c?function(u){return n.__emotion_forwardProp(u)&&c(u)}:c}return typeof s!="function"&&i&&(s=n.__emotion_forwardProp),s},_R=function(n){var o=n.cache,i=n.serialized,s=n.isStringTag;return Tm(o,i,s),Y1(function(){return Rm(o,i,s)}),null},IR=function e(n,o){var i=n.__emotion_real===n,s=i&&n.__emotion_base||n,c,u;o!==void 0&&(c=o.label,u=o.target);var p=A0(n,o,i),m=p||j0(s),g=!m("as");return function(){var y=arguments,b=i&&n.__emotion_styles!==void 0?n.__emotion_styles.slice(0):[];if(c!==void 0&&b.push("label:"+c+";"),y[0]==null||y[0].raw===void 0)b.push.apply(b,y);else{var w=y[0];b.push(w[0]);for(var T=y.length,x=1;x<T;x++)b.push(y[x],w[x])}var S=jm(function(E,A,O){var j=g&&E.as||s,M="",k=[],N=E;if(E.theme==null){N={};for(var L in E)N[L]=E[L];N.theme=v.useContext(ec)}typeof E.className=="string"?M=W1(A.registered,k,E.className):E.className!=null&&(M=E.className+" ");var U=Jl(b.concat(k),A.registered,N);M+=A.key+"-"+U.name,u!==void 0&&(M+=" "+u);var $=g&&p===void 0?j0(j):m,F={};for(var q in E)g&&q==="as"||$(q)&&(F[q]=E[q]);return F.className=M,O&&(F.ref=O),v.createElement(v.Fragment,null,v.createElement(_R,{cache:A,serialized:U,isStringTag:typeof j=="string"}),v.createElement(j,F))});return S.displayName=c!==void 0?c:"Styled("+(typeof s=="string"?s:s.displayName||s.name||"Component")+")",S.defaultProps=n.defaultProps,S.__emotion_real=S,S.__emotion_base=s,S.__emotion_styles=b,S.__emotion_forwardProp=p,Object.defineProperty(S,"toString",{value:function(){return"."+u}}),S.withComponent=function(E,A){var O=e(E,ed({},o,A,{shouldForwardProp:A0(S,A,!0)}));return O.apply(void 0,b)},S}},HR=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],$h=IR.bind(null);HR.forEach(function(e){$h[e]=$h(e)});function FR(e){return e==null||Object.keys(e).length===0}function Q1(e){const{styles:n,defaultTheme:o={}}=e,i=typeof n=="function"?s=>n(FR(s)?o:s):n;return d.jsx(DR,{styles:i})}function Z1(e,n){return $h(e,n)}function VR(e,n){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=n(e.__emotion_styles))}const M0=[];function ha(e){return M0[0]=e,Jl(M0)}var ph={exports:{}},At={};var k0;function qR(){if(k0)return At;k0=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),w=Symbol.for("react.view_transition"),T=Symbol.for("react.client.reference");function x(S){if(typeof S=="object"&&S!==null){var E=S.$$typeof;switch(E){case e:switch(S=S.type,S){case o:case s:case i:case m:case g:case w:return S;default:switch(S=S&&S.$$typeof,S){case u:case p:case b:case y:return S;case c:return S;default:return E}}case n:return E}}}return At.ContextConsumer=c,At.ContextProvider=u,At.Element=e,At.ForwardRef=p,At.Fragment=o,At.Lazy=b,At.Memo=y,At.Portal=n,At.Profiler=s,At.StrictMode=i,At.Suspense=m,At.SuspenseList=g,At.isContextConsumer=function(S){return x(S)===c},At.isContextProvider=function(S){return x(S)===u},At.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===e},At.isForwardRef=function(S){return x(S)===p},At.isFragment=function(S){return x(S)===o},At.isLazy=function(S){return x(S)===b},At.isMemo=function(S){return x(S)===y},At.isPortal=function(S){return x(S)===n},At.isProfiler=function(S){return x(S)===s},At.isStrictMode=function(S){return x(S)===i},At.isSuspense=function(S){return x(S)===m},At.isSuspenseList=function(S){return x(S)===g},At.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===o||S===s||S===i||S===m||S===g||typeof S=="object"&&S!==null&&(S.$$typeof===b||S.$$typeof===y||S.$$typeof===u||S.$$typeof===c||S.$$typeof===p||S.$$typeof===T||S.getModuleId!==void 0)},At.typeOf=x,At}var O0;function WR(){return O0||(O0=1,ph.exports=qR()),ph.exports}var J1=WR();function Qr(e){if(typeof e!="object"||e===null)return!1;const n=Object.getPrototypeOf(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function eS(e){if(v.isValidElement(e)||J1.isValidElementType(e)||!Qr(e))return e;const n={};return Object.keys(e).forEach(o=>{n[o]=eS(e[o])}),n}function Mn(e,n,o={clone:!0}){const i=o.clone?{...e}:e;return Qr(e)&&Qr(n)&&Object.keys(n).forEach(s=>{v.isValidElement(n[s])||J1.isValidElementType(n[s])?i[s]=n[s]:Qr(n[s])&&Object.prototype.hasOwnProperty.call(e,s)&&Qr(e[s])?i[s]=Mn(e[s],n[s],o):o.clone?i[s]=Qr(n[s])?eS(n[s]):n[s]:i[s]=n[s]}),i}const GR=e=>{const n=Object.keys(e).map(o=>({key:o,val:e[o]}))||[];return n.sort((o,i)=>o.val-i.val),n.reduce((o,i)=>({...o,[i.key]:i.val}),{})};function KR(e){const{values:n={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:i=5,...s}=e,c=GR(n),u=Object.keys(c);function p(w){return`@media (min-width:${typeof n[w]=="number"?n[w]:w}${o})`}function m(w){return`@media (max-width:${(typeof n[w]=="number"?n[w]:w)-i/100}${o})`}function g(w,T){const x=u.indexOf(T);return`@media (min-width:${typeof n[w]=="number"?n[w]:w}${o}) and (max-width:${(x!==-1&&typeof n[u[x]]=="number"?n[u[x]]:T)-i/100}${o})`}function y(w){return u.indexOf(w)+1<u.length?g(w,u[u.indexOf(w)+1]):p(w)}function b(w){const T=u.indexOf(w);return T===0?p(u[1]):T===u.length-1?m(u[T]):g(w,u[u.indexOf(w)+1]).replace("@media","@media not all and")}return{keys:u,values:c,up:p,down:m,between:g,only:y,not:b,unit:o,...s}}function z0(e,n){if(!e.containerQueries)return n;const o=Object.keys(n).filter(i=>i.startsWith("@container")).sort((i,s)=>{const c=/min-width:\s*([0-9.]+)/;return+(i.match(c)?.[1]||0)-+(s.match(c)?.[1]||0)});return o.length?o.reduce((i,s)=>{const c=n[s];return delete i[s],i[s]=c,i},{...n}):n}function YR(e,n){return n==="@"||n.startsWith("@")&&(e.some(o=>n.startsWith(`@${o}`))||!!n.match(/^@\d/))}function XR(e,n){const o=n.match(/^@([^/]+)?\/?(.+)?$/);if(!o)return null;const[,i,s]=o,c=Number.isNaN(+i)?i||0:+i;return e.containerQueries(s).up(c)}function QR(e){const n=(c,u)=>c.replace("@media",u?`@container ${u}`:"@container");function o(c,u){c.up=(...p)=>n(e.breakpoints.up(...p),u),c.down=(...p)=>n(e.breakpoints.down(...p),u),c.between=(...p)=>n(e.breakpoints.between(...p),u),c.only=(...p)=>n(e.breakpoints.only(...p),u),c.not=(...p)=>{const m=n(e.breakpoints.not(...p),u);return m.includes("not all and")?m.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):m}}const i={},s=c=>(o(i,c),i);return o(s),{...e,containerQueries:s}}const ZR={borderRadius:4};function zl(e,n){return n?Mn(e,n,{clone:!1}):e}const yd={xs:0,sm:600,md:900,lg:1200,xl:1536},B0={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${yd[e]}px)`},JR={containerQueries:e=>({up:n=>{let o=typeof n=="number"?n:yd[n]||n;return typeof o=="number"&&(o=`${o}px`),e?`@container ${e} (min-width:${o})`:`@container (min-width:${o})`}})};function $o(e,n,o){const i=e.theme||{};if(Array.isArray(n)){const c=i.breakpoints||B0;return n.reduce((u,p,m)=>(u[c.up(c.keys[m])]=o(n[m]),u),{})}if(typeof n=="object"){const c=i.breakpoints||B0;return Object.keys(n).reduce((u,p)=>{if(YR(c.keys,p)){const m=XR(i.containerQueries?i:JR,p);m&&(u[m]=o(n[p],p))}else if(Object.keys(c.values||yd).includes(p)){const m=c.up(p);u[m]=o(n[p],p)}else{const m=p;u[m]=n[m]}return u},{})}return o(n)}function ej(e={}){return e.keys?.reduce((o,i)=>{const s=e.up(i);return o[s]={},o},{})||{}}function N0(e,n){return e.reduce((o,i)=>{const s=o[i];return(!s||Object.keys(s).length===0)&&delete o[i],o},n)}function ie(e){if(typeof e!="string")throw new Error(Lo(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Xr(e,n,o=!0){if(!n||typeof n!="string")return null;if(e&&e.vars&&o){const i=`vars.${n}`.split(".").reduce((s,c)=>s&&s[c]?s[c]:null,e);if(i!=null)return i}return n.split(".").reduce((i,s)=>i&&i[s]!=null?i[s]:null,e)}function nd(e,n,o,i=o){let s;return typeof e=="function"?s=e(o):Array.isArray(e)?s=e[o]||i:s=Xr(e,o)||i,n&&(s=n(s,i,e)),s}function rn(e){const{prop:n,cssProperty:o=e.prop,themeKey:i,transform:s}=e,c=u=>{if(u[n]==null)return null;const p=u[n],m=u.theme,g=Xr(m,i)||{};return $o(u,p,b=>{let w=nd(g,s,b);return b===w&&typeof b=="string"&&(w=nd(g,s,`${n}${b==="default"?"":ie(b)}`,b)),o===!1?w:{[o]:w}})};return c.propTypes={},c.filterProps=[n],c}function tj(e){const n={};return o=>(n[o]===void 0&&(n[o]=e(o)),n[o])}const nj={m:"margin",p:"padding"},rj={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},D0={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},oj=tj(e=>{if(e.length>2)if(D0[e])e=D0[e];else return[e];const[n,o]=e.split(""),i=nj[n],s=rj[o]||"";return Array.isArray(s)?s.map(c=>i+c):[i+s]}),Mm=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],km=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Mm,...km];function tc(e,n,o,i){const s=Xr(e,n,!0)??o;return typeof s=="number"||typeof s=="string"?c=>typeof c=="string"?c:typeof s=="string"?s.startsWith("var(")&&c===0?0:s.startsWith("var(")&&c===1?s:`calc(${c} * ${s})`:s*c:Array.isArray(s)?c=>{if(typeof c=="string")return c;const u=Math.abs(c),p=s[u];return c>=0?p:typeof p=="number"?-p:typeof p=="string"&&p.startsWith("var(")?`calc(-1 * ${p})`:`-${p}`}:typeof s=="function"?s:()=>{}}function Om(e){return tc(e,"spacing",8)}function nc(e,n){return typeof n=="string"||n==null?n:e(n)}function aj(e,n){return o=>e.reduce((i,s)=>(i[s]=nc(n,o),i),{})}function ij(e,n,o,i){if(!n.includes(o))return null;const s=oj(o),c=aj(s,i),u=e[o];return $o(e,u,c)}function tS(e,n){const o=Om(e.theme);return Object.keys(e).map(i=>ij(e,n,i,o)).reduce(zl,{})}function Xt(e){return tS(e,Mm)}Xt.propTypes={};Xt.filterProps=Mm;function Qt(e){return tS(e,km)}Qt.propTypes={};Qt.filterProps=km;function nS(e=8,n=Om({spacing:e})){if(e.mui)return e;const o=(...i)=>(i.length===0?[1]:i).map(c=>{const u=n(c);return typeof u=="number"?`${u}px`:u}).join(" ");return o.mui=!0,o}function vd(...e){const n=e.reduce((i,s)=>(s.filterProps.forEach(c=>{i[c]=s}),i),{}),o=i=>Object.keys(i).reduce((s,c)=>n[c]?zl(s,n[c](i)):s,{});return o.propTypes={},o.filterProps=e.reduce((i,s)=>i.concat(s.filterProps),[]),o}function xr(e){return typeof e!="number"?e:`${e}px solid`}function jr(e,n){return rn({prop:e,themeKey:"borders",transform:n})}const sj=jr("border",xr),lj=jr("borderTop",xr),cj=jr("borderRight",xr),uj=jr("borderBottom",xr),dj=jr("borderLeft",xr),fj=jr("borderColor"),pj=jr("borderTopColor"),hj=jr("borderRightColor"),mj=jr("borderBottomColor"),gj=jr("borderLeftColor"),yj=jr("outline",xr),vj=jr("outlineColor"),bd=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const n=tc(e.theme,"shape.borderRadius",4),o=i=>({borderRadius:nc(n,i)});return $o(e,e.borderRadius,o)}return null};bd.propTypes={};bd.filterProps=["borderRadius"];vd(sj,lj,cj,uj,dj,fj,pj,hj,mj,gj,bd,yj,vj);const xd=e=>{if(e.gap!==void 0&&e.gap!==null){const n=tc(e.theme,"spacing",8),o=i=>({gap:nc(n,i)});return $o(e,e.gap,o)}return null};xd.propTypes={};xd.filterProps=["gap"];const Sd=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const n=tc(e.theme,"spacing",8),o=i=>({columnGap:nc(n,i)});return $o(e,e.columnGap,o)}return null};Sd.propTypes={};Sd.filterProps=["columnGap"];const Cd=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const n=tc(e.theme,"spacing",8),o=i=>({rowGap:nc(n,i)});return $o(e,e.rowGap,o)}return null};Cd.propTypes={};Cd.filterProps=["rowGap"];const bj=rn({prop:"gridColumn"}),xj=rn({prop:"gridRow"}),Sj=rn({prop:"gridAutoFlow"}),Cj=rn({prop:"gridAutoColumns"}),wj=rn({prop:"gridAutoRows"}),Ej=rn({prop:"gridTemplateColumns"}),Tj=rn({prop:"gridTemplateRows"}),Rj=rn({prop:"gridTemplateAreas"}),jj=rn({prop:"gridArea"});vd(xd,Sd,Cd,bj,xj,Sj,Cj,wj,Ej,Tj,Rj,jj);function ts(e,n){return n==="grey"?n:e}const Aj=rn({prop:"color",themeKey:"palette",transform:ts}),Mj=rn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ts}),kj=rn({prop:"backgroundColor",themeKey:"palette",transform:ts});vd(Aj,Mj,kj);function rr(e){return e<=1&&e!==0?`${e*100}%`:e}const Oj=rn({prop:"width",transform:rr}),zm=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const n=o=>{const i=e.theme?.breakpoints?.values?.[o]||yd[o];return i?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:rr(o)}};return $o(e,e.maxWidth,n)}return null};zm.filterProps=["maxWidth"];const zj=rn({prop:"minWidth",transform:rr}),Bj=rn({prop:"height",transform:rr}),Nj=rn({prop:"maxHeight",transform:rr}),Dj=rn({prop:"minHeight",transform:rr});rn({prop:"size",cssProperty:"width",transform:rr});rn({prop:"size",cssProperty:"height",transform:rr});const Lj=rn({prop:"boxSizing"});vd(Oj,zm,zj,Bj,Nj,Dj,Lj);const rc={border:{themeKey:"borders",transform:xr},borderTop:{themeKey:"borders",transform:xr},borderRight:{themeKey:"borders",transform:xr},borderBottom:{themeKey:"borders",transform:xr},borderLeft:{themeKey:"borders",transform:xr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:xr},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:bd},color:{themeKey:"palette",transform:ts},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ts},backgroundColor:{themeKey:"palette",transform:ts},p:{style:Qt},pt:{style:Qt},pr:{style:Qt},pb:{style:Qt},pl:{style:Qt},px:{style:Qt},py:{style:Qt},padding:{style:Qt},paddingTop:{style:Qt},paddingRight:{style:Qt},paddingBottom:{style:Qt},paddingLeft:{style:Qt},paddingX:{style:Qt},paddingY:{style:Qt},paddingInline:{style:Qt},paddingInlineStart:{style:Qt},paddingInlineEnd:{style:Qt},paddingBlock:{style:Qt},paddingBlockStart:{style:Qt},paddingBlockEnd:{style:Qt},m:{style:Xt},mt:{style:Xt},mr:{style:Xt},mb:{style:Xt},ml:{style:Xt},mx:{style:Xt},my:{style:Xt},margin:{style:Xt},marginTop:{style:Xt},marginRight:{style:Xt},marginBottom:{style:Xt},marginLeft:{style:Xt},marginX:{style:Xt},marginY:{style:Xt},marginInline:{style:Xt},marginInlineStart:{style:Xt},marginInlineEnd:{style:Xt},marginBlock:{style:Xt},marginBlockStart:{style:Xt},marginBlockEnd:{style:Xt},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:xd},rowGap:{style:Cd},columnGap:{style:Sd},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:rr},maxWidth:{style:zm},minWidth:{transform:rr},height:{transform:rr},maxHeight:{transform:rr},minHeight:{transform:rr},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function $j(...e){const n=e.reduce((i,s)=>i.concat(Object.keys(s)),[]),o=new Set(n);return e.every(i=>o.size===Object.keys(i).length)}function Pj(e,n){return typeof e=="function"?e(n):e}function Uj(){function e(o,i,s,c){const u={[o]:i,theme:s},p=c[o];if(!p)return{[o]:i};const{cssProperty:m=o,themeKey:g,transform:y,style:b}=p;if(i==null)return null;if(g==="typography"&&i==="inherit")return{[o]:i};const w=Xr(s,g)||{};return b?b(u):$o(u,i,x=>{let S=nd(w,y,x);return x===S&&typeof x=="string"&&(S=nd(w,y,`${o}${x==="default"?"":ie(x)}`,x)),m===!1?S:{[m]:S}})}function n(o){const{sx:i,theme:s={},nested:c}=o||{};if(!i)return null;const u=s.unstable_sxConfig??rc;function p(m){let g=m;if(typeof m=="function")g=m(s);else if(typeof m!="object")return m;if(!g)return null;const y=ej(s.breakpoints),b=Object.keys(y);let w=y;return Object.keys(g).forEach(T=>{const x=Pj(g[T],s);if(x!=null)if(typeof x=="object")if(u[T])w=zl(w,e(T,x,s,u));else{const S=$o({theme:s},x,E=>({[T]:E}));$j(S,x)?w[T]=n({sx:x,theme:s,nested:!0}):w=zl(w,S)}else w=zl(w,e(T,x,s,u))}),!c&&s.modularCssLayers?{"@layer sx":z0(s,N0(b,w))}:z0(s,N0(b,w))}return Array.isArray(i)?i.map(p):p(i)}return n}const ma=Uj();ma.filterProps=["sx"];function _j(e,n){const o=this;if(o.vars){if(!o.colorSchemes?.[e]||typeof o.getColorSchemeSelector!="function")return{};let i=o.getColorSchemeSelector(e);return i==="&"?n:((i.includes("data-")||i.includes("."))&&(i=`*:where(${i.replace(/\s*&$/,"")}) &`),{[i]:n})}return o.palette.mode===e?n:{}}function oc(e={},...n){const{breakpoints:o={},palette:i={},spacing:s,shape:c={},...u}=e,p=KR(o),m=nS(s);let g=Mn({breakpoints:p,direction:"ltr",components:{},palette:{mode:"light",...i},spacing:m,shape:{...ZR,...c}},u);return g=QR(g),g.applyStyles=_j,g=n.reduce((y,b)=>Mn(y,b),g),g.unstable_sxConfig={...rc,...u?.unstable_sxConfig},g.unstable_sx=function(b){return ma({sx:b,theme:this})},g}function Ij(e){return Object.keys(e).length===0}function Bm(e=null){const n=v.useContext(ec);return!n||Ij(n)?e:n}const Hj=oc();function ac(e=Hj){return Bm(e)}function hh(e){const n=ha(e);return e!==n&&n.styles?(n.styles.match(/^@layer\s+[^{]*$/)||(n.styles=`@layer global{${n.styles}}`),n):e}function rS({styles:e,themeId:n,defaultTheme:o={}}){const i=ac(o),s=n&&i[n]||i;let c=typeof e=="function"?e(s):e;return s.modularCssLayers&&(Array.isArray(c)?c=c.map(u=>hh(typeof u=="function"?u(s):u)):c=hh(c)),d.jsx(Q1,{styles:c})}const Fj=e=>{const n={systemProps:{},otherProps:{}},o=e?.theme?.unstable_sxConfig??rc;return Object.keys(e).forEach(i=>{o[i]?n.systemProps[i]=e[i]:n.otherProps[i]=e[i]}),n};function Nm(e){const{sx:n,...o}=e,{systemProps:i,otherProps:s}=Fj(o);let c;return Array.isArray(n)?c=[i,...n]:typeof n=="function"?c=(...u)=>{const p=n(...u);return Qr(p)?{...i,...p}:i}:c={...i,...n},{...s,sx:c}}const L0=e=>e,Vj=()=>{let e=L0;return{configure(n){e=n},generate(n){return e(n)},reset(){e=L0}}},oS=Vj();function aS(e){var n,o,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(n=0;n<s;n++)e[n]&&(o=aS(e[n]))&&(i&&(i+=" "),i+=o)}else for(o in e)e[o]&&(i&&(i+=" "),i+=o);return i}function ge(){for(var e,n,o=0,i="",s=arguments.length;o<s;o++)(e=arguments[o])&&(n=aS(e))&&(i&&(i+=" "),i+=n);return i}function qj(e={}){const{themeId:n,defaultTheme:o,defaultClassName:i="MuiBox-root",generateClassName:s}=e,c=Z1("div",{shouldForwardProp:p=>p!=="theme"&&p!=="sx"&&p!=="as"})(ma);return v.forwardRef(function(m,g){const y=ac(o),{className:b,component:w="div",...T}=Nm(m);return d.jsx(c,{as:w,ref:g,className:ge(b,s?s(i):i),theme:n&&y[n]||y,...T})})}const Wj={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function xe(e,n,o="Mui"){const i=Wj[n];return i?`${o}-${i}`:`${oS.generate(e)}-${n}`}function Ce(e,n,o="Mui"){const i={};return n.forEach(s=>{i[s]=xe(e,s,o)}),i}function iS(e){const{variants:n,...o}=e,i={variants:n,style:ha(o),isProcessed:!0};return i.style===o||n&&n.forEach(s=>{typeof s.style!="function"&&(s.style=ha(s.style))}),i}const Gj=oc();function mh(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function qa(e,n){return n&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${n}{${String(e.styles)}}`),e}function Kj(e){return e?(n,o)=>o[e]:null}function Yj(e,n,o){e.theme=Qj(e.theme)?o:e.theme[n]||e.theme}function Wu(e,n,o){const i=typeof n=="function"?n(e):n;if(Array.isArray(i))return i.flatMap(s=>Wu(e,s,o));if(Array.isArray(i?.variants)){let s;if(i.isProcessed)s=o?qa(i.style,o):i.style;else{const{variants:c,...u}=i;s=o?qa(ha(u),o):u}return sS(e,i.variants,[s],o)}return i?.isProcessed?o?qa(ha(i.style),o):i.style:o?qa(ha(i),o):i}function sS(e,n,o=[],i=void 0){let s;e:for(let c=0;c<n.length;c+=1){const u=n[c];if(typeof u.props=="function"){if(s??={...e,...e.ownerState,ownerState:e.ownerState},!u.props(s))continue}else for(const p in u.props)if(e[p]!==u.props[p]&&e.ownerState?.[p]!==u.props[p])continue e;typeof u.style=="function"?(s??={...e,...e.ownerState,ownerState:e.ownerState},o.push(i?qa(ha(u.style(s)),i):u.style(s))):o.push(i?qa(ha(u.style),i):u.style)}return o}function lS(e={}){const{themeId:n,defaultTheme:o=Gj,rootShouldForwardProp:i=mh,slotShouldForwardProp:s=mh}=e;function c(p){Yj(p,n,o)}return(p,m={})=>{VR(p,N=>N.filter(L=>L!==ma));const{name:g,slot:y,skipVariantsResolver:b,skipSx:w,overridesResolver:T=Kj(Jj(y)),...x}=m,S=g&&g.startsWith("Mui")||y?"components":"custom",E=b!==void 0?b:y&&y!=="Root"&&y!=="root"||!1,A=w||!1;let O=mh;y==="Root"||y==="root"?O=i:y?O=s:Zj(p)&&(O=void 0);const j=Z1(p,{shouldForwardProp:O,label:Xj(),...x}),M=N=>{if(N.__emotion_real===N)return N;if(typeof N=="function")return function(U){return Wu(U,N,U.theme.modularCssLayers?S:void 0)};if(Qr(N)){const L=iS(N);return function($){return L.variants?Wu($,L,$.theme.modularCssLayers?S:void 0):$.theme.modularCssLayers?qa(L.style,S):L.style}}return N},k=(...N)=>{const L=[],U=N.map(M),$=[];if(L.push(c),g&&T&&$.push(function(_){const W=_.theme.components?.[g]?.styleOverrides;if(!W)return null;const B={};for(const P in W)B[P]=Wu(_,W[P],_.theme.modularCssLayers?"theme":void 0);return T(_,B)}),g&&!E&&$.push(function(_){const W=_.theme?.components?.[g]?.variants;return W?sS(_,W,[],_.theme.modularCssLayers?"theme":void 0):null}),A||$.push(ma),Array.isArray(U[0])){const R=U.shift(),_=new Array(L.length).fill(""),I=new Array($.length).fill("");let W;W=[..._,...R,...I],W.raw=[..._,...R.raw,...I],L.unshift(W)}const F=[...L,...U,...$],q=j(...F);return p.muiName&&(q.muiName=p.muiName),q};return j.withConfig&&(k.withConfig=j.withConfig),k}}function Xj(e,n){return void 0}function Qj(e){for(const n in e)return!1;return!0}function Zj(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Jj(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const cS=lS();function Fl(e,n,o=!1){const i={...n};for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)){const c=s;if(c==="components"||c==="slots")i[c]={...e[c],...i[c]};else if(c==="componentsProps"||c==="slotProps"){const u=e[c],p=n[c];if(!p)i[c]=u||{};else if(!u)i[c]=p;else{i[c]={...p};for(const m in u)if(Object.prototype.hasOwnProperty.call(u,m)){const g=m;i[c][g]=Fl(u[g],p[g],o)}}}else c==="className"&&o&&n.className?i.className=ge(e?.className,n?.className):c==="style"&&o&&n.style?i.style={...e?.style,...n?.style}:i[c]===void 0&&(i[c]=e[c])}return i}function eA(e){const{theme:n,name:o,props:i}=e;return!n||!n.components||!n.components[o]||!n.components[o].defaultProps?i:Fl(n.components[o].defaultProps,i)}function uS({props:e,name:n,defaultTheme:o,themeId:i}){let s=ac(o);return i&&(s=s[i]||s),eA({theme:s,name:n,props:e})}const Yn=typeof window<"u"?v.useLayoutEffect:v.useEffect;function tA(e,n=Number.MIN_SAFE_INTEGER,o=Number.MAX_SAFE_INTEGER){return Math.max(n,Math.min(e,o))}function Dm(e,n=0,o=1){return tA(e,n,o)}function nA(e){e=e.slice(1);const n=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let o=e.match(n);return o&&o[0].length===1&&(o=o.map(i=>i+i)),o?`rgb${o.length===4?"a":""}(${o.map((i,s)=>s<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function ga(e){if(e.type)return e;if(e.charAt(0)==="#")return ga(nA(e));const n=e.indexOf("("),o=e.substring(0,n);if(!["rgb","rgba","hsl","hsla","color"].includes(o))throw new Error(Lo(9,e));let i=e.substring(n+1,e.length-1),s;if(o==="color"){if(i=i.split(" "),s=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(s))throw new Error(Lo(10,s))}else i=i.split(",");return i=i.map(c=>parseFloat(c)),{type:o,values:i,colorSpace:s}}const rA=e=>{const n=ga(e);return n.values.slice(0,3).map((o,i)=>n.type.includes("hsl")&&i!==0?`${o}%`:o).join(" ")},Al=(e,n)=>{try{return rA(e)}catch{return e}};function wd(e){const{type:n,colorSpace:o}=e;let{values:i}=e;return n.includes("rgb")?i=i.map((s,c)=>c<3?parseInt(s,10):s):n.includes("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),n.includes("color")?i=`${o} ${i.join(" ")}`:i=`${i.join(", ")}`,`${n}(${i})`}function dS(e){e=ga(e);const{values:n}=e,o=n[0],i=n[1]/100,s=n[2]/100,c=i*Math.min(s,1-s),u=(g,y=(g+o/30)%12)=>s-c*Math.max(Math.min(y-3,9-y,1),-1);let p="rgb";const m=[Math.round(u(0)*255),Math.round(u(8)*255),Math.round(u(4)*255)];return e.type==="hsla"&&(p+="a",m.push(n[3])),wd({type:p,values:m})}function Ph(e){e=ga(e);let n=e.type==="hsl"||e.type==="hsla"?ga(dS(e)).values:e.values;return n=n.map(o=>(e.type!=="color"&&(o/=255),o<=.03928?o/12.92:((o+.055)/1.055)**2.4)),Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}function oA(e,n){const o=Ph(e),i=Ph(n);return(Math.max(o,i)+.05)/(Math.min(o,i)+.05)}function Vl(e,n){return e=ga(e),n=Dm(n),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${n}`:e.values[3]=n,wd(e)}function Pa(e,n,o){try{return Vl(e,n)}catch{return e}}function Ed(e,n){if(e=ga(e),n=Dm(n),e.type.includes("hsl"))e.values[2]*=1-n;else if(e.type.includes("rgb")||e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]*=1-n;return wd(e)}function Ct(e,n,o){try{return Ed(e,n)}catch{return e}}function Td(e,n){if(e=ga(e),n=Dm(n),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*n;else if(e.type.includes("rgb"))for(let o=0;o<3;o+=1)e.values[o]+=(255-e.values[o])*n;else if(e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*n;return wd(e)}function wt(e,n,o){try{return Td(e,n)}catch{return e}}function ql(e,n=.15){return Ph(e)>.5?Ed(e,n):Td(e,n)}function Mu(e,n,o){try{return ql(e,n)}catch{return e}}const fS=v.createContext(null);function Lm(){return v.useContext(fS)}const aA=typeof Symbol=="function"&&Symbol.for,iA=aA?Symbol.for("mui.nested"):"__THEME_NESTED__";function sA(e,n){return typeof n=="function"?n(e):{...e,...n}}function lA(e){const{children:n,theme:o}=e,i=Lm(),s=v.useMemo(()=>{const c=i===null?{...o}:sA(i,o);return c!=null&&(c[iA]=i!==null),c},[o,i]);return d.jsx(fS.Provider,{value:s,children:n})}const pS=v.createContext();function cA({value:e,...n}){return d.jsx(pS.Provider,{value:e??!0,...n})}const xs=()=>v.useContext(pS)??!1,hS=v.createContext(void 0);function uA({value:e,children:n}){return d.jsx(hS.Provider,{value:e,children:n})}function dA(e){const{theme:n,name:o,props:i}=e;if(!n||!n.components||!n.components[o])return i;const s=n.components[o];return s.defaultProps?Fl(s.defaultProps,i,n.components.mergeClassNameAndStyle):!s.styleOverrides&&!s.variants?Fl(s,i,n.components.mergeClassNameAndStyle):i}function fA({props:e,name:n}){const o=v.useContext(hS);return dA({props:e,name:n,theme:{components:o}})}let $0=0;function pA(e){const[n,o]=v.useState(e),i=e||n;return v.useEffect(()=>{n==null&&($0+=1,o(`mui-${$0}`))},[n]),i}const hA={...kh},P0=hA.useId;function ei(e){if(P0!==void 0){const n=P0();return e??n}return pA(e)}function mA(e){const n=Bm(),o=ei()||"",{modularCssLayers:i}=e;let s="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!i||n!==null?s="":typeof i=="string"?s=i.replace(/mui(?!\.)/g,s):s=`@layer ${s};`,Yn(()=>{const c=document.querySelector("head");if(!c)return;const u=c.firstChild;if(s){if(u&&u.hasAttribute?.("data-mui-layer-order")&&u.getAttribute("data-mui-layer-order")===o)return;const p=document.createElement("style");p.setAttribute("data-mui-layer-order",o),p.textContent=s,c.prepend(p)}else c.querySelector(`style[data-mui-layer-order="${o}"]`)?.remove()},[s,o]),s?d.jsx(rS,{styles:s}):null}const U0={};function _0(e,n,o,i=!1){return v.useMemo(()=>{const s=e&&n[e]||n;if(typeof o=="function"){const c=o(s),u=e?{...n,[e]:c}:c;return i?()=>u:u}return e?{...n,[e]:o}:{...n,...o}},[e,n,o,i])}function mS(e){const{children:n,theme:o,themeId:i}=e,s=Bm(U0),c=Lm()||U0,u=_0(i,s,o),p=_0(i,c,o,!0),m=(i?u[i]:u).direction==="rtl",g=mA(u);return d.jsx(lA,{theme:p,children:d.jsx(ec.Provider,{value:u,children:d.jsx(cA,{value:m,children:d.jsxs(uA,{value:i?u[i].components:u.components,children:[g,n]})})})})}const I0={theme:void 0};function gA(e){let n,o;return function(s){let c=n;return(c===void 0||s.theme!==o)&&(I0.theme=s.theme,c=iS(e(I0)),n=c,o=s.theme),c}}const $m="mode",Pm="color-scheme",yA="data-color-scheme";function vA(e){const{defaultMode:n="system",defaultLightColorScheme:o="light",defaultDarkColorScheme:i="dark",modeStorageKey:s=$m,colorSchemeStorageKey:c=Pm,attribute:u=yA,colorSchemeNode:p="document.documentElement",nonce:m}=e||{};let g="",y=u;if(u==="class"&&(y=".%s"),u==="data"&&(y="[data-%s]"),y.startsWith(".")){const w=y.substring(1);g+=`${p}.classList.remove('${w}'.replace('%s', light), '${w}'.replace('%s', dark));
|
|
12
|
+
${p}.classList.add('${w}'.replace('%s', colorScheme));`}const b=y.match(/\[([^[\]]+)\]/);if(b){const[w,T]=b[1].split("=");T||(g+=`${p}.removeAttribute('${w}'.replace('%s', light));
|
|
13
|
+
${p}.removeAttribute('${w}'.replace('%s', dark));`),g+=`
|
|
14
|
+
${p}.setAttribute('${w}'.replace('%s', colorScheme), ${T?`${T}.replace('%s', colorScheme)`:'""'});`}else y!==".%s"&&(g+=`${p}.setAttribute('${y}', colorScheme);`);return d.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?m:"",dangerouslySetInnerHTML:{__html:`(function() {
|
|
15
|
+
try {
|
|
16
|
+
let colorScheme = '';
|
|
17
|
+
const mode = localStorage.getItem('${s}') || '${n}';
|
|
18
|
+
const dark = localStorage.getItem('${c}-dark') || '${i}';
|
|
19
|
+
const light = localStorage.getItem('${c}-light') || '${o}';
|
|
20
|
+
if (mode === 'system') {
|
|
21
|
+
// handle system mode
|
|
22
|
+
const mql = window.matchMedia('(prefers-color-scheme: dark)');
|
|
23
|
+
if (mql.matches) {
|
|
24
|
+
colorScheme = dark
|
|
25
|
+
} else {
|
|
26
|
+
colorScheme = light
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
if (mode === 'light') {
|
|
30
|
+
colorScheme = light;
|
|
31
|
+
}
|
|
32
|
+
if (mode === 'dark') {
|
|
33
|
+
colorScheme = dark;
|
|
34
|
+
}
|
|
35
|
+
if (colorScheme) {
|
|
36
|
+
${g}
|
|
37
|
+
}
|
|
38
|
+
} catch(e){}})();`}},"mui-color-scheme-init")}function bA(){}const xA=({key:e,storageWindow:n})=>(!n&&typeof window<"u"&&(n=window),{get(o){if(typeof window>"u")return;if(!n)return o;let i;try{i=n.localStorage.getItem(e)}catch{}return i||o},set:o=>{if(n)try{n.localStorage.setItem(e,o)}catch{}},subscribe:o=>{if(!n)return bA;const i=s=>{const c=s.newValue;s.key===e&&o(c)};return n.addEventListener("storage",i),()=>{n.removeEventListener("storage",i)}}});function gh(){}function H0(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function gS(e,n){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return n("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return n("dark")}function SA(e){return gS(e,n=>{if(n==="light")return e.lightColorScheme;if(n==="dark")return e.darkColorScheme})}function CA(e){const{defaultMode:n="light",defaultLightColorScheme:o,defaultDarkColorScheme:i,supportedColorSchemes:s=[],modeStorageKey:c=$m,colorSchemeStorageKey:u=Pm,storageWindow:p=typeof window>"u"?void 0:window,storageManager:m=xA,noSsr:g=!1}=e,y=s.join(","),b=s.length>1,w=v.useMemo(()=>m?.({key:c,storageWindow:p}),[m,c,p]),T=v.useMemo(()=>m?.({key:`${u}-light`,storageWindow:p}),[m,u,p]),x=v.useMemo(()=>m?.({key:`${u}-dark`,storageWindow:p}),[m,u,p]),[S,E]=v.useState(()=>{const U=w?.get(n)||n,$=T?.get(o)||o,F=x?.get(i)||i;return{mode:U,systemMode:H0(U),lightColorScheme:$,darkColorScheme:F}}),[A,O]=v.useState(g||!b);v.useEffect(()=>{O(!0)},[]);const j=SA(S),M=v.useCallback(U=>{E($=>{if(U===$.mode)return $;const F=U??n;return w?.set(F),{...$,mode:F,systemMode:H0(F)}})},[w,n]),k=v.useCallback(U=>{U?typeof U=="string"?U&&!y.includes(U)?console.error(`\`${U}\` does not exist in \`theme.colorSchemes\`.`):E($=>{const F={...$};return gS($,q=>{q==="light"&&(T?.set(U),F.lightColorScheme=U),q==="dark"&&(x?.set(U),F.darkColorScheme=U)}),F}):E($=>{const F={...$},q=U.light===null?o:U.light,R=U.dark===null?i:U.dark;return q&&(y.includes(q)?(F.lightColorScheme=q,T?.set(q)):console.error(`\`${q}\` does not exist in \`theme.colorSchemes\`.`)),R&&(y.includes(R)?(F.darkColorScheme=R,x?.set(R)):console.error(`\`${R}\` does not exist in \`theme.colorSchemes\`.`)),F}):E($=>(T?.set(o),x?.set(i),{...$,lightColorScheme:o,darkColorScheme:i}))},[y,T,x,o,i]),N=v.useCallback(U=>{S.mode==="system"&&E($=>{const F=U?.matches?"dark":"light";return $.systemMode===F?$:{...$,systemMode:F}})},[S.mode]),L=v.useRef(N);return L.current=N,v.useEffect(()=>{if(typeof window.matchMedia!="function"||!b)return;const U=(...F)=>L.current(...F),$=window.matchMedia("(prefers-color-scheme: dark)");return $.addListener(U),U($),()=>{$.removeListener(U)}},[b]),v.useEffect(()=>{if(b){const U=w?.subscribe(q=>{(!q||["light","dark","system"].includes(q))&&M(q||n)})||gh,$=T?.subscribe(q=>{(!q||y.match(q))&&k({light:q})})||gh,F=x?.subscribe(q=>{(!q||y.match(q))&&k({dark:q})})||gh;return()=>{U(),$(),F()}}},[k,M,y,n,p,b,w,T,x]),{...S,mode:A?S.mode:void 0,systemMode:A?S.systemMode:void 0,colorScheme:A?j:void 0,setMode:M,setColorScheme:k}}const wA="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function EA(e){const{themeId:n,theme:o={},modeStorageKey:i=$m,colorSchemeStorageKey:s=Pm,disableTransitionOnChange:c=!1,defaultColorScheme:u,resolveTheme:p}=e,m={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},g=v.createContext(void 0),y=()=>v.useContext(g)||m,b={},w={};function T(A){const{children:O,theme:j,modeStorageKey:M=i,colorSchemeStorageKey:k=s,disableTransitionOnChange:N=c,storageManager:L,storageWindow:U=typeof window>"u"?void 0:window,documentNode:$=typeof document>"u"?void 0:document,colorSchemeNode:F=typeof document>"u"?void 0:document.documentElement,disableNestedContext:q=!1,disableStyleSheetGeneration:R=!1,defaultMode:_="system",forceThemeRerender:I=!1,noSsr:W}=A,B=v.useRef(!1),P=Lm(),X=v.useContext(g),Z=!!X&&!q,pe=v.useMemo(()=>j||(typeof o=="function"?o():o),[j]),D=pe[n],H=D||pe,{colorSchemes:Q=b,components:se=w,cssVarPrefix:me}=H,fe=Object.keys(Q).filter(ht=>!!Q[ht]).join(","),ye=v.useMemo(()=>fe.split(","),[fe]),ze=typeof u=="string"?u:u.light,je=typeof u=="string"?u:u.dark,ke=Q[ze]&&Q[je]?_:Q[H.defaultColorScheme]?.palette?.mode||H.palette?.mode,{mode:De,setMode:$e,systemMode:We,lightColorScheme:be,darkColorScheme:ve,colorScheme:Ye,setColorScheme:_e}=CA({supportedColorSchemes:ye,defaultLightColorScheme:ze,defaultDarkColorScheme:je,modeStorageKey:M,colorSchemeStorageKey:k,defaultMode:ke,storageManager:L,storageWindow:U,noSsr:W});let Ie=De,Ve=Ye;Z&&(Ie=X.mode,Ve=X.colorScheme);let nt=Ve||H.defaultColorScheme;H.vars&&!I&&(nt=H.defaultColorScheme);const Je=v.useMemo(()=>{const ht=H.generateThemeVars?.()||H.vars,et={...H,components:se,colorSchemes:Q,cssVarPrefix:me,vars:ht};if(typeof et.generateSpacing=="function"&&(et.spacing=et.generateSpacing()),nt){const vt=Q[nt];vt&&typeof vt=="object"&&Object.keys(vt).forEach(kt=>{vt[kt]&&typeof vt[kt]=="object"?et[kt]={...et[kt],...vt[kt]}:et[kt]=vt[kt]})}return p?p(et):et},[H,nt,se,Q,me]),Ae=H.colorSchemeSelector;Yn(()=>{if(Ve&&F&&Ae&&Ae!=="media"){const ht=Ae;let et=Ae;if(ht==="class"&&(et=".%s"),ht==="data"&&(et="[data-%s]"),ht?.startsWith("data-")&&!ht.includes("%s")&&(et=`[${ht}="%s"]`),et.startsWith("."))F.classList.remove(...ye.map(vt=>et.substring(1).replace("%s",vt))),F.classList.add(et.substring(1).replace("%s",Ve));else{const vt=et.replace("%s",Ve).match(/\[([^\]]+)\]/);if(vt){const[kt,fn]=vt[1].split("=");fn||ye.forEach(Xe=>{F.removeAttribute(kt.replace(Ve,Xe))}),F.setAttribute(kt,fn?fn.replace(/"|'/g,""):"")}else F.setAttribute(et,Ve)}}},[Ve,Ae,F,ye]),v.useEffect(()=>{let ht;if(N&&B.current&&$){const et=$.createElement("style");et.appendChild($.createTextNode(wA)),$.head.appendChild(et),window.getComputedStyle($.body),ht=setTimeout(()=>{$.head.removeChild(et)},1)}return()=>{clearTimeout(ht)}},[Ve,N,$]),v.useEffect(()=>(B.current=!0,()=>{B.current=!1}),[]);const on=v.useMemo(()=>({allColorSchemes:ye,colorScheme:Ve,darkColorScheme:ve,lightColorScheme:be,mode:Ie,setColorScheme:_e,setMode:$e,systemMode:We}),[ye,Ve,ve,be,Ie,_e,$e,We,Je.colorSchemeSelector]);let qe=!0;(R||H.cssVariables===!1||Z&&P?.cssVarPrefix===me)&&(qe=!1);const Tn=d.jsxs(v.Fragment,{children:[d.jsx(mS,{themeId:D?n:void 0,theme:Je,children:O}),qe&&d.jsx(Q1,{styles:Je.generateStyleSheets?.()||[]})]});return Z?Tn:d.jsx(g.Provider,{value:on,children:Tn})}const x=typeof u=="string"?u:u.light,S=typeof u=="string"?u:u.dark;return{CssVarsProvider:T,useColorScheme:y,getInitColorSchemeScript:A=>vA({colorSchemeStorageKey:s,defaultLightColorScheme:x,defaultDarkColorScheme:S,modeStorageKey:i,...A})}}function TA(e=""){function n(...i){if(!i.length)return"";const s=i[0];return typeof s=="string"&&!s.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${s}${n(...i.slice(1))})`:`, ${s}`}return(i,...s)=>`var(--${e?`${e}-`:""}${i}${n(...s)})`}const F0=(e,n,o,i=[])=>{let s=e;n.forEach((c,u)=>{u===n.length-1?Array.isArray(s)?s[Number(c)]=o:s&&typeof s=="object"&&(s[c]=o):s&&typeof s=="object"&&(s[c]||(s[c]=i.includes(c)?[]:{}),s=s[c])})},RA=(e,n,o)=>{function i(s,c=[],u=[]){Object.entries(s).forEach(([p,m])=>{(!o||o&&!o([...c,p]))&&m!=null&&(typeof m=="object"&&Object.keys(m).length>0?i(m,[...c,p],Array.isArray(m)?[...u,p]:u):n([...c,p],m,u))})}i(e)},jA=(e,n)=>typeof n=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(i=>e.includes(i))||e[e.length-1].toLowerCase().includes("opacity")?n:`${n}px`:n;function yh(e,n){const{prefix:o,shouldSkipGeneratingVar:i}=n||{},s={},c={},u={};return RA(e,(p,m,g)=>{if((typeof m=="string"||typeof m=="number")&&(!i||!i(p,m))){const y=`--${o?`${o}-`:""}${p.join("-")}`,b=jA(p,m);Object.assign(s,{[y]:b}),F0(c,p,`var(${y})`,g),F0(u,p,`var(${y}, ${b})`,g)}},p=>p[0]==="vars"),{css:s,vars:c,varsWithDefaults:u}}function AA(e,n={}){const{getSelector:o=A,disableCssColorScheme:i,colorSchemeSelector:s,enableContrastVars:c}=n,{colorSchemes:u={},components:p,defaultColorScheme:m="light",...g}=e,{vars:y,css:b,varsWithDefaults:w}=yh(g,n);let T=w;const x={},{[m]:S,...E}=u;if(Object.entries(E||{}).forEach(([M,k])=>{const{vars:N,css:L,varsWithDefaults:U}=yh(k,n);T=Mn(T,U),x[M]={css:L,vars:N}}),S){const{css:M,vars:k,varsWithDefaults:N}=yh(S,n);T=Mn(T,N),x[m]={css:M,vars:k}}function A(M,k){let N=s;if(s==="class"&&(N=".%s"),s==="data"&&(N="[data-%s]"),s?.startsWith("data-")&&!s.includes("%s")&&(N=`[${s}="%s"]`),M){if(N==="media")return e.defaultColorScheme===M?":root":{[`@media (prefers-color-scheme: ${u[M]?.palette?.mode||M})`]:{":root":k}};if(N)return e.defaultColorScheme===M?`:root, ${N.replace("%s",String(M))}`:N.replace("%s",String(M))}return":root"}return{vars:T,generateThemeVars:()=>{let M={...y};return Object.entries(x).forEach(([,{vars:k}])=>{M=Mn(M,k)}),M},generateStyleSheets:()=>{const M=[],k=e.defaultColorScheme||"light";function N($,F){Object.keys(F).length&&M.push(typeof $=="string"?{[$]:{...F}}:$)}N(o(void 0,{...b}),b);const{[k]:L,...U}=x;if(L){const{css:$}=L,F=u[k]?.palette?.mode,q=!i&&F?{colorScheme:F,...$}:{...$};N(o(k,{...q}),q)}return Object.entries(U).forEach(([$,{css:F}])=>{const q=u[$]?.palette?.mode,R=!i&&q?{colorScheme:q,...F}:{...F};N(o($,{...R}),R)}),c&&M.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),M}}}function MA(e){return function(o){return e==="media"?`@media (prefers-color-scheme: ${o})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${o}"] &`:e==="class"?`.${o} &`:e==="data"?`[data-${o}] &`:`${e.replace("%s",o)} &`:"&"}}function Se(e,n,o=void 0){const i={};for(const s in e){const c=e[s];let u="",p=!0;for(let m=0;m<c.length;m+=1){const g=c[m];g&&(u+=(p===!0?"":" ")+n(g),p=!1,o&&o[g]&&(u+=" "+o[g]))}i[s]=u}return i}const kA=oc(),OA=cS("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,n[`maxWidth${ie(String(o.maxWidth))}`],o.fixed&&n.fixed,o.disableGutters&&n.disableGutters]}}),zA=e=>uS({props:e,name:"MuiContainer",defaultTheme:kA}),BA=(e,n)=>{const o=m=>xe(n,m),{classes:i,fixed:s,disableGutters:c,maxWidth:u}=e,p={root:["root",u&&`maxWidth${ie(String(u))}`,s&&"fixed",c&&"disableGutters"]};return Se(p,o,i)};function NA(e={}){const{createStyledComponent:n=OA,useThemeProps:o=zA,componentName:i="MuiContainer"}=e,s=n(({theme:u,ownerState:p})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!p.disableGutters&&{paddingLeft:u.spacing(2),paddingRight:u.spacing(2),[u.breakpoints.up("sm")]:{paddingLeft:u.spacing(3),paddingRight:u.spacing(3)}}}),({theme:u,ownerState:p})=>p.fixed&&Object.keys(u.breakpoints.values).reduce((m,g)=>{const y=g,b=u.breakpoints.values[y];return b!==0&&(m[u.breakpoints.up(y)]={maxWidth:`${b}${u.breakpoints.unit}`}),m},{}),({theme:u,ownerState:p})=>({...p.maxWidth==="xs"&&{[u.breakpoints.up("xs")]:{maxWidth:Math.max(u.breakpoints.values.xs,444)}},...p.maxWidth&&p.maxWidth!=="xs"&&{[u.breakpoints.up(p.maxWidth)]:{maxWidth:`${u.breakpoints.values[p.maxWidth]}${u.breakpoints.unit}`}}}));return v.forwardRef(function(p,m){const g=o(p),{className:y,component:b="div",disableGutters:w=!1,fixed:T=!1,maxWidth:x="lg",classes:S,...E}=g,A={...g,component:b,disableGutters:w,fixed:T,maxWidth:x},O=BA(A,i);return d.jsx(s,{as:b,ownerState:A,className:ge(O.root,y),ref:m,...E})})}function Bl(e,n){return v.isValidElement(e)&&n.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}const DA=(e,n)=>e.filter(o=>n.includes(o)),Ss=(e,n,o)=>{const i=e.keys[0];Array.isArray(n)?n.forEach((s,c)=>{o((u,p)=>{c<=e.keys.length-1&&(c===0?Object.assign(u,p):u[e.up(e.keys[c])]=p)},s)}):n&&typeof n=="object"?(Object.keys(n).length>e.keys.length?e.keys:DA(e.keys,Object.keys(n))).forEach(c=>{if(e.keys.includes(c)){const u=n[c];u!==void 0&&o((p,m)=>{i===c?Object.assign(p,m):p[e.up(c)]=m},u)}}):(typeof n=="number"||typeof n=="string")&&o((s,c)=>{Object.assign(s,c)},n)};function rd(e){return`--Grid-${e}Spacing`}function Rd(e){return`--Grid-parent-${e}Spacing`}const V0="--Grid-columns",ns="--Grid-parent-columns",LA=({theme:e,ownerState:n})=>{const o={};return Ss(e.breakpoints,n.size,(i,s)=>{let c={};s==="grow"&&(c={flexBasis:0,flexGrow:1,maxWidth:"100%"}),s==="auto"&&(c={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof s=="number"&&(c={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${s} / var(${ns}) - (var(${ns}) - ${s}) * (var(${Rd("column")}) / var(${ns})))`}),i(o,c)}),o},$A=({theme:e,ownerState:n})=>{const o={};return Ss(e.breakpoints,n.offset,(i,s)=>{let c={};s==="auto"&&(c={marginLeft:"auto"}),typeof s=="number"&&(c={marginLeft:s===0?"0px":`calc(100% * ${s} / var(${ns}) + var(${Rd("column")}) * ${s} / var(${ns}))`}),i(o,c)}),o},PA=({theme:e,ownerState:n})=>{if(!n.container)return{};const o={[V0]:12};return Ss(e.breakpoints,n.columns,(i,s)=>{const c=s??12;i(o,{[V0]:c,"> *":{[ns]:c}})}),o},UA=({theme:e,ownerState:n})=>{if(!n.container)return{};const o={};return Ss(e.breakpoints,n.rowSpacing,(i,s)=>{const c=typeof s=="string"?s:e.spacing?.(s);i(o,{[rd("row")]:c,"> *":{[Rd("row")]:c}})}),o},_A=({theme:e,ownerState:n})=>{if(!n.container)return{};const o={};return Ss(e.breakpoints,n.columnSpacing,(i,s)=>{const c=typeof s=="string"?s:e.spacing?.(s);i(o,{[rd("column")]:c,"> *":{[Rd("column")]:c}})}),o},IA=({theme:e,ownerState:n})=>{if(!n.container)return{};const o={};return Ss(e.breakpoints,n.direction,(i,s)=>{i(o,{flexDirection:s})}),o},HA=({ownerState:e})=>({minWidth:0,boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",...e.wrap&&e.wrap!=="wrap"&&{flexWrap:e.wrap},gap:`var(${rd("row")}) var(${rd("column")})`}}),FA=e=>{const n=[];return Object.entries(e).forEach(([o,i])=>{i!==!1&&i!==void 0&&n.push(`grid-${o}-${String(i)}`)}),n},VA=(e,n="xs")=>{function o(i){return i===void 0?!1:typeof i=="string"&&!Number.isNaN(Number(i))||typeof i=="number"&&i>0}if(o(e))return[`spacing-${n}-${String(e)}`];if(typeof e=="object"&&!Array.isArray(e)){const i=[];return Object.entries(e).forEach(([s,c])=>{o(c)&&i.push(`spacing-${s}-${String(c)}`)}),i}return[]},qA=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([n,o])=>`direction-${n}-${o}`):[`direction-xs-${String(e)}`];function WA(e,n){e.item!==void 0&&delete e.item,e.zeroMinWidth!==void 0&&delete e.zeroMinWidth,n.keys.forEach(o=>{e[o]!==void 0&&delete e[o]})}const GA=oc(),KA=cS("div",{name:"MuiGrid",slot:"Root"});function YA(e){return uS({props:e,name:"MuiGrid",defaultTheme:GA})}function XA(e={}){const{createStyledComponent:n=KA,useThemeProps:o=YA,useTheme:i=ac,componentName:s="MuiGrid"}=e,c=(g,y)=>{const{container:b,direction:w,spacing:T,wrap:x,size:S}=g,E={root:["root",b&&"container",x!=="wrap"&&`wrap-xs-${String(x)}`,...qA(w),...FA(S),...b?VA(T,y.breakpoints.keys[0]):[]]};return Se(E,A=>xe(s,A),{})};function u(g,y,b=()=>!0){const w={};return g===null||(Array.isArray(g)?g.forEach((T,x)=>{T!==null&&b(T)&&y.keys[x]&&(w[y.keys[x]]=T)}):typeof g=="object"?Object.keys(g).forEach(T=>{const x=g[T];x!=null&&b(x)&&(w[T]=x)}):w[y.keys[0]]=g),w}const p=n(PA,_A,UA,LA,IA,HA,$A),m=v.forwardRef(function(y,b){const w=i(),T=o(y),x=Nm(T);WA(x,w.breakpoints);const{className:S,children:E,columns:A=12,container:O=!1,component:j="div",direction:M="row",wrap:k="wrap",size:N={},offset:L={},spacing:U=0,rowSpacing:$=U,columnSpacing:F=U,unstable_level:q=0,...R}=x,_=u(N,w.breakpoints,D=>D!==!1),I=u(L,w.breakpoints),W=y.columns??(q?void 0:A),B=y.spacing??(q?void 0:U),P=y.rowSpacing??y.spacing??(q?void 0:$),X=y.columnSpacing??y.spacing??(q?void 0:F),Z={...x,level:q,columns:W,container:O,direction:M,wrap:k,spacing:B,rowSpacing:P,columnSpacing:X,size:_,offset:I},pe=c(Z,w);return d.jsx(p,{ref:b,as:j,ownerState:Z,className:ge(pe.root,S),...R,children:v.Children.map(E,D=>v.isValidElement(D)&&Bl(D,["Grid"])&&O&&D.props.container?v.cloneElement(D,{unstable_level:D.props?.unstable_level??q+1}):D)})});return m.muiName="Grid",m}function yS(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ul.white,default:Ul.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const vS=yS();function bS(){return{text:{primary:Ul.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ul.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const Uh=bS();function q0(e,n,o,i){const s=i.light||i,c=i.dark||i*1.5;e[n]||(e.hasOwnProperty(o)?e[n]=e[o]:n==="light"?e.light=Td(e.main,s):n==="dark"&&(e.dark=Ed(e.main,c)))}function W0(e,n,o,i,s){const c=s.light||s,u=s.dark||s*1.5;n[o]||(n.hasOwnProperty(i)?n[o]=n[i]:o==="light"?n.light=`color-mix(in ${e}, ${n.main}, #fff ${(c*100).toFixed(0)}%)`:o==="dark"&&(n.dark=`color-mix(in ${e}, ${n.main}, #000 ${(u*100).toFixed(0)}%)`))}function QA(e="light"){return e==="dark"?{main:Hi[200],light:Hi[50],dark:Hi[400]}:{main:Hi[700],light:Hi[400],dark:Hi[800]}}function ZA(e="light"){return e==="dark"?{main:Ii[200],light:Ii[50],dark:Ii[400]}:{main:Ii[500],light:Ii[300],dark:Ii[700]}}function JA(e="light"){return e==="dark"?{main:_i[500],light:_i[300],dark:_i[700]}:{main:_i[700],light:_i[400],dark:_i[800]}}function eM(e="light"){return e==="dark"?{main:Fi[400],light:Fi[300],dark:Fi[700]}:{main:Fi[700],light:Fi[500],dark:Fi[900]}}function tM(e="light"){return e==="dark"?{main:Vi[400],light:Vi[300],dark:Vi[700]}:{main:Vi[800],light:Vi[500],dark:Vi[900]}}function nM(e="light"){return e==="dark"?{main:vl[400],light:vl[300],dark:vl[700]}:{main:"#ed6c02",light:vl[500],dark:vl[900]}}function rM(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Um(e){const{mode:n="light",contrastThreshold:o=3,tonalOffset:i=.2,colorSpace:s,...c}=e,u=e.primary||QA(n),p=e.secondary||ZA(n),m=e.error||JA(n),g=e.info||eM(n),y=e.success||tM(n),b=e.warning||nM(n);function w(E){return s?rM(E):oA(E,Uh.text.primary)>=o?Uh.text.primary:vS.text.primary}const T=({color:E,name:A,mainShade:O=500,lightShade:j=300,darkShade:M=700})=>{if(E={...E},!E.main&&E[O]&&(E.main=E[O]),!E.hasOwnProperty("main"))throw new Error(Lo(11,A?` (${A})`:"",O));if(typeof E.main!="string")throw new Error(Lo(12,A?` (${A})`:"",JSON.stringify(E.main)));return s?(W0(s,E,"light",j,i),W0(s,E,"dark",M,i)):(q0(E,"light",j,i),q0(E,"dark",M,i)),E.contrastText||(E.contrastText=w(E.main)),E};let x;return n==="light"?x=yS():n==="dark"&&(x=bS()),Mn({common:{...Ul},mode:n,primary:T({color:u,name:"primary"}),secondary:T({color:p,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:T({color:m,name:"error"}),warning:T({color:b,name:"warning"}),info:T({color:g,name:"info"}),success:T({color:y,name:"success"}),grey:qT,contrastThreshold:o,getContrastText:w,augmentColor:T,tonalOffset:i,...x},c)}function oM(e){const n={};return Object.entries(e).forEach(i=>{const[s,c]=i;typeof c=="object"&&(n[s]=`${c.fontStyle?`${c.fontStyle} `:""}${c.fontVariant?`${c.fontVariant} `:""}${c.fontWeight?`${c.fontWeight} `:""}${c.fontStretch?`${c.fontStretch} `:""}${c.fontSize||""}${c.lineHeight?`/${c.lineHeight} `:""}${c.fontFamily||""}`)}),n}function aM(e,n){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...n}}function iM(e){return Math.round(e*1e5)/1e5}const G0={textTransform:"uppercase"},K0='"Roboto", "Helvetica", "Arial", sans-serif';function xS(e,n){const{fontFamily:o=K0,fontSize:i=14,fontWeightLight:s=300,fontWeightRegular:c=400,fontWeightMedium:u=500,fontWeightBold:p=700,htmlFontSize:m=16,allVariants:g,pxToRem:y,...b}=typeof n=="function"?n(e):n,w=i/14,T=y||(E=>`${E/m*w}rem`),x=(E,A,O,j,M)=>({fontFamily:o,fontWeight:E,fontSize:T(A),lineHeight:O,...o===K0?{letterSpacing:`${iM(j/A)}em`}:{},...M,...g}),S={h1:x(s,96,1.167,-1.5),h2:x(s,60,1.2,-.5),h3:x(c,48,1.167,0),h4:x(c,34,1.235,.25),h5:x(c,24,1.334,0),h6:x(u,20,1.6,.15),subtitle1:x(c,16,1.75,.15),subtitle2:x(u,14,1.57,.1),body1:x(c,16,1.5,.15),body2:x(c,14,1.43,.15),button:x(u,14,1.75,.4,G0),caption:x(c,12,1.66,.4),overline:x(c,12,2.66,1,G0),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Mn({htmlFontSize:m,pxToRem:T,fontFamily:o,fontSize:i,fontWeightLight:s,fontWeightRegular:c,fontWeightMedium:u,fontWeightBold:p,...S},b,{clone:!1})}const sM=.2,lM=.14,cM=.12;function Ut(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${sM})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${lM})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${cM})`].join(",")}const uM=["none",Ut(0,2,1,-1,0,1,1,0,0,1,3,0),Ut(0,3,1,-2,0,2,2,0,0,1,5,0),Ut(0,3,3,-2,0,3,4,0,0,1,8,0),Ut(0,2,4,-1,0,4,5,0,0,1,10,0),Ut(0,3,5,-1,0,5,8,0,0,1,14,0),Ut(0,3,5,-1,0,6,10,0,0,1,18,0),Ut(0,4,5,-2,0,7,10,1,0,2,16,1),Ut(0,5,5,-3,0,8,10,1,0,3,14,2),Ut(0,5,6,-3,0,9,12,1,0,3,16,2),Ut(0,6,6,-3,0,10,14,1,0,4,18,3),Ut(0,6,7,-4,0,11,15,1,0,4,20,3),Ut(0,7,8,-4,0,12,17,2,0,5,22,4),Ut(0,7,8,-4,0,13,19,2,0,5,24,4),Ut(0,7,9,-4,0,14,21,2,0,5,26,4),Ut(0,8,9,-5,0,15,22,2,0,6,28,5),Ut(0,8,10,-5,0,16,24,2,0,6,30,5),Ut(0,8,11,-5,0,17,26,2,0,6,32,5),Ut(0,9,11,-5,0,18,28,2,0,7,34,6),Ut(0,9,12,-6,0,19,29,2,0,7,36,6),Ut(0,10,13,-6,0,20,31,3,0,8,38,7),Ut(0,10,13,-6,0,21,33,3,0,8,40,7),Ut(0,10,14,-6,0,22,35,3,0,8,42,7),Ut(0,11,14,-7,0,23,36,3,0,9,44,8),Ut(0,11,15,-7,0,24,38,3,0,9,46,8)],dM={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},SS={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Y0(e){return`${Math.round(e)}ms`}function fM(e){if(!e)return 0;const n=e/36;return Math.min(Math.round((4+15*n**.25+n/5)*10),3e3)}function pM(e){const n={...dM,...e.easing},o={...SS,...e.duration};return{getAutoHeightDuration:fM,create:(s=["all"],c={})=>{const{duration:u=o.standard,easing:p=n.easeInOut,delay:m=0,...g}=c;return(Array.isArray(s)?s:[s]).map(y=>`${y} ${typeof u=="string"?u:Y0(u)} ${p} ${typeof m=="string"?m:Y0(m)}`).join(",")},...e,easing:n,duration:o}}const hM={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function mM(e){return Qr(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function CS(e={}){const n={...e};function o(i){const s=Object.entries(i);for(let c=0;c<s.length;c++){const[u,p]=s[c];!mM(p)||u.startsWith("unstable_")?delete i[u]:Qr(p)&&(i[u]={...p},o(i[u]))}}return o(n),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
39
|
+
|
|
40
|
+
const theme = ${JSON.stringify(n,null,2)};
|
|
41
|
+
|
|
42
|
+
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
43
|
+
theme.transitions = createTransitions(theme.transitions || {});
|
|
44
|
+
|
|
45
|
+
export default theme;`}function X0(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const gM=e=>{if(!Number.isNaN(+e))return+e;const n=e.match(/\d*\.?\d+/g);if(!n)return 0;let o=0;for(let i=0;i<n.length;i+=1)o+=+n[i];return o};function yM(e){Object.assign(e,{alpha(n,o){const i=this||e;return i.colorSpace?`oklch(from ${n} l c h / ${typeof o=="string"?`calc(${o})`:o})`:i.vars?`rgba(${n.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof o=="string"?`calc(${o})`:o})`:Vl(n,gM(o))},lighten(n,o){const i=this||e;return i.colorSpace?`color-mix(in ${i.colorSpace}, ${n}, #fff ${X0(o)})`:Td(n,o)},darken(n,o){const i=this||e;return i.colorSpace?`color-mix(in ${i.colorSpace}, ${n}, #000 ${X0(o)})`:Ed(n,o)}})}function _h(e={},...n){const{breakpoints:o,mixins:i={},spacing:s,palette:c={},transitions:u={},typography:p={},shape:m,colorSpace:g,...y}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(Lo(20));const b=Um({...c,colorSpace:g}),w=oc(e);let T=Mn(w,{mixins:aM(w.breakpoints,i),palette:b,shadows:uM.slice(),typography:xS(b,p),transitions:pM(u),zIndex:{...hM}});return T=Mn(T,y),T=n.reduce((x,S)=>Mn(x,S),T),T.unstable_sxConfig={...rc,...y?.unstable_sxConfig},T.unstable_sx=function(S){return ma({sx:S,theme:this})},T.toRuntimeSource=CS,yM(T),T}function Ih(e){let n;return e<1?n=5.11916*e**2:n=4.5*Math.log(e+1)+2,Math.round(n*10)/1e3}const vM=[...Array(25)].map((e,n)=>{if(n===0)return"none";const o=Ih(n);return`linear-gradient(rgba(255 255 255 / ${o}), rgba(255 255 255 / ${o}))`});function wS(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function ES(e){return e==="dark"?vM:[]}function bM(e){const{palette:n={mode:"light"},opacity:o,overlays:i,colorSpace:s,...c}=e,u=Um({...n,colorSpace:s});return{palette:u,opacity:{...wS(u.mode),...o},overlays:i||ES(u.mode),...c}}function xM(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const SM=e=>[...[...Array(25)].map((n,o)=>`--${e?`${e}-`:""}overlays-${o}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],CM=e=>(n,o)=>{const i=e.rootSelector||":root",s=e.colorSchemeSelector;let c=s;if(s==="class"&&(c=".%s"),s==="data"&&(c="[data-%s]"),s?.startsWith("data-")&&!s.includes("%s")&&(c=`[${s}="%s"]`),e.defaultColorScheme===n){if(n==="dark"){const u={};return SM(e.cssVarPrefix).forEach(p=>{u[p]=o[p],delete o[p]}),c==="media"?{[i]:o,"@media (prefers-color-scheme: dark)":{[i]:u}}:c?{[c.replace("%s",n)]:u,[`${i}, ${c.replace("%s",n)}`]:o}:{[i]:{...o,...u}}}if(c&&c!=="media")return`${i}, ${c.replace("%s",String(n))}`}else if(n){if(c==="media")return{[`@media (prefers-color-scheme: ${String(n)})`]:{[i]:o}};if(c)return c.replace("%s",String(n))}return i};function wM(e,n){n.forEach(o=>{e[o]||(e[o]={})})}function ce(e,n,o){!e[n]&&o&&(e[n]=o)}function Ml(e){return typeof e!="string"||!e.startsWith("hsl")?e:dS(e)}function Oo(e,n){`${n}Channel`in e||(e[`${n}Channel`]=Al(Ml(e[n])))}function EM(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const qr=e=>{try{return e()}catch{}},TM=(e="mui")=>TA(e);function vh(e,n,o,i,s){if(!o)return;o=o===!0?{}:o;const c=s==="dark"?"dark":"light";if(!i){n[s]=bM({...o,palette:{mode:c,...o?.palette},colorSpace:e});return}const{palette:u,...p}=_h({...i,palette:{mode:c,...o?.palette},colorSpace:e});return n[s]={...o,palette:u,opacity:{...wS(c),...o?.opacity},overlays:o?.overlays||ES(c)},p}function RM(e={},...n){const{colorSchemes:o={light:!0},defaultColorScheme:i,disableCssColorScheme:s=!1,cssVarPrefix:c="mui",nativeColor:u=!1,shouldSkipGeneratingVar:p=xM,colorSchemeSelector:m=o.light&&o.dark?"media":void 0,rootSelector:g=":root",...y}=e,b=Object.keys(o)[0],w=i||(o.light&&b!=="light"?"light":b),T=TM(c),{[w]:x,light:S,dark:E,...A}=o,O={...A};let j=x;if((w==="dark"&&!("dark"in o)||w==="light"&&!("light"in o))&&(j=!0),!j)throw new Error(Lo(21,w));let M;u&&(M="oklch");const k=vh(M,O,j,y,w);S&&!O.light&&vh(M,O,S,void 0,"light"),E&&!O.dark&&vh(M,O,E,void 0,"dark");let N={defaultColorScheme:w,...k,cssVarPrefix:c,colorSchemeSelector:m,rootSelector:g,getCssVar:T,colorSchemes:O,font:{...oM(k.typography),...k.font},spacing:EM(y.spacing)};Object.keys(N.colorSchemes).forEach(q=>{const R=N.colorSchemes[q].palette,_=W=>{const B=W.split("-"),P=B[1],X=B[2];return T(W,R[P][X])};R.mode==="light"&&(ce(R.common,"background","#fff"),ce(R.common,"onBackground","#000")),R.mode==="dark"&&(ce(R.common,"background","#000"),ce(R.common,"onBackground","#fff"));function I(W,B,P){if(M){let X;return W===Pa&&(X=`transparent ${((1-P)*100).toFixed(0)}%`),W===Ct&&(X=`#000 ${(P*100).toFixed(0)}%`),W===wt&&(X=`#fff ${(P*100).toFixed(0)}%`),`color-mix(in ${M}, ${B}, ${X})`}return W(B,P)}if(wM(R,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),R.mode==="light"){ce(R.Alert,"errorColor",I(Ct,R.error.light,.6)),ce(R.Alert,"infoColor",I(Ct,R.info.light,.6)),ce(R.Alert,"successColor",I(Ct,R.success.light,.6)),ce(R.Alert,"warningColor",I(Ct,R.warning.light,.6)),ce(R.Alert,"errorFilledBg",_("palette-error-main")),ce(R.Alert,"infoFilledBg",_("palette-info-main")),ce(R.Alert,"successFilledBg",_("palette-success-main")),ce(R.Alert,"warningFilledBg",_("palette-warning-main")),ce(R.Alert,"errorFilledColor",qr(()=>R.getContrastText(R.error.main))),ce(R.Alert,"infoFilledColor",qr(()=>R.getContrastText(R.info.main))),ce(R.Alert,"successFilledColor",qr(()=>R.getContrastText(R.success.main))),ce(R.Alert,"warningFilledColor",qr(()=>R.getContrastText(R.warning.main))),ce(R.Alert,"errorStandardBg",I(wt,R.error.light,.9)),ce(R.Alert,"infoStandardBg",I(wt,R.info.light,.9)),ce(R.Alert,"successStandardBg",I(wt,R.success.light,.9)),ce(R.Alert,"warningStandardBg",I(wt,R.warning.light,.9)),ce(R.Alert,"errorIconColor",_("palette-error-main")),ce(R.Alert,"infoIconColor",_("palette-info-main")),ce(R.Alert,"successIconColor",_("palette-success-main")),ce(R.Alert,"warningIconColor",_("palette-warning-main")),ce(R.AppBar,"defaultBg",_("palette-grey-100")),ce(R.Avatar,"defaultBg",_("palette-grey-400")),ce(R.Button,"inheritContainedBg",_("palette-grey-300")),ce(R.Button,"inheritContainedHoverBg",_("palette-grey-A100")),ce(R.Chip,"defaultBorder",_("palette-grey-400")),ce(R.Chip,"defaultAvatarColor",_("palette-grey-700")),ce(R.Chip,"defaultIconColor",_("palette-grey-700")),ce(R.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),ce(R.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),ce(R.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),ce(R.LinearProgress,"primaryBg",I(wt,R.primary.main,.62)),ce(R.LinearProgress,"secondaryBg",I(wt,R.secondary.main,.62)),ce(R.LinearProgress,"errorBg",I(wt,R.error.main,.62)),ce(R.LinearProgress,"infoBg",I(wt,R.info.main,.62)),ce(R.LinearProgress,"successBg",I(wt,R.success.main,.62)),ce(R.LinearProgress,"warningBg",I(wt,R.warning.main,.62)),ce(R.Skeleton,"bg",M?I(Pa,R.text.primary,.11):`rgba(${_("palette-text-primaryChannel")} / 0.11)`),ce(R.Slider,"primaryTrack",I(wt,R.primary.main,.62)),ce(R.Slider,"secondaryTrack",I(wt,R.secondary.main,.62)),ce(R.Slider,"errorTrack",I(wt,R.error.main,.62)),ce(R.Slider,"infoTrack",I(wt,R.info.main,.62)),ce(R.Slider,"successTrack",I(wt,R.success.main,.62)),ce(R.Slider,"warningTrack",I(wt,R.warning.main,.62));const W=M?I(Ct,R.background.default,.6825):Mu(R.background.default,.8);ce(R.SnackbarContent,"bg",W),ce(R.SnackbarContent,"color",qr(()=>M?Uh.text.primary:R.getContrastText(W))),ce(R.SpeedDialAction,"fabHoverBg",Mu(R.background.paper,.15)),ce(R.StepConnector,"border",_("palette-grey-400")),ce(R.StepContent,"border",_("palette-grey-400")),ce(R.Switch,"defaultColor",_("palette-common-white")),ce(R.Switch,"defaultDisabledColor",_("palette-grey-100")),ce(R.Switch,"primaryDisabledColor",I(wt,R.primary.main,.62)),ce(R.Switch,"secondaryDisabledColor",I(wt,R.secondary.main,.62)),ce(R.Switch,"errorDisabledColor",I(wt,R.error.main,.62)),ce(R.Switch,"infoDisabledColor",I(wt,R.info.main,.62)),ce(R.Switch,"successDisabledColor",I(wt,R.success.main,.62)),ce(R.Switch,"warningDisabledColor",I(wt,R.warning.main,.62)),ce(R.TableCell,"border",I(wt,I(Pa,R.divider,1),.88)),ce(R.Tooltip,"bg",I(Pa,R.grey[700],.92))}if(R.mode==="dark"){ce(R.Alert,"errorColor",I(wt,R.error.light,.6)),ce(R.Alert,"infoColor",I(wt,R.info.light,.6)),ce(R.Alert,"successColor",I(wt,R.success.light,.6)),ce(R.Alert,"warningColor",I(wt,R.warning.light,.6)),ce(R.Alert,"errorFilledBg",_("palette-error-dark")),ce(R.Alert,"infoFilledBg",_("palette-info-dark")),ce(R.Alert,"successFilledBg",_("palette-success-dark")),ce(R.Alert,"warningFilledBg",_("palette-warning-dark")),ce(R.Alert,"errorFilledColor",qr(()=>R.getContrastText(R.error.dark))),ce(R.Alert,"infoFilledColor",qr(()=>R.getContrastText(R.info.dark))),ce(R.Alert,"successFilledColor",qr(()=>R.getContrastText(R.success.dark))),ce(R.Alert,"warningFilledColor",qr(()=>R.getContrastText(R.warning.dark))),ce(R.Alert,"errorStandardBg",I(Ct,R.error.light,.9)),ce(R.Alert,"infoStandardBg",I(Ct,R.info.light,.9)),ce(R.Alert,"successStandardBg",I(Ct,R.success.light,.9)),ce(R.Alert,"warningStandardBg",I(Ct,R.warning.light,.9)),ce(R.Alert,"errorIconColor",_("palette-error-main")),ce(R.Alert,"infoIconColor",_("palette-info-main")),ce(R.Alert,"successIconColor",_("palette-success-main")),ce(R.Alert,"warningIconColor",_("palette-warning-main")),ce(R.AppBar,"defaultBg",_("palette-grey-900")),ce(R.AppBar,"darkBg",_("palette-background-paper")),ce(R.AppBar,"darkColor",_("palette-text-primary")),ce(R.Avatar,"defaultBg",_("palette-grey-600")),ce(R.Button,"inheritContainedBg",_("palette-grey-800")),ce(R.Button,"inheritContainedHoverBg",_("palette-grey-700")),ce(R.Chip,"defaultBorder",_("palette-grey-700")),ce(R.Chip,"defaultAvatarColor",_("palette-grey-300")),ce(R.Chip,"defaultIconColor",_("palette-grey-300")),ce(R.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),ce(R.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),ce(R.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),ce(R.LinearProgress,"primaryBg",I(Ct,R.primary.main,.5)),ce(R.LinearProgress,"secondaryBg",I(Ct,R.secondary.main,.5)),ce(R.LinearProgress,"errorBg",I(Ct,R.error.main,.5)),ce(R.LinearProgress,"infoBg",I(Ct,R.info.main,.5)),ce(R.LinearProgress,"successBg",I(Ct,R.success.main,.5)),ce(R.LinearProgress,"warningBg",I(Ct,R.warning.main,.5)),ce(R.Skeleton,"bg",M?I(Pa,R.text.primary,.13):`rgba(${_("palette-text-primaryChannel")} / 0.13)`),ce(R.Slider,"primaryTrack",I(Ct,R.primary.main,.5)),ce(R.Slider,"secondaryTrack",I(Ct,R.secondary.main,.5)),ce(R.Slider,"errorTrack",I(Ct,R.error.main,.5)),ce(R.Slider,"infoTrack",I(Ct,R.info.main,.5)),ce(R.Slider,"successTrack",I(Ct,R.success.main,.5)),ce(R.Slider,"warningTrack",I(Ct,R.warning.main,.5));const W=M?I(wt,R.background.default,.985):Mu(R.background.default,.98);ce(R.SnackbarContent,"bg",W),ce(R.SnackbarContent,"color",qr(()=>M?vS.text.primary:R.getContrastText(W))),ce(R.SpeedDialAction,"fabHoverBg",Mu(R.background.paper,.15)),ce(R.StepConnector,"border",_("palette-grey-600")),ce(R.StepContent,"border",_("palette-grey-600")),ce(R.Switch,"defaultColor",_("palette-grey-300")),ce(R.Switch,"defaultDisabledColor",_("palette-grey-600")),ce(R.Switch,"primaryDisabledColor",I(Ct,R.primary.main,.55)),ce(R.Switch,"secondaryDisabledColor",I(Ct,R.secondary.main,.55)),ce(R.Switch,"errorDisabledColor",I(Ct,R.error.main,.55)),ce(R.Switch,"infoDisabledColor",I(Ct,R.info.main,.55)),ce(R.Switch,"successDisabledColor",I(Ct,R.success.main,.55)),ce(R.Switch,"warningDisabledColor",I(Ct,R.warning.main,.55)),ce(R.TableCell,"border",I(Ct,I(Pa,R.divider,1),.68)),ce(R.Tooltip,"bg",I(Pa,R.grey[700],.92))}Oo(R.background,"default"),Oo(R.background,"paper"),Oo(R.common,"background"),Oo(R.common,"onBackground"),Oo(R,"divider"),Object.keys(R).forEach(W=>{const B=R[W];W!=="tonalOffset"&&B&&typeof B=="object"&&(B.main&&ce(R[W],"mainChannel",Al(Ml(B.main))),B.light&&ce(R[W],"lightChannel",Al(Ml(B.light))),B.dark&&ce(R[W],"darkChannel",Al(Ml(B.dark))),B.contrastText&&ce(R[W],"contrastTextChannel",Al(Ml(B.contrastText))),W==="text"&&(Oo(R[W],"primary"),Oo(R[W],"secondary")),W==="action"&&(B.active&&Oo(R[W],"active"),B.selected&&Oo(R[W],"selected")))})}),N=n.reduce((q,R)=>Mn(q,R),N);const L={prefix:c,disableCssColorScheme:s,shouldSkipGeneratingVar:p,getSelector:CM(N),enableContrastVars:u},{vars:U,generateThemeVars:$,generateStyleSheets:F}=AA(N,L);return N.vars=U,Object.entries(N.colorSchemes[N.defaultColorScheme]).forEach(([q,R])=>{N[q]=R}),N.generateThemeVars=$,N.generateStyleSheets=F,N.generateSpacing=function(){return nS(y.spacing,Om(this))},N.getColorSchemeSelector=MA(m),N.spacing=N.generateSpacing(),N.shouldSkipGeneratingVar=p,N.unstable_sxConfig={...rc,...y?.unstable_sxConfig},N.unstable_sx=function(R){return ma({sx:R,theme:this})},N.toRuntimeSource=CS,N}function Q0(e,n,o){e.colorSchemes&&o&&(e.colorSchemes[n]={...o!==!0&&o,palette:Um({...o===!0?{}:o.palette,mode:n})})}function jd(e={},...n){const{palette:o,cssVariables:i=!1,colorSchemes:s=o?void 0:{light:!0},defaultColorScheme:c=o?.mode,...u}=e,p=c||"light",m=s?.[p],g={...s,...o?{[p]:{...typeof m!="boolean"&&m,palette:o}}:void 0};if(i===!1){if(!("colorSchemes"in e))return _h(e,...n);let y=o;"palette"in e||g[p]&&(g[p]!==!0?y=g[p].palette:p==="dark"&&(y={mode:"dark"}));const b=_h({...e,palette:y},...n);return b.defaultColorScheme=p,b.colorSchemes=g,b.palette.mode==="light"&&(b.colorSchemes.light={...g.light!==!0&&g.light,palette:b.palette},Q0(b,"dark",g.dark)),b.palette.mode==="dark"&&(b.colorSchemes.dark={...g.dark!==!0&&g.dark,palette:b.palette},Q0(b,"light",g.light)),b}return!o&&!("light"in g)&&p==="light"&&(g.light=!0),RM({...u,colorSchemes:g,defaultColorScheme:p,...typeof i!="boolean"&&i},...n)}const _m=jd();function co(){const e=ac(_m);return e[Zr]||e}function TS(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const kn=e=>TS(e)&&e!=="classes",ae=lS({themeId:Zr,defaultTheme:_m,rootShouldForwardProp:kn});function jM({theme:e,...n}){const o=Zr in e?e[Zr]:void 0;return d.jsx(mS,{...n,themeId:o?Zr:void 0,theme:o||e})}const ku={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:AM}=EA({themeId:Zr,theme:()=>jd({cssVariables:!0}),colorSchemeStorageKey:ku.colorSchemeStorageKey,modeStorageKey:ku.modeStorageKey,defaultColorScheme:{light:ku.defaultLightColorScheme,dark:ku.defaultDarkColorScheme},resolveTheme:e=>{const n={...e,typography:xS(e.palette,e.typography)};return n.unstable_sx=function(i){return ma({sx:i,theme:this})},n}}),MM=AM;function kM({theme:e,...n}){const o=v.useMemo(()=>{if(typeof e=="function")return e;const i=Zr in e?e[Zr]:e;return"colorSchemes"in i?null:"vars"in i?e:{...e,vars:null}},[e]);return o?d.jsx(jM,{theme:o,...n}):d.jsx(MM,{theme:e,...n})}function Z0(...e){return e.reduce((n,o)=>o==null?n:function(...s){n.apply(this,s),o.apply(this,s)},()=>{})}function OM(e){return d.jsx(rS,{...e,defaultTheme:_m,themeId:Zr})}function Im(e){return function(o){return d.jsx(OM,{styles:typeof e=="function"?i=>e({theme:i,...o}):e})}}function zM(){return Nm}const Te=gA;function we(e){return fA(e)}function BM(e){return xe("MuiSvgIcon",e)}Ce("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const NM=e=>{const{color:n,fontSize:o,classes:i}=e,s={root:["root",n!=="inherit"&&`color${ie(n)}`,`fontSize${ie(o)}`]};return Se(s,BM,i)},DM=ae("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.color!=="inherit"&&n[`color${ie(o.color)}`],n[`fontSize${ie(o.fontSize)}`]]}})(Te(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:n=>!n.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,n])=>n&&n.main).map(([n])=>({props:{color:n},style:{color:(e.vars??e).palette?.[n]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),Hh=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiSvgIcon"}),{children:s,className:c,color:u="inherit",component:p="svg",fontSize:m="medium",htmlColor:g,inheritViewBox:y=!1,titleAccess:b,viewBox:w="0 0 24 24",...T}=i,x=v.isValidElement(s)&&s.type==="svg",S={...i,color:u,component:p,fontSize:m,instanceFontSize:n.fontSize,inheritViewBox:y,viewBox:w,hasSvgAsChild:x},E={};y||(E.viewBox=w);const A=NM(S);return d.jsxs(DM,{as:p,className:ge(A.root,c),focusable:"false",color:g,"aria-hidden":b?void 0:!0,role:b?"img":void 0,ref:o,...E,...T,...x&&s.props,ownerState:S,children:[x?s.props.children:s,b?d.jsx("title",{children:b}):null]})});Hh.muiName="SvgIcon";function Fe(e,n){function o(i,s){return d.jsx(Hh,{"data-testid":void 0,ref:s,...i,children:e})}return o.muiName=Hh.muiName,v.memo(v.forwardRef(o))}function Ad(e,n=166){let o;function i(...s){const c=()=>{e.apply(this,s)};clearTimeout(o),o=setTimeout(c,n)}return i.clear=()=>{clearTimeout(o)},i}function En(e){return e&&e.ownerDocument||document}function $r(e){return En(e).defaultView||window}function J0(e,n){typeof e=="function"?e(n):e&&(e.current=n)}function Wl(e){const{controlled:n,default:o,name:i,state:s="value"}=e,{current:c}=v.useRef(n!==void 0),[u,p]=v.useState(o),m=c?n:u,g=v.useCallback(y=>{c||p(y)},[]);return[m,g]}function Nn(e){const n=v.useRef(e);return Yn(()=>{n.current=e}),v.useRef((...o)=>(0,n.current)(...o)).current}function qt(...e){const n=v.useRef(void 0),o=v.useCallback(i=>{const s=e.map(c=>{if(c==null)return null;if(typeof c=="function"){const u=c,p=u(i);return typeof p=="function"?p:()=>{u(null)}}return c.current=i,()=>{c.current=null}});return()=>{s.forEach(c=>c?.())}},e);return v.useMemo(()=>e.every(i=>i==null)?null:i=>{n.current&&(n.current(),n.current=void 0),i!=null&&(n.current=o(i))},e)}function LM(e,n){const o=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&o>=65&&o<=90&&typeof n=="function"}function RS(e,n){if(!e)return n;function o(u,p){const m={};return Object.keys(p).forEach(g=>{LM(g,p[g])&&typeof u[g]=="function"&&(m[g]=(...y)=>{u[g](...y),p[g](...y)})}),m}if(typeof e=="function"||typeof n=="function")return u=>{const p=typeof n=="function"?n(u):n,m=typeof e=="function"?e({...u,...p}):e,g=ge(u?.className,p?.className,m?.className),y=o(m,p);return{...p,...m,...y,...!!g&&{className:g},...p?.style&&m?.style&&{style:{...p.style,...m.style}},...p?.sx&&m?.sx&&{sx:[...Array.isArray(p.sx)?p.sx:[p.sx],...Array.isArray(m.sx)?m.sx:[m.sx]]}}};const i=n,s=o(e,i),c=ge(i?.className,e?.className);return{...n,...e,...s,...!!c&&{className:c},...i?.style&&e?.style&&{style:{...i.style,...e.style}},...i?.sx&&e?.sx&&{sx:[...Array.isArray(i.sx)?i.sx:[i.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function jS(e,n){if(e==null)return{};var o={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(n.indexOf(i)!==-1)continue;o[i]=e[i]}return o}function Fh(e,n){return Fh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,i){return o.__proto__=i,o},Fh(e,n)}function AS(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,Fh(e,n)}const ex={disabled:!1},od=Dr.createContext(null);var $M=function(n){return n.scrollTop},kl="unmounted",Ha="exited",Fa="entering",Gi="entered",Vh="exiting",Pr=(function(e){AS(n,e);function n(i,s){var c;c=e.call(this,i,s)||this;var u=s,p=u&&!u.isMounting?i.enter:i.appear,m;return c.appearStatus=null,i.in?p?(m=Ha,c.appearStatus=Fa):m=Gi:i.unmountOnExit||i.mountOnEnter?m=kl:m=Ha,c.state={status:m},c.nextCallback=null,c}n.getDerivedStateFromProps=function(s,c){var u=s.in;return u&&c.status===kl?{status:Ha}:null};var o=n.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(s){var c=null;if(s!==this.props){var u=this.state.status;this.props.in?u!==Fa&&u!==Gi&&(c=Fa):(u===Fa||u===Gi)&&(c=Vh)}this.updateStatus(!1,c)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var s=this.props.timeout,c,u,p;return c=u=p=s,s!=null&&typeof s!="number"&&(c=s.exit,u=s.enter,p=s.appear!==void 0?s.appear:u),{exit:c,enter:u,appear:p}},o.updateStatus=function(s,c){if(s===void 0&&(s=!1),c!==null)if(this.cancelNextCallback(),c===Fa){if(this.props.unmountOnExit||this.props.mountOnEnter){var u=this.props.nodeRef?this.props.nodeRef.current:ju.findDOMNode(this);u&&$M(u)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ha&&this.setState({status:kl})},o.performEnter=function(s){var c=this,u=this.props.enter,p=this.context?this.context.isMounting:s,m=this.props.nodeRef?[p]:[ju.findDOMNode(this),p],g=m[0],y=m[1],b=this.getTimeouts(),w=p?b.appear:b.enter;if(!s&&!u||ex.disabled){this.safeSetState({status:Gi},function(){c.props.onEntered(g)});return}this.props.onEnter(g,y),this.safeSetState({status:Fa},function(){c.props.onEntering(g,y),c.onTransitionEnd(w,function(){c.safeSetState({status:Gi},function(){c.props.onEntered(g,y)})})})},o.performExit=function(){var s=this,c=this.props.exit,u=this.getTimeouts(),p=this.props.nodeRef?void 0:ju.findDOMNode(this);if(!c||ex.disabled){this.safeSetState({status:Ha},function(){s.props.onExited(p)});return}this.props.onExit(p),this.safeSetState({status:Vh},function(){s.props.onExiting(p),s.onTransitionEnd(u.exit,function(){s.safeSetState({status:Ha},function(){s.props.onExited(p)})})})},o.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(s,c){c=this.setNextCallback(c),this.setState(s,c)},o.setNextCallback=function(s){var c=this,u=!0;return this.nextCallback=function(p){u&&(u=!1,c.nextCallback=null,s(p))},this.nextCallback.cancel=function(){u=!1},this.nextCallback},o.onTransitionEnd=function(s,c){this.setNextCallback(c);var u=this.props.nodeRef?this.props.nodeRef.current:ju.findDOMNode(this),p=s==null&&!this.props.addEndListener;if(!u||p){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var m=this.props.nodeRef?[this.nextCallback]:[u,this.nextCallback],g=m[0],y=m[1];this.props.addEndListener(g,y)}s!=null&&setTimeout(this.nextCallback,s)},o.render=function(){var s=this.state.status;if(s===kl)return null;var c=this.props,u=c.children;c.in,c.mountOnEnter,c.unmountOnExit,c.appear,c.enter,c.exit,c.timeout,c.addEndListener,c.onEnter,c.onEntering,c.onEntered,c.onExit,c.onExiting,c.onExited,c.nodeRef;var p=jS(c,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Dr.createElement(od.Provider,{value:null},typeof u=="function"?u(s,p):Dr.cloneElement(Dr.Children.only(u),p))},n})(Dr.Component);Pr.contextType=od;Pr.propTypes={};function qi(){}Pr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:qi,onEntering:qi,onEntered:qi,onExit:qi,onExiting:qi,onExited:qi};Pr.UNMOUNTED=kl;Pr.EXITED=Ha;Pr.ENTERING=Fa;Pr.ENTERED=Gi;Pr.EXITING=Vh;function PM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hm(e,n){var o=function(c){return n&&v.isValidElement(c)?n(c):c},i=Object.create(null);return e&&v.Children.map(e,function(s){return s}).forEach(function(s){i[s.key]=o(s)}),i}function UM(e,n){e=e||{},n=n||{};function o(y){return y in n?n[y]:e[y]}var i=Object.create(null),s=[];for(var c in e)c in n?s.length&&(i[c]=s,s=[]):s.push(c);var u,p={};for(var m in n){if(i[m])for(u=0;u<i[m].length;u++){var g=i[m][u];p[i[m][u]]=o(g)}p[m]=o(m)}for(u=0;u<s.length;u++)p[s[u]]=o(s[u]);return p}function Wa(e,n,o){return o[n]!=null?o[n]:e.props[n]}function _M(e,n){return Hm(e.children,function(o){return v.cloneElement(o,{onExited:n.bind(null,o),in:!0,appear:Wa(o,"appear",e),enter:Wa(o,"enter",e),exit:Wa(o,"exit",e)})})}function IM(e,n,o){var i=Hm(e.children),s=UM(n,i);return Object.keys(s).forEach(function(c){var u=s[c];if(v.isValidElement(u)){var p=c in n,m=c in i,g=n[c],y=v.isValidElement(g)&&!g.props.in;m&&(!p||y)?s[c]=v.cloneElement(u,{onExited:o.bind(null,u),in:!0,exit:Wa(u,"exit",e),enter:Wa(u,"enter",e)}):!m&&p&&!y?s[c]=v.cloneElement(u,{in:!1}):m&&p&&v.isValidElement(g)&&(s[c]=v.cloneElement(u,{onExited:o.bind(null,u),in:g.props.in,exit:Wa(u,"exit",e),enter:Wa(u,"enter",e)}))}}),s}var HM=Object.values||function(e){return Object.keys(e).map(function(n){return e[n]})},FM={component:"div",childFactory:function(n){return n}},Fm=(function(e){AS(n,e);function n(i,s){var c;c=e.call(this,i,s)||this;var u=c.handleExited.bind(PM(c));return c.state={contextValue:{isMounting:!0},handleExited:u,firstRender:!0},c}var o=n.prototype;return o.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},o.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(s,c){var u=c.children,p=c.handleExited,m=c.firstRender;return{children:m?_M(s,p):IM(s,u,p),firstRender:!1}},o.handleExited=function(s,c){var u=Hm(this.props.children);s.key in u||(s.props.onExited&&s.props.onExited(c),this.mounted&&this.setState(function(p){var m=ed({},p.children);return delete m[s.key],{children:m}}))},o.render=function(){var s=this.props,c=s.component,u=s.childFactory,p=jS(s,["component","childFactory"]),m=this.state.contextValue,g=HM(this.state.children).map(u);return delete p.appear,delete p.enter,delete p.exit,c===null?Dr.createElement(od.Provider,{value:m},g):Dr.createElement(od.Provider,{value:m},Dr.createElement(c,p,g))},n})(Dr.Component);Fm.propTypes={};Fm.defaultProps=FM;const tx={};function MS(e,n){const o=v.useRef(tx);return o.current===tx&&(o.current=e(n)),o}const VM=[];function qM(e){v.useEffect(e,VM)}class Md{static create(){return new Md}currentId=null;start(n,o){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,o()},n)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function pa(){const e=MS(Md.create).current;return qM(e.disposeEffect),e}const kS=e=>e.scrollTop;function as(e,n){const{timeout:o,easing:i,style:s={}}=e;return{duration:s.transitionDuration??(typeof o=="number"?o:o[n.mode]||0),easing:s.transitionTimingFunction??(typeof i=="object"?i[n.mode]:i),delay:s.transitionDelay}}function is(e){return typeof e=="string"}function OS(e,n,o){return e===void 0||is(e)?n:{...n,ownerState:{...n.ownerState,...o}}}function zS(e,n,o){return typeof e=="function"?e(n,o):e}function ad(e,n=[]){if(e===void 0)return{};const o={};return Object.keys(e).filter(i=>i.match(/^on[A-Z]/)&&typeof e[i]=="function"&&!n.includes(i)).forEach(i=>{o[i]=e[i]}),o}function nx(e){if(e===void 0)return{};const n={};return Object.keys(e).filter(o=>!(o.match(/^on[A-Z]/)&&typeof e[o]=="function")).forEach(o=>{n[o]=e[o]}),n}function BS(e){const{getSlotProps:n,additionalProps:o,externalSlotProps:i,externalForwardedProps:s,className:c}=e;if(!n){const T=ge(o?.className,c,s?.className,i?.className),x={...o?.style,...s?.style,...i?.style},S={...o,...s,...i};return T.length>0&&(S.className=T),Object.keys(x).length>0&&(S.style=x),{props:S,internalRef:void 0}}const u=ad({...s,...i}),p=nx(i),m=nx(s),g=n(u),y=ge(g?.className,o?.className,c,s?.className,i?.className),b={...g?.style,...o?.style,...s?.style,...i?.style},w={...g,...o,...m,...p};return y.length>0&&(w.className=y),Object.keys(b).length>0&&(w.style=b),{props:w,internalRef:g.ref}}function Re(e,n){const{className:o,elementType:i,ownerState:s,externalForwardedProps:c,internalForwardedProps:u,shouldForwardComponentProp:p=!1,...m}=n,{component:g,slots:y={[e]:void 0},slotProps:b={[e]:void 0},...w}=c,T=y[e]||i,x=zS(b[e],s),{props:{component:S,...E},internalRef:A}=BS({className:o,...m,externalForwardedProps:e==="root"?w:void 0,externalSlotProps:x}),O=qt(A,x?.ref,n.ref),j=e==="root"?S||g:S,M=OS(T,{...e==="root"&&!g&&!y[e]&&u,...e!=="root"&&!y[e]&&u,...E,...j&&!p&&{as:j},...j&&p&&{component:j},ref:O},s);return[T,M]}function WM(e){return xe("MuiCollapse",e)}Ce("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const GM=e=>{const{orientation:n,classes:o}=e,i={root:["root",`${n}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${n}`],wrapperInner:["wrapperInner",`${n}`]};return Se(i,WM,o)},KM=ae("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,n[o.orientation],o.state==="entered"&&n.entered,o.state==="exited"&&!o.in&&o.collapsedSize==="0px"&&n.hidden]}})(Te(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:n})=>n.state==="exited"&&!n.in&&n.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),YM=ae("div",{name:"MuiCollapse",slot:"Wrapper"})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),XM=ae("div",{name:"MuiCollapse",slot:"WrapperInner"})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),qh=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiCollapse"}),{addEndListener:s,children:c,className:u,collapsedSize:p="0px",component:m,easing:g,in:y,onEnter:b,onEntered:w,onEntering:T,onExit:x,onExited:S,onExiting:E,orientation:A="vertical",slots:O={},slotProps:j={},style:M,timeout:k=SS.standard,TransitionComponent:N=Pr,...L}=i,U={...i,orientation:A,collapsedSize:p},$=GM(U),F=co(),q=pa(),R=v.useRef(null),_=v.useRef(),I=typeof p=="number"?`${p}px`:p,W=A==="horizontal",B=W?"width":"height",P=v.useRef(null),X=qt(o,P),Z=ve=>Ye=>{if(ve){const _e=P.current;Ye===void 0?ve(_e):ve(_e,Ye)}},pe=()=>R.current?R.current[W?"clientWidth":"clientHeight"]:0,D=Z((ve,Ye)=>{R.current&&W&&(R.current.style.position="absolute"),ve.style[B]=I,b&&b(ve,Ye)}),H=Z((ve,Ye)=>{const _e=pe();R.current&&W&&(R.current.style.position="");const{duration:Ie,easing:Ve}=as({style:M,timeout:k,easing:g},{mode:"enter"});if(k==="auto"){const nt=F.transitions.getAutoHeightDuration(_e);ve.style.transitionDuration=`${nt}ms`,_.current=nt}else ve.style.transitionDuration=typeof Ie=="string"?Ie:`${Ie}ms`;ve.style[B]=`${_e}px`,ve.style.transitionTimingFunction=Ve,T&&T(ve,Ye)}),Q=Z((ve,Ye)=>{ve.style[B]="auto",w&&w(ve,Ye)}),se=Z(ve=>{ve.style[B]=`${pe()}px`,x&&x(ve)}),me=Z(S),fe=Z(ve=>{const Ye=pe(),{duration:_e,easing:Ie}=as({style:M,timeout:k,easing:g},{mode:"exit"});if(k==="auto"){const Ve=F.transitions.getAutoHeightDuration(Ye);ve.style.transitionDuration=`${Ve}ms`,_.current=Ve}else ve.style.transitionDuration=typeof _e=="string"?_e:`${_e}ms`;ve.style[B]=I,ve.style.transitionTimingFunction=Ie,E&&E(ve)}),ye=ve=>{k==="auto"&&q.start(_.current||0,ve),s&&s(P.current,ve)},ze={slots:O,slotProps:j,component:m},[je,ke]=Re("root",{ref:X,className:ge($.root,u),elementType:KM,externalForwardedProps:ze,ownerState:U,additionalProps:{style:{[W?"minWidth":"minHeight"]:I,...M}}}),[De,$e]=Re("wrapper",{ref:R,className:$.wrapper,elementType:YM,externalForwardedProps:ze,ownerState:U}),[We,be]=Re("wrapperInner",{className:$.wrapperInner,elementType:XM,externalForwardedProps:ze,ownerState:U});return d.jsx(N,{in:y,onEnter:D,onEntered:Q,onEntering:H,onExit:se,onExited:me,onExiting:fe,addEndListener:ye,nodeRef:P,timeout:k==="auto"?null:k,...L,children:(ve,{ownerState:Ye,..._e})=>{const Ie={...U,state:ve};return d.jsx(je,{...ke,className:ge(ke.className,{entered:$.entered,exited:!y&&I==="0px"&&$.hidden}[ve]),ownerState:Ie,..._e,children:d.jsx(De,{...$e,ownerState:Ie,children:d.jsx(We,{...be,ownerState:Ie,children:c})})})}})});qh&&(qh.muiSupportAuto=!0);function QM(e){return xe("MuiPaper",e)}Ce("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const ZM=e=>{const{square:n,elevation:o,variant:i,classes:s}=e,c={root:["root",i,!n&&"rounded",i==="elevation"&&`elevation${o}`]};return Se(c,QM,s)},JM=ae("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,n[o.variant],!o.square&&n.rounded,o.variant==="elevation"&&n[`elevation${o.elevation}`]]}})(Te(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:n})=>!n.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Ft=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiPaper"}),s=co(),{className:c,component:u="div",elevation:p=1,square:m=!1,variant:g="elevation",...y}=i,b={...i,component:u,elevation:p,square:m,variant:g},w=ZM(b);return d.jsx(JM,{as:u,ownerState:b,className:ge(w.root,c),ref:o,...y,style:{...g==="elevation"&&{"--Paper-shadow":(s.vars||s).shadows[p],...s.vars&&{"--Paper-overlay":s.vars.overlays?.[p]},...!s.vars&&s.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Vl("#fff",Ih(p))}, ${Vl("#fff",Ih(p))})`}},...y.style}})}),NS=v.createContext({});function e5(e){return xe("MuiAccordion",e)}const Ou=Ce("MuiAccordion",["root","heading","rounded","expanded","disabled","gutters","region"]),t5=e=>{const{classes:n,square:o,expanded:i,disabled:s,disableGutters:c}=e;return Se({root:["root",!o&&"rounded",i&&"expanded",s&&"disabled",!c&&"gutters"],heading:["heading"],region:["region"]},e5,n)},n5=ae(Ft,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[{[`& .${Ou.region}`]:n.region},n.root,!o.square&&n.rounded,!o.disableGutters&&n.gutters]}})(Te(({theme:e})=>{const n={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],n),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],n)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${Ou.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${Ou.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}}),Te(({theme:e})=>({variants:[{props:n=>!n.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:n=>!n.disableGutters,style:{[`&.${Ou.expanded}`]:{margin:"16px 0"}}}]}))),r5=ae("h3",{name:"MuiAccordion",slot:"Heading"})({all:"unset"}),o5=ae("div",{name:"MuiAccordion",slot:"Region"})({}),a5=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiAccordion"}),{children:s,className:c,defaultExpanded:u=!1,disabled:p=!1,disableGutters:m=!1,expanded:g,onChange:y,slots:b={},slotProps:w={},TransitionComponent:T,TransitionProps:x,...S}=i,[E,A]=Wl({controlled:g,default:u,name:"Accordion",state:"expanded"}),O=v.useCallback(Z=>{A(!E),y&&y(Z,!E)},[E,y,A]),[j,...M]=v.Children.toArray(s),k=v.useMemo(()=>({expanded:E,disabled:p,disableGutters:m,toggle:O}),[E,p,m,O]),N={...i,disabled:p,disableGutters:m,expanded:E},L=t5(N),U={transition:T,...b},$={transition:x,...w},F={slots:U,slotProps:$},[q,R]=Re("root",{elementType:n5,externalForwardedProps:{...F,...S},className:ge(L.root,c),shouldForwardComponentProp:!0,ownerState:N,ref:o}),[_,I]=Re("heading",{elementType:r5,externalForwardedProps:F,className:L.heading,ownerState:N}),[W,B]=Re("transition",{elementType:qh,externalForwardedProps:F,ownerState:N}),[P,X]=Re("region",{elementType:o5,externalForwardedProps:F,ownerState:N,className:L.region,additionalProps:{"aria-labelledby":j.props.id,id:j.props["aria-controls"],role:"region"}});return d.jsxs(q,{...R,children:[d.jsx(_,{...I,children:d.jsx(NS.Provider,{value:k,children:j})}),d.jsx(W,{in:E,timeout:"auto",...B,children:d.jsx(P,{...X,children:M})})]})});function i5(e){return xe("MuiAccordionDetails",e)}Ce("MuiAccordionDetails",["root"]);const s5=e=>{const{classes:n}=e;return Se({root:["root"]},i5,n)},l5=ae("div",{name:"MuiAccordionDetails",slot:"Root"})(Te(({theme:e})=>({padding:e.spacing(1,2,2)}))),c5=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiAccordionDetails"}),{className:s,...c}=i,u=i,p=s5(u);return d.jsx(l5,{className:ge(p.root,s),ref:o,ownerState:u,...c})});function ss(e){try{return e.matches(":focus-visible")}catch{}return!1}class id{static create(){return new id}static use(){const n=MS(id.create).current,[o,i]=v.useState(!1);return n.shouldMount=o,n.setShouldMount=i,v.useEffect(n.mountEffect,[o]),n}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=d5(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...n){this.mount().then(()=>this.ref.current?.start(...n))}stop(...n){this.mount().then(()=>this.ref.current?.stop(...n))}pulsate(...n){this.mount().then(()=>this.ref.current?.pulsate(...n))}}function u5(){return id.use()}function d5(){let e,n;const o=new Promise((i,s)=>{e=i,n=s});return o.resolve=e,o.reject=n,o}function f5(e){const{className:n,classes:o,pulsate:i=!1,rippleX:s,rippleY:c,rippleSize:u,in:p,onExited:m,timeout:g}=e,[y,b]=v.useState(!1),w=ge(n,o.ripple,o.rippleVisible,i&&o.ripplePulsate),T={width:u,height:u,top:-(u/2)+c,left:-(u/2)+s},x=ge(o.child,y&&o.childLeaving,i&&o.childPulsate);return!p&&!y&&b(!0),v.useEffect(()=>{if(!p&&m!=null){const S=setTimeout(m,g);return()=>{clearTimeout(S)}}},[m,p,g]),d.jsx("span",{className:w,style:T,children:d.jsx("span",{className:x})})}const br=Ce("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Wh=550,p5=80,h5=va`
|
|
46
|
+
0% {
|
|
47
|
+
transform: scale(0);
|
|
48
|
+
opacity: 0.1;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
100% {
|
|
52
|
+
transform: scale(1);
|
|
53
|
+
opacity: 0.3;
|
|
54
|
+
}
|
|
55
|
+
`,m5=va`
|
|
56
|
+
0% {
|
|
57
|
+
opacity: 1;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
100% {
|
|
61
|
+
opacity: 0;
|
|
62
|
+
}
|
|
63
|
+
`,g5=va`
|
|
64
|
+
0% {
|
|
65
|
+
transform: scale(1);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
50% {
|
|
69
|
+
transform: scale(0.92);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
100% {
|
|
73
|
+
transform: scale(1);
|
|
74
|
+
}
|
|
75
|
+
`,y5=ae("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),v5=ae(f5,{name:"MuiTouchRipple",slot:"Ripple"})`
|
|
76
|
+
opacity: 0;
|
|
77
|
+
position: absolute;
|
|
78
|
+
|
|
79
|
+
&.${br.rippleVisible} {
|
|
80
|
+
opacity: 0.3;
|
|
81
|
+
transform: scale(1);
|
|
82
|
+
animation-name: ${h5};
|
|
83
|
+
animation-duration: ${Wh}ms;
|
|
84
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&.${br.ripplePulsate} {
|
|
88
|
+
animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
& .${br.child} {
|
|
92
|
+
opacity: 1;
|
|
93
|
+
display: block;
|
|
94
|
+
width: 100%;
|
|
95
|
+
height: 100%;
|
|
96
|
+
border-radius: 50%;
|
|
97
|
+
background-color: currentColor;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
& .${br.childLeaving} {
|
|
101
|
+
opacity: 0;
|
|
102
|
+
animation-name: ${m5};
|
|
103
|
+
animation-duration: ${Wh}ms;
|
|
104
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
& .${br.childPulsate} {
|
|
108
|
+
position: absolute;
|
|
109
|
+
/* @noflip */
|
|
110
|
+
left: 0px;
|
|
111
|
+
top: 0;
|
|
112
|
+
animation-name: ${g5};
|
|
113
|
+
animation-duration: 2500ms;
|
|
114
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
115
|
+
animation-iteration-count: infinite;
|
|
116
|
+
animation-delay: 200ms;
|
|
117
|
+
}
|
|
118
|
+
`,b5=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiTouchRipple"}),{center:s=!1,classes:c={},className:u,...p}=i,[m,g]=v.useState([]),y=v.useRef(0),b=v.useRef(null);v.useEffect(()=>{b.current&&(b.current(),b.current=null)},[m]);const w=v.useRef(!1),T=pa(),x=v.useRef(null),S=v.useRef(null),E=v.useCallback(M=>{const{pulsate:k,rippleX:N,rippleY:L,rippleSize:U,cb:$}=M;g(F=>[...F,d.jsx(v5,{classes:{ripple:ge(c.ripple,br.ripple),rippleVisible:ge(c.rippleVisible,br.rippleVisible),ripplePulsate:ge(c.ripplePulsate,br.ripplePulsate),child:ge(c.child,br.child),childLeaving:ge(c.childLeaving,br.childLeaving),childPulsate:ge(c.childPulsate,br.childPulsate)},timeout:Wh,pulsate:k,rippleX:N,rippleY:L,rippleSize:U},y.current)]),y.current+=1,b.current=$},[c]),A=v.useCallback((M={},k={},N=()=>{})=>{const{pulsate:L=!1,center:U=s||k.pulsate,fakeElement:$=!1}=k;if(M?.type==="mousedown"&&w.current){w.current=!1;return}M?.type==="touchstart"&&(w.current=!0);const F=$?null:S.current,q=F?F.getBoundingClientRect():{width:0,height:0,left:0,top:0};let R,_,I;if(U||M===void 0||M.clientX===0&&M.clientY===0||!M.clientX&&!M.touches)R=Math.round(q.width/2),_=Math.round(q.height/2);else{const{clientX:W,clientY:B}=M.touches&&M.touches.length>0?M.touches[0]:M;R=Math.round(W-q.left),_=Math.round(B-q.top)}if(U)I=Math.sqrt((2*q.width**2+q.height**2)/3),I%2===0&&(I+=1);else{const W=Math.max(Math.abs((F?F.clientWidth:0)-R),R)*2+2,B=Math.max(Math.abs((F?F.clientHeight:0)-_),_)*2+2;I=Math.sqrt(W**2+B**2)}M?.touches?x.current===null&&(x.current=()=>{E({pulsate:L,rippleX:R,rippleY:_,rippleSize:I,cb:N})},T.start(p5,()=>{x.current&&(x.current(),x.current=null)})):E({pulsate:L,rippleX:R,rippleY:_,rippleSize:I,cb:N})},[s,E,T]),O=v.useCallback(()=>{A({},{pulsate:!0})},[A]),j=v.useCallback((M,k)=>{if(T.clear(),M?.type==="touchend"&&x.current){x.current(),x.current=null,T.start(0,()=>{j(M,k)});return}x.current=null,g(N=>N.length>0?N.slice(1):N),b.current=k},[T]);return v.useImperativeHandle(o,()=>({pulsate:O,start:A,stop:j}),[O,A,j]),d.jsx(y5,{className:ge(br.root,c.root,u),ref:S,...p,children:d.jsx(Fm,{component:null,exit:!0,children:m})})});function x5(e){return xe("MuiButtonBase",e)}const S5=Ce("MuiButtonBase",["root","disabled","focusVisible"]),C5=e=>{const{disabled:n,focusVisible:o,focusVisibleClassName:i,classes:s}=e,u=Se({root:["root",n&&"disabled",o&&"focusVisible"]},x5,s);return o&&i&&(u.root+=` ${i}`),u},w5=ae("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${S5.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),wr=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiButtonBase"}),{action:s,centerRipple:c=!1,children:u,className:p,component:m="button",disabled:g=!1,disableRipple:y=!1,disableTouchRipple:b=!1,focusRipple:w=!1,focusVisibleClassName:T,LinkComponent:x="a",onBlur:S,onClick:E,onContextMenu:A,onDragLeave:O,onFocus:j,onFocusVisible:M,onKeyDown:k,onKeyUp:N,onMouseDown:L,onMouseLeave:U,onMouseUp:$,onTouchEnd:F,onTouchMove:q,onTouchStart:R,tabIndex:_=0,TouchRippleProps:I,touchRippleRef:W,type:B,...P}=i,X=v.useRef(null),Z=u5(),pe=qt(Z.ref,W),[D,H]=v.useState(!1);g&&D&&H(!1),v.useImperativeHandle(s,()=>({focusVisible:()=>{H(!0),X.current.focus()}}),[]);const Q=Z.shouldMount&&!y&&!g;v.useEffect(()=>{D&&w&&!y&&Z.pulsate()},[y,w,D,Z]);const se=zo(Z,"start",L,b),me=zo(Z,"stop",A,b),fe=zo(Z,"stop",O,b),ye=zo(Z,"stop",$,b),ze=zo(Z,"stop",Ae=>{D&&Ae.preventDefault(),U&&U(Ae)},b),je=zo(Z,"start",R,b),ke=zo(Z,"stop",F,b),De=zo(Z,"stop",q,b),$e=zo(Z,"stop",Ae=>{ss(Ae.target)||H(!1),S&&S(Ae)},!1),We=Nn(Ae=>{X.current||(X.current=Ae.currentTarget),ss(Ae.target)&&(H(!0),M&&M(Ae)),j&&j(Ae)}),be=()=>{const Ae=X.current;return m&&m!=="button"&&!(Ae.tagName==="A"&&Ae.href)},ve=Nn(Ae=>{w&&!Ae.repeat&&D&&Ae.key===" "&&Z.stop(Ae,()=>{Z.start(Ae)}),Ae.target===Ae.currentTarget&&be()&&Ae.key===" "&&Ae.preventDefault(),k&&k(Ae),Ae.target===Ae.currentTarget&&be()&&Ae.key==="Enter"&&!g&&(Ae.preventDefault(),E&&E(Ae))}),Ye=Nn(Ae=>{w&&Ae.key===" "&&D&&!Ae.defaultPrevented&&Z.stop(Ae,()=>{Z.pulsate(Ae)}),N&&N(Ae),E&&Ae.target===Ae.currentTarget&&be()&&Ae.key===" "&&!Ae.defaultPrevented&&E(Ae)});let _e=m;_e==="button"&&(P.href||P.to)&&(_e=x);const Ie={};if(_e==="button"){const Ae=!!P.formAction;Ie.type=B===void 0&&!Ae?"button":B,Ie.disabled=g}else!P.href&&!P.to&&(Ie.role="button"),g&&(Ie["aria-disabled"]=g);const Ve=qt(o,X),nt={...i,centerRipple:c,component:m,disabled:g,disableRipple:y,disableTouchRipple:b,focusRipple:w,tabIndex:_,focusVisible:D},Je=C5(nt);return d.jsxs(w5,{as:_e,className:ge(Je.root,p),ownerState:nt,onBlur:$e,onClick:E,onContextMenu:me,onFocus:We,onKeyDown:ve,onKeyUp:Ye,onMouseDown:se,onMouseLeave:ze,onMouseUp:ye,onDragLeave:fe,onTouchEnd:ke,onTouchMove:De,onTouchStart:je,ref:Ve,tabIndex:g?-1:_,type:B,...Ie,...P,children:[u,Q?d.jsx(b5,{ref:pe,center:c,...I}):null]})});function zo(e,n,o,i=!1){return Nn(s=>(o&&o(s),i||e[n](s),!0))}function E5(e){return xe("MuiAccordionSummary",e)}const Xi=Ce("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),T5=e=>{const{classes:n,expanded:o,disabled:i,disableGutters:s}=e;return Se({root:["root",o&&"expanded",i&&"disabled",!s&&"gutters"],focusVisible:["focusVisible"],content:["content",o&&"expanded",!s&&"contentGutters"],expandIconWrapper:["expandIconWrapper",o&&"expanded"]},E5,n)},R5=ae(wr,{name:"MuiAccordionSummary",slot:"Root"})(Te(({theme:e})=>{const n={duration:e.transitions.duration.shortest};return{display:"flex",width:"100%",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],n),[`&.${Xi.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Xi.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${Xi.disabled})`]:{cursor:"pointer"},variants:[{props:o=>!o.disableGutters,style:{[`&.${Xi.expanded}`]:{minHeight:64}}}]}})),j5=ae("span",{name:"MuiAccordionSummary",slot:"Content"})(Te(({theme:e})=>({display:"flex",textAlign:"start",flexGrow:1,margin:"12px 0",variants:[{props:n=>!n.disableGutters,style:{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${Xi.expanded}`]:{margin:"20px 0"}}}]}))),A5=ae("span",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper"})(Te(({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${Xi.expanded}`]:{transform:"rotate(180deg)"}}))),M5=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiAccordionSummary"}),{children:s,className:c,expandIcon:u,focusVisibleClassName:p,onClick:m,slots:g,slotProps:y,...b}=i,{disabled:w=!1,disableGutters:T,expanded:x,toggle:S}=v.useContext(NS),E=F=>{S&&S(F),m&&m(F)},A={...i,expanded:x,disabled:w,disableGutters:T},O=T5(A),j={slots:g,slotProps:y},[M,k]=Re("root",{ref:o,shouldForwardComponentProp:!0,className:ge(O.root,c),elementType:R5,externalForwardedProps:{...j,...b},ownerState:A,additionalProps:{focusRipple:!1,disableRipple:!0,disabled:w,"aria-expanded":x,focusVisibleClassName:ge(O.focusVisible,p)},getSlotProps:F=>({...F,onClick:q=>{F.onClick?.(q),E(q)}})}),[N,L]=Re("content",{className:O.content,elementType:j5,externalForwardedProps:j,ownerState:A}),[U,$]=Re("expandIconWrapper",{className:O.expandIconWrapper,elementType:A5,externalForwardedProps:j,ownerState:A});return d.jsxs(M,{...k,children:[d.jsx(N,{...L,children:s}),u&&d.jsx(U,{...$,children:u})]})});function k5(e){return typeof e.main=="string"}function O5(e,n=[]){if(!k5(e))return!1;for(const o of n)if(!e.hasOwnProperty(o)||typeof e[o]!="string")return!1;return!0}function Dt(e=[]){return([,n])=>n&&O5(n,e)}function z5(e){return xe("MuiAlert",e)}const rx=Ce("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function B5(e){return xe("MuiCircularProgress",e)}Ce("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Nr=44,Gh=va`
|
|
119
|
+
0% {
|
|
120
|
+
transform: rotate(0deg);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
100% {
|
|
124
|
+
transform: rotate(360deg);
|
|
125
|
+
}
|
|
126
|
+
`,Kh=va`
|
|
127
|
+
0% {
|
|
128
|
+
stroke-dasharray: 1px, 200px;
|
|
129
|
+
stroke-dashoffset: 0;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
50% {
|
|
133
|
+
stroke-dasharray: 100px, 200px;
|
|
134
|
+
stroke-dashoffset: -15px;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
100% {
|
|
138
|
+
stroke-dasharray: 1px, 200px;
|
|
139
|
+
stroke-dashoffset: -126px;
|
|
140
|
+
}
|
|
141
|
+
`,N5=typeof Gh!="string"?bs`
|
|
142
|
+
animation: ${Gh} 1.4s linear infinite;
|
|
143
|
+
`:null,D5=typeof Kh!="string"?bs`
|
|
144
|
+
animation: ${Kh} 1.4s ease-in-out infinite;
|
|
145
|
+
`:null,L5=e=>{const{classes:n,variant:o,color:i,disableShrink:s}=e,c={root:["root",o,`color${ie(i)}`],svg:["svg"],track:["track"],circle:["circle",`circle${ie(o)}`,s&&"circleDisableShrink"]};return Se(c,B5,n)},$5=ae("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,n[o.variant],n[`color${ie(o.color)}`]]}})(Te(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:N5||{animation:`${Gh} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Dt()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}}))]}))),P5=ae("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),U5=ae("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.circle,n[`circle${ie(o.variant)}`],o.disableShrink&&n.circleDisableShrink]}})(Te(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:n})=>n.variant==="indeterminate"&&!n.disableShrink,style:D5||{animation:`${Kh} 1.4s ease-in-out infinite`}}]}))),_5=ae("circle",{name:"MuiCircularProgress",slot:"Track"})(Te(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),Et=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiCircularProgress"}),{className:s,color:c="primary",disableShrink:u=!1,enableTrackSlot:p=!1,size:m=40,style:g,thickness:y=3.6,value:b=0,variant:w="indeterminate",...T}=i,x={...i,color:c,disableShrink:u,size:m,thickness:y,value:b,variant:w,enableTrackSlot:p},S=L5(x),E={},A={},O={};if(w==="determinate"){const j=2*Math.PI*((Nr-y)/2);E.strokeDasharray=j.toFixed(3),O["aria-valuenow"]=Math.round(b),E.strokeDashoffset=`${((100-b)/100*j).toFixed(3)}px`,A.transform="rotate(-90deg)"}return d.jsx($5,{className:ge(S.root,s),style:{width:m,height:m,...A,...g},ownerState:x,ref:o,role:"progressbar",...O,...T,children:d.jsxs(P5,{className:S.svg,ownerState:x,viewBox:`${Nr/2} ${Nr/2} ${Nr} ${Nr}`,children:[p?d.jsx(_5,{className:S.track,ownerState:x,cx:Nr,cy:Nr,r:(Nr-y)/2,fill:"none",strokeWidth:y,"aria-hidden":"true"}):null,d.jsx(U5,{className:S.circle,style:E,ownerState:x,cx:Nr,cy:Nr,r:(Nr-y)/2,fill:"none",strokeWidth:y})]})})});function I5(e){return xe("MuiIconButton",e)}const ox=Ce("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),H5=e=>{const{classes:n,disabled:o,color:i,edge:s,size:c,loading:u}=e,p={root:["root",u&&"loading",o&&"disabled",i!=="default"&&`color${ie(i)}`,s&&`edge${ie(s)}`,`size${ie(c)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return Se(p,I5,n)},F5=ae(wr,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.loading&&n.loading,o.color!=="default"&&n[`color${ie(o.color)}`],o.edge&&n[`edge${ie(o.edge)}`],n[`size${ie(o.size)}`]]}})(Te(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:n=>!n.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Te(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Dt()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(e.palette).filter(Dt()).map(([n])=>({props:{color:n},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[n].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${ox.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${ox.loading}`]:{color:"transparent"}}))),V5=ae("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),Vt=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiIconButton"}),{edge:s=!1,children:c,className:u,color:p="default",disabled:m=!1,disableFocusRipple:g=!1,size:y="medium",id:b,loading:w=null,loadingIndicator:T,...x}=i,S=ei(b),E=T??d.jsx(Et,{"aria-labelledby":S,color:"inherit",size:16}),A={...i,edge:s,color:p,disabled:m,disableFocusRipple:g,loading:w,loadingIndicator:E,size:y},O=H5(A);return d.jsxs(F5,{id:w?S:b,className:ge(O.root,u),centerRipple:!0,focusRipple:!g,disabled:m||w,ref:o,...x,ownerState:A,children:[typeof w=="boolean"&&d.jsx("span",{className:O.loadingWrapper,style:{display:"contents"},children:d.jsx(V5,{className:O.loadingIndicator,ownerState:A,children:w&&E})}),c]})}),q5=Fe(d.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"})),W5=Fe(d.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"})),G5=Fe(d.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),K5=Fe(d.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"})),Y5=Fe(d.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),X5=e=>{const{variant:n,color:o,severity:i,classes:s}=e,c={root:["root",`color${ie(o||i)}`,`${n}${ie(o||i)}`,`${n}`],icon:["icon"],message:["message"],action:["action"]};return Se(c,z5,s)},Q5=ae(Ft,{name:"MuiAlert",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,n[o.variant],n[`${o.variant}${ie(o.color||o.severity)}`]]}})(Te(({theme:e})=>{const n=e.palette.mode==="light"?e.darken:e.lighten,o=e.palette.mode==="light"?e.lighten:e.darken;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(Dt(["light"])).map(([i])=>({props:{colorSeverity:i,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${i}Color`]:n(e.palette[i].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${i}StandardBg`]:o(e.palette[i].light,.9),[`& .${rx.icon}`]:e.vars?{color:e.vars.palette.Alert[`${i}IconColor`]}:{color:e.palette[i].main}}})),...Object.entries(e.palette).filter(Dt(["light"])).map(([i])=>({props:{colorSeverity:i,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${i}Color`]:n(e.palette[i].light,.6),border:`1px solid ${(e.vars||e).palette[i].light}`,[`& .${rx.icon}`]:e.vars?{color:e.vars.palette.Alert[`${i}IconColor`]}:{color:e.palette[i].main}}})),...Object.entries(e.palette).filter(Dt(["dark"])).map(([i])=>({props:{colorSeverity:i,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${i}FilledColor`],backgroundColor:e.vars.palette.Alert[`${i}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[i].dark:e.palette[i].main,color:e.palette.getContrastText(e.palette[i].main)}}}))]}})),Z5=ae("div",{name:"MuiAlert",slot:"Icon"})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),J5=ae("div",{name:"MuiAlert",slot:"Message"})({padding:"8px 0",minWidth:0,overflow:"auto"}),e4=ae("div",{name:"MuiAlert",slot:"Action"})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),t4={success:d.jsx(q5,{fontSize:"inherit"}),warning:d.jsx(W5,{fontSize:"inherit"}),error:d.jsx(G5,{fontSize:"inherit"}),info:d.jsx(K5,{fontSize:"inherit"})},zt=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiAlert"}),{action:s,children:c,className:u,closeText:p="Close",color:m,components:g={},componentsProps:y={},icon:b,iconMapping:w=t4,onClose:T,role:x="alert",severity:S="success",slotProps:E={},slots:A={},variant:O="standard",...j}=i,M={...i,color:m,severity:S,variant:O,colorSeverity:m||S},k=X5(M),N={slots:{closeButton:g.CloseButton,closeIcon:g.CloseIcon,...A},slotProps:{...y,...E}},[L,U]=Re("root",{ref:o,shouldForwardComponentProp:!0,className:ge(k.root,u),elementType:Q5,externalForwardedProps:{...N,...j},ownerState:M,additionalProps:{role:x,elevation:0}}),[$,F]=Re("icon",{className:k.icon,elementType:Z5,externalForwardedProps:N,ownerState:M}),[q,R]=Re("message",{className:k.message,elementType:J5,externalForwardedProps:N,ownerState:M}),[_,I]=Re("action",{className:k.action,elementType:e4,externalForwardedProps:N,ownerState:M}),[W,B]=Re("closeButton",{elementType:Vt,externalForwardedProps:N,ownerState:M}),[P,X]=Re("closeIcon",{elementType:Y5,externalForwardedProps:N,ownerState:M});return d.jsxs(L,{...U,children:[b!==!1?d.jsx($,{...F,children:b||w[S]}):null,d.jsx(q,{...R,children:c}),s!=null?d.jsx(_,{...I,children:s}):null,s==null&&T?d.jsx(_,{...I,children:d.jsx(W,{size:"small","aria-label":p,title:p,color:"inherit",onClick:T,...B,children:d.jsx(P,{fontSize:"small",...X})})}):null]})});function n4(e){return xe("MuiTypography",e)}const ax=Ce("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),r4={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},o4=zM(),a4=e=>{const{align:n,gutterBottom:o,noWrap:i,paragraph:s,variant:c,classes:u}=e,p={root:["root",c,e.align!=="inherit"&&`align${ie(n)}`,o&&"gutterBottom",i&&"noWrap",s&&"paragraph"]};return Se(p,n4,u)},i4=ae("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.variant&&n[o.variant],o.align!=="inherit"&&n[`align${ie(o.align)}`],o.noWrap&&n.noWrap,o.gutterBottom&&n.gutterBottom,o.paragraph&&n.paragraph]}})(Te(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([n,o])=>n!=="inherit"&&o&&typeof o=="object").map(([n,o])=>({props:{variant:n},style:o})),...Object.entries(e.palette).filter(Dt()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(e.palette?.text||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${ie(n)}`},style:{color:(e.vars||e).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}))),ix={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},ne=v.forwardRef(function(n,o){const{color:i,...s}=we({props:n,name:"MuiTypography"}),c=!r4[i],u=o4({...s,...c&&{color:i}}),{align:p="inherit",className:m,component:g,gutterBottom:y=!1,noWrap:b=!1,paragraph:w=!1,variant:T="body1",variantMapping:x=ix,...S}=u,E={...u,align:p,color:i,className:m,component:g,gutterBottom:y,noWrap:b,paragraph:w,variant:T,variantMapping:x},A=g||(w?"p":x[T]||ix[T])||"span",O=a4(E);return d.jsx(i4,{as:A,ref:o,className:ge(O.root,m),...S,ownerState:E,style:{...p!=="inherit"&&{"--Typography-textAlign":p},...S.style}})});function s4(e){return xe("MuiAppBar",e)}Ce("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const l4=e=>{const{color:n,position:o,classes:i}=e,s={root:["root",`color${ie(n)}`,`position${ie(o)}`]};return Se(s,s4,i)},sx=(e,n)=>e?`${e?.replace(")","")}, ${n})`:n,c4=ae(Ft,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,n[`position${ie(o.position)}`],n[`color${ie(o.color)}`]]}})(Te(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit",color:"var(--AppBar-color)"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(Dt(["contrastText"])).map(([n])=>({props:{color:n},style:{"--AppBar-background":(e.vars??e).palette[n].main,"--AppBar-color":(e.vars??e).palette[n].contrastText}})),{props:n=>n.enableColorOnDark===!0&&!["inherit","transparent"].includes(n.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:n=>n.enableColorOnDark===!1&&!["inherit","transparent"].includes(n.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?sx(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?sx(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),u4=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiAppBar"}),{className:s,color:c="primary",enableColorOnDark:u=!1,position:p="fixed",...m}=i,g={...i,color:c,position:p,enableColorOnDark:u},y=l4(g);return d.jsx(c4,{square:!0,component:"header",ownerState:g,elevation:4,className:ge(y.root,s,p==="fixed"&&"mui-fixed"),ref:o,...m})});var Vn="top",Er="bottom",Tr="right",qn="left",Vm="auto",ic=[Vn,Er,Tr,qn],ls="start",Gl="end",d4="clippingParents",DS="viewport",xl="popper",f4="reference",lx=ic.reduce(function(e,n){return e.concat([n+"-"+ls,n+"-"+Gl])},[]),LS=[].concat(ic,[Vm]).reduce(function(e,n){return e.concat([n,n+"-"+ls,n+"-"+Gl])},[]),p4="beforeRead",h4="read",m4="afterRead",g4="beforeMain",y4="main",v4="afterMain",b4="beforeWrite",x4="write",S4="afterWrite",C4=[p4,h4,m4,g4,y4,v4,b4,x4,S4];function ro(e){return e?(e.nodeName||"").toLowerCase():null}function ar(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var n=e.ownerDocument;return n&&n.defaultView||window}return e}function Qa(e){var n=ar(e).Element;return e instanceof n||e instanceof Element}function Sr(e){var n=ar(e).HTMLElement;return e instanceof n||e instanceof HTMLElement}function qm(e){if(typeof ShadowRoot>"u")return!1;var n=ar(e).ShadowRoot;return e instanceof n||e instanceof ShadowRoot}function w4(e){var n=e.state;Object.keys(n.elements).forEach(function(o){var i=n.styles[o]||{},s=n.attributes[o]||{},c=n.elements[o];!Sr(c)||!ro(c)||(Object.assign(c.style,i),Object.keys(s).forEach(function(u){var p=s[u];p===!1?c.removeAttribute(u):c.setAttribute(u,p===!0?"":p)}))})}function E4(e){var n=e.state,o={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,o.popper),n.styles=o,n.elements.arrow&&Object.assign(n.elements.arrow.style,o.arrow),function(){Object.keys(n.elements).forEach(function(i){var s=n.elements[i],c=n.attributes[i]||{},u=Object.keys(n.styles.hasOwnProperty(i)?n.styles[i]:o[i]),p=u.reduce(function(m,g){return m[g]="",m},{});!Sr(s)||!ro(s)||(Object.assign(s.style,p),Object.keys(c).forEach(function(m){s.removeAttribute(m)}))})}}const T4={name:"applyStyles",enabled:!0,phase:"write",fn:w4,effect:E4,requires:["computeStyles"]};function eo(e){return e.split("-")[0]}var Ya=Math.max,sd=Math.min,cs=Math.round;function Yh(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(n){return n.brand+"/"+n.version}).join(" "):navigator.userAgent}function $S(){return!/^((?!chrome|android).)*safari/i.test(Yh())}function us(e,n,o){n===void 0&&(n=!1),o===void 0&&(o=!1);var i=e.getBoundingClientRect(),s=1,c=1;n&&Sr(e)&&(s=e.offsetWidth>0&&cs(i.width)/e.offsetWidth||1,c=e.offsetHeight>0&&cs(i.height)/e.offsetHeight||1);var u=Qa(e)?ar(e):window,p=u.visualViewport,m=!$S()&&o,g=(i.left+(m&&p?p.offsetLeft:0))/s,y=(i.top+(m&&p?p.offsetTop:0))/c,b=i.width/s,w=i.height/c;return{width:b,height:w,top:y,right:g+b,bottom:y+w,left:g,x:g,y}}function Wm(e){var n=us(e),o=e.offsetWidth,i=e.offsetHeight;return Math.abs(n.width-o)<=1&&(o=n.width),Math.abs(n.height-i)<=1&&(i=n.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:i}}function PS(e,n){var o=n.getRootNode&&n.getRootNode();if(e.contains(n))return!0;if(o&&qm(o)){var i=n;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Po(e){return ar(e).getComputedStyle(e)}function R4(e){return["table","td","th"].indexOf(ro(e))>=0}function ba(e){return((Qa(e)?e.ownerDocument:e.document)||window.document).documentElement}function kd(e){return ro(e)==="html"?e:e.assignedSlot||e.parentNode||(qm(e)?e.host:null)||ba(e)}function cx(e){return!Sr(e)||Po(e).position==="fixed"?null:e.offsetParent}function j4(e){var n=/firefox/i.test(Yh()),o=/Trident/i.test(Yh());if(o&&Sr(e)){var i=Po(e);if(i.position==="fixed")return null}var s=kd(e);for(qm(s)&&(s=s.host);Sr(s)&&["html","body"].indexOf(ro(s))<0;){var c=Po(s);if(c.transform!=="none"||c.perspective!=="none"||c.contain==="paint"||["transform","perspective"].indexOf(c.willChange)!==-1||n&&c.willChange==="filter"||n&&c.filter&&c.filter!=="none")return s;s=s.parentNode}return null}function sc(e){for(var n=ar(e),o=cx(e);o&&R4(o)&&Po(o).position==="static";)o=cx(o);return o&&(ro(o)==="html"||ro(o)==="body"&&Po(o).position==="static")?n:o||j4(e)||n}function Gm(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Nl(e,n,o){return Ya(e,sd(n,o))}function A4(e,n,o){var i=Nl(e,n,o);return i>o?o:i}function US(){return{top:0,right:0,bottom:0,left:0}}function _S(e){return Object.assign({},US(),e)}function IS(e,n){return n.reduce(function(o,i){return o[i]=e,o},{})}var M4=function(n,o){return n=typeof n=="function"?n(Object.assign({},o.rects,{placement:o.placement})):n,_S(typeof n!="number"?n:IS(n,ic))};function k4(e){var n,o=e.state,i=e.name,s=e.options,c=o.elements.arrow,u=o.modifiersData.popperOffsets,p=eo(o.placement),m=Gm(p),g=[qn,Tr].indexOf(p)>=0,y=g?"height":"width";if(!(!c||!u)){var b=M4(s.padding,o),w=Wm(c),T=m==="y"?Vn:qn,x=m==="y"?Er:Tr,S=o.rects.reference[y]+o.rects.reference[m]-u[m]-o.rects.popper[y],E=u[m]-o.rects.reference[m],A=sc(c),O=A?m==="y"?A.clientHeight||0:A.clientWidth||0:0,j=S/2-E/2,M=b[T],k=O-w[y]-b[x],N=O/2-w[y]/2+j,L=Nl(M,N,k),U=m;o.modifiersData[i]=(n={},n[U]=L,n.centerOffset=L-N,n)}}function O4(e){var n=e.state,o=e.options,i=o.element,s=i===void 0?"[data-popper-arrow]":i;s!=null&&(typeof s=="string"&&(s=n.elements.popper.querySelector(s),!s)||PS(n.elements.popper,s)&&(n.elements.arrow=s))}const z4={name:"arrow",enabled:!0,phase:"main",fn:k4,effect:O4,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ds(e){return e.split("-")[1]}var B4={top:"auto",right:"auto",bottom:"auto",left:"auto"};function N4(e,n){var o=e.x,i=e.y,s=n.devicePixelRatio||1;return{x:cs(o*s)/s||0,y:cs(i*s)/s||0}}function ux(e){var n,o=e.popper,i=e.popperRect,s=e.placement,c=e.variation,u=e.offsets,p=e.position,m=e.gpuAcceleration,g=e.adaptive,y=e.roundOffsets,b=e.isFixed,w=u.x,T=w===void 0?0:w,x=u.y,S=x===void 0?0:x,E=typeof y=="function"?y({x:T,y:S}):{x:T,y:S};T=E.x,S=E.y;var A=u.hasOwnProperty("x"),O=u.hasOwnProperty("y"),j=qn,M=Vn,k=window;if(g){var N=sc(o),L="clientHeight",U="clientWidth";if(N===ar(o)&&(N=ba(o),Po(N).position!=="static"&&p==="absolute"&&(L="scrollHeight",U="scrollWidth")),N=N,s===Vn||(s===qn||s===Tr)&&c===Gl){M=Er;var $=b&&N===k&&k.visualViewport?k.visualViewport.height:N[L];S-=$-i.height,S*=m?1:-1}if(s===qn||(s===Vn||s===Er)&&c===Gl){j=Tr;var F=b&&N===k&&k.visualViewport?k.visualViewport.width:N[U];T-=F-i.width,T*=m?1:-1}}var q=Object.assign({position:p},g&&B4),R=y===!0?N4({x:T,y:S},ar(o)):{x:T,y:S};if(T=R.x,S=R.y,m){var _;return Object.assign({},q,(_={},_[M]=O?"0":"",_[j]=A?"0":"",_.transform=(k.devicePixelRatio||1)<=1?"translate("+T+"px, "+S+"px)":"translate3d("+T+"px, "+S+"px, 0)",_))}return Object.assign({},q,(n={},n[M]=O?S+"px":"",n[j]=A?T+"px":"",n.transform="",n))}function D4(e){var n=e.state,o=e.options,i=o.gpuAcceleration,s=i===void 0?!0:i,c=o.adaptive,u=c===void 0?!0:c,p=o.roundOffsets,m=p===void 0?!0:p,g={placement:eo(n.placement),variation:ds(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:s,isFixed:n.options.strategy==="fixed"};n.modifiersData.popperOffsets!=null&&(n.styles.popper=Object.assign({},n.styles.popper,ux(Object.assign({},g,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:u,roundOffsets:m})))),n.modifiersData.arrow!=null&&(n.styles.arrow=Object.assign({},n.styles.arrow,ux(Object.assign({},g,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:m})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})}const L4={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:D4,data:{}};var zu={passive:!0};function $4(e){var n=e.state,o=e.instance,i=e.options,s=i.scroll,c=s===void 0?!0:s,u=i.resize,p=u===void 0?!0:u,m=ar(n.elements.popper),g=[].concat(n.scrollParents.reference,n.scrollParents.popper);return c&&g.forEach(function(y){y.addEventListener("scroll",o.update,zu)}),p&&m.addEventListener("resize",o.update,zu),function(){c&&g.forEach(function(y){y.removeEventListener("scroll",o.update,zu)}),p&&m.removeEventListener("resize",o.update,zu)}}const P4={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:$4,data:{}};var U4={left:"right",right:"left",bottom:"top",top:"bottom"};function Gu(e){return e.replace(/left|right|bottom|top/g,function(n){return U4[n]})}var _4={start:"end",end:"start"};function dx(e){return e.replace(/start|end/g,function(n){return _4[n]})}function Km(e){var n=ar(e),o=n.pageXOffset,i=n.pageYOffset;return{scrollLeft:o,scrollTop:i}}function Ym(e){return us(ba(e)).left+Km(e).scrollLeft}function I4(e,n){var o=ar(e),i=ba(e),s=o.visualViewport,c=i.clientWidth,u=i.clientHeight,p=0,m=0;if(s){c=s.width,u=s.height;var g=$S();(g||!g&&n==="fixed")&&(p=s.offsetLeft,m=s.offsetTop)}return{width:c,height:u,x:p+Ym(e),y:m}}function H4(e){var n,o=ba(e),i=Km(e),s=(n=e.ownerDocument)==null?void 0:n.body,c=Ya(o.scrollWidth,o.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),u=Ya(o.scrollHeight,o.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),p=-i.scrollLeft+Ym(e),m=-i.scrollTop;return Po(s||o).direction==="rtl"&&(p+=Ya(o.clientWidth,s?s.clientWidth:0)-c),{width:c,height:u,x:p,y:m}}function Xm(e){var n=Po(e),o=n.overflow,i=n.overflowX,s=n.overflowY;return/auto|scroll|overlay|hidden/.test(o+s+i)}function HS(e){return["html","body","#document"].indexOf(ro(e))>=0?e.ownerDocument.body:Sr(e)&&Xm(e)?e:HS(kd(e))}function Dl(e,n){var o;n===void 0&&(n=[]);var i=HS(e),s=i===((o=e.ownerDocument)==null?void 0:o.body),c=ar(i),u=s?[c].concat(c.visualViewport||[],Xm(i)?i:[]):i,p=n.concat(u);return s?p:p.concat(Dl(kd(u)))}function Xh(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function F4(e,n){var o=us(e,!1,n==="fixed");return o.top=o.top+e.clientTop,o.left=o.left+e.clientLeft,o.bottom=o.top+e.clientHeight,o.right=o.left+e.clientWidth,o.width=e.clientWidth,o.height=e.clientHeight,o.x=o.left,o.y=o.top,o}function fx(e,n,o){return n===DS?Xh(I4(e,o)):Qa(n)?F4(n,o):Xh(H4(ba(e)))}function V4(e){var n=Dl(kd(e)),o=["absolute","fixed"].indexOf(Po(e).position)>=0,i=o&&Sr(e)?sc(e):e;return Qa(i)?n.filter(function(s){return Qa(s)&&PS(s,i)&&ro(s)!=="body"}):[]}function q4(e,n,o,i){var s=n==="clippingParents"?V4(e):[].concat(n),c=[].concat(s,[o]),u=c[0],p=c.reduce(function(m,g){var y=fx(e,g,i);return m.top=Ya(y.top,m.top),m.right=sd(y.right,m.right),m.bottom=sd(y.bottom,m.bottom),m.left=Ya(y.left,m.left),m},fx(e,u,i));return p.width=p.right-p.left,p.height=p.bottom-p.top,p.x=p.left,p.y=p.top,p}function FS(e){var n=e.reference,o=e.element,i=e.placement,s=i?eo(i):null,c=i?ds(i):null,u=n.x+n.width/2-o.width/2,p=n.y+n.height/2-o.height/2,m;switch(s){case Vn:m={x:u,y:n.y-o.height};break;case Er:m={x:u,y:n.y+n.height};break;case Tr:m={x:n.x+n.width,y:p};break;case qn:m={x:n.x-o.width,y:p};break;default:m={x:n.x,y:n.y}}var g=s?Gm(s):null;if(g!=null){var y=g==="y"?"height":"width";switch(c){case ls:m[g]=m[g]-(n[y]/2-o[y]/2);break;case Gl:m[g]=m[g]+(n[y]/2-o[y]/2);break}}return m}function Kl(e,n){n===void 0&&(n={});var o=n,i=o.placement,s=i===void 0?e.placement:i,c=o.strategy,u=c===void 0?e.strategy:c,p=o.boundary,m=p===void 0?d4:p,g=o.rootBoundary,y=g===void 0?DS:g,b=o.elementContext,w=b===void 0?xl:b,T=o.altBoundary,x=T===void 0?!1:T,S=o.padding,E=S===void 0?0:S,A=_S(typeof E!="number"?E:IS(E,ic)),O=w===xl?f4:xl,j=e.rects.popper,M=e.elements[x?O:w],k=q4(Qa(M)?M:M.contextElement||ba(e.elements.popper),m,y,u),N=us(e.elements.reference),L=FS({reference:N,element:j,placement:s}),U=Xh(Object.assign({},j,L)),$=w===xl?U:N,F={top:k.top-$.top+A.top,bottom:$.bottom-k.bottom+A.bottom,left:k.left-$.left+A.left,right:$.right-k.right+A.right},q=e.modifiersData.offset;if(w===xl&&q){var R=q[s];Object.keys(F).forEach(function(_){var I=[Tr,Er].indexOf(_)>=0?1:-1,W=[Vn,Er].indexOf(_)>=0?"y":"x";F[_]+=R[W]*I})}return F}function W4(e,n){n===void 0&&(n={});var o=n,i=o.placement,s=o.boundary,c=o.rootBoundary,u=o.padding,p=o.flipVariations,m=o.allowedAutoPlacements,g=m===void 0?LS:m,y=ds(i),b=y?p?lx:lx.filter(function(x){return ds(x)===y}):ic,w=b.filter(function(x){return g.indexOf(x)>=0});w.length===0&&(w=b);var T=w.reduce(function(x,S){return x[S]=Kl(e,{placement:S,boundary:s,rootBoundary:c,padding:u})[eo(S)],x},{});return Object.keys(T).sort(function(x,S){return T[x]-T[S]})}function G4(e){if(eo(e)===Vm)return[];var n=Gu(e);return[dx(e),n,dx(n)]}function K4(e){var n=e.state,o=e.options,i=e.name;if(!n.modifiersData[i]._skip){for(var s=o.mainAxis,c=s===void 0?!0:s,u=o.altAxis,p=u===void 0?!0:u,m=o.fallbackPlacements,g=o.padding,y=o.boundary,b=o.rootBoundary,w=o.altBoundary,T=o.flipVariations,x=T===void 0?!0:T,S=o.allowedAutoPlacements,E=n.options.placement,A=eo(E),O=A===E,j=m||(O||!x?[Gu(E)]:G4(E)),M=[E].concat(j).reduce(function(se,me){return se.concat(eo(me)===Vm?W4(n,{placement:me,boundary:y,rootBoundary:b,padding:g,flipVariations:x,allowedAutoPlacements:S}):me)},[]),k=n.rects.reference,N=n.rects.popper,L=new Map,U=!0,$=M[0],F=0;F<M.length;F++){var q=M[F],R=eo(q),_=ds(q)===ls,I=[Vn,Er].indexOf(R)>=0,W=I?"width":"height",B=Kl(n,{placement:q,boundary:y,rootBoundary:b,altBoundary:w,padding:g}),P=I?_?Tr:qn:_?Er:Vn;k[W]>N[W]&&(P=Gu(P));var X=Gu(P),Z=[];if(c&&Z.push(B[R]<=0),p&&Z.push(B[P]<=0,B[X]<=0),Z.every(function(se){return se})){$=q,U=!1;break}L.set(q,Z)}if(U)for(var pe=x?3:1,D=function(me){var fe=M.find(function(ye){var ze=L.get(ye);if(ze)return ze.slice(0,me).every(function(je){return je})});if(fe)return $=fe,"break"},H=pe;H>0;H--){var Q=D(H);if(Q==="break")break}n.placement!==$&&(n.modifiersData[i]._skip=!0,n.placement=$,n.reset=!0)}}const Y4={name:"flip",enabled:!0,phase:"main",fn:K4,requiresIfExists:["offset"],data:{_skip:!1}};function px(e,n,o){return o===void 0&&(o={x:0,y:0}),{top:e.top-n.height-o.y,right:e.right-n.width+o.x,bottom:e.bottom-n.height+o.y,left:e.left-n.width-o.x}}function hx(e){return[Vn,Tr,Er,qn].some(function(n){return e[n]>=0})}function X4(e){var n=e.state,o=e.name,i=n.rects.reference,s=n.rects.popper,c=n.modifiersData.preventOverflow,u=Kl(n,{elementContext:"reference"}),p=Kl(n,{altBoundary:!0}),m=px(u,i),g=px(p,s,c),y=hx(m),b=hx(g);n.modifiersData[o]={referenceClippingOffsets:m,popperEscapeOffsets:g,isReferenceHidden:y,hasPopperEscaped:b},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":y,"data-popper-escaped":b})}const Q4={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:X4};function Z4(e,n,o){var i=eo(e),s=[qn,Vn].indexOf(i)>=0?-1:1,c=typeof o=="function"?o(Object.assign({},n,{placement:e})):o,u=c[0],p=c[1];return u=u||0,p=(p||0)*s,[qn,Tr].indexOf(i)>=0?{x:p,y:u}:{x:u,y:p}}function J4(e){var n=e.state,o=e.options,i=e.name,s=o.offset,c=s===void 0?[0,0]:s,u=LS.reduce(function(y,b){return y[b]=Z4(b,n.rects,c),y},{}),p=u[n.placement],m=p.x,g=p.y;n.modifiersData.popperOffsets!=null&&(n.modifiersData.popperOffsets.x+=m,n.modifiersData.popperOffsets.y+=g),n.modifiersData[i]=u}const ek={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:J4};function tk(e){var n=e.state,o=e.name;n.modifiersData[o]=FS({reference:n.rects.reference,element:n.rects.popper,placement:n.placement})}const nk={name:"popperOffsets",enabled:!0,phase:"read",fn:tk,data:{}};function rk(e){return e==="x"?"y":"x"}function ok(e){var n=e.state,o=e.options,i=e.name,s=o.mainAxis,c=s===void 0?!0:s,u=o.altAxis,p=u===void 0?!1:u,m=o.boundary,g=o.rootBoundary,y=o.altBoundary,b=o.padding,w=o.tether,T=w===void 0?!0:w,x=o.tetherOffset,S=x===void 0?0:x,E=Kl(n,{boundary:m,rootBoundary:g,padding:b,altBoundary:y}),A=eo(n.placement),O=ds(n.placement),j=!O,M=Gm(A),k=rk(M),N=n.modifiersData.popperOffsets,L=n.rects.reference,U=n.rects.popper,$=typeof S=="function"?S(Object.assign({},n.rects,{placement:n.placement})):S,F=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),q=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,R={x:0,y:0};if(N){if(c){var _,I=M==="y"?Vn:qn,W=M==="y"?Er:Tr,B=M==="y"?"height":"width",P=N[M],X=P+E[I],Z=P-E[W],pe=T?-U[B]/2:0,D=O===ls?L[B]:U[B],H=O===ls?-U[B]:-L[B],Q=n.elements.arrow,se=T&&Q?Wm(Q):{width:0,height:0},me=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:US(),fe=me[I],ye=me[W],ze=Nl(0,L[B],se[B]),je=j?L[B]/2-pe-ze-fe-F.mainAxis:D-ze-fe-F.mainAxis,ke=j?-L[B]/2+pe+ze+ye+F.mainAxis:H+ze+ye+F.mainAxis,De=n.elements.arrow&&sc(n.elements.arrow),$e=De?M==="y"?De.clientTop||0:De.clientLeft||0:0,We=(_=q?.[M])!=null?_:0,be=P+je-We-$e,ve=P+ke-We,Ye=Nl(T?sd(X,be):X,P,T?Ya(Z,ve):Z);N[M]=Ye,R[M]=Ye-P}if(p){var _e,Ie=M==="x"?Vn:qn,Ve=M==="x"?Er:Tr,nt=N[k],Je=k==="y"?"height":"width",Ae=nt+E[Ie],on=nt-E[Ve],qe=[Vn,qn].indexOf(A)!==-1,Tn=(_e=q?.[k])!=null?_e:0,ht=qe?Ae:nt-L[Je]-U[Je]-Tn+F.altAxis,et=qe?nt+L[Je]+U[Je]-Tn-F.altAxis:on,vt=T&&qe?A4(ht,nt,et):Nl(T?ht:Ae,nt,T?et:on);N[k]=vt,R[k]=vt-nt}n.modifiersData[i]=R}}const ak={name:"preventOverflow",enabled:!0,phase:"main",fn:ok,requiresIfExists:["offset"]};function ik(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function sk(e){return e===ar(e)||!Sr(e)?Km(e):ik(e)}function lk(e){var n=e.getBoundingClientRect(),o=cs(n.width)/e.offsetWidth||1,i=cs(n.height)/e.offsetHeight||1;return o!==1||i!==1}function ck(e,n,o){o===void 0&&(o=!1);var i=Sr(n),s=Sr(n)&&lk(n),c=ba(n),u=us(e,s,o),p={scrollLeft:0,scrollTop:0},m={x:0,y:0};return(i||!i&&!o)&&((ro(n)!=="body"||Xm(c))&&(p=sk(n)),Sr(n)?(m=us(n,!0),m.x+=n.clientLeft,m.y+=n.clientTop):c&&(m.x=Ym(c))),{x:u.left+p.scrollLeft-m.x,y:u.top+p.scrollTop-m.y,width:u.width,height:u.height}}function uk(e){var n=new Map,o=new Set,i=[];e.forEach(function(c){n.set(c.name,c)});function s(c){o.add(c.name);var u=[].concat(c.requires||[],c.requiresIfExists||[]);u.forEach(function(p){if(!o.has(p)){var m=n.get(p);m&&s(m)}}),i.push(c)}return e.forEach(function(c){o.has(c.name)||s(c)}),i}function dk(e){var n=uk(e);return C4.reduce(function(o,i){return o.concat(n.filter(function(s){return s.phase===i}))},[])}function fk(e){var n;return function(){return n||(n=new Promise(function(o){Promise.resolve().then(function(){n=void 0,o(e())})})),n}}function pk(e){var n=e.reduce(function(o,i){var s=o[i.name];return o[i.name]=s?Object.assign({},s,i,{options:Object.assign({},s.options,i.options),data:Object.assign({},s.data,i.data)}):i,o},{});return Object.keys(n).map(function(o){return n[o]})}var mx={placement:"bottom",modifiers:[],strategy:"absolute"};function gx(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return!n.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function hk(e){e===void 0&&(e={});var n=e,o=n.defaultModifiers,i=o===void 0?[]:o,s=n.defaultOptions,c=s===void 0?mx:s;return function(p,m,g){g===void 0&&(g=c);var y={placement:"bottom",orderedModifiers:[],options:Object.assign({},mx,c),modifiersData:{},elements:{reference:p,popper:m},attributes:{},styles:{}},b=[],w=!1,T={state:y,setOptions:function(A){var O=typeof A=="function"?A(y.options):A;S(),y.options=Object.assign({},c,y.options,O),y.scrollParents={reference:Qa(p)?Dl(p):p.contextElement?Dl(p.contextElement):[],popper:Dl(m)};var j=dk(pk([].concat(i,y.options.modifiers)));return y.orderedModifiers=j.filter(function(M){return M.enabled}),x(),T.update()},forceUpdate:function(){if(!w){var A=y.elements,O=A.reference,j=A.popper;if(gx(O,j)){y.rects={reference:ck(O,sc(j),y.options.strategy==="fixed"),popper:Wm(j)},y.reset=!1,y.placement=y.options.placement,y.orderedModifiers.forEach(function(F){return y.modifiersData[F.name]=Object.assign({},F.data)});for(var M=0;M<y.orderedModifiers.length;M++){if(y.reset===!0){y.reset=!1,M=-1;continue}var k=y.orderedModifiers[M],N=k.fn,L=k.options,U=L===void 0?{}:L,$=k.name;typeof N=="function"&&(y=N({state:y,options:U,name:$,instance:T})||y)}}}},update:fk(function(){return new Promise(function(E){T.forceUpdate(),E(y)})}),destroy:function(){S(),w=!0}};if(!gx(p,m))return T;T.setOptions(g).then(function(E){!w&&g.onFirstUpdate&&g.onFirstUpdate(E)});function x(){y.orderedModifiers.forEach(function(E){var A=E.name,O=E.options,j=O===void 0?{}:O,M=E.effect;if(typeof M=="function"){var k=M({state:y,name:A,instance:T,options:j}),N=function(){};b.push(k||N)}})}function S(){b.forEach(function(E){return E()}),b=[]}return T}}var mk=[P4,nk,L4,T4,ek,Y4,ak,z4,Q4],gk=hk({defaultModifiers:mk});function Za(e){const{elementType:n,externalSlotProps:o,ownerState:i,skipResolvingSlotProps:s=!1,...c}=e,u=s?{}:zS(o,i),{props:p,internalRef:m}=BS({...c,externalSlotProps:u}),g=qt(m,u?.ref,e.additionalProps?.ref);return OS(n,{...p,ref:g},i)}function ti(e){return parseInt(v.version,10)>=19?e?.props?.ref||null:e?.ref||null}function yk(e){return typeof e=="function"?e():e}const VS=v.forwardRef(function(n,o){const{children:i,container:s,disablePortal:c=!1}=n,[u,p]=v.useState(null),m=qt(v.isValidElement(i)?ti(i):null,o);if(Yn(()=>{c||p(yk(s)||document.body)},[s,c]),Yn(()=>{if(u&&!c)return J0(o,u),()=>{J0(o,null)}},[o,u,c]),c){if(v.isValidElement(i)){const g={ref:m};return v.cloneElement(i,g)}return i}return u&&$1.createPortal(i,u)});function vk(e){return xe("MuiPopper",e)}Ce("MuiPopper",["root"]);function bk(e,n){if(n==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function Qh(e){return typeof e=="function"?e():e}function xk(e){return e.nodeType!==void 0}const Sk=e=>{const{classes:n}=e;return Se({root:["root"]},vk,n)},Ck={},wk=v.forwardRef(function(n,o){const{anchorEl:i,children:s,direction:c,disablePortal:u,modifiers:p,open:m,placement:g,popperOptions:y,popperRef:b,slotProps:w={},slots:T={},TransitionProps:x,ownerState:S,...E}=n,A=v.useRef(null),O=qt(A,o),j=v.useRef(null),M=qt(j,b),k=v.useRef(M);Yn(()=>{k.current=M},[M]),v.useImperativeHandle(b,()=>j.current,[]);const N=bk(g,c),[L,U]=v.useState(N),[$,F]=v.useState(Qh(i));v.useEffect(()=>{j.current&&j.current.forceUpdate()}),v.useEffect(()=>{i&&F(Qh(i))},[i]),Yn(()=>{if(!$||!m)return;const W=X=>{U(X.placement)};let B=[{name:"preventOverflow",options:{altBoundary:u}},{name:"flip",options:{altBoundary:u}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:X})=>{W(X)}}];p!=null&&(B=B.concat(p)),y&&y.modifiers!=null&&(B=B.concat(y.modifiers));const P=gk($,A.current,{placement:N,...y,modifiers:B});return k.current(P),()=>{P.destroy(),k.current(null)}},[$,u,p,m,y,N]);const q={placement:L};x!==null&&(q.TransitionProps=x);const R=Sk(n),_=T.root??"div",I=Za({elementType:_,externalSlotProps:w.root,externalForwardedProps:E,additionalProps:{role:"tooltip",ref:O},ownerState:n,className:R.root});return d.jsx(_,{...I,children:typeof s=="function"?s(q):s})}),Ek=v.forwardRef(function(n,o){const{anchorEl:i,children:s,container:c,direction:u="ltr",disablePortal:p=!1,keepMounted:m=!1,modifiers:g,open:y,placement:b="bottom",popperOptions:w=Ck,popperRef:T,style:x,transition:S=!1,slotProps:E={},slots:A={},...O}=n,[j,M]=v.useState(!0),k=()=>{M(!1)},N=()=>{M(!0)};if(!m&&!y&&(!S||j))return null;let L;if(c)L=c;else if(i){const F=Qh(i);L=F&&xk(F)?En(F).body:En(null).body}const U=!y&&m&&(!S||j)?"none":void 0,$=S?{in:y,onEnter:k,onExited:N}:void 0;return d.jsx(VS,{disablePortal:p,container:L,children:d.jsx(wk,{anchorEl:i,direction:u,disablePortal:p,modifiers:g,ref:o,open:S?!j:y,placement:b,popperOptions:w,popperRef:T,slotProps:E,slots:A,...O,style:{position:"fixed",top:0,left:0,display:U,...x},TransitionProps:$,children:s})})}),Tk=ae(Ek,{name:"MuiPopper",slot:"Root"})({}),qS=v.forwardRef(function(n,o){const i=xs(),s=we({props:n,name:"MuiPopper"}),{anchorEl:c,component:u,components:p,componentsProps:m,container:g,disablePortal:y,keepMounted:b,modifiers:w,open:T,placement:x,popperOptions:S,popperRef:E,transition:A,slots:O,slotProps:j,...M}=s,k=O?.root??p?.Root,N={anchorEl:c,container:g,disablePortal:y,keepMounted:b,modifiers:w,open:T,placement:x,popperOptions:S,popperRef:E,transition:A,...M};return d.jsx(Tk,{as:u,direction:i?"rtl":"ltr",slots:{root:k},slotProps:j??m,...N,ref:o})}),Rk=Fe(d.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}));function jk(e){return xe("MuiChip",e)}const at=Ce("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),Ak=e=>{const{classes:n,disabled:o,size:i,color:s,iconColor:c,onDelete:u,clickable:p,variant:m}=e,g={root:["root",m,o&&"disabled",`size${ie(i)}`,`color${ie(s)}`,p&&"clickable",p&&`clickableColor${ie(s)}`,u&&"deletable",u&&`deletableColor${ie(s)}`,`${m}${ie(s)}`],label:["label",`label${ie(i)}`],avatar:["avatar",`avatar${ie(i)}`,`avatarColor${ie(s)}`],icon:["icon",`icon${ie(i)}`,`iconColor${ie(c)}`],deleteIcon:["deleteIcon",`deleteIcon${ie(i)}`,`deleteIconColor${ie(s)}`,`deleteIcon${ie(m)}Color${ie(s)}`]};return Se(g,jk,n)},Mk=ae("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e,{color:i,iconColor:s,clickable:c,onDelete:u,size:p,variant:m}=o;return[{[`& .${at.avatar}`]:n.avatar},{[`& .${at.avatar}`]:n[`avatar${ie(p)}`]},{[`& .${at.avatar}`]:n[`avatarColor${ie(i)}`]},{[`& .${at.icon}`]:n.icon},{[`& .${at.icon}`]:n[`icon${ie(p)}`]},{[`& .${at.icon}`]:n[`iconColor${ie(s)}`]},{[`& .${at.deleteIcon}`]:n.deleteIcon},{[`& .${at.deleteIcon}`]:n[`deleteIcon${ie(p)}`]},{[`& .${at.deleteIcon}`]:n[`deleteIconColor${ie(i)}`]},{[`& .${at.deleteIcon}`]:n[`deleteIcon${ie(m)}Color${ie(i)}`]},n.root,n[`size${ie(p)}`],n[`color${ie(i)}`],c&&n.clickable,c&&i!=="default"&&n[`clickableColor${ie(i)}`],u&&n.deletable,u&&i!=="default"&&n[`deletableColor${ie(i)}`],n[m],n[`${m}${ie(i)}`]]}})(Te(({theme:e})=>{const n=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,lineHeight:1.5,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${at.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${at.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:n,fontSize:e.typography.pxToRem(12)},[`& .${at.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${at.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${at.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${at.icon}`]:{marginLeft:5,marginRight:-6},[`& .${at.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.alpha((e.vars||e).palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.alpha((e.vars||e).palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${at.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${at.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(Dt(["contrastText"])).map(([o])=>({props:{color:o},style:{backgroundColor:(e.vars||e).palette[o].main,color:(e.vars||e).palette[o].contrastText,[`& .${at.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[o].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[o].contrastText}}}})),{props:o=>o.iconColor===o.color,style:{[`& .${at.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:n}}},{props:o=>o.iconColor===o.color&&o.color!=="default",style:{[`& .${at.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${at.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}},...Object.entries(e.palette).filter(Dt(["dark"])).map(([o])=>({props:{color:o,onDelete:!0},style:{[`&.${at.focusVisible}`]:{background:(e.vars||e).palette[o].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)},[`&.${at.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(Dt(["dark"])).map(([o])=>({props:{color:o,clickable:!0},style:{[`&:hover, &.${at.focusVisible}`]:{backgroundColor:(e.vars||e).palette[o].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${at.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${at.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${at.avatar}`]:{marginLeft:4},[`& .${at.avatarSmall}`]:{marginLeft:2},[`& .${at.icon}`]:{marginLeft:4},[`& .${at.iconSmall}`]:{marginLeft:2},[`& .${at.deleteIcon}`]:{marginRight:5},[`& .${at.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(Dt()).map(([o])=>({props:{variant:"outlined",color:o},style:{color:(e.vars||e).palette[o].main,border:`1px solid ${e.alpha((e.vars||e).palette[o].main,.7)}`,[`&.${at.clickable}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette[o].main,(e.vars||e).palette.action.hoverOpacity)},[`&.${at.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[o].main,(e.vars||e).palette.action.focusOpacity)},[`& .${at.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[o].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[o].main}}}}))]}})),kk=ae("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,n)=>{const{ownerState:o}=e,{size:i}=o;return[n.label,n[`label${ie(i)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function yx(e){return e.key==="Backspace"||e.key==="Delete"}const Jt=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiChip"}),{avatar:s,className:c,clickable:u,color:p="default",component:m,deleteIcon:g,disabled:y=!1,icon:b,label:w,onClick:T,onDelete:x,onKeyDown:S,onKeyUp:E,size:A="medium",variant:O="filled",tabIndex:j,skipFocusWhenDisabled:M=!1,slots:k={},slotProps:N={},...L}=i,U=v.useRef(null),$=qt(U,o),F=fe=>{fe.stopPropagation(),x&&x(fe)},q=fe=>{fe.currentTarget===fe.target&&yx(fe)&&fe.preventDefault(),S&&S(fe)},R=fe=>{fe.currentTarget===fe.target&&x&&yx(fe)&&x(fe),E&&E(fe)},_=u!==!1&&T?!0:u,I=_||x?wr:m||"div",W={...i,component:I,disabled:y,size:A,color:p,iconColor:v.isValidElement(b)&&b.props.color||p,onDelete:!!x,clickable:_,variant:O},B=Ak(W),P=I===wr?{component:m||"div",focusVisibleClassName:B.focusVisible,...x&&{disableRipple:!0}}:{};let X=null;x&&(X=g&&v.isValidElement(g)?v.cloneElement(g,{className:ge(g.props.className,B.deleteIcon),onClick:F}):d.jsx(Rk,{className:B.deleteIcon,onClick:F}));let Z=null;s&&v.isValidElement(s)&&(Z=v.cloneElement(s,{className:ge(B.avatar,s.props.className)}));let pe=null;b&&v.isValidElement(b)&&(pe=v.cloneElement(b,{className:ge(B.icon,b.props.className)}));const D={slots:k,slotProps:N},[H,Q]=Re("root",{elementType:Mk,externalForwardedProps:{...D,...L},ownerState:W,shouldForwardComponentProp:!0,ref:$,className:ge(B.root,c),additionalProps:{disabled:_&&y?!0:void 0,tabIndex:M&&y?-1:j,...P},getSlotProps:fe=>({...fe,onClick:ye=>{fe.onClick?.(ye),T?.(ye)},onKeyDown:ye=>{fe.onKeyDown?.(ye),q(ye)},onKeyUp:ye=>{fe.onKeyUp?.(ye),R(ye)}})}),[se,me]=Re("label",{elementType:kk,externalForwardedProps:D,ownerState:W,className:B.label});return d.jsxs(H,{as:I,...Q,children:[Z||pe,d.jsx(se,{...me,children:w}),X]})});function Bu(e){return parseInt(e,10)||0}const Ok={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function zk(e){for(const n in e)return!1;return!0}function vx(e){return zk(e)||e.outerHeightStyle===0&&!e.overflowing}const Bk=v.forwardRef(function(n,o){const{onChange:i,maxRows:s,minRows:c=1,style:u,value:p,...m}=n,{current:g}=v.useRef(p!=null),y=v.useRef(null),b=qt(o,y),w=v.useRef(null),T=v.useRef(null),x=v.useCallback(()=>{const j=y.current,M=T.current;if(!j||!M)return;const N=$r(j).getComputedStyle(j);if(N.width==="0px")return{outerHeightStyle:0,overflowing:!1};M.style.width=N.width,M.value=j.value||n.placeholder||"x",M.value.slice(-1)===`
|
|
146
|
+
`&&(M.value+=" ");const L=N.boxSizing,U=Bu(N.paddingBottom)+Bu(N.paddingTop),$=Bu(N.borderBottomWidth)+Bu(N.borderTopWidth),F=M.scrollHeight;M.value="x";const q=M.scrollHeight;let R=F;c&&(R=Math.max(Number(c)*q,R)),s&&(R=Math.min(Number(s)*q,R)),R=Math.max(R,q);const _=R+(L==="border-box"?U+$:0),I=Math.abs(R-F)<=1;return{outerHeightStyle:_,overflowing:I}},[s,c,n.placeholder]),S=Nn(()=>{const j=y.current,M=x();if(!j||!M||vx(M))return!1;const k=M.outerHeightStyle;return w.current!=null&&w.current!==k}),E=v.useCallback(()=>{const j=y.current,M=x();if(!j||!M||vx(M))return;const k=M.outerHeightStyle;w.current!==k&&(w.current=k,j.style.height=`${k}px`),j.style.overflow=M.overflowing?"hidden":""},[x]),A=v.useRef(-1);Yn(()=>{const j=Ad(E),M=y?.current;if(!M)return;const k=$r(M);k.addEventListener("resize",j);let N;return typeof ResizeObserver<"u"&&(N=new ResizeObserver(()=>{S()&&(N.unobserve(M),cancelAnimationFrame(A.current),E(),A.current=requestAnimationFrame(()=>{N.observe(M)}))}),N.observe(M)),()=>{j.clear(),cancelAnimationFrame(A.current),k.removeEventListener("resize",j),N&&N.disconnect()}},[x,E,S]),Yn(()=>{E()});const O=j=>{g||E();const M=j.target,k=M.value.length,N=M.value.endsWith(`
|
|
147
|
+
`),L=M.selectionStart===k;N&&L&&M.setSelectionRange(k,k),i&&i(j)};return d.jsxs(v.Fragment,{children:[d.jsx("textarea",{value:p,onChange:O,ref:b,rows:c,style:u,...m}),d.jsx("textarea",{"aria-hidden":!0,className:n.className,readOnly:!0,ref:T,tabIndex:-1,style:{...Ok.shadow,...u,paddingTop:0,paddingBottom:0}})]})});function xa({props:e,states:n,muiFormControl:o}){return n.reduce((i,s)=>(i[s]=e[s],o&&typeof e[s]>"u"&&(i[s]=o[s]),i),{})}const Od=v.createContext(void 0);function uo(){return v.useContext(Od)}function bx(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function ld(e,n=!1){return e&&(bx(e.value)&&e.value!==""||n&&bx(e.defaultValue)&&e.defaultValue!=="")}function Nk(e){return e.startAdornment}function Dk(e){return xe("MuiInputBase",e)}const fs=Ce("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var xx;const zd=(e,n)=>{const{ownerState:o}=e;return[n.root,o.formControl&&n.formControl,o.startAdornment&&n.adornedStart,o.endAdornment&&n.adornedEnd,o.error&&n.error,o.size==="small"&&n.sizeSmall,o.multiline&&n.multiline,o.color&&n[`color${ie(o.color)}`],o.fullWidth&&n.fullWidth,o.hiddenLabel&&n.hiddenLabel]},Bd=(e,n)=>{const{ownerState:o}=e;return[n.input,o.size==="small"&&n.inputSizeSmall,o.multiline&&n.inputMultiline,o.type==="search"&&n.inputTypeSearch,o.startAdornment&&n.inputAdornedStart,o.endAdornment&&n.inputAdornedEnd,o.hiddenLabel&&n.inputHiddenLabel]},Lk=e=>{const{classes:n,color:o,disabled:i,error:s,endAdornment:c,focused:u,formControl:p,fullWidth:m,hiddenLabel:g,multiline:y,readOnly:b,size:w,startAdornment:T,type:x}=e,S={root:["root",`color${ie(o)}`,i&&"disabled",s&&"error",m&&"fullWidth",u&&"focused",p&&"formControl",w&&w!=="medium"&&`size${ie(w)}`,y&&"multiline",T&&"adornedStart",c&&"adornedEnd",g&&"hiddenLabel",b&&"readOnly"],input:["input",i&&"disabled",x==="search"&&"inputTypeSearch",y&&"inputMultiline",w==="small"&&"inputSizeSmall",g&&"inputHiddenLabel",T&&"inputAdornedStart",c&&"inputAdornedEnd",b&&"readOnly"]};return Se(S,Dk,n)},Nd=ae("div",{name:"MuiInputBase",slot:"Root",overridesResolver:zd})(Te(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${fs.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:n})=>n.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:n,size:o})=>n.multiline&&o==="small",style:{paddingTop:1}},{props:({ownerState:n})=>n.fullWidth,style:{width:"100%"}}]}))),Dd=ae("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Bd})(Te(({theme:e})=>{const n=e.palette.mode==="light",o={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},i={opacity:"0 !important"},s=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${fs.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":s,"&:focus::-moz-placeholder":s,"&:focus::-ms-input-placeholder":s},[`&.${fs.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:c})=>!c.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:c})=>c.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),Sx=Im({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),Qm=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiInputBase"}),{"aria-describedby":s,autoComplete:c,autoFocus:u,className:p,color:m,components:g={},componentsProps:y={},defaultValue:b,disabled:w,disableInjectingGlobalStyles:T,endAdornment:x,error:S,fullWidth:E=!1,id:A,inputComponent:O="input",inputProps:j={},inputRef:M,margin:k,maxRows:N,minRows:L,multiline:U=!1,name:$,onBlur:F,onChange:q,onClick:R,onFocus:_,onKeyDown:I,onKeyUp:W,placeholder:B,readOnly:P,renderSuffix:X,rows:Z,size:pe,slotProps:D={},slots:H={},startAdornment:Q,type:se="text",value:me,...fe}=i,ye=j.value!=null?j.value:me,{current:ze}=v.useRef(ye!=null),je=v.useRef(),ke=v.useCallback(Xe=>{},[]),De=qt(je,M,j.ref,ke),[$e,We]=v.useState(!1),be=uo(),ve=xa({props:i,muiFormControl:be,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ve.focused=be?be.focused:$e,v.useEffect(()=>{!be&&w&&$e&&(We(!1),F&&F())},[be,w,$e,F]);const Ye=be&&be.onFilled,_e=be&&be.onEmpty,Ie=v.useCallback(Xe=>{ld(Xe)?Ye&&Ye():_e&&_e()},[Ye,_e]);Yn(()=>{ze&&Ie({value:ye})},[ye,Ie,ze]);const Ve=Xe=>{_&&_(Xe),j.onFocus&&j.onFocus(Xe),be&&be.onFocus?be.onFocus(Xe):We(!0)},nt=Xe=>{F&&F(Xe),j.onBlur&&j.onBlur(Xe),be&&be.onBlur?be.onBlur(Xe):We(!1)},Je=(Xe,...an)=>{if(!ze){const Wt=Xe.target||je.current;if(Wt==null)throw new Error(Lo(1));Ie({value:Wt.value})}j.onChange&&j.onChange(Xe,...an),q&&q(Xe,...an)};v.useEffect(()=>{Ie(je.current)},[]);const Ae=Xe=>{je.current&&Xe.currentTarget===Xe.target&&je.current.focus(),R&&R(Xe)};let on=O,qe=j;U&&on==="input"&&(Z?qe={type:void 0,minRows:Z,maxRows:Z,...qe}:qe={type:void 0,maxRows:N,minRows:L,...qe},on=Bk);const Tn=Xe=>{Ie(Xe.animationName==="mui-auto-fill-cancel"?je.current:{value:"x"})};v.useEffect(()=>{be&&be.setAdornedStart(!!Q)},[be,Q]);const ht={...i,color:ve.color||"primary",disabled:ve.disabled,endAdornment:x,error:ve.error,focused:ve.focused,formControl:be,fullWidth:E,hiddenLabel:ve.hiddenLabel,multiline:U,size:ve.size,startAdornment:Q,type:se},et=Lk(ht),vt=H.root||g.Root||Nd,kt=D.root||y.root||{},fn=H.input||g.Input||Dd;return qe={...qe,...D.input??y.input},d.jsxs(v.Fragment,{children:[!T&&typeof Sx=="function"&&(xx||(xx=d.jsx(Sx,{}))),d.jsxs(vt,{...kt,ref:o,onClick:Ae,...fe,...!is(vt)&&{ownerState:{...ht,...kt.ownerState}},className:ge(et.root,kt.className,p,P&&"MuiInputBase-readOnly"),children:[Q,d.jsx(Od.Provider,{value:null,children:d.jsx(fn,{"aria-invalid":ve.error,"aria-describedby":s,autoComplete:c,autoFocus:u,defaultValue:b,disabled:ve.disabled,id:A,onAnimationStart:Tn,name:$,placeholder:B,readOnly:P,required:ve.required,rows:Z,value:ye,onKeyDown:I,onKeyUp:W,type:se,...qe,...!is(fn)&&{as:on,ownerState:{...ht,...qe.ownerState}},ref:De,className:ge(et.input,qe.className,P&&"MuiInputBase-readOnly"),onBlur:nt,onChange:Je,onFocus:Ve})}),x,X?X({...ve,startAdornment:Q}):null]})]})});function $k(e){return xe("MuiInput",e)}const Sl={...fs,...Ce("MuiInput",["root","underline","input"])};function Pk(e){return xe("MuiOutlinedInput",e)}const Wr={...fs,...Ce("MuiOutlinedInput",["root","notchedOutline","input"])};function Uk(e){return xe("MuiFilledInput",e)}const Ua={...fs,...Ce("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},_k=Fe(d.jsx("path",{d:"M7 10l5 5 5-5z"})),Ik={entering:{opacity:1},entered:{opacity:1}},Zh=v.forwardRef(function(n,o){const i=co(),s={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{addEndListener:c,appear:u=!0,children:p,easing:m,in:g,onEnter:y,onEntered:b,onEntering:w,onExit:T,onExited:x,onExiting:S,style:E,timeout:A=s,TransitionComponent:O=Pr,...j}=n,M=v.useRef(null),k=qt(M,ti(p),o),N=I=>W=>{if(I){const B=M.current;W===void 0?I(B):I(B,W)}},L=N(w),U=N((I,W)=>{kS(I);const B=as({style:E,timeout:A,easing:m},{mode:"enter"});I.style.webkitTransition=i.transitions.create("opacity",B),I.style.transition=i.transitions.create("opacity",B),y&&y(I,W)}),$=N(b),F=N(S),q=N(I=>{const W=as({style:E,timeout:A,easing:m},{mode:"exit"});I.style.webkitTransition=i.transitions.create("opacity",W),I.style.transition=i.transitions.create("opacity",W),T&&T(I)}),R=N(x),_=I=>{c&&c(M.current,I)};return d.jsx(O,{appear:u,in:g,nodeRef:M,onEnter:U,onEntered:$,onEntering:L,onExit:q,onExited:R,onExiting:F,addEndListener:_,timeout:A,...j,children:(I,{ownerState:W,...B})=>v.cloneElement(p,{style:{opacity:0,visibility:I==="exited"&&!g?"hidden":void 0,...Ik[I],...E,...p.props.style},ref:k,...B})})});function Hk(e){return xe("MuiBackdrop",e)}Ce("MuiBackdrop",["root","invisible"]);const Fk=e=>{const{classes:n,invisible:o}=e;return Se({root:["root",o&&"invisible"]},Hk,n)},Vk=ae("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.invisible&&n.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),WS=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiBackdrop"}),{children:s,className:c,component:u="div",invisible:p=!1,open:m,components:g={},componentsProps:y={},slotProps:b={},slots:w={},TransitionComponent:T,transitionDuration:x,...S}=i,E={...i,component:u,invisible:p},A=Fk(E),O={transition:T,root:g.Root,...w},j={...y,...b},M={component:u,slots:O,slotProps:j},[k,N]=Re("root",{elementType:Vk,externalForwardedProps:M,className:ge(A.root,c),ownerState:E}),[L,U]=Re("transition",{elementType:Zh,externalForwardedProps:M,ownerState:E});return d.jsx(L,{in:m,timeout:x,...S,...U,children:d.jsx(k,{"aria-hidden":!0,...N,ref:o,children:s})})}),qk=Ce("MuiBox",["root"]),Wk=jd(),ue=qj({themeId:Zr,defaultTheme:Wk,defaultClassName:qk.root,generateClassName:oS.generate}),Gk=Fe(d.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})),Kk=ae(wr,{name:"MuiBreadcrumbCollapsed"})(Te(({theme:e})=>({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`,...e.palette.mode==="light"?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},borderRadius:2,"&:hover, &:focus":{...e.palette.mode==="light"?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}},"&:active":{boxShadow:e.shadows[0],...e.palette.mode==="light"?{backgroundColor:ql(e.palette.grey[200],.12)}:{backgroundColor:ql(e.palette.grey[600],.12)}}}))),Yk=ae(Gk)({width:24,height:16});function Xk(e){const{slots:n={},slotProps:o={},...i}=e,s=e;return d.jsx("li",{children:d.jsx(Kk,{focusRipple:!0,...i,ownerState:s,children:d.jsx(Yk,{as:n.CollapsedIcon,ownerState:s,...o.collapsedIcon})})})}function Qk(e){return xe("MuiBreadcrumbs",e)}const Zk=Ce("MuiBreadcrumbs",["root","ol","li","separator"]),Jk=e=>{const{classes:n}=e;return Se({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},Qk,n)},eO=ae(ne,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,n)=>[{[`& .${Zk.li}`]:n.li},n.root]})({}),tO=ae("ol",{name:"MuiBreadcrumbs",slot:"Ol"})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),nO=ae("li",{name:"MuiBreadcrumbs",slot:"Separator"})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function rO(e,n,o,i){return e.reduce((s,c,u)=>(u<e.length-1?s=s.concat(c,d.jsx(nO,{"aria-hidden":!0,className:n,ownerState:i,children:o},`separator-${u}`)):s.push(c),s),[])}const oO=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiBreadcrumbs"}),{children:s,className:c,component:u="nav",slots:p={},slotProps:m={},expandText:g="Show path",itemsAfterCollapse:y=1,itemsBeforeCollapse:b=1,maxItems:w=8,separator:T="/",...x}=i,[S,E]=v.useState(!1),A={...i,component:u,expanded:S,expandText:g,itemsAfterCollapse:y,itemsBeforeCollapse:b,maxItems:w,separator:T},O=Jk(A),j=Za({elementType:p.CollapsedIcon,externalSlotProps:m.collapsedIcon,ownerState:A}),M=v.useRef(null),k=L=>{const U=()=>{E(!0);const $=M.current.querySelector("a[href],button,[tabindex]");$&&$.focus()};return b+y>=L.length?L:[...L.slice(0,b),d.jsx(Xk,{"aria-label":g,slots:{CollapsedIcon:p.CollapsedIcon},slotProps:{collapsedIcon:j},onClick:U},"ellipsis"),...L.slice(L.length-y,L.length)]},N=v.Children.toArray(s).filter(L=>v.isValidElement(L)).map((L,U)=>d.jsx("li",{className:O.li,children:L},`child-${U}`));return d.jsx(eO,{ref:o,component:u,color:"textSecondary",className:ge(O.root,c),ownerState:A,...x,children:d.jsx(tO,{className:O.ol,ref:M,ownerState:A,children:rO(S||w&&N.length<=w?N:k(N),O.separator,T,A)})})});function aO(e){return xe("MuiButton",e)}const _a=Ce("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),iO=v.createContext({}),sO=v.createContext(void 0),lO=e=>{const{color:n,disableElevation:o,fullWidth:i,size:s,variant:c,loading:u,loadingPosition:p,classes:m}=e,g={root:["root",u&&"loading",c,`${c}${ie(n)}`,`size${ie(s)}`,`${c}Size${ie(s)}`,`color${ie(n)}`,o&&"disableElevation",i&&"fullWidth",u&&`loadingPosition${ie(p)}`],startIcon:["icon","startIcon",`iconSize${ie(s)}`],endIcon:["icon","endIcon",`iconSize${ie(s)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},y=Se(g,aO,m);return{...m,...y}},GS=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],cO=ae(wr,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,n[o.variant],n[`${o.variant}${ie(o.color)}`],n[`size${ie(o.size)}`],n[`${o.variant}Size${ie(o.size)}`],o.color==="inherit"&&n.colorInherit,o.disableElevation&&n.disableElevation,o.fullWidth&&n.fullWidth,o.loading&&n.loading]}})(Te(({theme:e})=>{const n=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],o=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${_a.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${_a.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${_a.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${_a.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(Dt()).map(([i])=>({props:{color:i},style:{"--variant-textColor":(e.vars||e).palette[i].main,"--variant-outlinedColor":(e.vars||e).palette[i].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[i].main,.5),"--variant-containedColor":(e.vars||e).palette[i].contrastText,"--variant-containedBg":(e.vars||e).palette[i].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[i].dark,"--variant-textBg":e.alpha((e.vars||e).palette[i].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[i].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[i].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:n,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:o,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${_a.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${_a.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${_a.loading}`]:{color:"transparent"}}}]}})),uO=ae("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.startIcon,o.loading&&n.startIconLoadingStart,n[`iconSize${ie(o.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...GS]})),dO=ae("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.endIcon,o.loading&&n.endIconLoadingEnd,n[`iconSize${ie(o.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...GS]})),fO=ae("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),Cx=ae("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),He=v.forwardRef(function(n,o){const i=v.useContext(iO),s=v.useContext(sO),c=Fl(i,n),u=we({props:c,name:"MuiButton"}),{children:p,color:m="primary",component:g="button",className:y,disabled:b=!1,disableElevation:w=!1,disableFocusRipple:T=!1,endIcon:x,focusVisibleClassName:S,fullWidth:E=!1,id:A,loading:O=null,loadingIndicator:j,loadingPosition:M="center",size:k="medium",startIcon:N,type:L,variant:U="text",...$}=u,F=ei(A),q=j??d.jsx(Et,{"aria-labelledby":F,color:"inherit",size:16}),R={...u,color:m,component:g,disabled:b,disableElevation:w,disableFocusRipple:T,fullWidth:E,loading:O,loadingIndicator:q,loadingPosition:M,size:k,type:L,variant:U},_=lO(R),I=(N||O&&M==="start")&&d.jsx(uO,{className:_.startIcon,ownerState:R,children:N||d.jsx(Cx,{className:_.loadingIconPlaceholder,ownerState:R})}),W=(x||O&&M==="end")&&d.jsx(dO,{className:_.endIcon,ownerState:R,children:x||d.jsx(Cx,{className:_.loadingIconPlaceholder,ownerState:R})}),B=s||"",P=typeof O=="boolean"?d.jsx("span",{className:_.loadingWrapper,style:{display:"contents"},children:O&&d.jsx(fO,{className:_.loadingIndicator,ownerState:R,children:q})}):null;return d.jsxs(cO,{ownerState:R,className:ge(i.className,_.root,y,B),component:g,disabled:b||O,focusRipple:!T,focusVisibleClassName:ge(_.focusVisible,S),ref:o,type:L,id:O?F:A,...$,classes:_,children:[I,M!=="end"&&P,p,M==="end"&&P,W]})});function pO(e){return xe("MuiCard",e)}Ce("MuiCard",["root"]);const hO=e=>{const{classes:n}=e;return Se({root:["root"]},pO,n)},mO=ae(Ft,{name:"MuiCard",slot:"Root"})({overflow:"hidden"}),to=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiCard"}),{className:s,raised:c=!1,...u}=i,p={...i,raised:c},m=hO(p);return d.jsx(mO,{className:ge(m.root,s),elevation:c?8:void 0,ref:o,ownerState:p,...u})});function gO(e){return xe("MuiCardActionArea",e)}const bh=Ce("MuiCardActionArea",["root","focusVisible","focusHighlight"]),yO=e=>{const{classes:n}=e;return Se({root:["root"],focusHighlight:["focusHighlight"]},gO,n)},vO=ae(wr,{name:"MuiCardActionArea",slot:"Root"})(Te(({theme:e})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${bh.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${bh.focusVisible} .${bh.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}}))),bO=ae("span",{name:"MuiCardActionArea",slot:"FocusHighlight"})(Te(({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}))),xO=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiCardActionArea"}),{children:s,className:c,focusVisibleClassName:u,slots:p={},slotProps:m={},...g}=i,y=i,b=yO(y),w={slots:p,slotProps:m},[T,x]=Re("root",{elementType:vO,externalForwardedProps:{...w,...g},shouldForwardComponentProp:!0,ownerState:y,ref:o,className:ge(b.root,c),additionalProps:{focusVisibleClassName:ge(u,b.focusVisible)}}),[S,E]=Re("focusHighlight",{elementType:bO,externalForwardedProps:w,ownerState:y,className:b.focusHighlight});return d.jsxs(T,{...x,children:[s,d.jsx(S,{...E})]})});function SO(e){return xe("MuiCardActions",e)}Ce("MuiCardActions",["root","spacing"]);const CO=e=>{const{classes:n,disableSpacing:o}=e;return Se({root:["root",!o&&"spacing"]},SO,n)},wO=ae("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,!o.disableSpacing&&n.spacing]}})({display:"flex",alignItems:"center",padding:8,variants:[{props:{disableSpacing:!1},style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),Ku=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiCardActions"}),{disableSpacing:s=!1,className:c,...u}=i,p={...i,disableSpacing:s},m=CO(p);return d.jsx(wO,{className:ge(m.root,c),ownerState:p,ref:o,...u})});function EO(e){return xe("MuiCardContent",e)}Ce("MuiCardContent",["root"]);const TO=e=>{const{classes:n}=e;return Se({root:["root"]},EO,n)},RO=ae("div",{name:"MuiCardContent",slot:"Root"})({padding:16,"&:last-child":{paddingBottom:24}}),No=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiCardContent"}),{className:s,component:c="div",...u}=i,p={...i,component:c},m=TO(p);return d.jsx(RO,{as:c,className:ge(m.root,s),ownerState:p,ref:o,...u})});function jO(e){return xe("PrivateSwitchBase",e)}Ce("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const AO=e=>{const{classes:n,checked:o,disabled:i,edge:s}=e,c={root:["root",o&&"checked",i&&"disabled",s&&`edge${ie(s)}`],input:["input"]};return Se(c,jO,n)},MO=ae(wr,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:n})=>e==="start"&&n.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:n})=>e==="end"&&n.size!=="small",style:{marginRight:-12}}]}),kO=ae("input",{name:"MuiSwitchBase",shouldForwardProp:kn})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),KS=v.forwardRef(function(n,o){const{autoFocus:i,checked:s,checkedIcon:c,defaultChecked:u,disabled:p,disableFocusRipple:m=!1,edge:g=!1,icon:y,id:b,inputProps:w,inputRef:T,name:x,onBlur:S,onChange:E,onFocus:A,readOnly:O,required:j=!1,tabIndex:M,type:k,value:N,slots:L={},slotProps:U={},...$}=n,[F,q]=Wl({controlled:s,default:!!u,name:"SwitchBase",state:"checked"}),R=uo(),_=me=>{A&&A(me),R&&R.onFocus&&R.onFocus(me)},I=me=>{S&&S(me),R&&R.onBlur&&R.onBlur(me)},W=me=>{if(me.nativeEvent.defaultPrevented||O)return;const fe=me.target.checked;q(fe),E&&E(me,fe)};let B=p;R&&typeof B>"u"&&(B=R.disabled);const P=k==="checkbox"||k==="radio",X={...n,checked:F,disabled:B,disableFocusRipple:m,edge:g},Z=AO(X),pe={slots:L,slotProps:{input:w,...U}},[D,H]=Re("root",{ref:o,elementType:MO,className:Z.root,shouldForwardComponentProp:!0,externalForwardedProps:{...pe,component:"span",...$},getSlotProps:me=>({...me,onFocus:fe=>{me.onFocus?.(fe),_(fe)},onBlur:fe=>{me.onBlur?.(fe),I(fe)}}),ownerState:X,additionalProps:{centerRipple:!0,focusRipple:!m,disabled:B,role:void 0,tabIndex:null}}),[Q,se]=Re("input",{ref:T,elementType:kO,className:Z.input,externalForwardedProps:pe,getSlotProps:me=>({...me,onChange:fe=>{me.onChange?.(fe),W(fe)}}),ownerState:X,additionalProps:{autoFocus:i,checked:s,defaultChecked:u,disabled:B,id:P?b:void 0,name:x,readOnly:O,required:j,tabIndex:M,type:k,...k==="checkbox"&&N===void 0?{}:{value:N}}});return d.jsxs(D,{...H,children:[d.jsx(Q,{...se}),F?c:y]})}),OO=Fe(d.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"})),zO=Fe(d.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})),BO=Fe(d.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}));function NO(e){return xe("MuiCheckbox",e)}const xh=Ce("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),DO=e=>{const{classes:n,indeterminate:o,color:i,size:s}=e,c={root:["root",o&&"indeterminate",`color${ie(i)}`,`size${ie(s)}`]},u=Se(c,NO,n);return{...n,...u}},LO=ae(KS,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.indeterminate&&n.indeterminate,n[`size${ie(o.size)}`],o.color!=="default"&&n[`color${ie(o.color)}`]]}})(Te(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(Dt()).map(([n])=>({props:{color:n,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[n].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Dt()).map(([n])=>({props:{color:n},style:{[`&.${xh.checked}, &.${xh.indeterminate}`]:{color:(e.vars||e).palette[n].main},[`&.${xh.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),$O=d.jsx(zO,{}),PO=d.jsx(OO,{}),UO=d.jsx(BO,{}),_O=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiCheckbox"}),{checkedIcon:s=$O,color:c="primary",icon:u=PO,indeterminate:p=!1,indeterminateIcon:m=UO,inputProps:g,size:y="medium",disableRipple:b=!1,className:w,slots:T={},slotProps:x={},...S}=i,E=p?m:u,A=p?m:s,O={...i,disableRipple:b,color:c,indeterminate:p,size:y},j=DO(O),M=x.input??g,[k,N]=Re("root",{ref:o,elementType:LO,className:ge(j.root,w),shouldForwardComponentProp:!0,externalForwardedProps:{slots:T,slotProps:x,...S},ownerState:O,additionalProps:{type:"checkbox",icon:v.cloneElement(E,{fontSize:E.props.fontSize??y}),checkedIcon:v.cloneElement(A,{fontSize:A.props.fontSize??y}),disableRipple:b,slots:T,slotProps:{input:RS(typeof M=="function"?M(O):M,{"data-indeterminate":p})}}});return d.jsx(k,{...N,classes:j})});function wx(e){return e.substring(2).toLowerCase()}function IO(e,n){return n.documentElement.clientWidth<e.clientX||n.documentElement.clientHeight<e.clientY}function HO(e){const{children:n,disableReactTree:o=!1,mouseEvent:i="onClick",onClickAway:s,touchEvent:c="onTouchEnd"}=e,u=v.useRef(!1),p=v.useRef(null),m=v.useRef(!1),g=v.useRef(!1);v.useEffect(()=>(setTimeout(()=>{m.current=!0},0),()=>{m.current=!1}),[]);const y=qt(ti(n),p),b=Nn(x=>{const S=g.current;g.current=!1;const E=En(p.current);if(!m.current||!p.current||"clientX"in x&&IO(x,E))return;if(u.current){u.current=!1;return}let A;x.composedPath?A=x.composedPath().includes(p.current):A=!E.documentElement.contains(x.target)||p.current.contains(x.target),!A&&(o||!S)&&s(x)}),w=x=>S=>{g.current=!0;const E=n.props[x];E&&E(S)},T={ref:y};return c!==!1&&(T[c]=w(c)),v.useEffect(()=>{if(c!==!1){const x=wx(c),S=En(p.current),E=()=>{u.current=!0};return S.addEventListener(x,b),S.addEventListener("touchmove",E),()=>{S.removeEventListener(x,b),S.removeEventListener("touchmove",E)}}},[b,c]),i!==!1&&(T[i]=w(i)),v.useEffect(()=>{if(i!==!1){const x=wx(i),S=En(p.current);return S.addEventListener(x,b),()=>{S.removeEventListener(x,b)}}},[b,i]),v.cloneElement(n,T)}const YS=NA({createStyledComponent:ae("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,n[`maxWidth${ie(String(o.maxWidth))}`],o.fixed&&n.fixed,o.disableGutters&&n.disableGutters]}}),useThemeProps:e=>we({props:e,name:"MuiContainer"})}),Jh=typeof Im({})=="function",FO=(e,n)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...n&&!e.vars&&{colorScheme:e.palette.mode}}),VO=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),XS=(e,n=!1)=>{const o={};n&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([c,u])=>{const p=e.getColorSchemeSelector(c);p.startsWith("@")?o[p]={":root":{colorScheme:u.palette?.mode}}:o[p.replace(/\s*&/,"")]={colorScheme:u.palette?.mode}});let i={html:FO(e,n),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...VO(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...o};const s=e.components?.MuiCssBaseline?.styleOverrides;return s&&(i=[i,s]),i},Yu="mui-ecs",qO=e=>{const n=XS(e,!1),o=Array.isArray(n)?n[0]:n;return!e.vars&&o&&(o.html[`:root:has(${Yu})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([i,s])=>{const c=e.getColorSchemeSelector(i);c.startsWith("@")?o[c]={[`:root:not(:has(.${Yu}))`]:{colorScheme:s.palette?.mode}}:o[c.replace(/\s*&/,"")]={[`&:not(:has(.${Yu}))`]:{colorScheme:s.palette?.mode}}}),n},WO=Im(Jh?({theme:e,enableColorScheme:n})=>XS(e,n):({theme:e})=>qO(e));function GO(e){const n=we({props:e,name:"MuiCssBaseline"}),{children:o,enableColorScheme:i=!1}=n;return d.jsxs(v.Fragment,{children:[Jh&&d.jsx(WO,{enableColorScheme:i}),!Jh&&!i&&d.jsx("span",{className:Yu,style:{display:"none"}}),o]})}function QS(e=window){const n=e.document.documentElement.clientWidth;return e.innerWidth-n}function KO(e){const n=En(e);return n.body===e?$r(e).innerWidth>n.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Ll(e,n){n?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Ex(e){return parseFloat($r(e).getComputedStyle(e).paddingRight)||0}function YO(e){const o=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),i=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return o||i}function Tx(e,n,o,i,s){const c=[n,o,...i];[].forEach.call(e.children,u=>{const p=!c.includes(u),m=!YO(u);p&&m&&Ll(u,s)})}function Sh(e,n){let o=-1;return e.some((i,s)=>n(i)?(o=s,!0):!1),o}function XO(e,n){const o=[],i=e.container;if(!n.disableScrollLock){if(KO(i)){const u=QS($r(i));o.push({value:i.style.paddingRight,property:"padding-right",el:i}),i.style.paddingRight=`${Ex(i)+u}px`;const p=En(i).querySelectorAll(".mui-fixed");[].forEach.call(p,m=>{o.push({value:m.style.paddingRight,property:"padding-right",el:m}),m.style.paddingRight=`${Ex(m)+u}px`})}let c;if(i.parentNode instanceof DocumentFragment)c=En(i).body;else{const u=i.parentElement,p=$r(i);c=u?.nodeName==="HTML"&&p.getComputedStyle(u).overflowY==="scroll"?u:i}o.push({value:c.style.overflow,property:"overflow",el:c},{value:c.style.overflowX,property:"overflow-x",el:c},{value:c.style.overflowY,property:"overflow-y",el:c}),c.style.overflow="hidden"}return()=>{o.forEach(({value:c,el:u,property:p})=>{c?u.style.setProperty(p,c):u.style.removeProperty(p)})}}function QO(e){const n=[];return[].forEach.call(e.children,o=>{o.getAttribute("aria-hidden")==="true"&&n.push(o)}),n}class ZO{constructor(){this.modals=[],this.containers=[]}add(n,o){let i=this.modals.indexOf(n);if(i!==-1)return i;i=this.modals.length,this.modals.push(n),n.modalRef&&Ll(n.modalRef,!1);const s=QO(o);Tx(o,n.mount,n.modalRef,s,!0);const c=Sh(this.containers,u=>u.container===o);return c!==-1?(this.containers[c].modals.push(n),i):(this.containers.push({modals:[n],container:o,restore:null,hiddenSiblings:s}),i)}mount(n,o){const i=Sh(this.containers,c=>c.modals.includes(n)),s=this.containers[i];s.restore||(s.restore=XO(s,o))}remove(n,o=!0){const i=this.modals.indexOf(n);if(i===-1)return i;const s=Sh(this.containers,u=>u.modals.includes(n)),c=this.containers[s];if(c.modals.splice(c.modals.indexOf(n),1),this.modals.splice(i,1),c.modals.length===0)c.restore&&c.restore(),n.modalRef&&Ll(n.modalRef,o),Tx(c.container,n.mount,n.modalRef,c.hiddenSiblings,!1),this.containers.splice(s,1);else{const u=c.modals[c.modals.length-1];u.modalRef&&Ll(u.modalRef,!1)}return i}isTopModal(n){return this.modals.length>0&&this.modals[this.modals.length-1]===n}}function Qi(e){let n=e.activeElement;for(;n?.shadowRoot?.activeElement!=null;)n=n.shadowRoot.activeElement;return n}const JO=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function e3(e){const n=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(n)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:n}function t3(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const n=i=>e.ownerDocument.querySelector(`input[type="radio"]${i}`);let o=n(`[name="${e.name}"]:checked`);return o||(o=n(`[name="${e.name}"]`)),o!==e}function n3(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||t3(e))}function r3(e){const n=[],o=[];return Array.from(e.querySelectorAll(JO)).forEach((i,s)=>{const c=e3(i);c===-1||!n3(i)||(c===0?n.push(i):o.push({documentOrder:s,tabIndex:c,node:i}))}),o.sort((i,s)=>i.tabIndex===s.tabIndex?i.documentOrder-s.documentOrder:i.tabIndex-s.tabIndex).map(i=>i.node).concat(n)}function o3(){return!0}function a3(e){const{children:n,disableAutoFocus:o=!1,disableEnforceFocus:i=!1,disableRestoreFocus:s=!1,getTabbable:c=r3,isEnabled:u=o3,open:p}=e,m=v.useRef(!1),g=v.useRef(null),y=v.useRef(null),b=v.useRef(null),w=v.useRef(null),T=v.useRef(!1),x=v.useRef(null),S=qt(ti(n),x),E=v.useRef(null);v.useEffect(()=>{!p||!x.current||(T.current=!o)},[o,p]),v.useEffect(()=>{if(!p||!x.current)return;const j=En(x.current),M=Qi(j);return x.current.contains(M)||(x.current.hasAttribute("tabIndex")||x.current.setAttribute("tabIndex","-1"),T.current&&x.current.focus()),()=>{s||(b.current&&b.current.focus&&(m.current=!0,b.current.focus()),b.current=null)}},[p]),v.useEffect(()=>{if(!p||!x.current)return;const j=En(x.current),M=L=>{if(E.current=L,i||!u()||L.key!=="Tab")return;Qi(j)===x.current&&L.shiftKey&&(m.current=!0,y.current&&y.current.focus())},k=()=>{const L=x.current;if(L===null)return;const U=Qi(j);if(!j.hasFocus()||!u()||m.current){m.current=!1;return}if(L.contains(U)||i&&U!==g.current&&U!==y.current)return;if(U!==w.current)w.current=null;else if(w.current!==null)return;if(!T.current)return;let $=[];if((U===g.current||U===y.current)&&($=c(x.current)),$.length>0){const F=!!(E.current?.shiftKey&&E.current?.key==="Tab"),q=$[0],R=$[$.length-1];typeof q!="string"&&typeof R!="string"&&(F?R.focus():q.focus())}else L.focus()};j.addEventListener("focusin",k),j.addEventListener("keydown",M,!0);const N=setInterval(()=>{const L=Qi(j);L&&L.tagName==="BODY"&&k()},50);return()=>{clearInterval(N),j.removeEventListener("focusin",k),j.removeEventListener("keydown",M,!0)}},[o,i,s,u,p,c]);const A=j=>{b.current===null&&(b.current=j.relatedTarget),T.current=!0,w.current=j.target;const M=n.props.onFocus;M&&M(j)},O=j=>{b.current===null&&(b.current=j.relatedTarget),T.current=!0};return d.jsxs(v.Fragment,{children:[d.jsx("div",{tabIndex:p?0:-1,onFocus:O,ref:g,"data-testid":"sentinelStart"}),v.cloneElement(n,{ref:S,onFocus:A}),d.jsx("div",{tabIndex:p?0:-1,onFocus:O,ref:y,"data-testid":"sentinelEnd"})]})}function i3(e){return typeof e=="function"?e():e}function s3(e){return e?e.props.hasOwnProperty("in"):!1}const Rx=()=>{},Nu=new ZO;function l3(e){const{container:n,disableEscapeKeyDown:o=!1,disableScrollLock:i=!1,closeAfterTransition:s=!1,onTransitionEnter:c,onTransitionExited:u,children:p,onClose:m,open:g,rootRef:y}=e,b=v.useRef({}),w=v.useRef(null),T=v.useRef(null),x=qt(T,y),[S,E]=v.useState(!g),A=s3(p);let O=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(O=!1);const j=()=>En(w.current),M=()=>(b.current.modalRef=T.current,b.current.mount=w.current,b.current),k=()=>{Nu.mount(M(),{disableScrollLock:i}),T.current&&(T.current.scrollTop=0)},N=Nn(()=>{const W=i3(n)||j().body;Nu.add(M(),W),T.current&&k()}),L=()=>Nu.isTopModal(M()),U=Nn(W=>{w.current=W,W&&(g&&L()?k():T.current&&Ll(T.current,O))}),$=v.useCallback(()=>{Nu.remove(M(),O)},[O]);v.useEffect(()=>()=>{$()},[$]),v.useEffect(()=>{g?N():(!A||!s)&&$()},[g,$,A,s,N]);const F=W=>B=>{W.onKeyDown?.(B),!(B.key!=="Escape"||B.which===229||!L())&&(o||(B.stopPropagation(),m&&m(B,"escapeKeyDown")))},q=W=>B=>{W.onClick?.(B),B.target===B.currentTarget&&m&&m(B,"backdropClick")};return{getRootProps:(W={})=>{const B=ad(e);delete B.onTransitionEnter,delete B.onTransitionExited;const P={...B,...W};return{role:"presentation",...P,onKeyDown:F(P),ref:x}},getBackdropProps:(W={})=>{const B=W;return{"aria-hidden":!0,...B,onClick:q(B),open:g}},getTransitionProps:()=>{const W=()=>{E(!1),c&&c()},B=()=>{E(!0),u&&u(),s&&$()};return{onEnter:Z0(W,p?.props.onEnter??Rx),onExited:Z0(B,p?.props.onExited??Rx)}},rootRef:x,portalRef:U,isTopModal:L,exited:S,hasTransition:A}}function c3(e){return xe("MuiModal",e)}Ce("MuiModal",["root","hidden","backdrop"]);const u3=e=>{const{open:n,exited:o,classes:i}=e;return Se({root:["root",!n&&o&&"hidden"],backdrop:["backdrop"]},c3,i)},d3=ae("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,!o.open&&o.exited&&n.hidden]}})(Te(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:n})=>!n.open&&n.exited,style:{visibility:"hidden"}}]}))),f3=ae(WS,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),ZS=v.forwardRef(function(n,o){const i=we({name:"MuiModal",props:n}),{BackdropComponent:s=f3,BackdropProps:c,classes:u,className:p,closeAfterTransition:m=!1,children:g,container:y,component:b,components:w={},componentsProps:T={},disableAutoFocus:x=!1,disableEnforceFocus:S=!1,disableEscapeKeyDown:E=!1,disablePortal:A=!1,disableRestoreFocus:O=!1,disableScrollLock:j=!1,hideBackdrop:M=!1,keepMounted:k=!1,onClose:N,onTransitionEnter:L,onTransitionExited:U,open:$,slotProps:F={},slots:q={},theme:R,..._}=i,I={...i,closeAfterTransition:m,disableAutoFocus:x,disableEnforceFocus:S,disableEscapeKeyDown:E,disablePortal:A,disableRestoreFocus:O,disableScrollLock:j,hideBackdrop:M,keepMounted:k},{getRootProps:W,getBackdropProps:B,getTransitionProps:P,portalRef:X,isTopModal:Z,exited:pe,hasTransition:D}=l3({...I,rootRef:o}),H={...I,exited:pe},Q=u3(H),se={};if(g.props.tabIndex===void 0&&(se.tabIndex="-1"),D){const{onEnter:ke,onExited:De}=P();se.onEnter=ke,se.onExited=De}const me={slots:{root:w.Root,backdrop:w.Backdrop,...q},slotProps:{...T,...F}},[fe,ye]=Re("root",{ref:o,elementType:d3,externalForwardedProps:{...me,..._,component:b},getSlotProps:W,ownerState:H,className:ge(p,Q?.root,!H.open&&H.exited&&Q?.hidden)}),[ze,je]=Re("backdrop",{ref:c?.ref,elementType:s,externalForwardedProps:me,shouldForwardComponentProp:!0,additionalProps:c,getSlotProps:ke=>B({...ke,onClick:De=>{ke?.onClick&&ke.onClick(De)}}),className:ge(c?.className,Q?.backdrop),ownerState:H});return!k&&!$&&(!D||pe)?null:d.jsx(VS,{ref:X,container:y,disablePortal:A,children:d.jsxs(fe,{...ye,children:[!M&&s?d.jsx(ze,{...je}):null,d.jsx(a3,{disableEnforceFocus:S,disableAutoFocus:x,disableRestoreFocus:O,isEnabled:Z,open:$,children:v.cloneElement(g,se)})]})})});function p3(e){return xe("MuiDialog",e)}const Ch=Ce("MuiDialog",["root","backdrop","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),JS=v.createContext({}),h3=ae(WS,{name:"MuiDialog",slot:"Backdrop"})({zIndex:-1}),m3=e=>{const{classes:n,scroll:o,maxWidth:i,fullWidth:s,fullScreen:c}=e,u={root:["root"],backdrop:["backdrop"],container:["container",`scroll${ie(o)}`],paper:["paper",`paperScroll${ie(o)}`,`paperWidth${ie(String(i))}`,s&&"paperFullWidth",c&&"paperFullScreen"]};return Se(u,p3,n)},g3=ae(ZS,{name:"MuiDialog",slot:"Root"})({"@media print":{position:"absolute !important"}}),y3=ae("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.container,n[`scroll${ie(o.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),v3=ae(Ft,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.paper,n[`scrollPaper${ie(o.scroll)}`],n[`paperWidth${ie(String(o.maxWidth))}`],o.fullWidth&&n.paperFullWidth,o.fullScreen&&n.paperFullScreen]}})(Te(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:n})=>!n.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${Ch.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(n=>n!=="xs").map(n=>({props:{maxWidth:n},style:{maxWidth:`${e.breakpoints.values[n]}${e.breakpoints.unit}`,[`&.${Ch.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[n]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:n})=>n.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:n})=>n.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${Ch.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),oo=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiDialog"}),s=co(),c={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{"aria-describedby":u,"aria-labelledby":p,"aria-modal":m=!0,BackdropComponent:g,BackdropProps:y,children:b,className:w,disableEscapeKeyDown:T=!1,fullScreen:x=!1,fullWidth:S=!1,maxWidth:E="sm",onClick:A,onClose:O,open:j,PaperComponent:M=Ft,PaperProps:k={},scroll:N="paper",slots:L={},slotProps:U={},TransitionComponent:$=Zh,transitionDuration:F=c,TransitionProps:q,...R}=i,_={...i,disableEscapeKeyDown:T,fullScreen:x,fullWidth:S,maxWidth:E,scroll:N},I=m3(_),W=v.useRef(),B=We=>{W.current=We.target===We.currentTarget},P=We=>{A&&A(We),W.current&&(W.current=null,O&&O(We,"backdropClick"))},X=ei(p),Z=v.useMemo(()=>({titleId:X}),[X]),pe={transition:$,...L},D={transition:q,paper:k,backdrop:y,...U},H={slots:pe,slotProps:D},[Q,se]=Re("root",{elementType:g3,shouldForwardComponentProp:!0,externalForwardedProps:H,ownerState:_,className:ge(I.root,w),ref:o}),[me,fe]=Re("backdrop",{elementType:h3,shouldForwardComponentProp:!0,externalForwardedProps:H,ownerState:_,className:I.backdrop}),[ye,ze]=Re("paper",{elementType:v3,shouldForwardComponentProp:!0,externalForwardedProps:H,ownerState:_,className:ge(I.paper,k.className)}),[je,ke]=Re("container",{elementType:y3,externalForwardedProps:H,ownerState:_,className:I.container}),[De,$e]=Re("transition",{elementType:Zh,externalForwardedProps:H,ownerState:_,additionalProps:{appear:!0,in:j,timeout:F,role:"presentation"}});return d.jsx(Q,{closeAfterTransition:!0,slots:{backdrop:me},slotProps:{backdrop:{transitionDuration:F,as:g,...fe}},disableEscapeKeyDown:T,onClose:O,open:j,onClick:P,...se,...R,children:d.jsx(De,{...$e,children:d.jsx(je,{onMouseDown:B,...ke,children:d.jsx(ye,{as:M,elevation:24,role:"dialog","aria-describedby":u,"aria-labelledby":X,"aria-modal":m,...ze,children:d.jsx(JS.Provider,{value:Z,children:b})})})})})});function b3(e){return xe("MuiDialogActions",e)}Ce("MuiDialogActions",["root","spacing"]);const x3=e=>{const{classes:n,disableSpacing:o}=e;return Se({root:["root",!o&&"spacing"]},b3,n)},S3=ae("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,!o.disableSpacing&&n.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),ao=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiDialogActions"}),{className:s,disableSpacing:c=!1,...u}=i,p={...i,disableSpacing:c},m=x3(p);return d.jsx(S3,{className:ge(m.root,s),ownerState:p,ref:o,...u})});function C3(e){return xe("MuiDialogContent",e)}Ce("MuiDialogContent",["root","dividers"]);function w3(e){return xe("MuiDialogTitle",e)}const E3=Ce("MuiDialogTitle",["root"]),T3=e=>{const{classes:n,dividers:o}=e;return Se({root:["root",o&&"dividers"]},C3,n)},R3=ae("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.dividers&&n.dividers]}})(Te(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:n})=>n.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:n})=>!n.dividers,style:{[`.${E3.root} + &`]:{paddingTop:0}}}]}))),io=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiDialogContent"}),{className:s,dividers:c=!1,...u}=i,p={...i,dividers:c},m=T3(p);return d.jsx(R3,{className:ge(m.root,s),ownerState:p,ref:o,...u})});function j3(e){return xe("MuiDialogContentText",e)}Ce("MuiDialogContentText",["root"]);const A3=e=>{const{classes:n}=e,i=Se({root:["root"]},j3,n);return{...n,...i}},M3=ae(ne,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiDialogContentText",slot:"Root"})({}),em=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiDialogContentText"}),{children:s,className:c,...u}=i,p=A3(u);return d.jsx(M3,{component:"p",variant:"body1",color:"textSecondary",ref:o,ownerState:u,className:ge(p.root,c),...i,classes:p})}),k3=e=>{const{classes:n}=e;return Se({root:["root"]},w3,n)},O3=ae(ne,{name:"MuiDialogTitle",slot:"Root"})({padding:"16px 24px",flex:"0 0 auto"}),so=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiDialogTitle"}),{className:s,id:c,...u}=i,p=i,m=k3(p),{titleId:g=c}=v.useContext(JS);return d.jsx(O3,{component:"h2",className:ge(m.root,s),ownerState:p,ref:o,variant:"h6",id:c??g,...u})});function z3(e){return xe("MuiDivider",e)}const jx=Ce("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),B3=e=>{const{absolute:n,children:o,classes:i,flexItem:s,light:c,orientation:u,textAlign:p,variant:m}=e;return Se({root:["root",n&&"absolute",m,c&&"light",u==="vertical"&&"vertical",s&&"flexItem",o&&"withChildren",o&&u==="vertical"&&"withChildrenVertical",p==="right"&&u!=="vertical"&&"textAlignRight",p==="left"&&u!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",u==="vertical"&&"wrapperVertical"]},z3,i)},N3=ae("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.absolute&&n.absolute,n[o.variant],o.light&&n.light,o.orientation==="vertical"&&n.vertical,o.flexItem&&n.flexItem,o.children&&n.withChildren,o.children&&o.orientation==="vertical"&&n.withChildrenVertical,o.textAlign==="right"&&o.orientation!=="vertical"&&n.textAlignRight,o.textAlign==="left"&&o.orientation!=="vertical"&&n.textAlignLeft]}})(Te(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.alpha((e.vars||e).palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:n})=>!!n.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:n})=>n.children&&n.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:n})=>n.orientation==="vertical"&&n.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:n})=>n.textAlign==="right"&&n.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:n})=>n.textAlign==="left"&&n.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),D3=ae("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.wrapper,o.orientation==="vertical"&&n.wrapperVertical]}})(Te(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),Uo=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiDivider"}),{absolute:s=!1,children:c,className:u,orientation:p="horizontal",component:m=c||p==="vertical"?"div":"hr",flexItem:g=!1,light:y=!1,role:b=m!=="hr"?"separator":void 0,textAlign:w="center",variant:T="fullWidth",...x}=i,S={...i,absolute:s,component:m,flexItem:g,light:y,orientation:p,role:b,textAlign:w,variant:T},E=B3(S);return d.jsx(N3,{as:m,className:ge(E.root,u),role:b,ref:o,ownerState:S,"aria-orientation":b==="separator"&&(m!=="hr"||p==="vertical")?p:void 0,...x,children:c?d.jsx(D3,{className:E.wrapper,ownerState:S,children:c}):null})});Uo&&(Uo.muiSkipListHighlight=!0);const L3=e=>{const{classes:n,disableUnderline:o,startAdornment:i,endAdornment:s,size:c,hiddenLabel:u,multiline:p}=e,m={root:["root",!o&&"underline",i&&"adornedStart",s&&"adornedEnd",c==="small"&&`size${ie(c)}`,u&&"hiddenLabel",p&&"multiline"],input:["input"]},g=Se(m,Uk,n);return{...n,...g}},$3=ae(Nd,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[...zd(e,n),!o.disableUnderline&&n.underline]}})(Te(({theme:e})=>{const n=e.palette.mode==="light",o=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",c=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i}},[`&.${Ua.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i},[`&.${Ua.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:c},variants:[{props:({ownerState:u})=>!u.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Ua.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Ua.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline):o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Ua.disabled}, .${Ua.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Ua.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Dt()).map(([u])=>({props:{disableUnderline:!1,color:u},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[u]?.main}`}}})),{props:({ownerState:u})=>u.startAdornment,style:{paddingLeft:12}},{props:({ownerState:u})=>u.endAdornment,style:{paddingRight:12}},{props:({ownerState:u})=>u.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:u,size:p})=>u.multiline&&p==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:u})=>u.multiline&&u.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:u})=>u.multiline&&u.hiddenLabel&&u.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),P3=ae(Dd,{name:"MuiFilledInput",slot:"Input",overridesResolver:Bd})(Te(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:n})=>n.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:0}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:0}},{props:({ownerState:n})=>n.hiddenLabel&&n.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:n})=>n.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),Zm=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiFilledInput"}),{disableUnderline:s=!1,components:c={},componentsProps:u,fullWidth:p=!1,hiddenLabel:m,inputComponent:g="input",multiline:y=!1,slotProps:b,slots:w={},type:T="text",...x}=i,S={...i,disableUnderline:s,fullWidth:p,inputComponent:g,multiline:y,type:T},E=L3(i),A={root:{ownerState:S},input:{ownerState:S}},O=b??u?Mn(A,b??u):A,j=w.root??c.Root??$3,M=w.input??c.Input??P3;return d.jsx(Qm,{slots:{root:j,input:M},slotProps:O,fullWidth:p,inputComponent:g,multiline:y,ref:o,type:T,...x,classes:E})});Zm.muiName="Input";function U3(e){return xe("MuiFormControl",e)}Ce("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const _3=e=>{const{classes:n,margin:o,fullWidth:i}=e,s={root:["root",o!=="none"&&`margin${ie(o)}`,i&&"fullWidth"]};return Se(s,U3,n)},I3=ae("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,n[`margin${ie(o.margin)}`],o.fullWidth&&n.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),eC=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiFormControl"}),{children:s,className:c,color:u="primary",component:p="div",disabled:m=!1,error:g=!1,focused:y,fullWidth:b=!1,hiddenLabel:w=!1,margin:T="none",required:x=!1,size:S="medium",variant:E="outlined",...A}=i,O={...i,color:u,component:p,disabled:m,error:g,fullWidth:b,hiddenLabel:w,margin:T,required:x,size:S,variant:E},j=_3(O),[M,k]=v.useState(()=>{let W=!1;return s&&v.Children.forEach(s,B=>{if(!Bl(B,["Input","Select"]))return;const P=Bl(B,["Select"])?B.props.input:B;P&&Nk(P.props)&&(W=!0)}),W}),[N,L]=v.useState(()=>{let W=!1;return s&&v.Children.forEach(s,B=>{Bl(B,["Input","Select"])&&(ld(B.props,!0)||ld(B.props.inputProps,!0))&&(W=!0)}),W}),[U,$]=v.useState(!1);m&&U&&$(!1);const F=y!==void 0&&!m?y:U;let q;v.useRef(!1);const R=v.useCallback(()=>{L(!0)},[]),_=v.useCallback(()=>{L(!1)},[]),I=v.useMemo(()=>({adornedStart:M,setAdornedStart:k,color:u,disabled:m,error:g,filled:N,focused:F,fullWidth:b,hiddenLabel:w,size:S,onBlur:()=>{$(!1)},onFocus:()=>{$(!0)},onEmpty:_,onFilled:R,registerEffect:q,required:x,variant:E}),[M,u,m,g,N,F,b,w,q,_,R,x,S,E]);return d.jsx(Od.Provider,{value:I,children:d.jsx(I3,{as:p,ownerState:O,className:ge(j.root,c),ref:o,...A,children:s})})});function H3(e){return xe("MuiFormControlLabel",e)}const Ol=Ce("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),F3=e=>{const{classes:n,disabled:o,labelPlacement:i,error:s,required:c}=e,u={root:["root",o&&"disabled",`labelPlacement${ie(i)}`,s&&"error",c&&"required"],label:["label",o&&"disabled"],asterisk:["asterisk",s&&"error"]};return Se(u,H3,n)},V3=ae("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[{[`& .${Ol.label}`]:n.label},n.root,n[`labelPlacement${ie(o.labelPlacement)}`]]}})(Te(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Ol.disabled}`]:{cursor:"default"},[`& .${Ol.label}`]:{[`&.${Ol.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:n})=>n==="start"||n==="top"||n==="bottom",style:{marginLeft:16}}]}))),q3=ae("span",{name:"MuiFormControlLabel",slot:"Asterisk"})(Te(({theme:e})=>({[`&.${Ol.error}`]:{color:(e.vars||e).palette.error.main}}))),W3=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiFormControlLabel"}),{checked:s,className:c,componentsProps:u={},control:p,disabled:m,disableTypography:g,inputRef:y,label:b,labelPlacement:w="end",name:T,onChange:x,required:S,slots:E={},slotProps:A={},value:O,...j}=i,M=uo(),k=m??p.props.disabled??M?.disabled,N=S??p.props.required,L={disabled:k,required:N};["checked","name","onChange","value","inputRef"].forEach(W=>{typeof p.props[W]>"u"&&typeof i[W]<"u"&&(L[W]=i[W])});const U=xa({props:i,muiFormControl:M,states:["error"]}),$={...i,disabled:k,labelPlacement:w,required:N,error:U.error},F=F3($),q={slots:E,slotProps:{...u,...A}},[R,_]=Re("typography",{elementType:ne,externalForwardedProps:q,ownerState:$});let I=b;return I!=null&&I.type!==ne&&!g&&(I=d.jsx(R,{component:"span",..._,className:ge(F.label,_?.className),children:I})),d.jsxs(V3,{className:ge(F.root,c),ownerState:$,ref:o,...j,children:[v.cloneElement(p,L),N?d.jsxs("div",{children:[I,d.jsxs(q3,{ownerState:$,"aria-hidden":!0,className:F.asterisk,children:[" ","*"]})]}):I]})});function G3(e){return xe("MuiFormGroup",e)}Ce("MuiFormGroup",["root","row","error"]);const K3=e=>{const{classes:n,row:o,error:i}=e;return Se({root:["root",o&&"row",i&&"error"]},G3,n)},Y3=ae("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.row&&n.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),X3=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiFormGroup"}),{className:s,row:c=!1,...u}=i,p=uo(),m=xa({props:i,muiFormControl:p,states:["error"]}),g={...i,row:c,error:m.error},y=K3(g);return d.jsx(Y3,{className:ge(y.root,s),ownerState:g,ref:o,...u})});function Q3(e){return xe("MuiFormHelperText",e)}const Ax=Ce("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var Mx;const Z3=e=>{const{classes:n,contained:o,size:i,disabled:s,error:c,filled:u,focused:p,required:m}=e,g={root:["root",s&&"disabled",c&&"error",i&&`size${ie(i)}`,o&&"contained",p&&"focused",u&&"filled",m&&"required"]};return Se(g,Q3,n)},J3=ae("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.size&&n[`size${ie(o.size)}`],o.contained&&n.contained,o.filled&&n.filled]}})(Te(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Ax.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Ax.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:n})=>n.contained,style:{marginLeft:14,marginRight:14}}]}))),ez=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiFormHelperText"}),{children:s,className:c,component:u="p",disabled:p,error:m,filled:g,focused:y,margin:b,required:w,variant:T,...x}=i,S=uo(),E=xa({props:i,muiFormControl:S,states:["variant","size","disabled","error","filled","focused","required"]}),A={...i,component:u,contained:E.variant==="filled"||E.variant==="outlined",variant:E.variant,size:E.size,disabled:E.disabled,error:E.error,filled:E.filled,focused:E.focused,required:E.required};delete A.ownerState;const O=Z3(A);return d.jsx(J3,{as:u,className:ge(O.root,c),ref:o,...x,ownerState:A,children:s===" "?Mx||(Mx=d.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):s})});function tz(e){return xe("MuiFormLabel",e)}const $l=Ce("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),nz=e=>{const{classes:n,color:o,focused:i,disabled:s,error:c,filled:u,required:p}=e,m={root:["root",`color${ie(o)}`,s&&"disabled",c&&"error",u&&"filled",i&&"focused",p&&"required"],asterisk:["asterisk",c&&"error"]};return Se(m,tz,n)},rz=ae("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.color==="secondary"&&n.colorSecondary,o.filled&&n.filled]}})(Te(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(Dt()).map(([n])=>({props:{color:n},style:{[`&.${$l.focused}`]:{color:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${$l.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${$l.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),oz=ae("span",{name:"MuiFormLabel",slot:"Asterisk"})(Te(({theme:e})=>({[`&.${$l.error}`]:{color:(e.vars||e).palette.error.main}}))),az=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiFormLabel"}),{children:s,className:c,color:u,component:p="label",disabled:m,error:g,filled:y,focused:b,required:w,...T}=i,x=uo(),S=xa({props:i,muiFormControl:x,states:["color","required","focused","disabled","error","filled"]}),E={...i,color:S.color||"primary",component:p,disabled:S.disabled,error:S.error,filled:S.filled,focused:S.focused,required:S.required},A=nz(E);return d.jsxs(rz,{as:p,ownerState:E,className:ge(A.root,c),ref:o,...T,children:[s,S.required&&d.jsxs(oz,{ownerState:E,"aria-hidden":!0,className:A.asterisk,children:[" ","*"]})]})}),Zi=XA({createStyledComponent:ae("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.container&&n.container]}}),componentName:"MuiGrid",useThemeProps:e=>we({props:e,name:"MuiGrid"}),useTheme:co});function tm(e){return`scale(${e}, ${e**2})`}const iz={entering:{opacity:1,transform:tm(1)},entered:{opacity:1,transform:"none"}},wh=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Yl=v.forwardRef(function(n,o){const{addEndListener:i,appear:s=!0,children:c,easing:u,in:p,onEnter:m,onEntered:g,onEntering:y,onExit:b,onExited:w,onExiting:T,style:x,timeout:S="auto",TransitionComponent:E=Pr,...A}=n,O=pa(),j=v.useRef(),M=co(),k=v.useRef(null),N=qt(k,ti(c),o),L=W=>B=>{if(W){const P=k.current;B===void 0?W(P):W(P,B)}},U=L(y),$=L((W,B)=>{kS(W);const{duration:P,delay:X,easing:Z}=as({style:x,timeout:S,easing:u},{mode:"enter"});let pe;S==="auto"?(pe=M.transitions.getAutoHeightDuration(W.clientHeight),j.current=pe):pe=P,W.style.transition=[M.transitions.create("opacity",{duration:pe,delay:X}),M.transitions.create("transform",{duration:wh?pe:pe*.666,delay:X,easing:Z})].join(","),m&&m(W,B)}),F=L(g),q=L(T),R=L(W=>{const{duration:B,delay:P,easing:X}=as({style:x,timeout:S,easing:u},{mode:"exit"});let Z;S==="auto"?(Z=M.transitions.getAutoHeightDuration(W.clientHeight),j.current=Z):Z=B,W.style.transition=[M.transitions.create("opacity",{duration:Z,delay:P}),M.transitions.create("transform",{duration:wh?Z:Z*.666,delay:wh?P:P||Z*.333,easing:X})].join(","),W.style.opacity=0,W.style.transform=tm(.75),b&&b(W)}),_=L(w),I=W=>{S==="auto"&&O.start(j.current||0,W),i&&i(k.current,W)};return d.jsx(E,{appear:s,in:p,nodeRef:k,onEnter:$,onEntered:F,onEntering:U,onExit:R,onExited:_,onExiting:q,addEndListener:I,timeout:S==="auto"?null:S,...A,children:(W,{ownerState:B,...P})=>v.cloneElement(c,{style:{opacity:0,transform:tm(.75),visibility:W==="exited"&&!p?"hidden":void 0,...iz[W],...x,...c.props.style},ref:N,...P})})});Yl&&(Yl.muiSupportAuto=!0);const sz=e=>{const{classes:n,disableUnderline:o}=e,s=Se({root:["root",!o&&"underline"],input:["input"]},$k,n);return{...n,...s}},lz=ae(Nd,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[...zd(e,n),!o.disableUnderline&&n.underline]}})(Te(({theme:e})=>{let o=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(o=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:i})=>i.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:i})=>!i.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Sl.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Sl.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Sl.disabled}, .${Sl.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${o}`}},[`&.${Sl.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Dt()).map(([i])=>({props:{color:i,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[i].main}`}}}))]}})),cz=ae(Dd,{name:"MuiInput",slot:"Input",overridesResolver:Bd})({}),Jm=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiInput"}),{disableUnderline:s=!1,components:c={},componentsProps:u,fullWidth:p=!1,inputComponent:m="input",multiline:g=!1,slotProps:y,slots:b={},type:w="text",...T}=i,x=sz(i),E={root:{ownerState:{disableUnderline:s}}},A=y??u?Mn(y??u,E):E,O=b.root??c.Root??lz,j=b.input??c.Input??cz;return d.jsx(Qm,{slots:{root:O,input:j},slotProps:A,fullWidth:p,inputComponent:m,multiline:g,ref:o,type:w,...T,classes:x})});Jm.muiName="Input";function uz(e){return xe("MuiInputAdornment",e)}const kx=Ce("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var Ox;const dz=(e,n)=>{const{ownerState:o}=e;return[n.root,n[`position${ie(o.position)}`],o.disablePointerEvents===!0&&n.disablePointerEvents,n[o.variant]]},fz=e=>{const{classes:n,disablePointerEvents:o,hiddenLabel:i,position:s,size:c,variant:u}=e,p={root:["root",o&&"disablePointerEvents",s&&`position${ie(s)}`,u,i&&"hiddenLabel",c&&`size${ie(c)}`]};return Se(p,uz,n)},pz=ae("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:dz})(Te(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${kx.positionStart}&:not(.${kx.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),eg=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiInputAdornment"}),{children:s,className:c,component:u="div",disablePointerEvents:p=!1,disableTypography:m=!1,position:g,variant:y,...b}=i,w=uo()||{};let T=y;y&&w.variant,w&&!T&&(T=w.variant);const x={...i,hiddenLabel:w.hiddenLabel,size:w.size,disablePointerEvents:p,position:g,variant:T},S=fz(x);return d.jsx(Od.Provider,{value:null,children:d.jsx(pz,{as:u,ownerState:x,className:ge(S.root,c),ref:o,...b,children:typeof s=="string"&&!m?d.jsx(ne,{color:"textSecondary",children:s}):d.jsxs(v.Fragment,{children:[g==="start"?Ox||(Ox=d.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):null,s]})})})});function hz(e){return xe("MuiInputLabel",e)}Ce("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const mz=e=>{const{classes:n,formControl:o,size:i,shrink:s,disableAnimation:c,variant:u,required:p}=e,m={root:["root",o&&"formControl",!c&&"animated",s&&"shrink",i&&i!=="medium"&&`size${ie(i)}`,u],asterisk:[p&&"asterisk"]},g=Se(m,hz,n);return{...n,...g}},gz=ae(az,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[{[`& .${$l.asterisk}`]:n.asterisk},n.root,o.formControl&&n.formControl,o.size==="small"&&n.sizeSmall,o.shrink&&n.shrink,!o.disableAnimation&&n.animated,o.focused&&n.focused,n[o.variant]]}})(Te(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:n})=>n.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:n})=>n.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:n})=>!n.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:n,ownerState:o})=>n==="filled"&&o.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:n,ownerState:o,size:i})=>n==="filled"&&o.shrink&&i==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:n,ownerState:o})=>n==="outlined"&&o.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),tC=v.forwardRef(function(n,o){const i=we({name:"MuiInputLabel",props:n}),{disableAnimation:s=!1,margin:c,shrink:u,variant:p,className:m,...g}=i,y=uo();let b=u;typeof b>"u"&&y&&(b=y.filled||y.focused||y.adornedStart);const w=xa({props:i,muiFormControl:y,states:["size","variant","required","focused"]}),T={...i,disableAnimation:s,formControl:y,shrink:b,size:w.size,variant:w.variant,required:w.required,focused:w.focused},x=mz(T);return d.jsx(gz,{"data-shrink":b,ref:o,className:ge(x.root,m),...g,ownerState:T,classes:x})});function yz(e){return xe("MuiLinearProgress",e)}Ce("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const nm=4,rm=va`
|
|
148
|
+
0% {
|
|
149
|
+
left: -35%;
|
|
150
|
+
right: 100%;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
60% {
|
|
154
|
+
left: 100%;
|
|
155
|
+
right: -90%;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
100% {
|
|
159
|
+
left: 100%;
|
|
160
|
+
right: -90%;
|
|
161
|
+
}
|
|
162
|
+
`,vz=typeof rm!="string"?bs`
|
|
163
|
+
animation: ${rm} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
164
|
+
`:null,om=va`
|
|
165
|
+
0% {
|
|
166
|
+
left: -200%;
|
|
167
|
+
right: 100%;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
60% {
|
|
171
|
+
left: 107%;
|
|
172
|
+
right: -8%;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
100% {
|
|
176
|
+
left: 107%;
|
|
177
|
+
right: -8%;
|
|
178
|
+
}
|
|
179
|
+
`,bz=typeof om!="string"?bs`
|
|
180
|
+
animation: ${om} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
|
|
181
|
+
`:null,am=va`
|
|
182
|
+
0% {
|
|
183
|
+
opacity: 1;
|
|
184
|
+
background-position: 0 -23px;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
60% {
|
|
188
|
+
opacity: 0;
|
|
189
|
+
background-position: 0 -23px;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
100% {
|
|
193
|
+
opacity: 1;
|
|
194
|
+
background-position: -200px -23px;
|
|
195
|
+
}
|
|
196
|
+
`,xz=typeof am!="string"?bs`
|
|
197
|
+
animation: ${am} 3s infinite linear;
|
|
198
|
+
`:null,Sz=e=>{const{classes:n,variant:o,color:i}=e,s={root:["root",`color${ie(i)}`,o],dashed:["dashed",`dashedColor${ie(i)}`],bar1:["bar","bar1",`barColor${ie(i)}`,(o==="indeterminate"||o==="query")&&"bar1Indeterminate",o==="determinate"&&"bar1Determinate",o==="buffer"&&"bar1Buffer"],bar2:["bar","bar2",o!=="buffer"&&`barColor${ie(i)}`,o==="buffer"&&`color${ie(i)}`,(o==="indeterminate"||o==="query")&&"bar2Indeterminate",o==="buffer"&&"bar2Buffer"]};return Se(s,yz,n)},tg=(e,n)=>e.vars?e.vars.palette.LinearProgress[`${n}Bg`]:e.palette.mode==="light"?e.lighten(e.palette[n].main,.62):e.darken(e.palette[n].main,.5),Cz=ae("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,n[`color${ie(o.color)}`],n[o.variant]]}})(Te(({theme:e})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(e.palette).filter(Dt()).map(([n])=>({props:{color:n},style:{backgroundColor:tg(e,n)}})),{props:({ownerState:n})=>n.color==="inherit"&&n.variant!=="buffer",style:{"&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}}},{props:{variant:"buffer"},style:{backgroundColor:"transparent"}},{props:{variant:"query"},style:{transform:"rotate(180deg)"}}]}))),wz=ae("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.dashed,n[`dashedColor${ie(o.color)}`]]}})(Te(({theme:e})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(e.palette).filter(Dt()).map(([n])=>{const o=tg(e,n);return{props:{color:n},style:{backgroundImage:`radial-gradient(${o} 0%, ${o} 16%, transparent 42%)`}}})]})),xz||{animation:`${am} 3s infinite linear`}),Ez=ae("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.bar,n.bar1,n[`barColor${ie(o.color)}`],(o.variant==="indeterminate"||o.variant==="query")&&n.bar1Indeterminate,o.variant==="determinate"&&n.bar1Determinate,o.variant==="buffer"&&n.bar1Buffer]}})(Te(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(e.palette).filter(Dt()).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main}})),{props:{variant:"determinate"},style:{transition:`transform .${nm}s linear`}},{props:{variant:"buffer"},style:{zIndex:1,transition:`transform .${nm}s linear`}},{props:({ownerState:n})=>n.variant==="indeterminate"||n.variant==="query",style:{width:"auto"}},{props:({ownerState:n})=>n.variant==="indeterminate"||n.variant==="query",style:vz||{animation:`${rm} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),Tz=ae("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.bar,n.bar2,n[`barColor${ie(o.color)}`],(o.variant==="indeterminate"||o.variant==="query")&&n.bar2Indeterminate,o.variant==="buffer"&&n.bar2Buffer]}})(Te(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(e.palette).filter(Dt()).map(([n])=>({props:{color:n},style:{"--LinearProgressBar2-barColor":(e.vars||e).palette[n].main}})),{props:({ownerState:n})=>n.variant!=="buffer"&&n.color!=="inherit",style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:({ownerState:n})=>n.variant!=="buffer"&&n.color==="inherit",style:{backgroundColor:"currentColor"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(e.palette).filter(Dt()).map(([n])=>({props:{color:n,variant:"buffer"},style:{backgroundColor:tg(e,n),transition:`transform .${nm}s linear`}})),{props:({ownerState:n})=>n.variant==="indeterminate"||n.variant==="query",style:{width:"auto"}},{props:({ownerState:n})=>n.variant==="indeterminate"||n.variant==="query",style:bz||{animation:`${om} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),zx=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiLinearProgress"}),{className:s,color:c="primary",value:u,valueBuffer:p,variant:m="indeterminate",...g}=i,y={...i,color:c,variant:m},b=Sz(y),w=xs(),T={},x={bar1:{},bar2:{}};if((m==="determinate"||m==="buffer")&&u!==void 0){T["aria-valuenow"]=Math.round(u),T["aria-valuemin"]=0,T["aria-valuemax"]=100;let S=u-100;w&&(S=-S),x.bar1.transform=`translateX(${S}%)`}if(m==="buffer"&&p!==void 0){let S=(p||0)-100;w&&(S=-S),x.bar2.transform=`translateX(${S}%)`}return d.jsxs(Cz,{className:ge(b.root,s),ownerState:y,role:"progressbar",...T,ref:o,...g,children:[m==="buffer"?d.jsx(wz,{className:b.dashed,ownerState:y}):null,d.jsx(Ez,{className:b.bar1,ownerState:y,style:x.bar1}),m==="determinate"?null:d.jsx(Tz,{className:b.bar2,ownerState:y,style:x.bar2})]})});function Rz(e){return xe("MuiLink",e)}const jz=Ce("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),Az=({theme:e,ownerState:n})=>{const o=n.color;if("colorSpace"in e&&e.colorSpace){const c=Xr(e,`palette.${o}.main`)||Xr(e,`palette.${o}`)||n.color;return e.alpha(c,.4)}const i=Xr(e,`palette.${o}.main`,!1)||Xr(e,`palette.${o}`,!1)||n.color,s=Xr(e,`palette.${o}.mainChannel`)||Xr(e,`palette.${o}Channel`);return"vars"in e&&s?`rgba(${s} / 0.4)`:Vl(i,.4)},Bx={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Mz=e=>{const{classes:n,component:o,focusVisible:i,underline:s}=e,c={root:["root",`underline${ie(s)}`,o==="button"&&"button",i&&"focusVisible"]};return Se(c,Rz,n)},kz=ae(ne,{name:"MuiLink",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,n[`underline${ie(o.underline)}`],o.component==="button"&&n.button]}})(Te(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:n,ownerState:o})=>n==="always"&&o.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},{props:({underline:n,ownerState:o})=>n==="always"&&o.color==="inherit",style:e.colorSpace?{textDecorationColor:e.alpha("currentColor",.4)}:null},...Object.entries(e.palette).filter(Dt()).map(([n])=>({props:{underline:"always",color:n},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette[n].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${jz.focusVisible}`]:{outline:"auto"}}}]}))),Oz=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiLink"}),s=co(),{className:c,color:u="primary",component:p="a",onBlur:m,onFocus:g,TypographyClasses:y,underline:b="always",variant:w="inherit",sx:T,...x}=i,[S,E]=v.useState(!1),A=k=>{ss(k.target)||E(!1),m&&m(k)},O=k=>{ss(k.target)&&E(!0),g&&g(k)},j={...i,color:u,component:p,focusVisible:S,underline:b,variant:w},M=Mz(j);return d.jsx(kz,{color:u,className:ge(M.root,c),classes:y,component:p,onBlur:A,onFocus:O,ref:o,ownerState:j,variant:w,...x,sx:[...Bx[u]===void 0?[{color:u}]:[],...Array.isArray(T)?T:[T]],style:{...x.style,...b==="always"&&u!=="inherit"&&!Bx[u]&&{"--Link-underlineColor":Az({theme:s,ownerState:j})}}})}),Lr=v.createContext({});function zz(e){return xe("MuiList",e)}Ce("MuiList",["root","padding","dense","subheader"]);const Bz=e=>{const{classes:n,disablePadding:o,dense:i,subheader:s}=e;return Se({root:["root",!o&&"padding",i&&"dense",s&&"subheader"]},zz,n)},Nz=ae("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,!o.disablePadding&&n.padding,o.dense&&n.dense,o.subheader&&n.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),nC=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiList"}),{children:s,className:c,component:u="ul",dense:p=!1,disablePadding:m=!1,subheader:g,...y}=i,b=v.useMemo(()=>({dense:p}),[p]),w={...i,component:u,dense:p,disablePadding:m},T=Bz(w);return d.jsx(Lr.Provider,{value:b,children:d.jsxs(Nz,{as:u,className:ge(T.root,c),ref:o,ownerState:w,...y,children:[g,s]})})});function Dz(e){return xe("MuiListItem",e)}Ce("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function Lz(e){return xe("MuiListItemButton",e)}const Ki=Ce("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),$z=(e,n)=>{const{ownerState:o}=e;return[n.root,o.dense&&n.dense,o.alignItems==="flex-start"&&n.alignItemsFlexStart,o.divider&&n.divider,!o.disableGutters&&n.gutters]},Pz=e=>{const{alignItems:n,classes:o,dense:i,disabled:s,disableGutters:c,divider:u,selected:p}=e,g=Se({root:["root",i&&"dense",!c&&"gutters",u&&"divider",s&&"disabled",n==="flex-start"&&"alignItemsFlexStart",p&&"selected"]},Lz,o);return{...o,...g}},Uz=ae(wr,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:$z})(Te(({theme:e})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ki.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${Ki.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${Ki.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}},[`&.${Ki.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ki.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:n})=>n.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:n})=>!n.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:n})=>n.dense,style:{paddingTop:4,paddingBottom:4}}]}))),_z=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiListItemButton"}),{alignItems:s="center",autoFocus:c=!1,component:u="div",children:p,dense:m=!1,disableGutters:g=!1,divider:y=!1,focusVisibleClassName:b,selected:w=!1,className:T,...x}=i,S=v.useContext(Lr),E=v.useMemo(()=>({dense:m||S.dense||!1,alignItems:s,disableGutters:g}),[s,S.dense,m,g]),A=v.useRef(null);Yn(()=>{c&&A.current&&A.current.focus()},[c]);const O={...i,alignItems:s,dense:E.dense,disableGutters:g,divider:y,selected:w},j=Pz(O),M=qt(A,o);return d.jsx(Lr.Provider,{value:E,children:d.jsx(Uz,{ref:M,href:x.href||x.to,component:(x.href||x.to)&&u==="div"?"button":u,focusVisibleClassName:ge(j.focusVisible,b),ownerState:O,className:ge(j.root,T),...x,classes:j,children:p})})});function Iz(e){return xe("MuiListItemSecondaryAction",e)}Ce("MuiListItemSecondaryAction",["root","disableGutters"]);const Hz=e=>{const{disableGutters:n,classes:o}=e;return Se({root:["root",n&&"disableGutters"]},Iz,o)},Fz=ae("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.disableGutters&&n.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),rC=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiListItemSecondaryAction"}),{className:s,...c}=i,u=v.useContext(Lr),p={...i,disableGutters:u.disableGutters},m=Hz(p);return d.jsx(Fz,{className:ge(m.root,s),ownerState:p,ref:o,...c})});rC.muiName="ListItemSecondaryAction";const Vz=(e,n)=>{const{ownerState:o}=e;return[n.root,o.dense&&n.dense,o.alignItems==="flex-start"&&n.alignItemsFlexStart,o.divider&&n.divider,!o.disableGutters&&n.gutters,!o.disablePadding&&n.padding,o.hasSecondaryAction&&n.secondaryAction]},qz=e=>{const{alignItems:n,classes:o,dense:i,disableGutters:s,disablePadding:c,divider:u,hasSecondaryAction:p}=e;return Se({root:["root",i&&"dense",!s&&"gutters",!c&&"padding",u&&"divider",n==="flex-start"&&"alignItemsFlexStart",p&&"secondaryAction"],container:["container"],secondaryAction:["secondaryAction"]},Dz,o)},Wz=ae("div",{name:"MuiListItem",slot:"Root",overridesResolver:Vz})(Te(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:n})=>!n.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:n})=>!n.disablePadding&&n.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:n})=>!n.disablePadding&&!n.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:n})=>!n.disablePadding&&!!n.secondaryAction,style:{paddingRight:48}},{props:({ownerState:n})=>!!n.secondaryAction,style:{[`& > .${Ki.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:n})=>n.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:n})=>n.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:n})=>n.hasSecondaryAction,style:{paddingRight:48}}]}))),Gz=ae("li",{name:"MuiListItem",slot:"Container"})({position:"relative"}),Kz=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiListItem"}),{alignItems:s="center",children:c,className:u,component:p,components:m={},componentsProps:g={},ContainerComponent:y="li",ContainerProps:{className:b,...w}={},dense:T=!1,disableGutters:x=!1,disablePadding:S=!1,divider:E=!1,secondaryAction:A,slotProps:O={},slots:j={},...M}=i,k=v.useContext(Lr),N=v.useMemo(()=>({dense:T||k.dense||!1,alignItems:s,disableGutters:x}),[s,k.dense,T,x]),L=v.useRef(null),U=v.Children.toArray(c),$=U.length&&Bl(U[U.length-1],["ListItemSecondaryAction"]),F={...i,alignItems:s,dense:N.dense,disableGutters:x,disablePadding:S,divider:E,hasSecondaryAction:$},q=qz(F),R=qt(L,o),_={slots:j,slotProps:O},[I,W]=Re("secondaryAction",{elementType:rC,externalForwardedProps:_,ownerState:F,className:q.secondaryAction}),B=j.root||m.Root||Wz,P=O.root||g.root||{},X={className:ge(q.root,P.className,u),...M};let Z=p||"li";return $?(Z=!X.component&&!p?"div":Z,y==="li"&&(Z==="li"?Z="div":X.component==="li"&&(X.component="div")),d.jsx(Lr.Provider,{value:N,children:d.jsxs(Gz,{as:y,className:ge(q.container,b),ref:R,ownerState:F,...w,children:[d.jsx(B,{...P,...!is(B)&&{as:Z,ownerState:{...F,...P.ownerState}},...X,children:U}),U.pop()]})})):d.jsx(Lr.Provider,{value:N,children:d.jsxs(B,{...P,as:Z,ref:R,...!is(B)&&{ownerState:{...F,...P.ownerState}},...X,children:[U,A&&d.jsx(I,{...W,children:A})]})})});function Yz(e){return xe("MuiListItemIcon",e)}const Nx=Ce("MuiListItemIcon",["root","alignItemsFlexStart"]),Xz=e=>{const{alignItems:n,classes:o}=e;return Se({root:["root",n==="flex-start"&&"alignItemsFlexStart"]},Yz,o)},Qz=ae("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.alignItems==="flex-start"&&n.alignItemsFlexStart]}})(Te(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),Yi=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiListItemIcon"}),{className:s,...c}=i,u=v.useContext(Lr),p={...i,alignItems:u.alignItems},m=Xz(p);return d.jsx(Qz,{className:ge(m.root,s),ownerState:p,ref:o,...c})});function Zz(e){return xe("MuiListItemText",e)}const Ji=Ce("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Jz=e=>{const{classes:n,inset:o,primary:i,secondary:s,dense:c}=e;return Se({root:["root",o&&"inset",c&&"dense",i&&s&&"multiline"],primary:["primary"],secondary:["secondary"]},Zz,n)},e6=ae("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[{[`& .${Ji.primary}`]:n.primary},{[`& .${Ji.secondary}`]:n.secondary},n.root,o.inset&&n.inset,o.primary&&o.secondary&&n.multiline,o.dense&&n.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${ax.root}:where(& .${Ji.primary})`]:{display:"block"},[`.${ax.root}:where(& .${Ji.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),Va=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiListItemText"}),{children:s,className:c,disableTypography:u=!1,inset:p=!1,primary:m,primaryTypographyProps:g,secondary:y,secondaryTypographyProps:b,slots:w={},slotProps:T={},...x}=i,{dense:S}=v.useContext(Lr);let E=m??s,A=y;const O={...i,disableTypography:u,inset:p,primary:!!E,secondary:!!A,dense:S},j=Jz(O),M={slots:w,slotProps:{primary:g,secondary:b,...T}},[k,N]=Re("root",{className:ge(j.root,c),elementType:e6,externalForwardedProps:{...M,...x},ownerState:O,ref:o}),[L,U]=Re("primary",{className:j.primary,elementType:ne,externalForwardedProps:M,ownerState:O}),[$,F]=Re("secondary",{className:j.secondary,elementType:ne,externalForwardedProps:M,ownerState:O});return E!=null&&E.type!==ne&&!u&&(E=d.jsx(L,{variant:S?"body2":"body1",component:U?.variant?void 0:"span",...U,children:E})),A!=null&&A.type!==ne&&!u&&(A=d.jsx($,{variant:"body2",color:"textSecondary",...F,children:A})),d.jsxs(k,{...N,children:[E,A]})});function Eh(e,n,o){return e===n?e.firstChild:n&&n.nextElementSibling?n.nextElementSibling:o?null:e.firstChild}function Dx(e,n,o){return e===n?o?e.firstChild:e.lastChild:n&&n.previousElementSibling?n.previousElementSibling:o?null:e.lastChild}function oC(e,n){if(n===void 0)return!0;let o=e.innerText;return o===void 0&&(o=e.textContent),o=o.trim().toLowerCase(),o.length===0?!1:n.repeating?o[0]===n.keys[0]:o.startsWith(n.keys.join(""))}function Cl(e,n,o,i,s,c){let u=!1,p=s(e,n,n?o:!1);for(;p;){if(p===e.firstChild){if(u)return!1;u=!0}const m=i?!1:p.disabled||p.getAttribute("aria-disabled")==="true";if(!p.hasAttribute("tabindex")||!oC(p,c)||m)p=s(e,p,o);else return p.focus(),!0}return!1}const t6=v.forwardRef(function(n,o){const{actions:i,autoFocus:s=!1,autoFocusItem:c=!1,children:u,className:p,disabledItemsFocusable:m=!1,disableListWrap:g=!1,onKeyDown:y,variant:b="selectedMenu",...w}=n,T=v.useRef(null),x=v.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Yn(()=>{s&&T.current.focus()},[s]),v.useImperativeHandle(i,()=>({adjustStyleForScrollbar:(j,{direction:M})=>{const k=!T.current.style.width;if(j.clientHeight<T.current.clientHeight&&k){const N=`${QS($r(j))}px`;T.current.style[M==="rtl"?"paddingLeft":"paddingRight"]=N,T.current.style.width=`calc(100% + ${N})`}return T.current}}),[]);const S=j=>{const M=T.current,k=j.key;if(j.ctrlKey||j.metaKey||j.altKey){y&&y(j);return}const L=Qi(En(M));if(k==="ArrowDown")j.preventDefault(),Cl(M,L,g,m,Eh);else if(k==="ArrowUp")j.preventDefault(),Cl(M,L,g,m,Dx);else if(k==="Home")j.preventDefault(),Cl(M,null,g,m,Eh);else if(k==="End")j.preventDefault(),Cl(M,null,g,m,Dx);else if(k.length===1){const U=x.current,$=k.toLowerCase(),F=performance.now();U.keys.length>0&&(F-U.lastTime>500?(U.keys=[],U.repeating=!0,U.previousKeyMatched=!0):U.repeating&&$!==U.keys[0]&&(U.repeating=!1)),U.lastTime=F,U.keys.push($);const q=L&&!U.repeating&&oC(L,U);U.previousKeyMatched&&(q||Cl(M,L,!1,m,Eh,U))?j.preventDefault():U.previousKeyMatched=!1}y&&y(j)},E=qt(T,o);let A=-1;v.Children.forEach(u,(j,M)=>{if(!v.isValidElement(j)){A===M&&(A+=1,A>=u.length&&(A=-1));return}j.props.disabled||(b==="selectedMenu"&&j.props.selected||A===-1)&&(A=M),A===M&&(j.props.disabled||j.props.muiSkipListHighlight||j.type.muiSkipListHighlight)&&(A+=1,A>=u.length&&(A=-1))});const O=v.Children.map(u,(j,M)=>{if(M===A){const k={};return c&&(k.autoFocus=!0),j.props.tabIndex===void 0&&b==="selectedMenu"&&(k.tabIndex=0),v.cloneElement(j,k)}return j});return d.jsx(nC,{role:"menu",ref:E,className:p,onKeyDown:S,tabIndex:s?0:-1,...w,children:O})});function n6(e){return xe("MuiPopover",e)}Ce("MuiPopover",["root","paper"]);function Lx(e,n){let o=0;return typeof n=="number"?o=n:n==="center"?o=e.height/2:n==="bottom"&&(o=e.height),o}function $x(e,n){let o=0;return typeof n=="number"?o=n:n==="center"?o=e.width/2:n==="right"&&(o=e.width),o}function Px(e){return[e.horizontal,e.vertical].map(n=>typeof n=="number"?`${n}px`:n).join(" ")}function Du(e){return typeof e=="function"?e():e}const r6=e=>{const{classes:n}=e;return Se({root:["root"],paper:["paper"]},n6,n)},o6=ae(ZS,{name:"MuiPopover",slot:"Root"})({}),aC=ae(Ft,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),a6=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiPopover"}),{action:s,anchorEl:c,anchorOrigin:u={vertical:"top",horizontal:"left"},anchorPosition:p,anchorReference:m="anchorEl",children:g,className:y,container:b,elevation:w=8,marginThreshold:T=16,open:x,PaperProps:S={},slots:E={},slotProps:A={},transformOrigin:O={vertical:"top",horizontal:"left"},TransitionComponent:j,transitionDuration:M="auto",TransitionProps:k={},disableScrollLock:N=!1,...L}=i,U=v.useRef(),$={...i,anchorOrigin:u,anchorReference:m,elevation:w,marginThreshold:T,transformOrigin:O,TransitionComponent:j,transitionDuration:M,TransitionProps:k},F=r6($),q=v.useCallback(()=>{if(m==="anchorPosition")return p;const ke=Du(c),$e=(ke&&ke.nodeType===1?ke:En(U.current).body).getBoundingClientRect();return{top:$e.top+Lx($e,u.vertical),left:$e.left+$x($e,u.horizontal)}},[c,u.horizontal,u.vertical,p,m]),R=v.useCallback(ke=>({vertical:Lx(ke,O.vertical),horizontal:$x(ke,O.horizontal)}),[O.horizontal,O.vertical]),_=v.useCallback(ke=>{const De={width:ke.offsetWidth,height:ke.offsetHeight},$e=R(De);if(m==="none")return{top:null,left:null,transformOrigin:Px($e)};const We=q();let be=We.top-$e.vertical,ve=We.left-$e.horizontal;const Ye=be+De.height,_e=ve+De.width,Ie=$r(Du(c)),Ve=Ie.innerHeight-T,nt=Ie.innerWidth-T;if(T!==null&&be<T){const Je=be-T;be-=Je,$e.vertical+=Je}else if(T!==null&&Ye>Ve){const Je=Ye-Ve;be-=Je,$e.vertical+=Je}if(T!==null&&ve<T){const Je=ve-T;ve-=Je,$e.horizontal+=Je}else if(_e>nt){const Je=_e-nt;ve-=Je,$e.horizontal+=Je}return{top:`${Math.round(be)}px`,left:`${Math.round(ve)}px`,transformOrigin:Px($e)}},[c,m,q,R,T]),[I,W]=v.useState(x),B=v.useCallback(()=>{const ke=U.current;if(!ke)return;const De=_(ke);De.top!==null&&ke.style.setProperty("top",De.top),De.left!==null&&(ke.style.left=De.left),ke.style.transformOrigin=De.transformOrigin,W(!0)},[_]);v.useEffect(()=>(N&&window.addEventListener("scroll",B),()=>window.removeEventListener("scroll",B)),[c,N,B]);const P=()=>{B()},X=()=>{W(!1)};v.useEffect(()=>{x&&B()}),v.useImperativeHandle(s,()=>x?{updatePosition:()=>{B()}}:null,[x,B]),v.useEffect(()=>{if(!x)return;const ke=Ad(()=>{B()}),De=$r(Du(c));return De.addEventListener("resize",ke),()=>{ke.clear(),De.removeEventListener("resize",ke)}},[c,x,B]);let Z=M;const pe={slots:{transition:j,...E},slotProps:{transition:k,paper:S,...A}},[D,H]=Re("transition",{elementType:Yl,externalForwardedProps:pe,ownerState:$,getSlotProps:ke=>({...ke,onEntering:(De,$e)=>{ke.onEntering?.(De,$e),P()},onExited:De=>{ke.onExited?.(De),X()}}),additionalProps:{appear:!0,in:x}});M==="auto"&&!D.muiSupportAuto&&(Z=void 0);const Q=b||(c?En(Du(c)).body:void 0),[se,{slots:me,slotProps:fe,...ye}]=Re("root",{ref:o,elementType:o6,externalForwardedProps:{...pe,...L},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:E.backdrop},slotProps:{backdrop:RS(typeof A.backdrop=="function"?A.backdrop($):A.backdrop,{invisible:!0})},container:Q,open:x},ownerState:$,className:ge(F.root,y)}),[ze,je]=Re("paper",{ref:U,className:F.paper,elementType:aC,externalForwardedProps:pe,shouldForwardComponentProp:!0,additionalProps:{elevation:w,style:I?void 0:{opacity:0}},ownerState:$});return d.jsx(se,{...ye,...!is(se)&&{slots:me,slotProps:fe,disableScrollLock:N},children:d.jsx(D,{...H,timeout:Z,children:d.jsx(ze,{...je,children:g})})})});function i6(e){return xe("MuiMenu",e)}Ce("MuiMenu",["root","paper","list"]);const s6={vertical:"top",horizontal:"right"},l6={vertical:"top",horizontal:"left"},c6=e=>{const{classes:n}=e;return Se({root:["root"],paper:["paper"],list:["list"]},i6,n)},u6=ae(a6,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiMenu",slot:"Root"})({}),d6=ae(aC,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),f6=ae(t6,{name:"MuiMenu",slot:"List"})({outline:0}),Ld=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiMenu"}),{autoFocus:s=!0,children:c,className:u,disableAutoFocusItem:p=!1,MenuListProps:m={},onClose:g,open:y,PaperProps:b={},PopoverClasses:w,transitionDuration:T="auto",TransitionProps:{onEntering:x,...S}={},variant:E="selectedMenu",slots:A={},slotProps:O={},...j}=i,M=xs(),k={...i,autoFocus:s,disableAutoFocusItem:p,MenuListProps:m,onEntering:x,PaperProps:b,transitionDuration:T,TransitionProps:S,variant:E},N=c6(k),L=s&&!p&&y,U=v.useRef(null),$=(Z,pe)=>{U.current&&U.current.adjustStyleForScrollbar(Z,{direction:M?"rtl":"ltr"}),x&&x(Z,pe)},F=Z=>{Z.key==="Tab"&&(Z.preventDefault(),g&&g(Z,"tabKeyDown"))};let q=-1;v.Children.map(c,(Z,pe)=>{v.isValidElement(Z)&&(Z.props.disabled||(E==="selectedMenu"&&Z.props.selected||q===-1)&&(q=pe))});const R={slots:A,slotProps:{list:m,transition:S,paper:b,...O}},_=Za({elementType:A.root,externalSlotProps:O.root,ownerState:k,className:[N.root,u]}),[I,W]=Re("paper",{className:N.paper,elementType:d6,externalForwardedProps:R,shouldForwardComponentProp:!0,ownerState:k}),[B,P]=Re("list",{className:ge(N.list,m.className),elementType:f6,shouldForwardComponentProp:!0,externalForwardedProps:R,getSlotProps:Z=>({...Z,onKeyDown:pe=>{F(pe),Z.onKeyDown?.(pe)}}),ownerState:k}),X=typeof R.slotProps.transition=="function"?R.slotProps.transition(k):R.slotProps.transition;return d.jsx(u6,{onClose:g,anchorOrigin:{vertical:"bottom",horizontal:M?"right":"left"},transformOrigin:M?s6:l6,slots:{root:A.root,paper:I,backdrop:A.backdrop,...A.transition&&{transition:A.transition}},slotProps:{root:_,paper:W,backdrop:typeof O.backdrop=="function"?O.backdrop(k):O.backdrop,transition:{...X,onEntering:(...Z)=>{$(...Z),X?.onEntering?.(...Z)}}},open:y,ref:o,transitionDuration:T,ownerState:k,...j,classes:w,children:d.jsx(B,{actions:U,autoFocus:s&&(q===-1||p),autoFocusItem:L,variant:E,...P,children:c})})});function p6(e){return xe("MuiMenuItem",e)}const wl=Ce("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),h6=(e,n)=>{const{ownerState:o}=e;return[n.root,o.dense&&n.dense,o.divider&&n.divider,!o.disableGutters&&n.gutters]},m6=e=>{const{disabled:n,dense:o,divider:i,disableGutters:s,selected:c,classes:u}=e,m=Se({root:["root",o&&"dense",n&&"disabled",!s&&"gutters",i&&"divider",c&&"selected"]},p6,u);return{...u,...m}},g6=ae(wr,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:h6})(Te(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${wl.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${wl.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${wl.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}},[`&.${wl.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${wl.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${jx.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${jx.inset}`]:{marginLeft:52},[`& .${Ji.root}`]:{marginTop:0,marginBottom:0},[`& .${Ji.inset}`]:{paddingLeft:36},[`& .${Nx.root}`]:{minWidth:36},variants:[{props:({ownerState:n})=>!n.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:n})=>n.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:n})=>!n.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:n})=>n.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${Nx.root} svg`]:{fontSize:"1.25rem"}}}]}))),fa=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiMenuItem"}),{autoFocus:s=!1,component:c="li",dense:u=!1,divider:p=!1,disableGutters:m=!1,focusVisibleClassName:g,role:y="menuitem",tabIndex:b,className:w,...T}=i,x=v.useContext(Lr),S=v.useMemo(()=>({dense:u||x.dense||!1,disableGutters:m}),[x.dense,u,m]),E=v.useRef(null);Yn(()=>{s&&E.current&&E.current.focus()},[s]);const A={...i,dense:S.dense,divider:p,disableGutters:m},O=m6(i),j=qt(E,o);let M;return i.disabled||(M=b!==void 0?b:-1),d.jsx(Lr.Provider,{value:S,children:d.jsx(g6,{ref:j,role:y,tabIndex:M,component:c,focusVisibleClassName:ge(O.focusVisible,g),className:ge(O.root,w),...T,ownerState:A,classes:O})})});function y6(e){return xe("MuiNativeSelect",e)}const ng=Ce("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),v6=e=>{const{classes:n,variant:o,disabled:i,multiple:s,open:c,error:u}=e,p={select:["select",o,i&&"disabled",s&&"multiple",u&&"error"],icon:["icon",`icon${ie(o)}`,c&&"iconOpen",i&&"disabled"]};return Se(p,y6,n)},iC=ae("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${ng.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:n})=>n.variant!=="filled"&&n.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),b6=ae(iC,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:kn,overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.select,n[o.variant],o.error&&n.error,{[`&.${ng.multiple}`]:n.multiple}]}})({}),sC=ae("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${ng.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:n})=>n.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),x6=ae(sC,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.icon,o.variant&&n[`icon${ie(o.variant)}`],o.open&&n.iconOpen]}})({}),S6=v.forwardRef(function(n,o){const{className:i,disabled:s,error:c,IconComponent:u,inputRef:p,variant:m="standard",...g}=n,y={...n,disabled:s,variant:m,error:c},b=v6(y);return d.jsxs(v.Fragment,{children:[d.jsx(b6,{ownerState:y,className:ge(b.select,i),disabled:s,ref:p||o,...g}),n.multiple?null:d.jsx(x6,{as:u,ownerState:y,className:b.icon})]})});var Ux;const C6=ae("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:kn})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),w6=ae("legend",{name:"MuiNotchedOutlined",shouldForwardProp:kn})(Te(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:n})=>!n.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:n})=>n.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:n})=>n.withLabel&&n.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function E6(e){const{children:n,classes:o,className:i,label:s,notched:c,...u}=e,p=s!=null&&s!=="",m={...e,notched:c,withLabel:p};return d.jsx(C6,{"aria-hidden":!0,className:i,ownerState:m,...u,children:d.jsx(w6,{ownerState:m,children:p?d.jsx("span",{children:s}):Ux||(Ux=d.jsx("span",{className:"notranslate","aria-hidden":!0,children:""}))})})}const T6=e=>{const{classes:n}=e,i=Se({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Pk,n);return{...n,...i}},R6=ae(Nd,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:zd})(Te(({theme:e})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Wr.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Wr.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):n}},[`&.${Wr.focused} .${Wr.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Dt()).map(([o])=>({props:{color:o},style:{[`&.${Wr.focused} .${Wr.notchedOutline}`]:{borderColor:(e.vars||e).palette[o].main}}})),{props:{},style:{[`&.${Wr.error} .${Wr.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Wr.disabled} .${Wr.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:o})=>o.startAdornment,style:{paddingLeft:14}},{props:({ownerState:o})=>o.endAdornment,style:{paddingRight:14}},{props:({ownerState:o})=>o.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:o,size:i})=>o.multiline&&i==="small",style:{padding:"8.5px 14px"}}]}})),j6=ae(E6,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(Te(({theme:e})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):n}})),A6=ae(Dd,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Bd})(Te(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:n})=>n.multiline,style:{padding:0}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:0}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:0}}]}))),rg=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiOutlinedInput"}),{components:s={},fullWidth:c=!1,inputComponent:u="input",label:p,multiline:m=!1,notched:g,slots:y={},slotProps:b={},type:w="text",...T}=i,x=T6(i),S=uo(),E=xa({props:i,muiFormControl:S,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),A={...i,color:E.color||"primary",disabled:E.disabled,error:E.error,focused:E.focused,formControl:S,fullWidth:c,hiddenLabel:E.hiddenLabel,multiline:m,size:E.size,type:w},O=y.root??s.Root??R6,j=y.input??s.Input??A6,[M,k]=Re("notchedOutline",{elementType:j6,className:x.notchedOutline,shouldForwardComponentProp:!0,ownerState:A,externalForwardedProps:{slots:y,slotProps:b},additionalProps:{label:p!=null&&p!==""&&E.required?d.jsxs(v.Fragment,{children:[p," ","*"]}):p}});return d.jsx(Qm,{slots:{root:O,input:j},slotProps:b,renderSuffix:N=>d.jsx(M,{...k,notched:typeof g<"u"?g:!!(N.startAdornment||N.filled||N.focused)}),fullWidth:c,inputComponent:u,multiline:m,ref:o,type:w,...T,classes:{...x,notchedOutline:null}})});rg.muiName="Input";function lC(e){return xe("MuiSelect",e)}const El=Ce("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var _x;const M6=ae(iC,{name:"MuiSelect",slot:"Select",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[{[`&.${El.select}`]:n.select},{[`&.${El.select}`]:n[o.variant]},{[`&.${El.error}`]:n.error},{[`&.${El.multiple}`]:n.multiple}]}})({[`&.${El.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),k6=ae(sC,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.icon,o.variant&&n[`icon${ie(o.variant)}`],o.open&&n.iconOpen]}})({}),O6=ae("input",{shouldForwardProp:e=>TS(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Ix(e,n){return typeof n=="object"&&n!==null?e===n:String(e)===String(n)}function z6(e){return e==null||typeof e=="string"&&!e.trim()}const B6=e=>{const{classes:n,variant:o,disabled:i,multiple:s,open:c,error:u}=e,p={select:["select",o,i&&"disabled",s&&"multiple",u&&"error"],icon:["icon",`icon${ie(o)}`,c&&"iconOpen",i&&"disabled"],nativeInput:["nativeInput"]};return Se(p,lC,n)},N6=v.forwardRef(function(n,o){const{"aria-describedby":i,"aria-label":s,autoFocus:c,autoWidth:u,children:p,className:m,defaultOpen:g,defaultValue:y,disabled:b,displayEmpty:w,error:T=!1,IconComponent:x,inputRef:S,labelId:E,MenuProps:A={},multiple:O,name:j,onBlur:M,onChange:k,onClose:N,onFocus:L,onKeyDown:U,onMouseDown:$,onOpen:F,open:q,readOnly:R,renderValue:_,required:I,SelectDisplayProps:W={},tabIndex:B,type:P,value:X,variant:Z="standard",...pe}=n,[D,H]=Wl({controlled:X,default:y,name:"Select"}),[Q,se]=Wl({controlled:q,default:g,name:"Select"}),me=v.useRef(null),fe=v.useRef(null),[ye,ze]=v.useState(null),{current:je}=v.useRef(q!=null),[ke,De]=v.useState(),$e=qt(o,S),We=v.useCallback(Be=>{fe.current=Be,Be&&ze(Be)},[]),be=ye?.parentNode;v.useImperativeHandle($e,()=>({focus:()=>{fe.current.focus()},node:me.current,value:D}),[D]);const ve=ye!==null&&Q;v.useEffect(()=>{if(!ve||!be||u||typeof ResizeObserver>"u")return;const Be=new ResizeObserver(()=>{De(be.clientWidth)});return Be.observe(be),()=>{Be.disconnect()}},[ve,be,u]),v.useEffect(()=>{g&&Q&&ye&&!je&&(De(u?null:be.clientWidth),fe.current.focus())},[ye,u]),v.useEffect(()=>{c&&fe.current.focus()},[c]),v.useEffect(()=>{if(!E)return;const Be=En(fe.current).getElementById(E);if(Be){const lt=()=>{getSelection().isCollapsed&&fe.current.focus()};return Be.addEventListener("click",lt),()=>{Be.removeEventListener("click",lt)}}},[E]);const Ye=(Be,lt)=>{Be?F&&F(lt):N&&N(lt),je||(De(u?null:be.clientWidth),se(Be))},_e=Be=>{$?.(Be),Be.button===0&&(Be.preventDefault(),fe.current.focus(),Ye(!0,Be))},Ie=Be=>{Ye(!1,Be)},Ve=v.Children.toArray(p),nt=Be=>{const lt=Ve.find(Nt=>Nt.props.value===Be.target.value);lt!==void 0&&(H(lt.props.value),k&&k(Be,lt))},Je=Be=>lt=>{let Nt;if(lt.currentTarget.hasAttribute("tabindex")){if(O){Nt=Array.isArray(D)?D.slice():[];const On=D.indexOf(Be.props.value);On===-1?Nt.push(Be.props.value):Nt.splice(On,1)}else Nt=Be.props.value;if(Be.props.onClick&&Be.props.onClick(lt),D!==Nt&&(H(Nt),k)){const On=lt.nativeEvent||lt,Ar=new On.constructor(On.type,On);Object.defineProperty(Ar,"target",{writable:!0,value:{value:Nt,name:j}}),k(Ar,Be)}O||Ye(!1,lt)}},Ae=Be=>{R||([" ","ArrowUp","ArrowDown","Enter"].includes(Be.key)&&(Be.preventDefault(),Ye(!0,Be)),U?.(Be))},on=Be=>{!ve&&M&&(Object.defineProperty(Be,"target",{writable:!0,value:{value:D,name:j}}),M(Be))};delete pe["aria-invalid"];let qe,Tn;const ht=[];let et=!1;(ld({value:D})||w)&&(_?qe=_(D):et=!0);const vt=Ve.map(Be=>{if(!v.isValidElement(Be))return null;let lt;if(O){if(!Array.isArray(D))throw new Error(Lo(2));lt=D.some(Nt=>Ix(Nt,Be.props.value)),lt&&et&&ht.push(Be.props.children)}else lt=Ix(D,Be.props.value),lt&&et&&(Tn=Be.props.children);return v.cloneElement(Be,{"aria-selected":lt?"true":"false",onClick:Je(Be),onKeyUp:Nt=>{Nt.key===" "&&Nt.preventDefault(),Be.props.onKeyUp&&Be.props.onKeyUp(Nt)},role:"option",selected:lt,value:void 0,"data-value":Be.props.value})});et&&(O?ht.length===0?qe=null:qe=ht.reduce((Be,lt,Nt)=>(Be.push(lt),Nt<ht.length-1&&Be.push(", "),Be),[]):qe=Tn);let kt=ke;!u&&je&&ye&&(kt=be.clientWidth);let fn;typeof B<"u"?fn=B:fn=b?null:0;const Xe=W.id||(j?`mui-component-select-${j}`:void 0),an={...n,variant:Z,value:D,open:ve,error:T},Wt=B6(an),Bt={...A.PaperProps,...typeof A.slotProps?.paper=="function"?A.slotProps.paper(an):A.slotProps?.paper},gn={...A.MenuListProps,...typeof A.slotProps?.list=="function"?A.slotProps.list(an):A.slotProps?.list},Gt=ei();return d.jsxs(v.Fragment,{children:[d.jsx(M6,{as:"div",ref:We,tabIndex:fn,role:"combobox","aria-controls":ve?Gt:void 0,"aria-disabled":b?"true":void 0,"aria-expanded":ve?"true":"false","aria-haspopup":"listbox","aria-label":s,"aria-labelledby":[E,Xe].filter(Boolean).join(" ")||void 0,"aria-describedby":i,"aria-required":I?"true":void 0,"aria-invalid":T?"true":void 0,onKeyDown:Ae,onMouseDown:b||R?null:_e,onBlur:on,onFocus:L,...W,ownerState:an,className:ge(W.className,Wt.select,m),id:Xe,children:z6(qe)?_x||(_x=d.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):qe}),d.jsx(O6,{"aria-invalid":T,value:Array.isArray(D)?D.join(","):D,name:j,ref:me,"aria-hidden":!0,onChange:nt,tabIndex:-1,disabled:b,className:Wt.nativeInput,autoFocus:c,required:I,...pe,ownerState:an}),d.jsx(k6,{as:x,className:Wt.icon,ownerState:an}),d.jsx(Ld,{id:`menu-${j||""}`,anchorEl:be,open:ve,onClose:Ie,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...A,slotProps:{...A.slotProps,list:{"aria-labelledby":E,role:"listbox","aria-multiselectable":O?"true":void 0,disableListWrap:!0,id:Gt,...gn},paper:{...Bt,style:{minWidth:kt,...Bt!=null?Bt.style:null}}},children:vt})]})}),D6=e=>{const{classes:n}=e,i=Se({root:["root"]},lC,n);return{...n,...i}},og={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>kn(e)&&e!=="variant"},L6=ae(Jm,og)(""),$6=ae(rg,og)(""),P6=ae(Zm,og)(""),ag=v.forwardRef(function(n,o){const i=we({name:"MuiSelect",props:n}),{autoWidth:s=!1,children:c,classes:u={},className:p,defaultOpen:m=!1,displayEmpty:g=!1,IconComponent:y=_k,id:b,input:w,inputProps:T,label:x,labelId:S,MenuProps:E,multiple:A=!1,native:O=!1,onClose:j,onOpen:M,open:k,renderValue:N,SelectDisplayProps:L,variant:U="outlined",...$}=i,F=O?S6:N6,q=uo(),R=xa({props:i,muiFormControl:q,states:["variant","error"]}),_=R.variant||U,I={...i,variant:_,classes:u},W=D6(I),{root:B,...P}=W,X=w||{standard:d.jsx(L6,{ownerState:I}),outlined:d.jsx($6,{label:x,ownerState:I}),filled:d.jsx(P6,{ownerState:I})}[_],Z=qt(o,ti(X));return d.jsx(v.Fragment,{children:v.cloneElement(X,{inputComponent:F,inputProps:{children:c,error:R.error,IconComponent:y,variant:_,type:void 0,multiple:A,...O?{id:b}:{autoWidth:s,defaultOpen:m,displayEmpty:g,labelId:S,MenuProps:E,onClose:j,onOpen:M,open:k,renderValue:N,SelectDisplayProps:{id:b,...L}},...T,classes:T?Mn(P,T.classes):P,...w?w.props.inputProps:{}},...(A&&O||g)&&_==="outlined"?{notched:!0}:{},ref:Z,className:ge(X.props.className,p,W.root),...!w&&{variant:_},...$})})});ag.muiName="Select";function U6(e={}){const{autoHideDuration:n=null,disableWindowBlurListener:o=!1,onClose:i,open:s,resumeHideDuration:c}=e,u=pa();v.useEffect(()=>{if(!s)return;function A(O){O.defaultPrevented||O.key==="Escape"&&i?.(O,"escapeKeyDown")}return document.addEventListener("keydown",A),()=>{document.removeEventListener("keydown",A)}},[s,i]);const p=Nn((A,O)=>{i?.(A,O)}),m=Nn(A=>{!i||A==null||u.start(A,()=>{p(null,"timeout")})});v.useEffect(()=>(s&&m(n),u.clear),[s,n,m,u]);const g=A=>{i?.(A,"clickaway")},y=u.clear,b=v.useCallback(()=>{n!=null&&m(c??n*.5)},[n,c,m]),w=A=>O=>{const j=A.onBlur;j?.(O),b()},T=A=>O=>{const j=A.onFocus;j?.(O),y()},x=A=>O=>{const j=A.onMouseEnter;j?.(O),y()},S=A=>O=>{const j=A.onMouseLeave;j?.(O),b()};return v.useEffect(()=>{if(!o&&s)return window.addEventListener("focus",b),window.addEventListener("blur",y),()=>{window.removeEventListener("focus",b),window.removeEventListener("blur",y)}},[o,s,b,y]),{getRootProps:(A={})=>{const O={...ad(e),...ad(A)};return{role:"presentation",...A,...O,onBlur:w(O),onFocus:T(O),onMouseEnter:x(O),onMouseLeave:S(O)}},onClickAway:g}}function _6(e){return xe("MuiSnackbarContent",e)}Ce("MuiSnackbarContent",["root","message","action"]);const I6=e=>{const{classes:n}=e;return Se({root:["root"],action:["action"],message:["message"]},_6,n)},H6=ae(Ft,{name:"MuiSnackbarContent",slot:"Root"})(Te(({theme:e})=>{const n=e.palette.mode==="light"?.8:.98;return{...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(ql(e.palette.background.default,n)),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:ql(e.palette.background.default,n),display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),F6=ae("div",{name:"MuiSnackbarContent",slot:"Message"})({padding:"8px 0"}),V6=ae("div",{name:"MuiSnackbarContent",slot:"Action"})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),q6=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiSnackbarContent"}),{action:s,className:c,message:u,role:p="alert",...m}=i,g=i,y=I6(g);return d.jsxs(H6,{role:p,elevation:6,className:ge(y.root,c),ownerState:g,ref:o,...m,children:[d.jsx(F6,{className:y.message,ownerState:g,children:u}),s?d.jsx(V6,{className:y.action,ownerState:g,children:s}):null]})});function W6(e){return xe("MuiSnackbar",e)}Ce("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const G6=e=>{const{classes:n,anchorOrigin:o}=e,i={root:["root",`anchorOrigin${ie(o.vertical)}${ie(o.horizontal)}`]};return Se(i,W6,n)},K6=ae("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,n[`anchorOrigin${ie(o.anchorOrigin.vertical)}${ie(o.anchorOrigin.horizontal)}`]]}})(Te(({theme:e})=>({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:n})=>n.anchorOrigin.vertical==="top",style:{top:8,[e.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:n})=>n.anchorOrigin.vertical!=="top",style:{bottom:8,[e.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:n})=>n.anchorOrigin.horizontal==="left",style:{justifyContent:"flex-start",[e.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:n})=>n.anchorOrigin.horizontal==="right",style:{justifyContent:"flex-end",[e.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:n})=>n.anchorOrigin.horizontal==="center",style:{[e.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),Y6=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiSnackbar"}),s=co(),c={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{action:u,anchorOrigin:{vertical:p,horizontal:m}={vertical:"bottom",horizontal:"left"},autoHideDuration:g=null,children:y,className:b,ClickAwayListenerProps:w,ContentProps:T,disableWindowBlurListener:x=!1,message:S,onBlur:E,onClose:A,onFocus:O,onMouseEnter:j,onMouseLeave:M,open:k,resumeHideDuration:N,slots:L={},slotProps:U={},TransitionComponent:$,transitionDuration:F=c,TransitionProps:{onEnter:q,onExited:R,..._}={},...I}=i,W={...i,anchorOrigin:{vertical:p,horizontal:m},autoHideDuration:g,disableWindowBlurListener:x,TransitionComponent:$,transitionDuration:F},B=G6(W),{getRootProps:P,onClickAway:X}=U6(W),[Z,pe]=v.useState(!0),D=We=>{pe(!0),R&&R(We)},H=(We,be)=>{pe(!1),q&&q(We,be)},Q={slots:{transition:$,...L},slotProps:{content:T,clickAwayListener:w,transition:_,...U}},[se,me]=Re("root",{ref:o,className:[B.root,b],elementType:K6,getSlotProps:P,externalForwardedProps:{...Q,...I},ownerState:W}),[fe,{ownerState:ye,...ze}]=Re("clickAwayListener",{elementType:HO,externalForwardedProps:Q,getSlotProps:We=>({onClickAway:(...be)=>{const ve=be[0];We.onClickAway?.(...be),!ve?.defaultMuiPrevented&&X(...be)}}),ownerState:W}),[je,ke]=Re("content",{elementType:q6,shouldForwardComponentProp:!0,externalForwardedProps:Q,additionalProps:{message:S,action:u},ownerState:W}),[De,$e]=Re("transition",{elementType:Yl,externalForwardedProps:Q,getSlotProps:We=>({onEnter:(...be)=>{We.onEnter?.(...be),H(...be)},onExited:(...be)=>{We.onExited?.(...be),D(...be)}}),additionalProps:{appear:!0,in:k,timeout:F,direction:p==="top"?"down":"up"},ownerState:W});return!k&&Z?null:d.jsx(fe,{...ze,...L.clickAwayListener&&{ownerState:ye},children:d.jsx(se,{...me,children:d.jsx(De,{...$e,children:y||d.jsx(je,{...ke})})})})});function X6(e){return xe("MuiTooltip",e)}const Zt=Ce("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function Q6(e){return Math.round(e*1e5)/1e5}const Z6=e=>{const{classes:n,disableInteractive:o,arrow:i,touch:s,placement:c}=e,u={popper:["popper",!o&&"popperInteractive",i&&"popperArrow"],tooltip:["tooltip",i&&"tooltipArrow",s&&"touch",`tooltipPlacement${ie(c.split("-")[0])}`],arrow:["arrow"]};return Se(u,X6,n)},J6=ae(qS,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.popper,!o.disableInteractive&&n.popperInteractive,o.arrow&&n.popperArrow,!o.open&&n.popperClose]}})(Te(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:n})=>!n.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:n})=>!n,style:{pointerEvents:"none"}},{props:({ownerState:n})=>n.arrow,style:{[`&[data-popper-placement*="bottom"] .${Zt.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Zt.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Zt.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Zt.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:n})=>n.arrow&&!n.isRtl,style:{[`&[data-popper-placement*="right"] .${Zt.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:n})=>n.arrow&&!!n.isRtl,style:{[`&[data-popper-placement*="right"] .${Zt.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:n})=>n.arrow&&!n.isRtl,style:{[`&[data-popper-placement*="left"] .${Zt.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:n})=>n.arrow&&!!n.isRtl,style:{[`&[data-popper-placement*="left"] .${Zt.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),eB=ae("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.tooltip,o.touch&&n.touch,o.arrow&&n.tooltipArrow,n[`tooltipPlacement${ie(o.placement.split("-")[0])}`]]}})(Te(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${Zt.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Zt.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Zt.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Zt.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:n})=>n.arrow,style:{position:"relative",margin:0}},{props:({ownerState:n})=>n.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${Q6(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:n})=>!n.isRtl,style:{[`.${Zt.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Zt.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:n})=>!n.isRtl&&n.touch,style:{[`.${Zt.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Zt.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:n})=>!!n.isRtl,style:{[`.${Zt.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Zt.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:n})=>!!n.isRtl&&n.touch,style:{[`.${Zt.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Zt.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:n})=>n.touch,style:{[`.${Zt.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:n})=>n.touch,style:{[`.${Zt.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),tB=ae("span",{name:"MuiTooltip",slot:"Arrow"})(Te(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Lu=!1;const Hx=new Md;let Tl={x:0,y:0};function $u(e,n){return(o,...i)=>{n&&n(o,...i),e(o,...i)}}const no=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiTooltip"}),{arrow:s=!1,children:c,classes:u,components:p={},componentsProps:m={},describeChild:g=!1,disableFocusListener:y=!1,disableHoverListener:b=!1,disableInteractive:w=!1,disableTouchListener:T=!1,enterDelay:x=100,enterNextDelay:S=0,enterTouchDelay:E=700,followCursor:A=!1,id:O,leaveDelay:j=0,leaveTouchDelay:M=1500,onClose:k,onOpen:N,open:L,placement:U="bottom",PopperComponent:$,PopperProps:F={},slotProps:q={},slots:R={},title:_,TransitionComponent:I,TransitionProps:W,...B}=i,P=v.isValidElement(c)?c:d.jsx("span",{children:c}),X=co(),Z=xs(),[pe,D]=v.useState(),[H,Q]=v.useState(null),se=v.useRef(!1),me=w||A,fe=pa(),ye=pa(),ze=pa(),je=pa(),[ke,De]=Wl({controlled:L,default:!1,name:"Tooltip",state:"open"});let $e=ke;const We=ei(O),be=v.useRef(),ve=Nn(()=>{be.current!==void 0&&(document.body.style.WebkitUserSelect=be.current,be.current=void 0),je.clear()});v.useEffect(()=>ve,[ve]);const Ye=Ge=>{Hx.clear(),Lu=!0,De(!0),N&&!$e&&N(Ge)},_e=Nn(Ge=>{Hx.start(800+j,()=>{Lu=!1}),De(!1),k&&$e&&k(Ge),fe.start(X.transitions.duration.shortest,()=>{se.current=!1})}),Ie=Ge=>{se.current&&Ge.type!=="touchstart"||(pe&&pe.removeAttribute("title"),ye.clear(),ze.clear(),x||Lu&&S?ye.start(Lu?S:x,()=>{Ye(Ge)}):Ye(Ge))},Ve=Ge=>{ye.clear(),ze.start(j,()=>{_e(Ge)})},[,nt]=v.useState(!1),Je=Ge=>{ss(Ge.target)||(nt(!1),Ve(Ge))},Ae=Ge=>{pe||D(Ge.currentTarget),ss(Ge.target)&&(nt(!0),Ie(Ge))},on=Ge=>{se.current=!0;const Dn=P.props;Dn.onTouchStart&&Dn.onTouchStart(Ge)},qe=Ge=>{on(Ge),ze.clear(),fe.clear(),ve(),be.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",je.start(E,()=>{document.body.style.WebkitUserSelect=be.current,Ie(Ge)})},Tn=Ge=>{P.props.onTouchEnd&&P.props.onTouchEnd(Ge),ve(),ze.start(M,()=>{_e(Ge)})};v.useEffect(()=>{if(!$e)return;function Ge(Dn){Dn.key==="Escape"&&_e(Dn)}return document.addEventListener("keydown",Ge),()=>{document.removeEventListener("keydown",Ge)}},[_e,$e]);const ht=qt(ti(P),D,o);!_&&_!==0&&($e=!1);const et=v.useRef(),vt=Ge=>{const Dn=P.props;Dn.onMouseMove&&Dn.onMouseMove(Ge),Tl={x:Ge.clientX,y:Ge.clientY},et.current&&et.current.update()},kt={},fn=typeof _=="string";g?(kt.title=!$e&&fn&&!b?_:null,kt["aria-describedby"]=$e?We:null):(kt["aria-label"]=fn?_:null,kt["aria-labelledby"]=$e&&!fn?We:null);const Xe={...kt,...B,...P.props,className:ge(B.className,P.props.className),onTouchStart:on,ref:ht,...A?{onMouseMove:vt}:{}},an={};T||(Xe.onTouchStart=qe,Xe.onTouchEnd=Tn),b||(Xe.onMouseOver=$u(Ie,Xe.onMouseOver),Xe.onMouseLeave=$u(Ve,Xe.onMouseLeave),me||(an.onMouseOver=Ie,an.onMouseLeave=Ve)),y||(Xe.onFocus=$u(Ae,Xe.onFocus),Xe.onBlur=$u(Je,Xe.onBlur),me||(an.onFocus=Ae,an.onBlur=Je));const Wt={...i,isRtl:Z,arrow:s,disableInteractive:me,placement:U,PopperComponentProp:$,touch:se.current},Bt=typeof q.popper=="function"?q.popper(Wt):q.popper,gn=v.useMemo(()=>{let Ge=[{name:"arrow",enabled:!!H,options:{element:H,padding:4}}];return F.popperOptions?.modifiers&&(Ge=Ge.concat(F.popperOptions.modifiers)),Bt?.popperOptions?.modifiers&&(Ge=Ge.concat(Bt.popperOptions.modifiers)),{...F.popperOptions,...Bt?.popperOptions,modifiers:Ge}},[H,F.popperOptions,Bt?.popperOptions]),Gt=Z6(Wt),Be=typeof q.transition=="function"?q.transition(Wt):q.transition,lt={slots:{popper:p.Popper,transition:p.Transition??I,tooltip:p.Tooltip,arrow:p.Arrow,...R},slotProps:{arrow:q.arrow??m.arrow,popper:{...F,...Bt??m.popper},tooltip:q.tooltip??m.tooltip,transition:{...W,...Be??m.transition}}},[Nt,On]=Re("popper",{elementType:J6,externalForwardedProps:lt,ownerState:Wt,className:ge(Gt.popper,F?.className)}),[Ar,_r]=Re("transition",{elementType:Yl,externalForwardedProps:lt,ownerState:Wt}),[Mr,_o]=Re("tooltip",{elementType:eB,className:Gt.tooltip,externalForwardedProps:lt,ownerState:Wt}),[fo,Es]=Re("arrow",{elementType:tB,className:Gt.arrow,externalForwardedProps:lt,ownerState:Wt,ref:Q});return d.jsxs(v.Fragment,{children:[v.cloneElement(P,Xe),d.jsx(Nt,{as:$??qS,placement:U,anchorEl:A?{getBoundingClientRect:()=>({top:Tl.y,left:Tl.x,right:Tl.x,bottom:Tl.y,width:0,height:0})}:pe,popperRef:et,open:pe?$e:!1,id:We,transition:!0,...an,...On,popperOptions:gn,children:({TransitionProps:Ge})=>d.jsx(Ar,{timeout:X.transitions.duration.shorter,...Ge,..._r,children:d.jsxs(Mr,{..._o,children:[_,s?d.jsx(fo,{...Es}):null]})})})]})});function nB(e){return xe("MuiSwitch",e)}const Bn=Ce("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),rB=e=>{const{classes:n,edge:o,size:i,color:s,checked:c,disabled:u}=e,p={root:["root",o&&`edge${ie(o)}`,`size${ie(i)}`],switchBase:["switchBase",`color${ie(s)}`,c&&"checked",u&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},m=Se(p,nB,n);return{...n,...m}},oB=ae("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.edge&&n[`edge${ie(o.edge)}`],n[`size${ie(o.size)}`]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${Bn.thumb}`]:{width:16,height:16},[`& .${Bn.switchBase}`]:{padding:4,[`&.${Bn.checked}`]:{transform:"translateX(16px)"}}}}]}),aB=ae(KS,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.switchBase,{[`& .${Bn.input}`]:n.input},o.color!=="default"&&n[`color${ie(o.color)}`]]}})(Te(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${Bn.checked}`]:{transform:"translateX(20px)"},[`&.${Bn.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${Bn.checked} + .${Bn.track}`]:{opacity:.5},[`&.${Bn.disabled} + .${Bn.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${Bn.input}`]:{left:"-100%",width:"300%"}})),Te(({theme:e})=>({"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(Dt(["light"])).map(([n])=>({props:{color:n},style:{[`&.${Bn.checked}`]:{color:(e.vars||e).palette[n].main,"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[n].main,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Bn.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${n}DisabledColor`]:`${e.palette.mode==="light"?e.lighten(e.palette[n].main,.62):e.darken(e.palette[n].main,.55)}`}},[`&.${Bn.checked} + .${Bn.track}`]:{backgroundColor:(e.vars||e).palette[n].main}}}))]}))),iB=ae("span",{name:"MuiSwitch",slot:"Track"})(Te(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`}))),sB=ae("span",{name:"MuiSwitch",slot:"Thumb"})(Te(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),lB=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiSwitch"}),{className:s,color:c="primary",edge:u=!1,size:p="medium",sx:m,slots:g={},slotProps:y={},...b}=i,w={...i,color:c,edge:u,size:p},T=rB(w),x={slots:g,slotProps:y},[S,E]=Re("root",{className:ge(T.root,s),elementType:oB,externalForwardedProps:x,ownerState:w,additionalProps:{sx:m}}),[A,O]=Re("thumb",{className:T.thumb,elementType:sB,externalForwardedProps:x,ownerState:w}),j=d.jsx(A,{...O}),[M,k]=Re("track",{className:T.track,elementType:iB,externalForwardedProps:x,ownerState:w});return d.jsxs(S,{...E,children:[d.jsx(aB,{type:"checkbox",icon:j,checkedIcon:j,ref:o,ownerState:w,...b,classes:{...T,root:T.switchBase},slots:{...g.switchBase&&{root:g.switchBase},...g.input&&{input:g.input}},slotProps:{...y.switchBase&&{root:typeof y.switchBase=="function"?y.switchBase(w):y.switchBase},input:{role:"switch"},...y.input&&{input:typeof y.input=="function"?y.input(w):y.input}}}),d.jsx(M,{...k})]})});function cB(e){return xe("MuiTab",e)}const vr=Ce("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]),uB=e=>{const{classes:n,textColor:o,fullWidth:i,wrapped:s,icon:c,label:u,selected:p,disabled:m}=e,g={root:["root",c&&u&&"labelIcon",`textColor${ie(o)}`,i&&"fullWidth",s&&"wrapped",p&&"selected",m&&"disabled"],icon:["iconWrapper","icon"]};return Se(g,cB,n)},dB=ae(wr,{name:"MuiTab",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.label&&o.icon&&n.labelIcon,n[`textColor${ie(o.textColor)}`],o.fullWidth&&n.fullWidth,o.wrapped&&n.wrapped,{[`& .${vr.iconWrapper}`]:n.iconWrapper},{[`& .${vr.icon}`]:n.icon}]}})(Te(({theme:e})=>({...e.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:n})=>n.label&&(n.iconPosition==="top"||n.iconPosition==="bottom"),style:{flexDirection:"column"}},{props:({ownerState:n})=>n.label&&n.iconPosition!=="top"&&n.iconPosition!=="bottom",style:{flexDirection:"row"}},{props:({ownerState:n})=>n.icon&&n.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:n,iconPosition:o})=>n.icon&&n.label&&o==="top",style:{[`& > .${vr.icon}`]:{marginBottom:6}}},{props:({ownerState:n,iconPosition:o})=>n.icon&&n.label&&o==="bottom",style:{[`& > .${vr.icon}`]:{marginTop:6}}},{props:({ownerState:n,iconPosition:o})=>n.icon&&n.label&&o==="start",style:{[`& > .${vr.icon}`]:{marginRight:e.spacing(1)}}},{props:({ownerState:n,iconPosition:o})=>n.icon&&n.label&&o==="end",style:{[`& > .${vr.icon}`]:{marginLeft:e.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${vr.selected}`]:{opacity:1},[`&.${vr.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${vr.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${vr.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${vr.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${vr.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:({ownerState:n})=>n.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:n})=>n.wrapped,style:{fontSize:e.typography.pxToRem(12)}}]}))),im=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiTab"}),{className:s,disabled:c=!1,disableFocusRipple:u=!1,fullWidth:p,icon:m,iconPosition:g="top",indicator:y,label:b,onChange:w,onClick:T,onFocus:x,selected:S,selectionFollowsFocus:E,textColor:A="inherit",value:O,wrapped:j=!1,...M}=i,k={...i,disabled:c,disableFocusRipple:u,selected:S,icon:!!m,iconPosition:g,label:!!b,fullWidth:p,textColor:A,wrapped:j},N=uB(k),L=m&&b&&v.isValidElement(m)?v.cloneElement(m,{className:ge(N.icon,m.props.className)}):m,U=F=>{!S&&w&&w(F,O),T&&T(F)},$=F=>{E&&!S&&w&&w(F,O),x&&x(F)};return d.jsxs(dB,{focusRipple:!u,className:ge(N.root,s),ref:o,role:"tab","aria-selected":S,disabled:c,onClick:U,onFocus:$,ownerState:k,tabIndex:S?0:-1,...M,children:[g==="top"||g==="start"?d.jsxs(v.Fragment,{children:[L,b]}):d.jsxs(v.Fragment,{children:[b,L]}),y]})}),cC=v.createContext();function fB(e){return xe("MuiTable",e)}Ce("MuiTable",["root","stickyHeader"]);const pB=e=>{const{classes:n,stickyHeader:o}=e;return Se({root:["root",o&&"stickyHeader"]},fB,n)},hB=ae("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.stickyHeader&&n.stickyHeader]}})(Te(({theme:e})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...e.typography.body2,padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:n})=>n.stickyHeader,style:{borderCollapse:"separate"}}]}))),Fx="table",uC=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiTable"}),{className:s,component:c=Fx,padding:u="normal",size:p="medium",stickyHeader:m=!1,...g}=i,y={...i,component:c,padding:u,size:p,stickyHeader:m},b=pB(y),w=v.useMemo(()=>({padding:u,size:p,stickyHeader:m}),[u,p,m]);return d.jsx(cC.Provider,{value:w,children:d.jsx(hB,{as:c,role:c===Fx?null:"table",ref:o,className:ge(b.root,s),ownerState:y,...g})})}),$d=v.createContext();function mB(e){return xe("MuiTableBody",e)}Ce("MuiTableBody",["root"]);const gB=e=>{const{classes:n}=e;return Se({root:["root"]},mB,n)},yB=ae("tbody",{name:"MuiTableBody",slot:"Root"})({display:"table-row-group"}),vB={variant:"body"},Vx="tbody",dC=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiTableBody"}),{className:s,component:c=Vx,...u}=i,p={...i,component:c},m=gB(p);return d.jsx($d.Provider,{value:vB,children:d.jsx(yB,{className:ge(m.root,s),as:c,ref:o,role:c===Vx?null:"rowgroup",ownerState:p,...u})})});function bB(e){return xe("MuiTableCell",e)}const xB=Ce("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),SB=e=>{const{classes:n,variant:o,align:i,padding:s,size:c,stickyHeader:u}=e,p={root:["root",o,u&&"stickyHeader",i!=="inherit"&&`align${ie(i)}`,s!=="normal"&&`padding${ie(s)}`,`size${ie(c)}`]};return Se(p,bB,n)},CB=ae("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,n[o.variant],n[`size${ie(o.size)}`],o.padding!=="normal"&&n[`padding${ie(o.padding)}`],o.align!=="inherit"&&n[`align${ie(o.align)}`],o.stickyHeader&&n.stickyHeader]}})(Te(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid
|
|
199
|
+
${e.palette.mode==="light"?e.lighten(e.alpha(e.palette.divider,1),.88):e.darken(e.alpha(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${xB.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:n})=>n.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),Mt=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiTableCell"}),{align:s="inherit",className:c,component:u,padding:p,scope:m,size:g,sortDirection:y,variant:b,...w}=i,T=v.useContext(cC),x=v.useContext($d),S=x&&x.variant==="head";let E;u?E=u:E=S?"th":"td";let A=m;E==="td"?A=void 0:!A&&S&&(A="col");const O=b||x&&x.variant,j={...i,align:s,component:E,padding:p||(T&&T.padding?T.padding:"normal"),size:g||(T&&T.size?T.size:"medium"),sortDirection:y,stickyHeader:O==="head"&&T&&T.stickyHeader,variant:O},M=SB(j);let k=null;return y&&(k=y==="asc"?"ascending":"descending"),d.jsx(CB,{as:E,ref:o,className:ge(M.root,c),"aria-sort":k,scope:A,ownerState:j,...w})});function wB(e){return xe("MuiTableContainer",e)}Ce("MuiTableContainer",["root"]);const EB=e=>{const{classes:n}=e;return Se({root:["root"]},wB,n)},TB=ae("div",{name:"MuiTableContainer",slot:"Root"})({width:"100%",overflowX:"auto"}),fC=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiTableContainer"}),{className:s,component:c="div",...u}=i,p={...i,component:c},m=EB(p);return d.jsx(TB,{ref:o,as:c,className:ge(m.root,s),ownerState:p,...u})});function RB(e){return xe("MuiTableHead",e)}Ce("MuiTableHead",["root"]);const jB=e=>{const{classes:n}=e;return Se({root:["root"]},RB,n)},AB=ae("thead",{name:"MuiTableHead",slot:"Root"})({display:"table-header-group"}),MB={variant:"head"},qx="thead",pC=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiTableHead"}),{className:s,component:c=qx,...u}=i,p={...i,component:c},m=jB(p);return d.jsx($d.Provider,{value:MB,children:d.jsx(AB,{as:c,className:ge(m.root,s),ref:o,role:c===qx?null:"rowgroup",ownerState:p,...u})})});function kB(e){return xe("MuiToolbar",e)}Ce("MuiToolbar",["root","gutters","regular","dense"]);const OB=e=>{const{classes:n,disableGutters:o,variant:i}=e;return Se({root:["root",!o&&"gutters",i]},kB,n)},zB=ae("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,!o.disableGutters&&n.gutters,n[o.variant]]}})(Te(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:n})=>!n.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),BB=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiToolbar"}),{className:s,component:c="div",disableGutters:u=!1,variant:p="regular",...m}=i,g={...i,component:c,disableGutters:u,variant:p},y=OB(g);return d.jsx(zB,{as:c,className:ge(y.root,s),ref:o,ownerState:g,...m})}),NB=Fe(d.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"})),DB=Fe(d.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}));function LB(e){return xe("MuiTableRow",e)}const Wx=Ce("MuiTableRow",["root","selected","hover","head","footer"]),$B=e=>{const{classes:n,selected:o,hover:i,head:s,footer:c}=e;return Se({root:["root",o&&"selected",i&&"hover",s&&"head",c&&"footer"]},LB,n)},PB=ae("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.head&&n.head,o.footer&&n.footer]}})(Te(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${Wx.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Wx.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)}}}))),Gx="tr",cd=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiTableRow"}),{className:s,component:c=Gx,hover:u=!1,selected:p=!1,...m}=i,g=v.useContext($d),y={...i,component:c,hover:u,selected:p,head:g&&g.variant==="head",footer:g&&g.variant==="footer"},b=$B(y);return d.jsx(PB,{as:c,ref:o,className:ge(b.root,s),role:c===Gx?null:"row",ownerState:y,...m})});function UB(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function _B(e,n,o,i={},s=()=>{}){const{ease:c=UB,duration:u=300}=i;let p=null;const m=n[e];let g=!1;const y=()=>{g=!0},b=w=>{if(g){s(new Error("Animation cancelled"));return}p===null&&(p=w);const T=Math.min(1,(w-p)/u);if(n[e]=c(T)*(o-m)+m,T>=1){requestAnimationFrame(()=>{s(null)});return}requestAnimationFrame(b)};return m===o?(s(new Error("Element already at target position")),y):(requestAnimationFrame(b),y)}const IB={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function HB(e){const{onChange:n,...o}=e,i=v.useRef(),s=v.useRef(null),c=()=>{i.current=s.current.offsetHeight-s.current.clientHeight};return Yn(()=>{const u=Ad(()=>{const m=i.current;c(),m!==i.current&&n(i.current)}),p=$r(s.current);return p.addEventListener("resize",u),()=>{u.clear(),p.removeEventListener("resize",u)}},[n]),v.useEffect(()=>{c(),n(i.current)},[n]),d.jsx("div",{style:IB,...o,ref:s})}function FB(e){return xe("MuiTabScrollButton",e)}const VB=Ce("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),qB=e=>{const{classes:n,orientation:o,disabled:i}=e;return Se({root:["root",o,i&&"disabled"]},FB,n)},WB=ae(wr,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.orientation&&n[o.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${VB.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),GB=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiTabScrollButton"}),{className:s,slots:c={},slotProps:u={},direction:p,orientation:m,disabled:g,...y}=i,b=xs(),w={isRtl:b,...i},T=qB(w),x=c.StartScrollButtonIcon??NB,S=c.EndScrollButtonIcon??DB,E=Za({elementType:x,externalSlotProps:u.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:w}),A=Za({elementType:S,externalSlotProps:u.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:w});return d.jsx(WB,{component:"div",className:ge(T.root,s),ref:o,role:null,ownerState:w,tabIndex:null,...y,style:{...y.style,...m==="vertical"&&{"--TabScrollButton-svgRotate":`rotate(${b?-90:90}deg)`}},children:p==="left"?d.jsx(x,{...E}):d.jsx(S,{...A})})});function KB(e){return xe("MuiTabs",e)}const Th=Ce("MuiTabs",["root","vertical","list","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),Kx=(e,n)=>e===n?e.firstChild:n&&n.nextElementSibling?n.nextElementSibling:e.firstChild,Yx=(e,n)=>e===n?e.lastChild:n&&n.previousElementSibling?n.previousElementSibling:e.lastChild,Pu=(e,n,o)=>{let i=!1,s=o(e,n);for(;s;){if(s===e.firstChild){if(i)return;i=!0}const c=s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||c)s=o(e,s);else{s.focus();return}}},YB=e=>{const{vertical:n,fixed:o,hideScrollbar:i,scrollableX:s,scrollableY:c,centered:u,scrollButtonsHideMobile:p,classes:m}=e;return Se({root:["root",n&&"vertical"],scroller:["scroller",o&&"fixed",i&&"hideScrollbar",s&&"scrollableX",c&&"scrollableY"],list:["list","flexContainer",n&&"flexContainerVertical",n&&"vertical",u&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",p&&"scrollButtonsHideMobile"],scrollableX:[s&&"scrollableX"],hideScrollbar:[i&&"hideScrollbar"]},KB,m)},XB=ae("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[{[`& .${Th.scrollButtons}`]:n.scrollButtons},{[`& .${Th.scrollButtons}`]:o.scrollButtonsHideMobile&&n.scrollButtonsHideMobile},n.root,o.vertical&&n.vertical]}})(Te(({theme:e})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:n})=>n.vertical,style:{flexDirection:"column"}},{props:({ownerState:n})=>n.scrollButtonsHideMobile,style:{[`& .${Th.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}}}]}))),QB=ae("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.scroller,o.fixed&&n.fixed,o.hideScrollbar&&n.hideScrollbar,o.scrollableX&&n.scrollableX,o.scrollableY&&n.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:e})=>e.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:e})=>e.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:e})=>e.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:e})=>e.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),ZB=ae("div",{name:"MuiTabs",slot:"List",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.list,n.flexContainer,o.vertical&&n.flexContainerVertical,o.centered&&n.centered]}})({display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.centered,style:{justifyContent:"center"}}]}),JB=ae("span",{name:"MuiTabs",slot:"Indicator"})(Te(({theme:e})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(e.vars||e).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(e.vars||e).palette.secondary.main}},{props:({ownerState:n})=>n.vertical,style:{height:"100%",width:2,right:0}}]}))),eN=ae(HB)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Xx={},hC=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiTabs"}),s=co(),c=xs(),{"aria-label":u,"aria-labelledby":p,action:m,centered:g=!1,children:y,className:b,component:w="div",allowScrollButtonsMobile:T=!1,indicatorColor:x="primary",onChange:S,orientation:E="horizontal",ScrollButtonComponent:A,scrollButtons:O="auto",selectionFollowsFocus:j,slots:M={},slotProps:k={},TabIndicatorProps:N={},TabScrollButtonProps:L={},textColor:U="primary",value:$,variant:F="standard",visibleScrollbar:q=!1,...R}=i,_=F==="scrollable",I=E==="vertical",W=I?"scrollTop":"scrollLeft",B=I?"top":"left",P=I?"bottom":"right",X=I?"clientHeight":"clientWidth",Z=I?"height":"width",pe={...i,component:w,allowScrollButtonsMobile:T,indicatorColor:x,orientation:E,vertical:I,scrollButtons:O,textColor:U,variant:F,visibleScrollbar:q,fixed:!_,hideScrollbar:_&&!q,scrollableX:_&&!I,scrollableY:_&&I,centered:g&&!_,scrollButtonsHideMobile:!T},D=YB(pe),H=Za({elementType:M.StartScrollButtonIcon,externalSlotProps:k.startScrollButtonIcon,ownerState:pe}),Q=Za({elementType:M.EndScrollButtonIcon,externalSlotProps:k.endScrollButtonIcon,ownerState:pe}),[se,me]=v.useState(!1),[fe,ye]=v.useState(Xx),[ze,je]=v.useState(!1),[ke,De]=v.useState(!1),[$e,We]=v.useState(!1),[be,ve]=v.useState({overflow:"hidden",scrollbarWidth:0}),Ye=new Map,_e=v.useRef(null),Ie=v.useRef(null),Ve={slots:M,slotProps:{indicator:N,scrollButtons:L,...k}},nt=()=>{const Ee=_e.current;let Pe;if(Ee){const ut=Ee.getBoundingClientRect();Pe={clientWidth:Ee.clientWidth,scrollLeft:Ee.scrollLeft,scrollTop:Ee.scrollTop,scrollWidth:Ee.scrollWidth,top:ut.top,bottom:ut.bottom,left:ut.left,right:ut.right}}let dt;if(Ee&&$!==!1){const ut=Ie.current.children;if(ut.length>0){const Ht=ut[Ye.get($)];dt=Ht?Ht.getBoundingClientRect():null}}return{tabsMeta:Pe,tabMeta:dt}},Je=Nn(()=>{const{tabsMeta:Ee,tabMeta:Pe}=nt();let dt=0,ut;I?(ut="top",Pe&&Ee&&(dt=Pe.top-Ee.top+Ee.scrollTop)):(ut=c?"right":"left",Pe&&Ee&&(dt=(c?-1:1)*(Pe[ut]-Ee[ut]+Ee.scrollLeft)));const Ht={[ut]:dt,[Z]:Pe?Pe[Z]:0};if(typeof fe[ut]!="number"||typeof fe[Z]!="number")ye(Ht);else{const Ln=Math.abs(fe[ut]-Ht[ut]),kr=Math.abs(fe[Z]-Ht[Z]);(Ln>=1||kr>=1)&&ye(Ht)}}),Ae=(Ee,{animation:Pe=!0}={})=>{Pe?_B(W,_e.current,Ee,{duration:s.transitions.duration.standard}):_e.current[W]=Ee},on=Ee=>{let Pe=_e.current[W];I?Pe+=Ee:Pe+=Ee*(c?-1:1),Ae(Pe)},qe=()=>{const Ee=_e.current[X];let Pe=0;const dt=Array.from(Ie.current.children);for(let ut=0;ut<dt.length;ut+=1){const Ht=dt[ut];if(Pe+Ht[X]>Ee){ut===0&&(Pe=Ee);break}Pe+=Ht[X]}return Pe},Tn=()=>{on(-1*qe())},ht=()=>{on(qe())},[et,{onChange:vt,...kt}]=Re("scrollbar",{className:ge(D.scrollableX,D.hideScrollbar),elementType:eN,shouldForwardComponentProp:!0,externalForwardedProps:Ve,ownerState:pe}),fn=v.useCallback(Ee=>{vt?.(Ee),ve({overflow:null,scrollbarWidth:Ee})},[vt]),[Xe,an]=Re("scrollButtons",{className:ge(D.scrollButtons,L.className),elementType:GB,externalForwardedProps:Ve,ownerState:pe,additionalProps:{orientation:E,slots:{StartScrollButtonIcon:M.startScrollButtonIcon||M.StartScrollButtonIcon,EndScrollButtonIcon:M.endScrollButtonIcon||M.EndScrollButtonIcon},slotProps:{startScrollButtonIcon:H,endScrollButtonIcon:Q}}}),Wt=()=>{const Ee={};Ee.scrollbarSizeListener=_?d.jsx(et,{...kt,onChange:fn}):null;const dt=_&&(O==="auto"&&(ze||ke)||O===!0);return Ee.scrollButtonStart=dt?d.jsx(Xe,{direction:c?"right":"left",onClick:Tn,disabled:!ze,...an}):null,Ee.scrollButtonEnd=dt?d.jsx(Xe,{direction:c?"left":"right",onClick:ht,disabled:!ke,...an}):null,Ee},Bt=Nn(Ee=>{const{tabsMeta:Pe,tabMeta:dt}=nt();if(!(!dt||!Pe)){if(dt[B]<Pe[B]){const ut=Pe[W]+(dt[B]-Pe[B]);Ae(ut,{animation:Ee})}else if(dt[P]>Pe[P]){const ut=Pe[W]+(dt[P]-Pe[P]);Ae(ut,{animation:Ee})}}}),gn=Nn(()=>{_&&O!==!1&&We(!$e)});v.useEffect(()=>{const Ee=Ad(()=>{_e.current&&Je()});let Pe;const dt=Ln=>{Ln.forEach(kr=>{kr.removedNodes.forEach(Io=>{Pe?.unobserve(Io)}),kr.addedNodes.forEach(Io=>{Pe?.observe(Io)})}),Ee(),gn()},ut=$r(_e.current);ut.addEventListener("resize",Ee);let Ht;return typeof ResizeObserver<"u"&&(Pe=new ResizeObserver(Ee),Array.from(Ie.current.children).forEach(Ln=>{Pe.observe(Ln)})),typeof MutationObserver<"u"&&(Ht=new MutationObserver(dt),Ht.observe(Ie.current,{childList:!0})),()=>{Ee.clear(),ut.removeEventListener("resize",Ee),Ht?.disconnect(),Pe?.disconnect()}},[Je,gn]),v.useEffect(()=>{const Ee=Array.from(Ie.current.children),Pe=Ee.length;if(typeof IntersectionObserver<"u"&&Pe>0&&_&&O!==!1){const dt=Ee[0],ut=Ee[Pe-1],Ht={root:_e.current,threshold:.99},Ln=sr=>{je(!sr[0].isIntersecting)},kr=new IntersectionObserver(Ln,Ht);kr.observe(dt);const Io=sr=>{De(!sr[0].isIntersecting)},Ts=new IntersectionObserver(Io,Ht);return Ts.observe(ut),()=>{kr.disconnect(),Ts.disconnect()}}},[_,O,$e,y?.length]),v.useEffect(()=>{me(!0)},[]),v.useEffect(()=>{Je()}),v.useEffect(()=>{Bt(Xx!==fe)},[Bt,fe]),v.useImperativeHandle(m,()=>({updateIndicator:Je,updateScrollButtons:gn}),[Je,gn]);const[Gt,Be]=Re("indicator",{className:ge(D.indicator,N.className),elementType:JB,externalForwardedProps:Ve,ownerState:pe,additionalProps:{style:fe}}),lt=d.jsx(Gt,{...Be});let Nt=0;const On=v.Children.map(y,Ee=>{if(!v.isValidElement(Ee))return null;const Pe=Ee.props.value===void 0?Nt:Ee.props.value;Ye.set(Pe,Nt);const dt=Pe===$;return Nt+=1,v.cloneElement(Ee,{fullWidth:F==="fullWidth",indicator:dt&&!se&<,selected:dt,selectionFollowsFocus:j,onChange:S,textColor:U,value:Pe,...Nt===1&&$===!1&&!Ee.props.tabIndex?{tabIndex:0}:{}})}),Ar=Ee=>{if(Ee.altKey||Ee.shiftKey||Ee.ctrlKey||Ee.metaKey)return;const Pe=Ie.current,dt=Qi(En(Pe));if(dt?.getAttribute("role")!=="tab")return;let Ht=E==="horizontal"?"ArrowLeft":"ArrowUp",Ln=E==="horizontal"?"ArrowRight":"ArrowDown";switch(E==="horizontal"&&c&&(Ht="ArrowRight",Ln="ArrowLeft"),Ee.key){case Ht:Ee.preventDefault(),Pu(Pe,dt,Yx);break;case Ln:Ee.preventDefault(),Pu(Pe,dt,Kx);break;case"Home":Ee.preventDefault(),Pu(Pe,null,Kx);break;case"End":Ee.preventDefault(),Pu(Pe,null,Yx);break}},_r=Wt(),[Mr,_o]=Re("root",{ref:o,className:ge(D.root,b),elementType:XB,externalForwardedProps:{...Ve,...R,component:w},ownerState:pe}),[fo,Es]=Re("scroller",{ref:_e,className:D.scroller,elementType:QB,externalForwardedProps:Ve,ownerState:pe,additionalProps:{style:{overflow:be.overflow,[I?`margin${c?"Left":"Right"}`:"marginBottom"]:q?void 0:-be.scrollbarWidth}}}),[Ge,Dn]=Re("list",{ref:Ie,className:ge(D.list,D.flexContainer),elementType:ZB,externalForwardedProps:Ve,ownerState:pe,getSlotProps:Ee=>({...Ee,onKeyDown:Pe=>{Ar(Pe),Ee.onKeyDown?.(Pe)}})});return d.jsxs(Mr,{..._o,children:[_r.scrollButtonStart,_r.scrollbarSizeListener,d.jsxs(fo,{...Es,children:[d.jsx(Ge,{"aria-label":u,"aria-labelledby":p,"aria-orientation":E==="vertical"?"vertical":null,role:"tablist",...Dn,children:On}),se&<]}),_r.scrollButtonEnd]})});function tN(e){return xe("MuiTextField",e)}Ce("MuiTextField",["root"]);const nN={standard:Jm,filled:Zm,outlined:rg},rN=e=>{const{classes:n}=e;return Se({root:["root"]},tN,n)},oN=ae(eC,{name:"MuiTextField",slot:"Root"})({}),_t=v.forwardRef(function(n,o){const i=we({props:n,name:"MuiTextField"}),{autoComplete:s,autoFocus:c=!1,children:u,className:p,color:m="primary",defaultValue:g,disabled:y=!1,error:b=!1,FormHelperTextProps:w,fullWidth:T=!1,helperText:x,id:S,InputLabelProps:E,inputProps:A,InputProps:O,inputRef:j,label:M,maxRows:k,minRows:N,multiline:L=!1,name:U,onBlur:$,onChange:F,onFocus:q,placeholder:R,required:_=!1,rows:I,select:W=!1,SelectProps:B,slots:P={},slotProps:X={},type:Z,value:pe,variant:D="outlined",...H}=i,Q={...i,autoFocus:c,color:m,disabled:y,error:b,fullWidth:T,multiline:L,required:_,select:W,variant:D},se=rN(Q),me=ei(S),fe=x&&me?`${me}-helper-text`:void 0,ye=M&&me?`${me}-label`:void 0,ze=nN[D],je={slots:P,slotProps:{input:O,inputLabel:E,htmlInput:A,formHelperText:w,select:B,...X}},ke={},De=je.slotProps.inputLabel;D==="outlined"&&(De&&typeof De.shrink<"u"&&(ke.notched=De.shrink),ke.label=M),W&&((!B||!B.native)&&(ke.id=void 0),ke["aria-describedby"]=void 0);const[$e,We]=Re("root",{elementType:oN,shouldForwardComponentProp:!0,externalForwardedProps:{...je,...H},ownerState:Q,className:ge(se.root,p),ref:o,additionalProps:{disabled:y,error:b,fullWidth:T,required:_,color:m,variant:D}}),[be,ve]=Re("input",{elementType:ze,externalForwardedProps:je,additionalProps:ke,ownerState:Q}),[Ye,_e]=Re("inputLabel",{elementType:tC,externalForwardedProps:je,ownerState:Q}),[Ie,Ve]=Re("htmlInput",{elementType:"input",externalForwardedProps:je,ownerState:Q}),[nt,Je]=Re("formHelperText",{elementType:ez,externalForwardedProps:je,ownerState:Q}),[Ae,on]=Re("select",{elementType:ag,externalForwardedProps:je,ownerState:Q}),qe=d.jsx(be,{"aria-describedby":fe,autoComplete:s,autoFocus:c,defaultValue:g,fullWidth:T,multiline:L,name:U,rows:I,maxRows:k,minRows:N,type:Z,value:pe,id:me,inputRef:j,onBlur:$,onChange:F,onFocus:q,placeholder:R,inputProps:Ve,slots:{input:P.htmlInput?Ie:void 0},...ve});return d.jsxs($e,{...We,children:[M!=null&&M!==""&&d.jsx(Ye,{htmlFor:me,id:ye,..._e,children:M}),W?d.jsx(Ae,{"aria-describedby":fe,id:me,labelId:ye,value:pe,input:qe,...on,children:u}):qe,x&&d.jsx(nt,{id:fe,...Je,children:x})]})});function mC(e,n){return function(){return e.apply(n,arguments)}}const{toString:aN}=Object.prototype,{getPrototypeOf:ig}=Object,{iterator:Pd,toStringTag:gC}=Symbol,Ud=(e=>n=>{const o=aN.call(n);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),Ur=e=>(e=e.toLowerCase(),n=>Ud(n)===e),_d=e=>n=>typeof n===e,{isArray:Cs}=Array,ps=_d("undefined");function lc(e){return e!==null&&!ps(e)&&e.constructor!==null&&!ps(e.constructor)&&Wn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const yC=Ur("ArrayBuffer");function iN(e){let n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(e):n=e&&e.buffer&&yC(e.buffer),n}const sN=_d("string"),Wn=_d("function"),vC=_d("number"),cc=e=>e!==null&&typeof e=="object",lN=e=>e===!0||e===!1,Xu=e=>{if(Ud(e)!=="object")return!1;const n=ig(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(gC in e)&&!(Pd in e)},cN=e=>{if(!cc(e)||lc(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},uN=Ur("Date"),dN=Ur("File"),fN=Ur("Blob"),pN=Ur("FileList"),hN=e=>cc(e)&&Wn(e.pipe),mN=e=>{let n;return e&&(typeof FormData=="function"&&e instanceof FormData||Wn(e.append)&&((n=Ud(e))==="formdata"||n==="object"&&Wn(e.toString)&&e.toString()==="[object FormData]"))},gN=Ur("URLSearchParams"),[yN,vN,bN,xN]=["ReadableStream","Request","Response","Headers"].map(Ur),SN=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function uc(e,n,{allOwnKeys:o=!1}={}){if(e===null||typeof e>"u")return;let i,s;if(typeof e!="object"&&(e=[e]),Cs(e))for(i=0,s=e.length;i<s;i++)n.call(null,e[i],i,e);else{if(lc(e))return;const c=o?Object.getOwnPropertyNames(e):Object.keys(e),u=c.length;let p;for(i=0;i<u;i++)p=c[i],n.call(null,e[p],p,e)}}function bC(e,n){if(lc(e))return null;n=n.toLowerCase();const o=Object.keys(e);let i=o.length,s;for(;i-- >0;)if(s=o[i],n===s.toLowerCase())return s;return null}const Ga=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,xC=e=>!ps(e)&&e!==Ga;function sm(){const{caseless:e,skipUndefined:n}=xC(this)&&this||{},o={},i=(s,c)=>{const u=e&&bC(o,c)||c;Xu(o[u])&&Xu(s)?o[u]=sm(o[u],s):Xu(s)?o[u]=sm({},s):Cs(s)?o[u]=s.slice():(!n||!ps(s))&&(o[u]=s)};for(let s=0,c=arguments.length;s<c;s++)arguments[s]&&uc(arguments[s],i);return o}const CN=(e,n,o,{allOwnKeys:i}={})=>(uc(n,(s,c)=>{o&&Wn(s)?e[c]=mC(s,o):e[c]=s},{allOwnKeys:i}),e),wN=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),EN=(e,n,o,i)=>{e.prototype=Object.create(n.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:n.prototype}),o&&Object.assign(e.prototype,o)},TN=(e,n,o,i)=>{let s,c,u;const p={};if(n=n||{},e==null)return n;do{for(s=Object.getOwnPropertyNames(e),c=s.length;c-- >0;)u=s[c],(!i||i(u,e,n))&&!p[u]&&(n[u]=e[u],p[u]=!0);e=o!==!1&&ig(e)}while(e&&(!o||o(e,n))&&e!==Object.prototype);return n},RN=(e,n,o)=>{e=String(e),(o===void 0||o>e.length)&&(o=e.length),o-=n.length;const i=e.indexOf(n,o);return i!==-1&&i===o},jN=e=>{if(!e)return null;if(Cs(e))return e;let n=e.length;if(!vC(n))return null;const o=new Array(n);for(;n-- >0;)o[n]=e[n];return o},AN=(e=>n=>e&&n instanceof e)(typeof Uint8Array<"u"&&ig(Uint8Array)),MN=(e,n)=>{const i=(e&&e[Pd]).call(e);let s;for(;(s=i.next())&&!s.done;){const c=s.value;n.call(e,c[0],c[1])}},kN=(e,n)=>{let o;const i=[];for(;(o=e.exec(n))!==null;)i.push(o);return i},ON=Ur("HTMLFormElement"),zN=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(o,i,s){return i.toUpperCase()+s}),Qx=(({hasOwnProperty:e})=>(n,o)=>e.call(n,o))(Object.prototype),BN=Ur("RegExp"),SC=(e,n)=>{const o=Object.getOwnPropertyDescriptors(e),i={};uc(o,(s,c)=>{let u;(u=n(s,c,e))!==!1&&(i[c]=u||s)}),Object.defineProperties(e,i)},NN=e=>{SC(e,(n,o)=>{if(Wn(e)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const i=e[o];if(Wn(i)){if(n.enumerable=!1,"writable"in n){n.writable=!1;return}n.set||(n.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},DN=(e,n)=>{const o={},i=s=>{s.forEach(c=>{o[c]=!0})};return Cs(e)?i(e):i(String(e).split(n)),o},LN=()=>{},$N=(e,n)=>e!=null&&Number.isFinite(e=+e)?e:n;function PN(e){return!!(e&&Wn(e.append)&&e[gC]==="FormData"&&e[Pd])}const UN=e=>{const n=new Array(10),o=(i,s)=>{if(cc(i)){if(n.indexOf(i)>=0)return;if(lc(i))return i;if(!("toJSON"in i)){n[s]=i;const c=Cs(i)?[]:{};return uc(i,(u,p)=>{const m=o(u,s+1);!ps(m)&&(c[p]=m)}),n[s]=void 0,c}}return i};return o(e,0)},_N=Ur("AsyncFunction"),IN=e=>e&&(cc(e)||Wn(e))&&Wn(e.then)&&Wn(e.catch),CC=((e,n)=>e?setImmediate:n?((o,i)=>(Ga.addEventListener("message",({source:s,data:c})=>{s===Ga&&c===o&&i.length&&i.shift()()},!1),s=>{i.push(s),Ga.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",Wn(Ga.postMessage)),HN=typeof queueMicrotask<"u"?queueMicrotask.bind(Ga):typeof process<"u"&&process.nextTick||CC,FN=e=>e!=null&&Wn(e[Pd]),re={isArray:Cs,isArrayBuffer:yC,isBuffer:lc,isFormData:mN,isArrayBufferView:iN,isString:sN,isNumber:vC,isBoolean:lN,isObject:cc,isPlainObject:Xu,isEmptyObject:cN,isReadableStream:yN,isRequest:vN,isResponse:bN,isHeaders:xN,isUndefined:ps,isDate:uN,isFile:dN,isBlob:fN,isRegExp:BN,isFunction:Wn,isStream:hN,isURLSearchParams:gN,isTypedArray:AN,isFileList:pN,forEach:uc,merge:sm,extend:CN,trim:SN,stripBOM:wN,inherits:EN,toFlatObject:TN,kindOf:Ud,kindOfTest:Ur,endsWith:RN,toArray:jN,forEachEntry:MN,matchAll:kN,isHTMLForm:ON,hasOwnProperty:Qx,hasOwnProp:Qx,reduceDescriptors:SC,freezeMethods:NN,toObjectSet:DN,toCamelCase:zN,noop:LN,toFiniteNumber:$N,findKey:bC,global:Ga,isContextDefined:xC,isSpecCompliantForm:PN,toJSONObject:UN,isAsyncFn:_N,isThenable:IN,setImmediate:CC,asap:HN,isIterable:FN};function Ze(e,n,o,i,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",n&&(this.code=n),o&&(this.config=o),i&&(this.request=i),s&&(this.response=s,this.status=s.status?s.status:null)}re.inherits(Ze,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:re.toJSONObject(this.config),code:this.code,status:this.status}}});const wC=Ze.prototype,EC={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{EC[e]={value:e}});Object.defineProperties(Ze,EC);Object.defineProperty(wC,"isAxiosError",{value:!0});Ze.from=(e,n,o,i,s,c)=>{const u=Object.create(wC);re.toFlatObject(e,u,function(y){return y!==Error.prototype},g=>g!=="isAxiosError");const p=e&&e.message?e.message:"Error",m=n==null&&e?e.code:n;return Ze.call(u,p,m,o,i,s),e&&u.cause==null&&Object.defineProperty(u,"cause",{value:e,configurable:!0}),u.name=e&&e.name||"Error",c&&Object.assign(u,c),u};const VN=null;function lm(e){return re.isPlainObject(e)||re.isArray(e)}function TC(e){return re.endsWith(e,"[]")?e.slice(0,-2):e}function Zx(e,n,o){return e?e.concat(n).map(function(s,c){return s=TC(s),!o&&c?"["+s+"]":s}).join(o?".":""):n}function qN(e){return re.isArray(e)&&!e.some(lm)}const WN=re.toFlatObject(re,{},null,function(n){return/^is[A-Z]/.test(n)});function Id(e,n,o){if(!re.isObject(e))throw new TypeError("target must be an object");n=n||new FormData,o=re.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,E){return!re.isUndefined(E[S])});const i=o.metaTokens,s=o.visitor||y,c=o.dots,u=o.indexes,m=(o.Blob||typeof Blob<"u"&&Blob)&&re.isSpecCompliantForm(n);if(!re.isFunction(s))throw new TypeError("visitor must be a function");function g(x){if(x===null)return"";if(re.isDate(x))return x.toISOString();if(re.isBoolean(x))return x.toString();if(!m&&re.isBlob(x))throw new Ze("Blob is not supported. Use a Buffer instead.");return re.isArrayBuffer(x)||re.isTypedArray(x)?m&&typeof Blob=="function"?new Blob([x]):Buffer.from(x):x}function y(x,S,E){let A=x;if(x&&!E&&typeof x=="object"){if(re.endsWith(S,"{}"))S=i?S:S.slice(0,-2),x=JSON.stringify(x);else if(re.isArray(x)&&qN(x)||(re.isFileList(x)||re.endsWith(S,"[]"))&&(A=re.toArray(x)))return S=TC(S),A.forEach(function(j,M){!(re.isUndefined(j)||j===null)&&n.append(u===!0?Zx([S],M,c):u===null?S:S+"[]",g(j))}),!1}return lm(x)?!0:(n.append(Zx(E,S,c),g(x)),!1)}const b=[],w=Object.assign(WN,{defaultVisitor:y,convertValue:g,isVisitable:lm});function T(x,S){if(!re.isUndefined(x)){if(b.indexOf(x)!==-1)throw Error("Circular reference detected in "+S.join("."));b.push(x),re.forEach(x,function(A,O){(!(re.isUndefined(A)||A===null)&&s.call(n,A,re.isString(O)?O.trim():O,S,w))===!0&&T(A,S?S.concat(O):[O])}),b.pop()}}if(!re.isObject(e))throw new TypeError("data must be an object");return T(e),n}function Jx(e){const n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(i){return n[i]})}function sg(e,n){this._pairs=[],e&&Id(e,this,n)}const RC=sg.prototype;RC.append=function(n,o){this._pairs.push([n,o])};RC.toString=function(n){const o=n?function(i){return n.call(this,i,Jx)}:Jx;return this._pairs.map(function(s){return o(s[0])+"="+o(s[1])},"").join("&")};function GN(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function jC(e,n,o){if(!n)return e;const i=o&&o.encode||GN;re.isFunction(o)&&(o={serialize:o});const s=o&&o.serialize;let c;if(s?c=s(n,o):c=re.isURLSearchParams(n)?n.toString():new sg(n,o).toString(i),c){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+c}return e}class e1{constructor(){this.handlers=[]}use(n,o,i){return this.handlers.push({fulfilled:n,rejected:o,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(n){this.handlers[n]&&(this.handlers[n]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(n){re.forEach(this.handlers,function(i){i!==null&&n(i)})}}const AC={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},KN=typeof URLSearchParams<"u"?URLSearchParams:sg,YN=typeof FormData<"u"?FormData:null,XN=typeof Blob<"u"?Blob:null,QN={isBrowser:!0,classes:{URLSearchParams:KN,FormData:YN,Blob:XN},protocols:["http","https","file","blob","url","data"]},lg=typeof window<"u"&&typeof document<"u",cm=typeof navigator=="object"&&navigator||void 0,ZN=lg&&(!cm||["ReactNative","NativeScript","NS"].indexOf(cm.product)<0),JN=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",eD=lg&&window.location.href||"http://localhost",tD=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:lg,hasStandardBrowserEnv:ZN,hasStandardBrowserWebWorkerEnv:JN,navigator:cm,origin:eD},Symbol.toStringTag,{value:"Module"})),An={...tD,...QN};function nD(e,n){return Id(e,new An.classes.URLSearchParams,{visitor:function(o,i,s,c){return An.isNode&&re.isBuffer(o)?(this.append(i,o.toString("base64")),!1):c.defaultVisitor.apply(this,arguments)},...n})}function rD(e){return re.matchAll(/\w+|\[(\w*)]/g,e).map(n=>n[0]==="[]"?"":n[1]||n[0])}function oD(e){const n={},o=Object.keys(e);let i;const s=o.length;let c;for(i=0;i<s;i++)c=o[i],n[c]=e[c];return n}function MC(e){function n(o,i,s,c){let u=o[c++];if(u==="__proto__")return!0;const p=Number.isFinite(+u),m=c>=o.length;return u=!u&&re.isArray(s)?s.length:u,m?(re.hasOwnProp(s,u)?s[u]=[s[u],i]:s[u]=i,!p):((!s[u]||!re.isObject(s[u]))&&(s[u]=[]),n(o,i,s[u],c)&&re.isArray(s[u])&&(s[u]=oD(s[u])),!p)}if(re.isFormData(e)&&re.isFunction(e.entries)){const o={};return re.forEachEntry(e,(i,s)=>{n(rD(i),s,o,0)}),o}return null}function aD(e,n,o){if(re.isString(e))try{return(n||JSON.parse)(e),re.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(o||JSON.stringify)(e)}const dc={transitional:AC,adapter:["xhr","http","fetch"],transformRequest:[function(n,o){const i=o.getContentType()||"",s=i.indexOf("application/json")>-1,c=re.isObject(n);if(c&&re.isHTMLForm(n)&&(n=new FormData(n)),re.isFormData(n))return s?JSON.stringify(MC(n)):n;if(re.isArrayBuffer(n)||re.isBuffer(n)||re.isStream(n)||re.isFile(n)||re.isBlob(n)||re.isReadableStream(n))return n;if(re.isArrayBufferView(n))return n.buffer;if(re.isURLSearchParams(n))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),n.toString();let p;if(c){if(i.indexOf("application/x-www-form-urlencoded")>-1)return nD(n,this.formSerializer).toString();if((p=re.isFileList(n))||i.indexOf("multipart/form-data")>-1){const m=this.env&&this.env.FormData;return Id(p?{"files[]":n}:n,m&&new m,this.formSerializer)}}return c||s?(o.setContentType("application/json",!1),aD(n)):n}],transformResponse:[function(n){const o=this.transitional||dc.transitional,i=o&&o.forcedJSONParsing,s=this.responseType==="json";if(re.isResponse(n)||re.isReadableStream(n))return n;if(n&&re.isString(n)&&(i&&!this.responseType||s)){const u=!(o&&o.silentJSONParsing)&&s;try{return JSON.parse(n,this.parseReviver)}catch(p){if(u)throw p.name==="SyntaxError"?Ze.from(p,Ze.ERR_BAD_RESPONSE,this,null,this.response):p}}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:An.classes.FormData,Blob:An.classes.Blob},validateStatus:function(n){return n>=200&&n<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};re.forEach(["delete","get","head","post","put","patch"],e=>{dc.headers[e]={}});const iD=re.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),sD=e=>{const n={};let o,i,s;return e&&e.split(`
|
|
200
|
+
`).forEach(function(u){s=u.indexOf(":"),o=u.substring(0,s).trim().toLowerCase(),i=u.substring(s+1).trim(),!(!o||n[o]&&iD[o])&&(o==="set-cookie"?n[o]?n[o].push(i):n[o]=[i]:n[o]=n[o]?n[o]+", "+i:i)}),n},t1=Symbol("internals");function Rl(e){return e&&String(e).trim().toLowerCase()}function Qu(e){return e===!1||e==null?e:re.isArray(e)?e.map(Qu):String(e)}function lD(e){const n=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=o.exec(e);)n[i[1]]=i[2];return n}const cD=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Rh(e,n,o,i,s){if(re.isFunction(i))return i.call(this,n,o);if(s&&(n=o),!!re.isString(n)){if(re.isString(i))return n.indexOf(i)!==-1;if(re.isRegExp(i))return i.test(n)}}function uD(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(n,o,i)=>o.toUpperCase()+i)}function dD(e,n){const o=re.toCamelCase(" "+n);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+o,{value:function(s,c,u){return this[i].call(this,n,s,c,u)},configurable:!0})})}let Gn=class{constructor(n){n&&this.set(n)}set(n,o,i){const s=this;function c(p,m,g){const y=Rl(m);if(!y)throw new Error("header name must be a non-empty string");const b=re.findKey(s,y);(!b||s[b]===void 0||g===!0||g===void 0&&s[b]!==!1)&&(s[b||m]=Qu(p))}const u=(p,m)=>re.forEach(p,(g,y)=>c(g,y,m));if(re.isPlainObject(n)||n instanceof this.constructor)u(n,o);else if(re.isString(n)&&(n=n.trim())&&!cD(n))u(sD(n),o);else if(re.isObject(n)&&re.isIterable(n)){let p={},m,g;for(const y of n){if(!re.isArray(y))throw TypeError("Object iterator must return a key-value pair");p[g=y[0]]=(m=p[g])?re.isArray(m)?[...m,y[1]]:[m,y[1]]:y[1]}u(p,o)}else n!=null&&c(o,n,i);return this}get(n,o){if(n=Rl(n),n){const i=re.findKey(this,n);if(i){const s=this[i];if(!o)return s;if(o===!0)return lD(s);if(re.isFunction(o))return o.call(this,s,i);if(re.isRegExp(o))return o.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(n,o){if(n=Rl(n),n){const i=re.findKey(this,n);return!!(i&&this[i]!==void 0&&(!o||Rh(this,this[i],i,o)))}return!1}delete(n,o){const i=this;let s=!1;function c(u){if(u=Rl(u),u){const p=re.findKey(i,u);p&&(!o||Rh(i,i[p],p,o))&&(delete i[p],s=!0)}}return re.isArray(n)?n.forEach(c):c(n),s}clear(n){const o=Object.keys(this);let i=o.length,s=!1;for(;i--;){const c=o[i];(!n||Rh(this,this[c],c,n,!0))&&(delete this[c],s=!0)}return s}normalize(n){const o=this,i={};return re.forEach(this,(s,c)=>{const u=re.findKey(i,c);if(u){o[u]=Qu(s),delete o[c];return}const p=n?uD(c):String(c).trim();p!==c&&delete o[c],o[p]=Qu(s),i[p]=!0}),this}concat(...n){return this.constructor.concat(this,...n)}toJSON(n){const o=Object.create(null);return re.forEach(this,(i,s)=>{i!=null&&i!==!1&&(o[s]=n&&re.isArray(i)?i.join(", "):i)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([n,o])=>n+": "+o).join(`
|
|
201
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(n){return n instanceof this?n:new this(n)}static concat(n,...o){const i=new this(n);return o.forEach(s=>i.set(s)),i}static accessor(n){const i=(this[t1]=this[t1]={accessors:{}}).accessors,s=this.prototype;function c(u){const p=Rl(u);i[p]||(dD(s,u),i[p]=!0)}return re.isArray(n)?n.forEach(c):c(n),this}};Gn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);re.reduceDescriptors(Gn.prototype,({value:e},n)=>{let o=n[0].toUpperCase()+n.slice(1);return{get:()=>e,set(i){this[o]=i}}});re.freezeMethods(Gn);function jh(e,n){const o=this||dc,i=n||o,s=Gn.from(i.headers);let c=i.data;return re.forEach(e,function(p){c=p.call(o,c,s.normalize(),n?n.status:void 0)}),s.normalize(),c}function kC(e){return!!(e&&e.__CANCEL__)}function ws(e,n,o){Ze.call(this,e??"canceled",Ze.ERR_CANCELED,n,o),this.name="CanceledError"}re.inherits(ws,Ze,{__CANCEL__:!0});function OC(e,n,o){const i=o.config.validateStatus;!o.status||!i||i(o.status)?e(o):n(new Ze("Request failed with status code "+o.status,[Ze.ERR_BAD_REQUEST,Ze.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}function fD(e){const n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return n&&n[1]||""}function pD(e,n){e=e||10;const o=new Array(e),i=new Array(e);let s=0,c=0,u;return n=n!==void 0?n:1e3,function(m){const g=Date.now(),y=i[c];u||(u=g),o[s]=m,i[s]=g;let b=c,w=0;for(;b!==s;)w+=o[b++],b=b%e;if(s=(s+1)%e,s===c&&(c=(c+1)%e),g-u<n)return;const T=y&&g-y;return T?Math.round(w*1e3/T):void 0}}function hD(e,n){let o=0,i=1e3/n,s,c;const u=(g,y=Date.now())=>{o=y,s=null,c&&(clearTimeout(c),c=null),e(...g)};return[(...g)=>{const y=Date.now(),b=y-o;b>=i?u(g,y):(s=g,c||(c=setTimeout(()=>{c=null,u(s)},i-b)))},()=>s&&u(s)]}const ud=(e,n,o=3)=>{let i=0;const s=pD(50,250);return hD(c=>{const u=c.loaded,p=c.lengthComputable?c.total:void 0,m=u-i,g=s(m),y=u<=p;i=u;const b={loaded:u,total:p,progress:p?u/p:void 0,bytes:m,rate:g||void 0,estimated:g&&p&&y?(p-u)/g:void 0,event:c,lengthComputable:p!=null,[n?"download":"upload"]:!0};e(b)},o)},n1=(e,n)=>{const o=e!=null;return[i=>n[0]({lengthComputable:o,total:e,loaded:i}),n[1]]},r1=e=>(...n)=>re.asap(()=>e(...n)),mD=An.hasStandardBrowserEnv?((e,n)=>o=>(o=new URL(o,An.origin),e.protocol===o.protocol&&e.host===o.host&&(n||e.port===o.port)))(new URL(An.origin),An.navigator&&/(msie|trident)/i.test(An.navigator.userAgent)):()=>!0,gD=An.hasStandardBrowserEnv?{write(e,n,o,i,s,c,u){if(typeof document>"u")return;const p=[`${e}=${encodeURIComponent(n)}`];re.isNumber(o)&&p.push(`expires=${new Date(o).toUTCString()}`),re.isString(i)&&p.push(`path=${i}`),re.isString(s)&&p.push(`domain=${s}`),c===!0&&p.push("secure"),re.isString(u)&&p.push(`SameSite=${u}`),document.cookie=p.join("; ")},read(e){if(typeof document>"u")return null;const n=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return n?decodeURIComponent(n[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function yD(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function vD(e,n){return n?e.replace(/\/?\/$/,"")+"/"+n.replace(/^\/+/,""):e}function zC(e,n,o){let i=!yD(n);return e&&(i||o==!1)?vD(e,n):n}const o1=e=>e instanceof Gn?{...e}:e;function Ja(e,n){n=n||{};const o={};function i(g,y,b,w){return re.isPlainObject(g)&&re.isPlainObject(y)?re.merge.call({caseless:w},g,y):re.isPlainObject(y)?re.merge({},y):re.isArray(y)?y.slice():y}function s(g,y,b,w){if(re.isUndefined(y)){if(!re.isUndefined(g))return i(void 0,g,b,w)}else return i(g,y,b,w)}function c(g,y){if(!re.isUndefined(y))return i(void 0,y)}function u(g,y){if(re.isUndefined(y)){if(!re.isUndefined(g))return i(void 0,g)}else return i(void 0,y)}function p(g,y,b){if(b in n)return i(g,y);if(b in e)return i(void 0,g)}const m={url:c,method:c,data:c,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,withXSRFToken:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:p,headers:(g,y,b)=>s(o1(g),o1(y),b,!0)};return re.forEach(Object.keys({...e,...n}),function(y){const b=m[y]||s,w=b(e[y],n[y],y);re.isUndefined(w)&&b!==p||(o[y]=w)}),o}const BC=e=>{const n=Ja({},e);let{data:o,withXSRFToken:i,xsrfHeaderName:s,xsrfCookieName:c,headers:u,auth:p}=n;if(n.headers=u=Gn.from(u),n.url=jC(zC(n.baseURL,n.url,n.allowAbsoluteUrls),e.params,e.paramsSerializer),p&&u.set("Authorization","Basic "+btoa((p.username||"")+":"+(p.password?unescape(encodeURIComponent(p.password)):""))),re.isFormData(o)){if(An.hasStandardBrowserEnv||An.hasStandardBrowserWebWorkerEnv)u.setContentType(void 0);else if(re.isFunction(o.getHeaders)){const m=o.getHeaders(),g=["content-type","content-length"];Object.entries(m).forEach(([y,b])=>{g.includes(y.toLowerCase())&&u.set(y,b)})}}if(An.hasStandardBrowserEnv&&(i&&re.isFunction(i)&&(i=i(n)),i||i!==!1&&mD(n.url))){const m=s&&c&&gD.read(c);m&&u.set(s,m)}return n},bD=typeof XMLHttpRequest<"u",xD=bD&&function(e){return new Promise(function(o,i){const s=BC(e);let c=s.data;const u=Gn.from(s.headers).normalize();let{responseType:p,onUploadProgress:m,onDownloadProgress:g}=s,y,b,w,T,x;function S(){T&&T(),x&&x(),s.cancelToken&&s.cancelToken.unsubscribe(y),s.signal&&s.signal.removeEventListener("abort",y)}let E=new XMLHttpRequest;E.open(s.method.toUpperCase(),s.url,!0),E.timeout=s.timeout;function A(){if(!E)return;const j=Gn.from("getAllResponseHeaders"in E&&E.getAllResponseHeaders()),k={data:!p||p==="text"||p==="json"?E.responseText:E.response,status:E.status,statusText:E.statusText,headers:j,config:e,request:E};OC(function(L){o(L),S()},function(L){i(L),S()},k),E=null}"onloadend"in E?E.onloadend=A:E.onreadystatechange=function(){!E||E.readyState!==4||E.status===0&&!(E.responseURL&&E.responseURL.indexOf("file:")===0)||setTimeout(A)},E.onabort=function(){E&&(i(new Ze("Request aborted",Ze.ECONNABORTED,e,E)),E=null)},E.onerror=function(M){const k=M&&M.message?M.message:"Network Error",N=new Ze(k,Ze.ERR_NETWORK,e,E);N.event=M||null,i(N),E=null},E.ontimeout=function(){let M=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const k=s.transitional||AC;s.timeoutErrorMessage&&(M=s.timeoutErrorMessage),i(new Ze(M,k.clarifyTimeoutError?Ze.ETIMEDOUT:Ze.ECONNABORTED,e,E)),E=null},c===void 0&&u.setContentType(null),"setRequestHeader"in E&&re.forEach(u.toJSON(),function(M,k){E.setRequestHeader(k,M)}),re.isUndefined(s.withCredentials)||(E.withCredentials=!!s.withCredentials),p&&p!=="json"&&(E.responseType=s.responseType),g&&([w,x]=ud(g,!0),E.addEventListener("progress",w)),m&&E.upload&&([b,T]=ud(m),E.upload.addEventListener("progress",b),E.upload.addEventListener("loadend",T)),(s.cancelToken||s.signal)&&(y=j=>{E&&(i(!j||j.type?new ws(null,e,E):j),E.abort(),E=null)},s.cancelToken&&s.cancelToken.subscribe(y),s.signal&&(s.signal.aborted?y():s.signal.addEventListener("abort",y)));const O=fD(s.url);if(O&&An.protocols.indexOf(O)===-1){i(new Ze("Unsupported protocol "+O+":",Ze.ERR_BAD_REQUEST,e));return}E.send(c||null)})},SD=(e,n)=>{const{length:o}=e=e?e.filter(Boolean):[];if(n||o){let i=new AbortController,s;const c=function(g){if(!s){s=!0,p();const y=g instanceof Error?g:this.reason;i.abort(y instanceof Ze?y:new ws(y instanceof Error?y.message:y))}};let u=n&&setTimeout(()=>{u=null,c(new Ze(`timeout ${n} of ms exceeded`,Ze.ETIMEDOUT))},n);const p=()=>{e&&(u&&clearTimeout(u),u=null,e.forEach(g=>{g.unsubscribe?g.unsubscribe(c):g.removeEventListener("abort",c)}),e=null)};e.forEach(g=>g.addEventListener("abort",c));const{signal:m}=i;return m.unsubscribe=()=>re.asap(p),m}},CD=function*(e,n){let o=e.byteLength;if(o<n){yield e;return}let i=0,s;for(;i<o;)s=i+n,yield e.slice(i,s),i=s},wD=async function*(e,n){for await(const o of ED(e))yield*CD(o,n)},ED=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const n=e.getReader();try{for(;;){const{done:o,value:i}=await n.read();if(o)break;yield i}}finally{await n.cancel()}},a1=(e,n,o,i)=>{const s=wD(e,n);let c=0,u,p=m=>{u||(u=!0,i&&i(m))};return new ReadableStream({async pull(m){try{const{done:g,value:y}=await s.next();if(g){p(),m.close();return}let b=y.byteLength;if(o){let w=c+=b;o(w)}m.enqueue(new Uint8Array(y))}catch(g){throw p(g),g}},cancel(m){return p(m),s.return()}},{highWaterMark:2})},i1=64*1024,{isFunction:Uu}=re,TD=(({Request:e,Response:n})=>({Request:e,Response:n}))(re.global),{ReadableStream:s1,TextEncoder:l1}=re.global,c1=(e,...n)=>{try{return!!e(...n)}catch{return!1}},RD=e=>{e=re.merge.call({skipUndefined:!0},TD,e);const{fetch:n,Request:o,Response:i}=e,s=n?Uu(n):typeof fetch=="function",c=Uu(o),u=Uu(i);if(!s)return!1;const p=s&&Uu(s1),m=s&&(typeof l1=="function"?(x=>S=>x.encode(S))(new l1):async x=>new Uint8Array(await new o(x).arrayBuffer())),g=c&&p&&c1(()=>{let x=!1;const S=new o(An.origin,{body:new s1,method:"POST",get duplex(){return x=!0,"half"}}).headers.has("Content-Type");return x&&!S}),y=u&&p&&c1(()=>re.isReadableStream(new i("").body)),b={stream:y&&(x=>x.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(x=>{!b[x]&&(b[x]=(S,E)=>{let A=S&&S[x];if(A)return A.call(S);throw new Ze(`Response type '${x}' is not supported`,Ze.ERR_NOT_SUPPORT,E)})});const w=async x=>{if(x==null)return 0;if(re.isBlob(x))return x.size;if(re.isSpecCompliantForm(x))return(await new o(An.origin,{method:"POST",body:x}).arrayBuffer()).byteLength;if(re.isArrayBufferView(x)||re.isArrayBuffer(x))return x.byteLength;if(re.isURLSearchParams(x)&&(x=x+""),re.isString(x))return(await m(x)).byteLength},T=async(x,S)=>{const E=re.toFiniteNumber(x.getContentLength());return E??w(S)};return async x=>{let{url:S,method:E,data:A,signal:O,cancelToken:j,timeout:M,onDownloadProgress:k,onUploadProgress:N,responseType:L,headers:U,withCredentials:$="same-origin",fetchOptions:F}=BC(x),q=n||fetch;L=L?(L+"").toLowerCase():"text";let R=SD([O,j&&j.toAbortSignal()],M),_=null;const I=R&&R.unsubscribe&&(()=>{R.unsubscribe()});let W;try{if(N&&g&&E!=="get"&&E!=="head"&&(W=await T(U,A))!==0){let D=new o(S,{method:"POST",body:A,duplex:"half"}),H;if(re.isFormData(A)&&(H=D.headers.get("content-type"))&&U.setContentType(H),D.body){const[Q,se]=n1(W,ud(r1(N)));A=a1(D.body,i1,Q,se)}}re.isString($)||($=$?"include":"omit");const B=c&&"credentials"in o.prototype,P={...F,signal:R,method:E.toUpperCase(),headers:U.normalize().toJSON(),body:A,duplex:"half",credentials:B?$:void 0};_=c&&new o(S,P);let X=await(c?q(_,F):q(S,P));const Z=y&&(L==="stream"||L==="response");if(y&&(k||Z&&I)){const D={};["status","statusText","headers"].forEach(me=>{D[me]=X[me]});const H=re.toFiniteNumber(X.headers.get("content-length")),[Q,se]=k&&n1(H,ud(r1(k),!0))||[];X=new i(a1(X.body,i1,Q,()=>{se&&se(),I&&I()}),D)}L=L||"text";let pe=await b[re.findKey(b,L)||"text"](X,x);return!Z&&I&&I(),await new Promise((D,H)=>{OC(D,H,{data:pe,headers:Gn.from(X.headers),status:X.status,statusText:X.statusText,config:x,request:_})})}catch(B){throw I&&I(),B&&B.name==="TypeError"&&/Load failed|fetch/i.test(B.message)?Object.assign(new Ze("Network Error",Ze.ERR_NETWORK,x,_),{cause:B.cause||B}):Ze.from(B,B&&B.code,x,_)}}},jD=new Map,NC=e=>{let n=e&&e.env||{};const{fetch:o,Request:i,Response:s}=n,c=[i,s,o];let u=c.length,p=u,m,g,y=jD;for(;p--;)m=c[p],g=y.get(m),g===void 0&&y.set(m,g=p?new Map:RD(n)),y=g;return g};NC();const cg={http:VN,xhr:xD,fetch:{get:NC}};re.forEach(cg,(e,n)=>{if(e){try{Object.defineProperty(e,"name",{value:n})}catch{}Object.defineProperty(e,"adapterName",{value:n})}});const u1=e=>`- ${e}`,AD=e=>re.isFunction(e)||e===null||e===!1;function MD(e,n){e=re.isArray(e)?e:[e];const{length:o}=e;let i,s;const c={};for(let u=0;u<o;u++){i=e[u];let p;if(s=i,!AD(i)&&(s=cg[(p=String(i)).toLowerCase()],s===void 0))throw new Ze(`Unknown adapter '${p}'`);if(s&&(re.isFunction(s)||(s=s.get(n))))break;c[p||"#"+u]=s}if(!s){const u=Object.entries(c).map(([m,g])=>`adapter ${m} `+(g===!1?"is not supported by the environment":"is not available in the build"));let p=o?u.length>1?`since :
|
|
202
|
+
`+u.map(u1).join(`
|
|
203
|
+
`):" "+u1(u[0]):"as no adapter specified";throw new Ze("There is no suitable adapter to dispatch the request "+p,"ERR_NOT_SUPPORT")}return s}const DC={getAdapter:MD,adapters:cg};function Ah(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ws(null,e)}function d1(e){return Ah(e),e.headers=Gn.from(e.headers),e.data=jh.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),DC.getAdapter(e.adapter||dc.adapter,e)(e).then(function(i){return Ah(e),i.data=jh.call(e,e.transformResponse,i),i.headers=Gn.from(i.headers),i},function(i){return kC(i)||(Ah(e),i&&i.response&&(i.response.data=jh.call(e,e.transformResponse,i.response),i.response.headers=Gn.from(i.response.headers))),Promise.reject(i)})}const LC="1.13.2",Hd={};["object","boolean","number","function","string","symbol"].forEach((e,n)=>{Hd[e]=function(i){return typeof i===e||"a"+(n<1?"n ":" ")+e}});const f1={};Hd.transitional=function(n,o,i){function s(c,u){return"[Axios v"+LC+"] Transitional option '"+c+"'"+u+(i?". "+i:"")}return(c,u,p)=>{if(n===!1)throw new Ze(s(u," has been removed"+(o?" in "+o:"")),Ze.ERR_DEPRECATED);return o&&!f1[u]&&(f1[u]=!0,console.warn(s(u," has been deprecated since v"+o+" and will be removed in the near future"))),n?n(c,u,p):!0}};Hd.spelling=function(n){return(o,i)=>(console.warn(`${i} is likely a misspelling of ${n}`),!0)};function kD(e,n,o){if(typeof e!="object")throw new Ze("options must be an object",Ze.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let s=i.length;for(;s-- >0;){const c=i[s],u=n[c];if(u){const p=e[c],m=p===void 0||u(p,c,e);if(m!==!0)throw new Ze("option "+c+" must be "+m,Ze.ERR_BAD_OPTION_VALUE);continue}if(o!==!0)throw new Ze("Unknown option "+c,Ze.ERR_BAD_OPTION)}}const Zu={assertOptions:kD,validators:Hd},Gr=Zu.validators;let Xa=class{constructor(n){this.defaults=n||{},this.interceptors={request:new e1,response:new e1}}async request(n,o){try{return await this._request(n,o)}catch(i){if(i instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const c=s.stack?s.stack.replace(/^.+\n/,""):"";try{i.stack?c&&!String(i.stack).endsWith(c.replace(/^.+\n.+\n/,""))&&(i.stack+=`
|
|
204
|
+
`+c):i.stack=c}catch{}}throw i}}_request(n,o){typeof n=="string"?(o=o||{},o.url=n):o=n||{},o=Ja(this.defaults,o);const{transitional:i,paramsSerializer:s,headers:c}=o;i!==void 0&&Zu.assertOptions(i,{silentJSONParsing:Gr.transitional(Gr.boolean),forcedJSONParsing:Gr.transitional(Gr.boolean),clarifyTimeoutError:Gr.transitional(Gr.boolean)},!1),s!=null&&(re.isFunction(s)?o.paramsSerializer={serialize:s}:Zu.assertOptions(s,{encode:Gr.function,serialize:Gr.function},!0)),o.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?o.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:o.allowAbsoluteUrls=!0),Zu.assertOptions(o,{baseUrl:Gr.spelling("baseURL"),withXsrfToken:Gr.spelling("withXSRFToken")},!0),o.method=(o.method||this.defaults.method||"get").toLowerCase();let u=c&&re.merge(c.common,c[o.method]);c&&re.forEach(["delete","get","head","post","put","patch","common"],x=>{delete c[x]}),o.headers=Gn.concat(u,c);const p=[];let m=!0;this.interceptors.request.forEach(function(S){typeof S.runWhen=="function"&&S.runWhen(o)===!1||(m=m&&S.synchronous,p.unshift(S.fulfilled,S.rejected))});const g=[];this.interceptors.response.forEach(function(S){g.push(S.fulfilled,S.rejected)});let y,b=0,w;if(!m){const x=[d1.bind(this),void 0];for(x.unshift(...p),x.push(...g),w=x.length,y=Promise.resolve(o);b<w;)y=y.then(x[b++],x[b++]);return y}w=p.length;let T=o;for(;b<w;){const x=p[b++],S=p[b++];try{T=x(T)}catch(E){S.call(this,E);break}}try{y=d1.call(this,T)}catch(x){return Promise.reject(x)}for(b=0,w=g.length;b<w;)y=y.then(g[b++],g[b++]);return y}getUri(n){n=Ja(this.defaults,n);const o=zC(n.baseURL,n.url,n.allowAbsoluteUrls);return jC(o,n.params,n.paramsSerializer)}};re.forEach(["delete","get","head","options"],function(n){Xa.prototype[n]=function(o,i){return this.request(Ja(i||{},{method:n,url:o,data:(i||{}).data}))}});re.forEach(["post","put","patch"],function(n){function o(i){return function(c,u,p){return this.request(Ja(p||{},{method:n,headers:i?{"Content-Type":"multipart/form-data"}:{},url:c,data:u}))}}Xa.prototype[n]=o(),Xa.prototype[n+"Form"]=o(!0)});let OD=class $C{constructor(n){if(typeof n!="function")throw new TypeError("executor must be a function.");let o;this.promise=new Promise(function(c){o=c});const i=this;this.promise.then(s=>{if(!i._listeners)return;let c=i._listeners.length;for(;c-- >0;)i._listeners[c](s);i._listeners=null}),this.promise.then=s=>{let c;const u=new Promise(p=>{i.subscribe(p),c=p}).then(s);return u.cancel=function(){i.unsubscribe(c)},u},n(function(c,u,p){i.reason||(i.reason=new ws(c,u,p),o(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]}unsubscribe(n){if(!this._listeners)return;const o=this._listeners.indexOf(n);o!==-1&&this._listeners.splice(o,1)}toAbortSignal(){const n=new AbortController,o=i=>{n.abort(i)};return this.subscribe(o),n.signal.unsubscribe=()=>this.unsubscribe(o),n.signal}static source(){let n;return{token:new $C(function(s){n=s}),cancel:n}}};function zD(e){return function(o){return e.apply(null,o)}}function BD(e){return re.isObject(e)&&e.isAxiosError===!0}const um={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(um).forEach(([e,n])=>{um[n]=e});function PC(e){const n=new Xa(e),o=mC(Xa.prototype.request,n);return re.extend(o,Xa.prototype,n,{allOwnKeys:!0}),re.extend(o,n,null,{allOwnKeys:!0}),o.create=function(s){return PC(Ja(e,s))},o}const nn=PC(dc);nn.Axios=Xa;nn.CanceledError=ws;nn.CancelToken=OD;nn.isCancel=kC;nn.VERSION=LC;nn.toFormData=Id;nn.AxiosError=Ze;nn.Cancel=nn.CanceledError;nn.all=function(n){return Promise.all(n)};nn.spread=zD;nn.isAxiosError=BD;nn.mergeConfig=Ja;nn.AxiosHeaders=Gn;nn.formToJSON=e=>MC(re.isHTMLForm(e)?new FormData(e):e);nn.getAdapter=DC.getAdapter;nn.HttpStatusCode=um;nn.default=nn;const{Axios:_L,AxiosError:IL,CanceledError:HL,isCancel:FL,CancelToken:VL,VERSION:qL,all:WL,Cancel:GL,isAxiosError:KL,spread:YL,toFormData:XL,AxiosHeaders:QL,HttpStatusCode:ZL,formToJSON:JL,getAdapter:e$,mergeConfig:t$}=nn,Ne=nn.create({baseURL:"/api",headers:{"Content-Type":"application/json"}});Ne.interceptors.request.use(e=>{const n=localStorage.getItem("token");return n&&(e.headers.Authorization=`Bearer ${n}`),e});let UC=!1;const jl=e=>{UC=e};Ne.interceptors.response.use(e=>e,e=>(e.response?.status===401&&!UC&&localStorage.getItem("token")&&(localStorage.removeItem("token"),window.location.href="/login"),Promise.reject(e)));const Cn={login:e=>Ne.post("/auth/login",e),register:e=>Ne.post("/auth/register",e),me:()=>Ne.get("/auth/me"),changePassword:e=>Ne.put("/auth/password",e),claudeLoginStart:()=>Ne.post("/auth/claude/login/start",{}),claudeLoginComplete:e=>Ne.post("/auth/claude/login/complete",e),claudeStatus:()=>Ne.get("/auth/claude/status"),claudeLogout:()=>Ne.post("/auth/claude/logout"),codexLoginStart:()=>Ne.post("/auth/codex/login/start"),codexLoginPoll:e=>Ne.post("/auth/codex/login/poll",e),codexStatus:()=>Ne.get("/auth/codex/status"),codexLogout:()=>Ne.post("/auth/codex/logout"),geminiLoginStart:()=>Ne.post("/auth/gemini/login/start"),geminiLoginComplete:e=>Ne.post("/auth/gemini/login/complete",e),geminiStatus:()=>Ne.get("/auth/gemini/status"),geminiLogout:()=>Ne.post("/auth/gemini/logout")},Ka={create:e=>Ne.post("/jobs",e),list:e=>Ne.get("/jobs",{params:e}),get:(e,n)=>Ne.get(`/jobs/${e}`,{params:n?{includeConversations:"true"}:void 0}),update:(e,n)=>Ne.patch(`/jobs/${e}`,n),delete:e=>Ne.delete(`/jobs/${e}`),getStatus:e=>Ne.get(`/jobs/${e}/status`),cancel:e=>Ne.post(`/jobs/${e}/cancel`),getConversations:(e,n)=>Ne.get(`/jobs/${e}/conversations`,{params:n}),listFiles:e=>Ne.get(`/jobs/${e}/files`)},rs={getProviders:()=>Ne.get("/conversations/providers"),create:e=>Ne.post("/conversations",e),get:e=>Ne.get(`/conversations/${e}`),update:(e,n)=>Ne.patch(`/conversations/${e}`,n),getMessages:(e,n)=>Ne.get(`/conversations/${e}/messages`,{params:n}),sendMessage:(e,n)=>Ne.post(`/conversations/${e}/messages`,n),delete:e=>Ne.delete(`/conversations/${e}`)},dm={browse:e=>Ne.get("/filesystem/browse",{params:e?{path:e}:void 0}),getRoots:()=>Ne.get("/filesystem/roots"),mkdir:(e,n)=>Ne.post("/filesystem/mkdir",{parentPath:e,name:n}),getGitInfo:e=>Ne.get("/filesystem/git-info",{params:{path:e}})},Mh={list:()=>Ne.get("/keys"),create:e=>Ne.post("/keys",e),update:(e,n)=>Ne.patch(`/keys/${e}`,n),revoke:e=>Ne.delete(`/keys/${e}`),deletePermanent:e=>Ne.delete(`/keys/${e}/permanent`)},Wi={list:()=>Ne.get("/webhooks"),getEvents:()=>Ne.get("/webhooks/events"),create:e=>Ne.post("/webhooks",e),update:(e,n)=>Ne.patch(`/webhooks/${e}`,n),delete:e=>Ne.delete(`/webhooks/${e}`),regenerateSecret:e=>Ne.post(`/webhooks/${e}/regenerate-secret`),test:e=>Ne.post(`/webhooks/${e}/test`)},da={getVersion:()=>Ne.get("/system/version"),getInfo:()=>Ne.get("/system/info"),getUpdateLog:()=>Ne.get("/system/update-log"),clearUpdateLog:()=>Ne.delete("/system/update-log"),triggerUpdate:()=>Ne.post("/system/update"),triggerRestart:()=>Ne.post("/system/restart"),healthCheck:()=>Ne.get("/health"),waitForReconnect:async(e=30,n=2e3,o)=>{for(let i=1;i<=e;i++)try{return o?.(i,e),await da.healthCheck(),!0}catch{i<e&&await new Promise(s=>setTimeout(s,n))}return!1}},_C=v.createContext(void 0),fc=()=>{const e=v.useContext(_C);if(!e)throw new Error("useAuth must be used within AuthProvider");return e},ND=({children:e})=>{const[n,o]=v.useState(null),[i,s]=v.useState(localStorage.getItem("token")),[c,u]=v.useState(!0),[p,m]=v.useState(!1);v.useEffect(()=>{(async()=>{jl(!0);try{const T=(await Cn.me()).data;if(T.autheliaToken){localStorage.setItem("token",T.autheliaToken),s(T.autheliaToken),o(T.data),m(!0),u(!1),jl(!1);return}o(T.data),m(!i),u(!1),jl(!1);return}catch{if(!i){u(!1),jl(!1);return}}if(i)try{const w=await Cn.me();o(w.data.data)}catch{localStorage.removeItem("token"),s(null)}u(!1),jl(!1)})()},[i]);const g=async(b,w)=>{const T=await Cn.login({username:b,password:w}),{token:x,user:S}=T.data.data;localStorage.setItem("token",x),s(x),o(S),m(!1)},y=()=>{localStorage.removeItem("token"),s(null),o(null),m(!1)};return d.jsx(_C.Provider,{value:{user:n,token:i,loading:c,isAutheliaAuth:p,login:g,logout:y},children:e})},DD={loading:"Laden...",save:"Speichern",cancel:"Abbrechen",delete:"Löschen",edit:"Bearbeiten",create:"Erstellen",close:"Schließen",back:"Zurück",search:"Suchen",filter:"Filtern",refresh:"Aktualisieren",copy:"Kopieren",copied:"Kopiert!",yes:"Ja",no:"Nein",error:"Fehler",success:"Erfolg",warning:"Warnung",info:"Information",actions:"Aktionen",status:"Status",name:"Name",description:"Beschreibung",createdAt:"Erstellt am",updatedAt:"Aktualisiert am",noData:"Keine Daten vorhanden"},LD={login:"Anmelden",logout:"Abmelden",register:"Registrieren",username:"Benutzername",password:"Passwort",currentPassword:"Aktuelles Passwort",newPassword:"Neues Passwort",confirmPassword:"Passwort bestätigen",changePassword:"Passwort ändern",passwordChanged:"Passwort wurde erfolgreich geändert",passwordMinLength:"Mindestens 8 Zeichen",passwordMismatch:"Passwörter stimmen nicht überein",invalidCredentials:"Ungültige Anmeldedaten",loginFailed:"Anmeldung fehlgeschlagen",welcome:"Willkommen zurück",loginSubtitle:"Melden Sie sich an, um fortzufahren"},$D={dashboard:"Dashboard",jobs:"Jobs",providerAuth:"Provider-Authentifizierung",userManagement:"Benutzerverwaltung",apiKeys:"API-Schlüssel",webhooks:"Webhooks",profile:"Profil",system:"System"},PD={title:"Jobs",createJob:"Neuen Job erstellen",selectJob:"Wählen Sie einen Job aus",noJobs:"Keine Jobs vorhanden",jobName:"Job-Name",workingDirectory:"Arbeitsverzeichnis",systemPrompt:"System-Prompt",status:{pending:"Ausstehend",running:"Läuft",completed:"Abgeschlossen",failed:"Fehlgeschlagen",cancelled:"Abgebrochen"},statistics:"Statistiken",conversations:"Konversationen",messages:"Nachrichten",tokenUsage:"Token-Verbrauch",inputTokens:"Eingabe-Tokens",outputTokens:"Ausgabe-Tokens",totalTokens:"Gesamt-Tokens",deleteConfirm:"Möchten Sie diesen Job wirklich löschen?",cancelConfirm:"Möchten Sie diesen Job wirklich abbrechen?"},UD={title:"Konversationen",createConversation:"Neue Konversation",noConversations:"Keine Konversationen vorhanden",selectProvider:"Provider auswählen",model:"Modell",sendMessage:"Nachricht senden",typeMessage:"Nachricht eingeben...",streaming:"Streaming...",attachments:"Anhänge",addAttachment:"Anhang hinzufügen"},_D={title:"Provider-Authentifizierung",subtitle:"Verbinden Sie Ihre LLM-Provider",claude:{name:"Claude (Anthropic)",description:"Anthropics Claude für fortgeschrittene KI-Aufgaben"},codex:{name:"Codex (OpenAI)",description:"OpenAIs Codex für Code-Generierung"},gemini:{name:"Gemini (Google)",description:"Googles Gemini für vielseitige KI-Aufgaben"},connected:"Verbunden",notConnected:"Nicht verbunden",connect:"Verbinden",disconnect:"Trennen",expiresAt:"Läuft ab am",loginInstructions:"Anmeldeanleitung",codeInput:"Code eingeben",pasteCode:"Fügen Sie den erhaltenen Code hier ein",verifying:"Wird überprüft...",loginSuccess:"Erfolgreich angemeldet",loginFailed:"Anmeldung fehlgeschlagen"},ID={title:"API-Schlüssel",subtitle:"Verwalten Sie Ihre API-Schlüssel für die programmierte Nutzung",createKey:"Neuen Schlüssel erstellen",keyName:"Schlüssel-Name",keyPrefix:"Schlüssel-Präfix",lastUsed:"Zuletzt verwendet",expiresAt:"Läuft ab am",neverUsed:"Noch nie verwendet",neverExpires:"Läuft nie ab",expired:"Abgelaufen",revoked:"Widerrufen",active:"Aktiv",revoke:"Widerrufen",revokeConfirm:"Möchten Sie diesen API-Schlüssel wirklich widerrufen?",newKeyCreated:"Neuer API-Schlüssel erstellt",copyWarning:"Kopieren Sie diesen Schlüssel jetzt! Er wird nur einmal angezeigt.",noKeys:"Keine API-Schlüssel vorhanden",expirationDate:"Ablaufdatum (optional)",expirationHelp:"Leer lassen für unbegrenzten Schlüssel"},HD={title:"Webhooks",subtitle:"Erhalten Sie Echtzeit-Benachrichtigungen über Events",createWebhook:"Neuen Webhook erstellen",webhookName:"Webhook-Name",webhookUrl:"Webhook-URL",events:"Events",active:"Aktiv",inactive:"Inaktiv",lastTriggered:"Zuletzt ausgelöst",failures:"Fehlversuche",regenerateSecret:"Secret neu generieren",testWebhook:"Webhook testen",noWebhooks:"Keine Webhooks vorhanden",selectEvents:"Wählen Sie die Events aus, die den Webhook auslösen sollen",eventDescriptions:{"job.created":"Job wurde erstellt","job.updated":"Job wurde aktualisiert","job.completed":"Job wurde abgeschlossen","job.failed":"Job ist fehlgeschlagen","job.cancelled":"Job wurde abgebrochen","conversation.created":"Konversation wurde erstellt","conversation.updated":"Konversation wurde aktualisiert","message.created":"Nachricht wurde erstellt","message.streaming":"Nachricht wird gestreamt","message.completed":"Nachricht ist vollständig","tool.called":"Tool wurde aufgerufen","tool.completed":"Tool-Aufruf abgeschlossen"}},FD={title:"Profil",subtitle:"Verwalten Sie Ihre Kontoeinstellungen",accountInfo:"Kontoinformationen",role:"Rolle",roleAdmin:"Administrator",roleUser:"Benutzer",security:"Sicherheit",changePasswordDesc:"Ändern Sie Ihr Passwort regelmäßig für mehr Sicherheit"},VD={title:"Benutzerverwaltung",subtitle:"Neue Benutzer erstellen (nur Admin)",createUser:"Benutzer erstellen",userCreated:'Benutzer "{username}" wurde erfolgreich erstellt',createFailed:"Benutzer konnte nicht erstellt werden"},qD={browse:"Durchsuchen",selectDirectory:"Verzeichnis auswählen",currentPath:"Aktueller Pfad",parentDirectory:"Übergeordnetes Verzeichnis",createFolder:"Neuen Ordner erstellen",folderName:"Ordnername"},WD={generic:"Ein Fehler ist aufgetreten",networkError:"Netzwerkfehler - bitte überprüfen Sie Ihre Verbindung",unauthorized:"Nicht autorisiert - bitte melden Sie sich erneut an",forbidden:"Zugriff verweigert",notFound:"Nicht gefunden",serverError:"Serverfehler - bitte versuchen Sie es später erneut"},GD={title:"System",subtitle:"Systemverwaltung und Updates",version:"Version",currentVersion:"Aktuelle Version",latestVersion:"Neueste Version",lastChecked:"Zuletzt geprüft",updateAvailable:"Update verfügbar",upToDate:"Aktuell",update:"Update installieren",restart:"Neustart",info:"Systeminformationen",uptime:"Laufzeit",memory:"Speicher",platform:"Plattform",updateLog:"Update-Log",clearLog:"Log löschen",confirmUpdate:"Update bestätigen",confirmUpdateText:"Möchten Sie das Update wirklich installieren? Der Server wird nach dem Update automatisch neu gestartet.",confirmRestart:"Neustart bestätigen",confirmRestartText:"Möchten Sie den Server wirklich neu starten? Alle aktiven Verbindungen werden kurzzeitig unterbrochen."},KD={common:DD,auth:LD,nav:$D,jobs:PD,conversations:UD,providers:_D,apiKeys:ID,webhooks:HD,profile:FD,users:VD,filesystem:qD,errors:WD,system:GD};function Y(e,n){const o=e.split(".");let i=KD;for(const s of o)if(i&&typeof i=="object"&&s in i)i=i[s];else return console.warn(`Translation missing for key: ${e}`),e;return typeof i!="string"?(console.warn(`Translation value is not a string for key: ${e}`),e):n?i.replace(/\{(\w+)\}/g,(s,c)=>n[c]?.toString()??`{${c}}`):i}function YD(){const{login:e}=fc(),[n,o]=v.useState(""),[i,s]=v.useState(""),[c,u]=v.useState(""),[p,m]=v.useState(!1),g=async y=>{y.preventDefault(),u(""),m(!0);try{await e(n,i)}catch(b){u(b.response?.data?.message||Y("auth.loginFailed"))}finally{m(!1)}};return d.jsx(YS,{maxWidth:"sm",sx:{mt:8},children:d.jsxs(Ft,{elevation:3,sx:{p:4},children:[d.jsx(ne,{variant:"h4",gutterBottom:!0,align:"center",children:"LLM Dev Server"}),d.jsx(ne,{variant:"h5",gutterBottom:!0,children:Y("auth.welcome")}),d.jsx(ne,{variant:"body2",color:"text.secondary",sx:{mb:3},children:Y("auth.loginSubtitle")}),c&&d.jsx(zt,{severity:"error",sx:{mb:2},children:c}),d.jsxs("form",{onSubmit:g,children:[d.jsx(_t,{fullWidth:!0,label:Y("auth.username"),value:n,onChange:y=>o(y.target.value),margin:"normal",required:!0,autoFocus:!0,autoComplete:"username"}),d.jsx(_t,{fullWidth:!0,label:Y("auth.password"),type:"password",value:i,onChange:y=>s(y.target.value),margin:"normal",required:!0,autoComplete:"current-password"}),d.jsx(He,{type:"submit",variant:"contained",fullWidth:!0,sx:{mt:2},disabled:p,children:p?d.jsx(Et,{size:24}):Y("auth.login")})]}),d.jsx(ne,{variant:"body2",color:"text.secondary",sx:{mt:3,textAlign:"center"},children:"Kontaktieren Sie Ihren Administrator, um ein Konto zu erhalten"})]})})}const XD=Fe(d.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6m0 14c-2.03 0-4.43-.82-6.14-2.88C7.55 15.8 9.68 15 12 15s4.45.8 6.14 2.12C16.43 19.18 14.03 20 12 20"})),hs=Fe(d.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"})),dd=Fe(d.jsx("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"})),QD=Fe(d.jsx("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"})),ZD=Fe(d.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"})),fm=Fe(d.jsx("path",{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2M6 9h12v2H6zm8 5H6v-2h8zm4-6H6V6h12z"})),IC=Fe(d.jsx("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"})),JD=Fe(d.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"})),HC=Fe(d.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),eL=Fe(d.jsx("path",{d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2zM4 6h16v10H4z"})),FC=Fe(d.jsx("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"})),tL=Fe(d.jsx("path",{d:"M20 6h-8l-2-2H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2m-1 8h-3v3h-2v-3h-3v-2h3V9h2v3h3z"})),Fd=Fe(d.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"})),nL=Fe(d.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"})),pc=Fe(d.jsx("path",{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z"})),rL=Fe(d.jsx("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"})),oL=Fe(d.jsx("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z"})),aL=Fe(d.jsx("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1z"})),iL=Fe(d.jsx("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"})),sL=Fe(d.jsx("path",{d:"M15 9H9v6h6zm-2 4h-2v-2h2zm8-2V9h-2V7c0-1.1-.9-2-2-2h-2V3h-2v2h-2V3H9v2H7c-1.1 0-2 .9-2 2v2H3v2h2v2H3v2h2v2c0 1.1.9 2 2 2h2v2h2v-2h2v2h2v-2h2c1.1 0 2-.9 2-2v-2h2v-2h-2v-2zm-4 6H7V7h10z"})),VC=Fe(d.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"})),lL=Fe(d.jsx("path",{d:"m23 12-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68zm-10 5h-2v-2h2zm0-4h-2V7h2z"})),qC=Fe(d.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"})),cL=Fe(d.jsx("path",{d:"M8 5v14l11-7z"})),Vd=Fe(d.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"})),uL=Fe(d.jsx("path",{d:"M12 5V2L8 6l4 4V7c3.31 0 6 2.69 6 6 0 2.97-2.17 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93 0-4.42-3.58-8-8-8m-6 8c0-1.65.67-3.15 1.76-4.24L6.34 7.34C4.9 8.79 4 10.79 4 13c0 4.08 3.05 7.44 7 7.93v-2.02c-2.83-.48-5-2.94-5-5.91"})),WC=Fe([d.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},"0"),d.jsx("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")]),dL=Fe(d.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"})),fL=Fe(d.jsx("path",{d:"M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"})),pL=Fe(d.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"})),p1=Fe(d.jsx("path",{d:"M17 1.01 7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99M17 19H7V5h10zm-1-6h-3V8h-2v5H8l4 4z"})),hL=Fe(d.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"})),mL=Fe(d.jsx("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"})),gL=Fe(d.jsx("path",{d:"M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"})),yL=Fe(d.jsx("path",{d:"M10 15h5.88c.27-.31.67-.5 1.12-.5.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5c-.44 0-.84-.19-1.12-.5H11.9c-.46 2.28-2.48 4-4.9 4-2.76 0-5-2.24-5-5 0-2.42 1.72-4.44 4-4.9v2.07c-1.16.41-2 1.53-2 2.83 0 1.65 1.35 3 3 3s3-1.35 3-3zm2.5-11c1.65 0 3 1.35 3 3h2c0-2.76-2.24-5-5-5s-5 2.24-5 5c0 1.43.6 2.71 1.55 3.62l-2.35 3.9c-.68.14-1.2.75-1.2 1.48 0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5c0-.16-.02-.31-.07-.45l3.38-5.63C10.49 9.61 9.5 8.42 9.5 7c0-1.65 1.35-3 3-3m4.5 9c-.64 0-1.23.2-1.72.54l-3.05-5.07C11.53 8.35 11 7.74 11 7c0-.83.67-1.5 1.5-1.5S14 6.17 14 7c0 .15-.02.29-.06.43l2.19 3.65c.28-.05.57-.08.87-.08 2.76 0 5 2.24 5 5s-2.24 5-5 5c-1.85 0-3.47-1.01-4.33-2.5h2.67c.48.32 1.05.5 1.66.5 1.65 0 3-1.35 3-3s-1.35-3-3-3"}));function vL(){const[e,n]=v.useState({}),[o,i]=v.useState(!0),[s,c]=v.useState(""),[u,p]=v.useState(""),[m,g]=v.useState(null),[y,b]=v.useState(!1),[w,T]=v.useState(null),[x,S]=v.useState(null),[E,A]=v.useState(""),[O,j]=v.useState(!1),[M,k]=v.useState(null),[N,L]=v.useState("");v.useEffect(()=>{U();const P=new URLSearchParams(window.location.search),X=P.get("auth"),Z=P.get("status"),pe=P.get("message");X&&Z&&(Z==="success"?(p(`${X.charAt(0).toUpperCase()+X.slice(1)} ${Y("providers.loginSuccess")}!`),U()):Z==="error"&&c(pe||`${X.charAt(0).toUpperCase()+X.slice(1)} ${Y("providers.loginFailed")}`),window.history.replaceState({},"",window.location.pathname))},[]),v.useEffect(()=>{if(!m?.expiresAt)return;const P=setInterval(()=>{const X=Math.floor((m.expiresAt-Date.now())/1e3);X<=0?(T(0),b(!1),g(null),c("Codex-Authentifizierungscode abgelaufen. Bitte erneut versuchen."),clearInterval(P)):T(X)},1e3);return()=>clearInterval(P)},[m?.expiresAt]);const U=async()=>{try{const[P,X,Z]=await Promise.all([Cn.claudeStatus().catch(()=>null),Cn.codexStatus().catch(()=>null),Cn.geminiStatus().catch(()=>null)]);n({claude:P?.data.data,codex:X?.data.data,gemini:Z?.data.data})}catch(P){console.error("Failed to load provider statuses:",P)}finally{i(!1)}},$=async()=>{c("");try{const P=await Cn.claudeLoginStart(),{loginUrl:X,state:Z,redirectUri:pe}=P.data.data;X&&Z&&(S({loginUrl:X,state:Z,verificationUrl:pe||""}),window.open(X,"_blank","width=600,height=800"))}catch(P){c(P.response?.data?.message||"Claude-Anmeldung konnte nicht gestartet werden")}},F=async()=>{if(!x||!E.trim()){c("Bitte fügen Sie die Callback-URL oder den Autorisierungscode ein");return}c(""),j(!0);try{await Cn.claudeLoginComplete({code:E.trim(),state:x.state}),S(null),A(""),p("Claude-Authentifizierung erfolgreich!"),await U()}catch(P){c(P.response?.data?.message||"Claude-Authentifizierung fehlgeschlagen")}finally{j(!1)}},q=async()=>{c(""),p("");try{const P=await Cn.codexLoginStart(),{verificationUrl:X,userCode:Z,deviceAuthId:pe,intervalSeconds:D,expiresIn:H}=P.data.data;if(!X||!Z||!pe){c("Fehlende erforderliche Daten für die Codex-Authentifizierung");return}const Q=H?Date.now()+H*1e3:void 0;g({userCode:Z,verificationUrl:X,deviceAuthId:pe,expiresAt:Q}),Q&&T(Math.floor((Q-Date.now())/1e3));const se=Math.max((D||5)*1e3,5e3);b(!0);let me=0;const fe=60,ye=setInterval(async()=>{if(me++,me>fe){clearInterval(ye),b(!1),g(null),c("Codex-Authentifizierung zeitüberschreitung. Bitte erneut versuchen.");return}try{await Cn.codexLoginPoll({deviceAuthId:pe,userCode:Z}),clearInterval(ye),b(!1),g(null),p("Codex-Authentifizierung erfolgreich!"),await U()}catch(ze){(ze.response?.data?.error||ze.response?.data?.message||"").includes("not yet approved")||(clearInterval(ye),b(!1),c("Codex-Authentifizierung fehlgeschlagen"))}},se)}catch(P){c(P.response?.data?.message||"Codex-Anmeldung konnte nicht gestartet werden")}},R=async()=>{c("");try{const P=await Cn.geminiLoginStart(),{loginUrl:X,state:Z,verificationUrl:pe}=P.data.data;X&&Z&&(k({loginUrl:X,state:Z,verificationUrl:pe||""}),window.open(X,"_blank","width=600,height=800"))}catch(P){c(P.response?.data?.message||"Gemini-Anmeldung konnte nicht gestartet werden")}},_=async()=>{if(!M||!N.trim()){c("Bitte geben Sie den Autorisierungscode ein");return}c("");try{await Cn.geminiLoginComplete({code:N.trim(),state:M.state}),k(null),L(""),p("Gemini-Authentifizierung erfolgreich!"),await U()}catch(P){c(P.response?.data?.message||"Gemini-Authentifizierung fehlgeschlagen")}},I=async()=>{if(confirm("Möchten Sie sich wirklich von Claude abmelden?")){c("");try{await Cn.claudeLogout(),p("Claude-Abmeldung erfolgreich!"),await U()}catch(P){c(P.response?.data?.message||"Claude-Abmeldung fehlgeschlagen")}}},W=async()=>{if(confirm("Möchten Sie sich wirklich von Codex abmelden?")){c("");try{await Cn.codexLogout(),p("Codex-Abmeldung erfolgreich!"),await U()}catch(P){c(P.response?.data?.message||"Codex-Abmeldung fehlgeschlagen")}}},B=async()=>{if(confirm("Möchten Sie sich wirklich von Gemini abmelden?")){c("");try{await Cn.geminiLogout(),p("Gemini-Abmeldung erfolgreich!"),await U()}catch(P){c(P.response?.data?.message||"Gemini-Abmeldung fehlgeschlagen")}}};return o?d.jsx(ue,{sx:{display:"flex",justifyContent:"center",p:4},children:d.jsx(Et,{})}):d.jsxs(ue,{children:[d.jsx(ne,{variant:"h5",gutterBottom:!0,children:Y("providers.title")}),d.jsx(ne,{variant:"body2",color:"text.secondary",sx:{mb:3},children:Y("providers.subtitle")}),s&&d.jsx(zt,{severity:"error",sx:{mb:2},onClose:()=>c(""),children:s}),u&&d.jsx(zt,{severity:"success",sx:{mb:2},onClose:()=>p(""),children:u}),d.jsxs(Zi,{container:!0,spacing:3,children:[d.jsx(Zi,{item:!0,xs:12,md:4,children:d.jsxs(to,{sx:{height:"100%",display:"flex",flexDirection:"column"},children:[d.jsxs(No,{sx:{flex:1},children:[d.jsx(ne,{variant:"h6",gutterBottom:!0,sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:Y("providers.claude.name")}),e.claude?.loggedIn?d.jsxs(ue,{children:[d.jsx(Jt,{label:Y("providers.connected"),color:"success",sx:{mb:1}}),e.claude.email&&d.jsxs(ne,{variant:"body2",color:"text.secondary",sx:{overflow:"hidden",textOverflow:"ellipsis"},children:["E-Mail: ",e.claude.email]}),e.claude.expiresAt&&d.jsxs(ne,{variant:"body2",color:"text.secondary",children:[Y("providers.expiresAt"),": ",new Date(e.claude.expiresAt).toLocaleDateString("de-DE")]})]}):x?d.jsxs(zt,{severity:"info",sx:{"& .MuiAlert-message":{width:"100%"}},children:[d.jsx(ne,{variant:"body2",gutterBottom:!0,children:"1. Ein neuer Tab mit Claude-Authentifizierung wurde geöffnet"}),d.jsx(ne,{variant:"body2",gutterBottom:!0,children:"2. Nach der Anmeldung kopieren Sie die GESAMTE URL aus der Callback-Seite"}),d.jsx(ne,{variant:"body2",gutterBottom:!0,children:"3. Fügen Sie die vollständige URL unten ein:"}),d.jsx(_t,{fullWidth:!0,size:"small",placeholder:"Callback-URL einfügen...",value:E,onChange:P=>A(P.target.value),sx:{mt:1}}),d.jsxs(ue,{sx:{mt:1,display:"flex",gap:1},children:[d.jsx(He,{variant:"contained",size:"small",onClick:F,disabled:!E.trim()||O,children:O?Y("providers.verifying"):"Bestätigen"}),d.jsx(He,{variant:"text",size:"small",onClick:()=>{S(null),A("")},children:Y("common.cancel")})]})]}):d.jsxs(ue,{children:[d.jsx(Jt,{label:Y("providers.notConnected"),color:"default",sx:{mb:1}}),d.jsx(ne,{variant:"body2",color:"text.secondary",children:Y("providers.claude.description")})]})]}),d.jsx(Ku,{sx:{gap:1,flexWrap:"wrap"},children:!x&&d.jsxs(d.Fragment,{children:[d.jsx(He,{variant:e.claude?.loggedIn?"outlined":"contained",onClick:$,sx:{flex:e.claude?.loggedIn?"1 1 auto":"1"},children:e.claude?.loggedIn?"Neu verbinden":Y("providers.connect")}),e.claude?.loggedIn&&d.jsx(He,{variant:"outlined",color:"error",onClick:I,sx:{flex:"1 1 auto"},children:"Abmelden"})]})})]})}),d.jsx(Zi,{item:!0,xs:12,md:4,children:d.jsxs(to,{sx:{height:"100%",display:"flex",flexDirection:"column"},children:[d.jsxs(No,{sx:{flex:1},children:[d.jsx(ne,{variant:"h6",gutterBottom:!0,sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:Y("providers.codex.name")}),e.codex?.loggedIn?d.jsxs(ue,{children:[d.jsx(Jt,{label:Y("providers.connected"),color:"success",sx:{mb:1}}),e.codex.email&&d.jsxs(ne,{variant:"body2",color:"text.secondary",sx:{overflow:"hidden",textOverflow:"ellipsis"},children:["E-Mail: ",e.codex.email]})]}):m?d.jsxs(zt,{severity:"info",sx:{"& .MuiAlert-message":{width:"100%"}},children:[d.jsxs(ne,{variant:"body2",gutterBottom:!0,children:["1. Besuchen Sie: ",d.jsx("a",{href:m.verificationUrl,target:"_blank",rel:"noopener noreferrer",style:{wordBreak:"break-all"},children:m.verificationUrl})]}),d.jsxs(ne,{variant:"body2",gutterBottom:!0,children:["2. Geben Sie den Code ein: ",d.jsx("strong",{children:m.userCode})]}),w!==null&&d.jsxs(ne,{variant:"body2",color:"text.secondary",gutterBottom:!0,children:["Code läuft ab in: ",d.jsxs("strong",{children:[Math.floor(w/60),":",String(w%60).padStart(2,"0")]})]}),y&&d.jsxs(ue,{sx:{mt:1,display:"flex",alignItems:"center",gap:1},children:[d.jsx(Et,{size:16}),d.jsx(ne,{variant:"caption",children:"Warte auf Autorisierung..."})]})]}):d.jsxs(ue,{children:[d.jsx(Jt,{label:Y("providers.notConnected"),color:"default",sx:{mb:1}}),d.jsx(ne,{variant:"body2",color:"text.secondary",children:Y("providers.codex.description")})]})]}),d.jsx(Ku,{sx:{gap:1,flexWrap:"wrap"},children:!m&&d.jsxs(d.Fragment,{children:[d.jsx(He,{variant:e.codex?.loggedIn?"outlined":"contained",onClick:q,sx:{flex:e.codex?.loggedIn?"1 1 auto":"1"},children:e.codex?.loggedIn?"Neu verbinden":Y("providers.connect")}),e.codex?.loggedIn&&d.jsx(He,{variant:"outlined",color:"error",onClick:W,sx:{flex:"1 1 auto"},children:"Abmelden"})]})})]})}),d.jsx(Zi,{item:!0,xs:12,md:4,children:d.jsxs(to,{sx:{height:"100%",display:"flex",flexDirection:"column"},children:[d.jsxs(No,{sx:{flex:1},children:[d.jsx(ne,{variant:"h6",gutterBottom:!0,sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:Y("providers.gemini.name")}),e.gemini?.loggedIn?d.jsxs(ue,{children:[d.jsx(Jt,{label:Y("providers.connected"),color:"success",sx:{mb:1}}),e.gemini.email&&d.jsxs(ne,{variant:"body2",color:"text.secondary",sx:{overflow:"hidden",textOverflow:"ellipsis"},children:["E-Mail: ",e.gemini.email]})]}):M?d.jsxs(zt,{severity:"info",sx:{"& .MuiAlert-message":{width:"100%"}},children:[d.jsx(ne,{variant:"body2",gutterBottom:!0,children:"1. Ein neuer Tab mit Google-Anmeldung wurde geöffnet"}),d.jsx(ne,{variant:"body2",gutterBottom:!0,children:"2. Nach der Anmeldung zeigt Google Ihnen einen Code an"}),d.jsx(ne,{variant:"body2",gutterBottom:!0,children:"3. Kopieren Sie den Code und fügen Sie ihn unten ein:"}),d.jsx(_t,{fullWidth:!0,size:"small",placeholder:"Autorisierungscode hier einfügen",value:N,onChange:P=>L(P.target.value),sx:{mt:1}}),d.jsxs(ue,{sx:{mt:1,display:"flex",gap:1},children:[d.jsx(He,{variant:"contained",size:"small",onClick:_,disabled:!N.trim(),children:"Bestätigen"}),d.jsx(He,{variant:"text",size:"small",onClick:()=>{k(null),L("")},children:Y("common.cancel")})]})]}):d.jsxs(ue,{children:[d.jsx(Jt,{label:Y("providers.notConnected"),color:"default",sx:{mb:1}}),d.jsx(ne,{variant:"body2",color:"text.secondary",children:Y("providers.gemini.description")})]})]}),d.jsx(Ku,{sx:{gap:1,flexWrap:"wrap"},children:!M&&d.jsxs(d.Fragment,{children:[d.jsx(He,{variant:e.gemini?.loggedIn?"outlined":"contained",onClick:R,sx:{flex:e.gemini?.loggedIn?"1 1 auto":"1"},children:e.gemini?.loggedIn?"Neu verbinden":Y("providers.connect")}),e.gemini?.loggedIn&&d.jsx(He,{variant:"outlined",color:"error",onClick:B,sx:{flex:"1 1 auto"},children:"Abmelden"})]})})]})})]}),d.jsxs(zt,{severity:"info",sx:{mt:3},children:[d.jsx(ne,{variant:"body2",gutterBottom:!0,children:d.jsx("strong",{children:"Hinweis zur Remote-Authentifizierung:"})}),d.jsxs(ne,{variant:"body2",children:["• ",d.jsx("strong",{children:"Claude:"})," Verwendet manuellen Code-Flow - authentifizieren Sie sich in einem neuen Tab, dann fügen Sie die gesamte Callback-URL ein."]}),d.jsxs(ne,{variant:"body2",children:["• ",d.jsx("strong",{children:"Codex:"})," Verwendet Device-Flow - besuchen Sie die URL und geben Sie den angezeigten Code ein."]}),d.jsxs(ne,{variant:"body2",children:["• ",d.jsx("strong",{children:"Gemini:"})," Verwendet manuellen Code-Flow - authentifizieren Sie sich in einem neuen Tab, dann fügen Sie den von Google angezeigten Code ein."]})]})]})}function bL({onCreateJob:e}){const n=ya(),[o,i]=v.useState([]),[s,c]=v.useState(!0),[u,p]=v.useState(""),[m,g]=v.useState(null),[y,b]=v.useState(null);v.useEffect(()=>{w()},[]);const w=async()=>{c(!0);try{const j=await Ka.list({search:u||void 0});i(j.data.jobs)}catch(j){console.error("Failed to load jobs:",j)}finally{c(!1)}},T=()=>{w()},x=async j=>{try{await Ka.delete(j),await w()}catch(M){console.error("Failed to delete job:",M)}g(null),b(null)},S=(j,M)=>{j.stopPropagation(),g(j.currentTarget),b(M)},E=()=>{g(null),b(null)},A=j=>{switch(j){case"running":return"primary";case"completed":return"success";case"failed":return"error";case"cancelled":return"warning";default:return"default"}},O=j=>{switch(j){case"pending":return"Ausstehend";case"running":return"Läuft";case"completed":return"Abgeschlossen";case"failed":return"Fehlgeschlagen";case"cancelled":return"Abgebrochen";default:return j}};return d.jsxs(ue,{children:[d.jsxs(ue,{sx:{display:"flex",gap:2,mb:3,alignItems:"center"},children:[d.jsx(_t,{size:"small",placeholder:"Jobs durchsuchen...",value:u,onChange:j=>p(j.target.value),onKeyPress:j=>j.key==="Enter"&&T(),InputProps:{startAdornment:d.jsx(eg,{position:"start",children:d.jsx(dL,{})})},sx:{flexGrow:1,maxWidth:400}}),d.jsx(no,{title:"Aktualisieren",children:d.jsx("span",{children:d.jsx(Vt,{onClick:w,disabled:s,children:d.jsx(Vd,{})})})}),d.jsx(He,{variant:"contained",startIcon:d.jsx(hs,{}),onClick:e,children:"Neuer Job"})]}),s?d.jsx(ue,{sx:{display:"flex",justifyContent:"center",py:4},children:d.jsx(Et,{})}):o.length===0?d.jsxs(to,{sx:{p:4,textAlign:"center"},children:[d.jsx(ne,{color:"text.secondary",gutterBottom:!0,children:"Keine Jobs gefunden"}),d.jsx(ne,{variant:"body2",color:"text.secondary",sx:{mb:2},children:"Erstellen Sie einen neuen Job, um mit LLMs zu arbeiten."}),d.jsx(He,{variant:"outlined",startIcon:d.jsx(hs,{}),onClick:e,children:"Ersten Job erstellen"})]}):d.jsx(Zi,{container:!0,spacing:2,children:o.map(j=>d.jsx(Zi,{item:!0,xs:12,md:6,lg:4,children:d.jsxs(to,{sx:{cursor:"pointer",transition:"all 0.2s","&:hover":{transform:"translateY(-2px)",boxShadow:4}},onClick:()=>n(`/jobs/${j.id}`),children:[d.jsxs(No,{children:[d.jsxs(ue,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",mb:1},children:[d.jsx(ne,{variant:"h6",noWrap:!0,sx:{flex:1},children:j.name}),d.jsxs(ue,{sx:{display:"flex",alignItems:"center",gap:1},children:[d.jsx(Jt,{label:O(j.status),color:A(j.status),size:"small"}),d.jsx(Vt,{size:"small",onClick:M=>S(M,j.id),children:d.jsx(VC,{fontSize:"small"})})]})]}),j.description&&d.jsx(ne,{variant:"body2",color:"text.secondary",sx:{mb:1,overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical"},children:j.description}),d.jsxs(ue,{sx:{display:"flex",alignItems:"center",gap:.5,mb:.5},children:[d.jsx(pc,{fontSize:"small",color:"action"}),d.jsx(ne,{variant:"body2",color:"text.secondary",noWrap:!0,children:j.workingDirectory})]}),d.jsxs(ue,{sx:{display:"flex",alignItems:"center",gap:2,mt:1},children:[d.jsxs(ue,{sx:{display:"flex",alignItems:"center",gap:.5},children:[d.jsx(fm,{fontSize:"small",color:"action"}),d.jsxs(ne,{variant:"body2",color:"text.secondary",children:[j.conversationCount," Konversationen"]})]}),d.jsxs(ne,{variant:"body2",color:"text.secondary",children:[j.messageCount," Nachrichten"]})]})]}),d.jsx(Ku,{sx:{pt:0},children:d.jsxs(ne,{variant:"caption",color:"text.secondary",children:["Erstellt:"," ",new Date(j.createdAt).toLocaleDateString("de-DE")]})})]})},j.id))}),d.jsx(Ld,{anchorEl:m,open:!!m,onClose:E,children:d.jsxs(fa,{onClick:()=>y&&x(y),sx:{color:"error.main"},children:[d.jsx(Fd,{fontSize:"small",sx:{mr:1}}),"Löschen"]})})]})}function xL({conversations:e,onCreateConversation:n,onRefresh:o}){const i=ya(),c=Rr().pathname.split("/")[2],[u,p]=v.useState(null),[m,g]=v.useState(null),[y,b]=v.useState(!1),[w,T]=v.useState(!1),x=(k,N)=>{k.stopPropagation(),p(k.currentTarget),g(N)},S=()=>{p(null)},E=()=>{S(),b(!0)},A=async()=>{if(m){T(!0);try{await rs.delete(m),o(),b(!1),g(null)}catch(k){console.error("Failed to delete conversation:",k),alert("Fehler beim Löschen der Konversation")}finally{T(!1)}}},O=()=>{b(!1),g(null)},j=k=>{switch(k){case"claude":return{label:"Claude",color:"#D97706"};case"codex":return{label:"Codex",color:"#059669"};case"gemini":return{label:"Gemini",color:"#2563EB"};default:return{label:k,color:"#6B7280"}}},M=k=>{if(!k)return"Noch keine Nachrichten";const N=new Date(k),U=new Date().getTime()-N.getTime(),$=Math.floor(U/6e4),F=Math.floor($/60),q=Math.floor(F/24);return $<1?"Gerade eben":$<60?`vor ${$} Min.`:F<24?`vor ${F} Std.`:q<7?`vor ${q} Tagen`:N.toLocaleDateString("de-DE")};return e.length===0?d.jsxs(ue,{sx:{textAlign:"center",py:4},children:[d.jsx(fm,{sx:{fontSize:48,color:"text.secondary",mb:2}}),d.jsx(ne,{color:"text.secondary",gutterBottom:!0,children:"Noch keine Konversationen"}),d.jsx(ne,{variant:"body2",color:"text.secondary",sx:{mb:2},children:"Starten Sie eine neue Konversation mit einem LLM."}),d.jsx(He,{variant:"contained",startIcon:d.jsx(hs,{}),onClick:n,children:"Konversation starten"})]}):d.jsxs(ue,{children:[d.jsx(ue,{sx:{display:"flex",flexWrap:"wrap",gap:2,p:2},children:e.map(k=>{const N=j(k.provider);return d.jsxs(to,{sx:{width:{xs:"100%",sm:"calc(50% - 8px)",md:"calc(33.33% - 11px)"},minWidth:280,position:"relative"},children:[d.jsx(Vt,{size:"small",onClick:L=>x(L,k.id),sx:{position:"absolute",top:8,right:8,zIndex:1},children:d.jsx(VC,{fontSize:"small"})}),d.jsx(xO,{onClick:()=>i(`/jobs/${c}/conversations/${k.id}`),children:d.jsxs(No,{children:[d.jsx(ue,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",mb:1},children:d.jsxs(ue,{sx:{flex:1,minWidth:0,pr:4},children:[d.jsx(ne,{variant:"subtitle1",noWrap:!0,children:k.title||`Konversation ${k.id.slice(0,8)}`}),d.jsx(Jt,{label:N.label,size:"small",sx:{backgroundColor:N.color,color:"white",mt:.5}})]})}),d.jsxs(ne,{variant:"body2",color:"text.secondary",sx:{mb:1},children:["Model: ",k.model]}),d.jsxs(ue,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mt:2},children:[d.jsxs(ue,{sx:{display:"flex",alignItems:"center",gap:1},children:[d.jsx(fm,{fontSize:"small",color:"action"}),d.jsxs(ne,{variant:"body2",color:"text.secondary",children:[k.messageCount," Nachrichten"]})]}),k.totalTokens&&d.jsxs(ne,{variant:"caption",color:"text.secondary",children:[k.totalTokens.toLocaleString("de-DE")," ","Tokens"]})]}),d.jsxs(ue,{sx:{display:"flex",alignItems:"center",gap:.5,mt:1},children:[d.jsx(WC,{fontSize:"small",color:"action"}),d.jsx(ne,{variant:"caption",color:"text.secondary",children:M(k.lastMessageAt)})]}),!k.isActive&&d.jsx(Jt,{label:"Inaktiv",size:"small",color:"default",sx:{mt:1}})]})})]},k.id)})}),d.jsx(Ld,{anchorEl:u,open:!!u,onClose:S,children:d.jsxs(fa,{onClick:E,sx:{color:"error.main"},children:[d.jsx(Fd,{fontSize:"small",sx:{mr:1}}),"Löschen"]})}),d.jsxs(oo,{open:y,onClose:O,children:[d.jsx(so,{children:"Konversation löschen?"}),d.jsx(io,{children:d.jsx(em,{children:"Möchten Sie diese Konversation wirklich löschen? Alle Nachrichten gehen dabei verloren. Diese Aktion kann nicht rückgängig gemacht werden."})}),d.jsxs(ao,{children:[d.jsx(He,{onClick:O,disabled:w,children:"Abbrechen"}),d.jsx(He,{onClick:A,color:"error",variant:"contained",disabled:w,children:w?"Wird gelöscht...":"Löschen"})]})]})]})}function SL({job:e,onRefresh:n}){const o=ya(),s=Rr().pathname.split("/"),c=s[s.length-1],[u,p]=v.useState(null),[m,g]=v.useState([]),[y,b]=v.useState(""),[w,T]=v.useState(!0),[x,S]=v.useState(!1),[E,A]=v.useState(null),O=v.useRef(null);v.useEffect(()=>{c&&(j(),M())},[c]),v.useEffect(()=>{k()},[m]);const j=async()=>{if(c)try{const q=await rs.get(c);p(q.data)}catch(q){console.error("Failed to load conversation:",q),A("Fehler beim Laden der Konversation")}},M=async()=>{if(c){T(!0),A(null);try{const q=await rs.getMessages(c,{limit:100});g(q.data.messages)}catch(q){console.error("Failed to load messages:",q),A("Fehler beim Laden der Nachrichten")}finally{T(!1)}}},k=()=>{O.current?.scrollIntoView({behavior:"smooth"})},N=async()=>{if(!y.trim()||x||!c||!u)return;const q=y.trim();b(""),S(!0),A(null);const R={id:`temp-${Date.now()}`,conversationId:c,role:"user",content:q,createdAt:new Date().toISOString()};g(_=>[..._,R]);try{const _=await rs.sendMessage(c,{content:q});g(I=>[...I.filter(B=>B.id!==R.id),_.data.userMessage,_.data.assistantMessage])}catch(_){console.error("Failed to send message:",_),A(_.response?.data?.error||"Fehler beim Senden der Nachricht"),g(I=>I.filter(W=>W.id!==R.id)),b(q)}finally{S(!1)}},L=q=>{q.key==="Enter"&&!q.shiftKey&&(q.preventDefault(),N())},U=q=>{switch(q){case"claude":return{label:"Claude",color:"#D97706"};case"codex":return{label:"Codex",color:"#059669"};case"gemini":return{label:"Gemini",color:"#2563EB"};default:return{label:q,color:"#6B7280"}}};if(w||!u)return d.jsx(ue,{sx:{display:"flex",justifyContent:"center",p:4},children:d.jsx(Et,{})});if(E&&!u)return d.jsx(ue,{sx:{p:3},children:d.jsx(zt,{severity:"error",children:E})});const $=U(u.provider),F=q=>{const R=q.role==="user",_=q.role==="system";return q.role,d.jsx(ue,{sx:{display:"flex",justifyContent:R?"flex-end":"flex-start",mb:2},children:d.jsxs(Ft,{sx:{p:2,maxWidth:"80%",backgroundColor:R?"primary.dark":_?"grey.800":"grey.900",borderRadius:2},children:[!R&&d.jsxs(ne,{variant:"caption",color:"text.secondary",sx:{mb:1,display:"block"},children:[_?"System":$.label,q.model&&` (${q.model})`]}),d.jsx(ue,{sx:{"& p":{m:0,mb:1,"&:last-child":{mb:0}},"& pre":{m:0,mb:1,p:1.5,backgroundColor:"rgba(0,0,0,0.3)",borderRadius:1,overflow:"auto"},"& code":{backgroundColor:"rgba(0,0,0,0.3)",px:.5,borderRadius:.5,fontFamily:"monospace",fontSize:"0.9em"},whiteSpace:"pre-wrap",wordBreak:"break-word"},children:d.jsx(ne,{component:"div",sx:{whiteSpace:"pre-wrap"},children:q.content})}),q.tokenUsage&&d.jsxs(ne,{variant:"caption",color:"text.secondary",sx:{mt:1,display:"block"},children:["Tokens: ",q.tokenUsage.total.toLocaleString("de-DE")]}),d.jsx(ne,{variant:"caption",color:"text.secondary",sx:{display:"block"},children:new Date(q.createdAt).toLocaleTimeString("de-DE")})]})},q.id)};return d.jsxs(ue,{sx:{display:"flex",flexDirection:"column",height:"calc(100vh - 200px)"},children:[d.jsx(Ft,{sx:{p:2,mb:2},children:d.jsxs(ue,{sx:{display:"flex",alignItems:"center",gap:2},children:[d.jsx(Vt,{onClick:()=>o(`/jobs/${e.id}`),children:d.jsx(dd,{})}),d.jsxs(ue,{sx:{flex:1},children:[d.jsxs(ue,{sx:{display:"flex",alignItems:"center",gap:1},children:[d.jsx(ne,{variant:"h6",children:u.title||`Konversation ${u.id.slice(0,8)}`}),d.jsx(Jt,{label:$.label,size:"small",sx:{backgroundColor:$.color,color:"white"}})]}),d.jsxs(ue,{sx:{display:"flex",alignItems:"center",gap:2,mt:.5},children:[d.jsxs(ne,{variant:"body2",color:"text.secondary",children:["Model: ",u.model]}),d.jsxs(ue,{sx:{display:"flex",alignItems:"center",gap:.5},children:[d.jsx(pc,{fontSize:"small",color:"action"}),d.jsx(ne,{variant:"body2",color:"text.secondary",children:e.workingDirectory})]})]})]}),d.jsxs(ue,{sx:{textAlign:"right"},children:[d.jsxs(ne,{variant:"body2",color:"text.secondary",children:[m.length," Nachrichten"]}),u.totalTokens&&d.jsxs(ne,{variant:"caption",color:"text.secondary",children:[u.totalTokens.toLocaleString("de-DE")," Tokens"]})]})]})}),d.jsx(Ft,{sx:{flex:1,overflow:"auto",p:2,mb:2,backgroundColor:"background.default"},children:w?d.jsx(ue,{sx:{display:"flex",justifyContent:"center",py:4},children:d.jsx(Et,{})}):E?d.jsx(zt,{severity:"error",children:E}):m.length===0?d.jsx(ue,{sx:{textAlign:"center",py:4},children:d.jsx(ne,{color:"text.secondary",children:"Noch keine Nachrichten. Starten Sie die Konversation!"})}):d.jsxs(d.Fragment,{children:[m.map(F),x&&d.jsx(ue,{sx:{display:"flex",justifyContent:"flex-start",mb:2},children:d.jsx(Ft,{sx:{p:2,backgroundColor:"grey.900"},children:d.jsxs(ue,{sx:{display:"flex",alignItems:"center",gap:1},children:[d.jsx(Et,{size:16}),d.jsxs(ne,{variant:"body2",color:"text.secondary",children:[$.label," denkt nach..."]})]})})}),d.jsx("div",{ref:O})]})}),d.jsxs(Ft,{sx:{p:2},children:[E&&d.jsx(zt,{severity:"error",sx:{mb:2},onClose:()=>A(null),children:E}),d.jsxs(ue,{sx:{display:"flex",gap:1},children:[d.jsx(_t,{fullWidth:!0,multiline:!0,maxRows:4,value:y,onChange:q=>b(q.target.value),onKeyPress:L,placeholder:"Nachricht eingeben... (Enter zum Senden, Shift+Enter für neue Zeile)",disabled:x,size:"small"}),d.jsx(no,{title:"Nachricht senden",children:d.jsx("span",{children:d.jsx(Vt,{color:"primary",onClick:N,disabled:!y.trim()||x,children:x?d.jsx(Et,{size:24}):d.jsx(fL,{})})})})]})]})]})}function h1(e){const{children:n,value:o,index:i,...s}=e;return d.jsx("div",{role:"tabpanel",hidden:o!==i,...s,children:o===i&&d.jsx(ue,{sx:{py:2},children:n})})}function CL({onCreateConversation:e,initialConversationId:n}){const o=Rr(),i=ya(),c=o.pathname.split("/")[2],[u,p]=v.useState(null),[m,g]=v.useState([]),[y,b]=v.useState(null),[w,T]=v.useState(!0),[x,S]=v.useState(0),[E,A]=v.useState(null);v.useEffect(()=>{c&&O()},[c]);const O=async()=>{if(c){T(!0),A(null);try{const[U,$,F]=await Promise.all([Ka.get(c),Ka.getStatus(c),Ka.getConversations(c)]);p(U.data),b($.data.statistics),g(F.data.conversations)}catch(U){console.error("Failed to load job data:",U),A("Fehler beim Laden der Job-Daten")}finally{T(!1)}}},j=async()=>{if(!(!u||!c))try{await Ka.cancel(c),await O()}catch(U){console.error("Failed to cancel job:",U)}},M=U=>{switch(U){case"running":return"primary";case"completed":return"success";case"failed":return"error";case"cancelled":return"warning";default:return"default"}},k=U=>{switch(U){case"pending":return"Ausstehend";case"running":return"Läuft";case"completed":return"Abgeschlossen";case"failed":return"Fehlgeschlagen";case"cancelled":return"Abgebrochen";default:return U}},N=U=>{switch(U){case"claude":return"#D97706";case"codex":return"#059669";case"gemini":return"#2563EB";default:return"#6B7280"}};return w?d.jsx(ue,{sx:{display:"flex",justifyContent:"center",py:4},children:d.jsx(Et,{})}):E||!u?d.jsxs(ue,{children:[d.jsx(Vt,{onClick:()=>i("/jobs"),sx:{mb:2},children:d.jsx(dd,{})}),d.jsx(zt,{severity:"error",children:E||"Job nicht gefunden"})]}):o.pathname.includes("/conversations/")?w?d.jsx(ue,{sx:{display:"flex",justifyContent:"center",py:4},children:d.jsx(Et,{})}):u?d.jsx(SL,{job:u,onRefresh:O}):d.jsxs(ue,{children:[d.jsx(Vt,{onClick:()=>i("/jobs"),sx:{mb:2},children:d.jsx(dd,{})}),d.jsx(zt,{severity:"error",children:"Job nicht gefunden"})]}):d.jsx(wL,{job:u,conversations:m,statistics:y,tabValue:x,setTabValue:S,onCreateConversation:e,loadJobData:O,handleCancelJob:j,getStatusLabel:k,getStatusColor:M,getProviderColor:N})}function wL({job:e,conversations:n,statistics:o,tabValue:i,setTabValue:s,onCreateConversation:c,loadJobData:u,handleCancelJob:p,getStatusLabel:m,getStatusColor:g,getProviderColor:y}){const b=ya();return d.jsxs(ue,{children:[d.jsxs(ue,{sx:{display:"flex",alignItems:"center",gap:2,mb:3},children:[d.jsx(Vt,{onClick:()=>b("/jobs"),children:d.jsx(dd,{})}),d.jsxs(ue,{sx:{flex:1},children:[d.jsxs(ue,{sx:{display:"flex",alignItems:"center",gap:2},children:[d.jsx(ne,{variant:"h5",children:e.name}),d.jsx(Jt,{label:m(e.status),color:g(e.status),size:"small"})]}),e.description&&d.jsx(ne,{variant:"body2",color:"text.secondary",children:e.description})]}),d.jsxs(ue,{sx:{display:"flex",gap:1},children:[d.jsx(no,{title:"Aktualisieren",children:d.jsx(Vt,{onClick:u,children:d.jsx(Vd,{})})}),e.status==="running"&&d.jsx(He,{variant:"outlined",color:"warning",startIcon:d.jsx(ZD,{}),onClick:p,children:"Abbrechen"}),d.jsx(He,{variant:"contained",startIcon:d.jsx(hs,{}),onClick:c,children:"Neue Konversation"})]})]}),d.jsxs(Ft,{sx:{p:2,mb:3},children:[d.jsxs(ue,{sx:{display:"flex",gap:4,flexWrap:"wrap"},children:[d.jsxs(ue,{sx:{display:"flex",alignItems:"center",gap:1},children:[d.jsx(pc,{color:"action"}),d.jsxs(ue,{children:[d.jsx(ne,{variant:"caption",color:"text.secondary",children:"Arbeitsverzeichnis"}),d.jsx(ne,{variant:"body2",children:e.workingDirectory})]})]}),d.jsxs(ue,{children:[d.jsx(ne,{variant:"caption",color:"text.secondary",children:"Erstellt"}),d.jsx(ne,{variant:"body2",children:new Date(e.createdAt).toLocaleString("de-DE")})]}),o&&d.jsxs(d.Fragment,{children:[d.jsxs(ue,{children:[d.jsx(ne,{variant:"caption",color:"text.secondary",children:"Konversationen"}),d.jsx(ne,{variant:"body2",children:o.conversationCount})]}),d.jsxs(ue,{children:[d.jsx(ne,{variant:"caption",color:"text.secondary",children:"Nachrichten"}),d.jsx(ne,{variant:"body2",children:o.messageCount})]}),d.jsxs(ue,{children:[d.jsx(ne,{variant:"caption",color:"text.secondary",children:"Tokens gesamt"}),d.jsx(ne,{variant:"body2",children:o.tokenUsage.total.toLocaleString("de-DE")})]})]})]}),o&&o.providerBreakdown.length>0&&d.jsxs(ue,{sx:{mt:2},children:[d.jsx(ne,{variant:"caption",color:"text.secondary",sx:{mb:1,display:"block"},children:"Provider-Verteilung"}),d.jsx(ue,{sx:{display:"flex",gap:1,flexWrap:"wrap"},children:o.providerBreakdown.map(w=>d.jsx(Jt,{label:`${w.provider}: ${w.conversationCount} Konv. / ${w.messageCount} Nachr.`,size:"small",sx:{backgroundColor:y(w.provider),color:"white"}},w.provider))})]})]}),d.jsxs(Ft,{children:[d.jsxs(hC,{value:i,onChange:(w,T)=>s(T),children:[d.jsx(im,{label:`Konversationen (${n.length})`}),d.jsx(im,{label:"System Prompt"})]}),d.jsx(h1,{value:i,index:0,children:d.jsx(xL,{conversations:n,onCreateConversation:c,onRefresh:u})}),d.jsx(h1,{value:i,index:1,children:d.jsx(ue,{sx:{p:2},children:e.systemPrompt?d.jsx(Ft,{variant:"outlined",sx:{p:2,backgroundColor:"grey.900",fontFamily:"monospace",whiteSpace:"pre-wrap"},children:e.systemPrompt}):d.jsx(ne,{color:"text.secondary",children:"Kein System Prompt definiert"})})})]})]})}function EL({open:e,onClose:n,onSelect:o,initialPath:i,title:s="Verzeichnis auswählen"}){const[c,u]=v.useState(!0),[p,m]=v.useState(null),[g,y]=v.useState(null),[b,w]=v.useState(null),[T,x]=v.useState(!1),[S,E]=v.useState(""),[A,O]=v.useState(!1);v.useEffect(()=>{e&&j(i)},[e,i]);const j=async R=>{u(!0),m(null);try{const _=await dm.browse(R);y(_.data),w(_.data.currentPath)}catch(_){console.error("Failed to browse directory:",_),m(_.response?.data?.error||"Fehler beim Laden des Verzeichnisses")}finally{u(!1)}},M=R=>{R.isDirectory&&R.isReadable&&j(R.path)},k=R=>{R.isDirectory&&R.isWritable&&(o(R.path),n())},N=()=>{g?.parentPath&&j(g.parentPath)},L=R=>{j(R)},U=()=>{b&&(o(b),n())},$=async()=>{if(!(!S.trim()||!g?.currentPath)){O(!0),m(null);try{const R=await dm.mkdir(g.currentPath,S.trim());E(""),x(!1),j(R.data.path)}catch(R){console.error("Failed to create folder:",R),m(R.response?.data?.error||"Fehler beim Erstellen des Ordners")}finally{O(!1)}}},F=R=>R===void 0?"":R<1024?`${R} B`:R<1024*1024?`${(R/1024).toFixed(1)} KB`:`${(R/(1024*1024)).toFixed(1)} MB`,q=R=>{const _=R.split("/").filter(Boolean),I=[];let W="";for(const B of _)W+="/"+B,I.push({name:B,path:W});return I};return d.jsxs(oo,{open:e,onClose:n,maxWidth:"md",fullWidth:!0,children:[d.jsx(so,{children:d.jsxs(ue,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[d.jsx(ne,{variant:"h6",children:s}),d.jsx(no,{title:"Neuen Ordner erstellen",children:d.jsx(Vt,{onClick:()=>x(!T),color:"primary",children:d.jsx(tL,{})})})]})}),d.jsxs(io,{dividers:!0,children:[p&&d.jsx(zt,{severity:"error",sx:{mb:2},onClose:()=>m(null),children:p}),g?.roots&&d.jsx(ue,{sx:{mb:2,display:"flex",gap:1,flexWrap:"wrap"},children:g.roots.map(R=>d.jsx(Jt,{icon:d.jsx(rL,{}),label:R.name,onClick:()=>L(R.path),variant:g.currentPath.startsWith(R.path)?"filled":"outlined",color:g.currentPath.startsWith(R.path)?"primary":"default"},R.path))}),g?.currentPath&&d.jsxs(ue,{sx:{mb:2,display:"flex",alignItems:"center",gap:1},children:[d.jsx(Vt,{size:"small",onClick:N,disabled:!g.parentPath,children:d.jsx(QD,{})}),d.jsx(oO,{maxItems:5,sx:{flex:1},children:q(g.currentPath).map((R,_,I)=>d.jsx(Oz,{component:"button",variant:"body2",onClick:()=>j(R.path),underline:_===I.length-1?"none":"hover",color:_===I.length-1?"text.primary":"inherit",sx:{cursor:"pointer"},children:R.name},R.path))})]}),T&&d.jsxs(ue,{sx:{mb:2,display:"flex",gap:1,alignItems:"center"},children:[d.jsx(_t,{size:"small",label:"Neuer Ordnername",value:S,onChange:R=>E(R.target.value),onKeyPress:R=>R.key==="Enter"&&$(),autoFocus:!0,sx:{flex:1}}),d.jsx(He,{variant:"contained",onClick:$,disabled:!S.trim()||A,size:"small",children:A?d.jsx(Et,{size:20}):"Erstellen"}),d.jsx(He,{variant:"outlined",onClick:()=>{x(!1),E("")},size:"small",children:"Abbrechen"})]}),d.jsx(Uo,{sx:{mb:1}}),c?d.jsx(ue,{sx:{display:"flex",justifyContent:"center",py:4},children:d.jsx(Et,{})}):d.jsx(nC,{dense:!0,sx:{maxHeight:400,overflow:"auto",bgcolor:"background.paper",border:1,borderColor:"divider",borderRadius:1},children:g?.entries.length===0?d.jsx(Kz,{children:d.jsx(Va,{primary:"Leeres Verzeichnis",secondary:"Dieses Verzeichnis enthält keine Einträge"})}):g?.entries.map(R=>d.jsxs(_z,{onClick:()=>M(R),onDoubleClick:()=>k(R),disabled:!R.isReadable,selected:b===R.path,children:[d.jsx(Yi,{children:R.isDirectory?d.jsx(pc,{color:R.isWritable?"primary":"disabled"}):d.jsx(oL,{color:"disabled"})}),d.jsx(Va,{primary:R.name,secondary:R.isDirectory?R.isWritable?"Ordner (beschreibbar)":"Ordner (nur lesen)":F(R.size)}),R.isDirectory&&R.isWritable&&d.jsx(no,{title:"Diesen Ordner auswählen",children:d.jsx(Vt,{size:"small",onClick:_=>{_.stopPropagation(),o(R.path),n()},color:"primary",children:d.jsx(IC,{})})})]},R.path))}),b&&d.jsxs(ue,{sx:{mt:2,p:1,bgcolor:"grey.900",borderRadius:1},children:[d.jsx(ne,{variant:"caption",color:"text.secondary",children:"Ausgewähltes Verzeichnis:"}),d.jsx(ne,{variant:"body2",sx:{fontFamily:"monospace",wordBreak:"break-all"},children:b})]})]}),d.jsxs(ao,{children:[d.jsx(He,{onClick:n,children:"Abbrechen"}),d.jsx(He,{variant:"contained",onClick:U,disabled:!b,children:"Aktuelles Verzeichnis auswählen"})]})]})}function TL({open:e,onClose:n,onCreated:o}){const[i,s]=v.useState(""),[c,u]=v.useState(""),[p,m]=v.useState(""),[g,y]=v.useState(""),[b,w]=v.useState(!1),[T,x]=v.useState(null),[S,E]=v.useState(!1),A=async()=>{if(!p.trim()){x("Arbeitsverzeichnis ist erforderlich");return}w(!0),x(null);try{const M={workingDirectory:p.trim(),description:c.trim()||void 0,systemPrompt:g.trim()||void 0};i.trim()&&(M.name=i.trim());const k=await Ka.create(M);o(k.data),O()}catch(M){console.error("Failed to create job:",M),x(M.response?.data?.error||"Fehler beim Erstellen des Jobs")}finally{w(!1)}},O=()=>{s(""),u(""),m(""),y(""),x(null),n()},j=async M=>{m(M);try{const k=await dm.getGitInfo(M);k.data.isGitRepo&&k.data.repoName&&!i.trim()&&s(k.data.repoName)}catch(k){console.log("Could not fetch git info:",k)}};return d.jsxs(d.Fragment,{children:[d.jsxs(oo,{open:e,onClose:O,maxWidth:"sm",fullWidth:!0,children:[d.jsx(so,{children:"Neuen Job erstellen"}),d.jsx(io,{children:d.jsxs(ue,{sx:{display:"flex",flexDirection:"column",gap:2,mt:1},children:[T&&d.jsx(zt,{severity:"error",children:T}),d.jsx(_t,{label:"Name",value:i,onChange:M=>s(M.target.value),fullWidth:!0,autoFocus:!0,placeholder:"z.B. Feature Implementierung (optional, wird aus Git-Repo erkannt)",helperText:"Leer lassen für automatische Erkennung aus Git-Repository"}),d.jsx(_t,{label:"Beschreibung",value:c,onChange:M=>u(M.target.value),fullWidth:!0,multiline:!0,rows:2,placeholder:"Optionale Beschreibung des Jobs"}),d.jsxs(ue,{children:[d.jsx(ne,{variant:"subtitle2",gutterBottom:!0,children:"Arbeitsverzeichnis *"}),d.jsxs(ue,{sx:{display:"flex",gap:1},children:[d.jsx(_t,{value:p,onChange:M=>m(M.target.value),fullWidth:!0,required:!0,placeholder:"Verzeichnis auf dem Server auswählen...",size:"small",InputProps:{readOnly:!0,sx:{fontFamily:"monospace",fontSize:"0.9em"}}}),d.jsx(He,{variant:"outlined",onClick:()=>E(!0),startIcon:d.jsx(pc,{}),children:"Durchsuchen"})]}),d.jsx(ne,{variant:"caption",color:"text.secondary",children:"Wählen Sie ein Verzeichnis auf dem Server für diesen Job aus"})]}),d.jsx(_t,{label:"System Prompt (optional)",value:g,onChange:M=>y(M.target.value),fullWidth:!0,multiline:!0,rows:4,placeholder:"Optionaler System Prompt, der für alle Konversationen dieses Jobs verwendet wird"})]})}),d.jsxs(ao,{children:[d.jsx(He,{onClick:O,disabled:b,children:"Abbrechen"}),d.jsx(He,{onClick:A,variant:"contained",disabled:b||!i.trim()||!p.trim(),children:b?d.jsx(Et,{size:24}):"Erstellen"})]})]}),d.jsx(EL,{open:S,onClose:()=>E(!1),onSelect:j,initialPath:p||void 0,title:"Arbeitsverzeichnis auswählen"})]})}const m1={claude:["claude-sonnet-4-20250514","claude-3-5-sonnet-20241022","claude-3-opus-20240229"],codex:["default","o4-mini","o3","codex"],gemini:["gemini-2.5-pro","gemini-2.0-flash","gemini-1.5-pro"]};function RL({open:e,jobId:n,onClose:o,onCreated:i}){const[s,c]=v.useState(""),[u,p]=v.useState(""),[m,g]=v.useState(""),[y,b]=v.useState(""),[w,T]=v.useState(!1),[x,S]=v.useState(!0),[E,A]=v.useState([]),[O,j]=v.useState(null);v.useEffect(()=>{e&&M()},[e]),v.useEffect(()=>{p(s&&m1[s][0]||"")},[s]);const M=async()=>{S(!0);try{const $=await rs.getProviders();A($.data.providers);const F=$.data.providers.find(q=>q.isAuthenticated);F&&c(F.provider)}catch($){console.error("Failed to load providers:",$),j("Fehler beim Laden der Provider")}finally{S(!1)}},k=async()=>{if(!s){j("Bitte wählen Sie einen Provider aus");return}T(!0),j(null);try{const $={jobId:n,provider:s,model:u||void 0,title:m.trim()||void 0,systemPrompt:y.trim()||void 0},F=await rs.create($);i(F.data.conversation),N()}catch($){console.error("Failed to create conversation:",$),j($.response?.data?.error||"Fehler beim Erstellen der Konversation")}finally{T(!1)}},N=()=>{c(""),p(""),g(""),b(""),j(null),o()},L=$=>{switch($){case"claude":return"Claude (Anthropic)";case"codex":return"Codex (OpenAI)";case"gemini":return"Gemini (Google)";default:return $}},U=$=>{switch($){case"claude":return"#D97706";case"codex":return"#059669";case"gemini":return"#2563EB";default:return"#6B7280"}};return d.jsxs(oo,{open:e,onClose:N,maxWidth:"sm",fullWidth:!0,children:[d.jsx(so,{children:"Neue Konversation starten"}),d.jsx(io,{children:d.jsxs(ue,{sx:{display:"flex",flexDirection:"column",gap:2,mt:1},children:[O&&d.jsx(zt,{severity:"error",children:O}),x?d.jsx(ue,{sx:{display:"flex",justifyContent:"center",py:2},children:d.jsx(Et,{})}):d.jsxs(d.Fragment,{children:[d.jsxs(ue,{children:[d.jsx(ne,{variant:"subtitle2",gutterBottom:!0,children:"LLM Provider auswählen"}),d.jsx(ue,{sx:{display:"flex",gap:1,flexWrap:"wrap"},children:E.map($=>d.jsx(Jt,{label:d.jsxs(ue,{sx:{display:"flex",alignItems:"center",gap:.5},children:[L($.provider),$.isAuthenticated?d.jsx(IC,{fontSize:"small",sx:{color:"success.main"}}):d.jsx(HC,{fontSize:"small",sx:{color:"error.main"}})]}),onClick:()=>$.isAuthenticated&&c($.provider),disabled:!$.isAuthenticated,variant:s===$.provider?"filled":"outlined",sx:{borderColor:U($.provider),backgroundColor:s===$.provider?U($.provider):"transparent",color:s===$.provider?"white":"inherit","&:hover":{backgroundColor:$.isAuthenticated?U($.provider):void 0,color:$.isAuthenticated?"white":void 0}}},$.provider))}),E.some($=>!$.isAuthenticated)&&d.jsx(ne,{variant:"caption",color:"text.secondary",sx:{mt:.5,display:"block"},children:'Nicht authentifizierte Provider sind deaktiviert. Gehen Sie zu "Provider Authentifizierung" um sich anzumelden.'})]}),s&&d.jsxs(eC,{fullWidth:!0,children:[d.jsx(tC,{children:"Model"}),d.jsx(ag,{value:u,label:"Model",onChange:$=>p($.target.value),children:m1[s].map($=>d.jsx(fa,{value:$,children:$},$))})]}),d.jsx(_t,{label:"Titel (optional)",value:m,onChange:$=>g($.target.value),fullWidth:!0,placeholder:"z.B. Bug Fix Discussion"}),d.jsx(_t,{label:"System Prompt (optional)",value:y,onChange:$=>b($.target.value),fullWidth:!0,multiline:!0,rows:3,placeholder:"Optionaler System Prompt für diese Konversation",helperText:"Wenn leer, wird der System Prompt des Jobs verwendet"})]})]})}),d.jsxs(ao,{children:[d.jsx(He,{onClick:N,disabled:w,children:"Abbrechen"}),d.jsx(He,{onClick:k,variant:"contained",disabled:w||!s||x,children:w?d.jsx(Et,{size:24}):"Starten"})]})]})}function jL(){const[e,n]=v.useState([]),[o,i]=v.useState(!0),[s,c]=v.useState(""),[u,p]=v.useState(!1),[m,g]=v.useState(""),[y,b]=v.useState(""),[w,T]=v.useState(!1),[x,S]=v.useState(null),[E,A]=v.useState(!0),[O,j]=v.useState(!1),[M,k]=v.useState(!1),[N,L]=v.useState(null),[U,$]=v.useState(!1);v.useEffect(()=>{F()},[]);const F=async()=>{try{i(!0);const P=await Mh.list();n(P.data.data)}catch(P){c(P.response?.data?.message||Y("errors.generic"))}finally{i(!1)}},q=async()=>{try{T(!0),c("");const P=await Mh.create({name:m,expiresAt:y||void 0});S(P.data.data.key),g(""),b(""),F()}catch(P){c(P.response?.data?.message||Y("errors.generic"))}finally{T(!1)}},R=()=>{x&&(navigator.clipboard.writeText(x),j(!0),setTimeout(()=>j(!1),2e3))},_=()=>{p(!1),S(null),A(!0),j(!1)},I=async()=>{if(N)try{$(!0),await Mh.revoke(N.id),k(!1),L(null),F()}catch(P){c(P.response?.data?.message||Y("errors.generic"))}finally{$(!1)}},W=P=>P?new Date(P).toLocaleDateString("de-DE",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"}):"-",B=P=>P.revokedAt?d.jsx(Jt,{label:Y("apiKeys.revoked"),color:"error",size:"small"}):P.expiresAt&&new Date(P.expiresAt)<new Date?d.jsx(Jt,{label:Y("apiKeys.expired"),color:"warning",size:"small"}):d.jsx(Jt,{label:Y("apiKeys.active"),color:"success",size:"small"});return o?d.jsx(ue,{sx:{display:"flex",justifyContent:"center",p:4},children:d.jsx(Et,{})}):d.jsxs(ue,{children:[d.jsxs(ue,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:3},children:[d.jsxs(ue,{children:[d.jsx(ne,{variant:"h5",gutterBottom:!0,children:Y("apiKeys.title")}),d.jsx(ne,{variant:"body2",color:"text.secondary",children:Y("apiKeys.subtitle")})]}),d.jsx(He,{variant:"contained",startIcon:d.jsx(hs,{}),onClick:()=>p(!0),children:Y("apiKeys.createKey")})]}),s&&d.jsx(zt,{severity:"error",sx:{mb:2},onClose:()=>c(""),children:s}),e.length===0?d.jsx(Ft,{sx:{p:4,textAlign:"center"},children:d.jsx(ne,{color:"text.secondary",children:Y("apiKeys.noKeys")})}):d.jsx(fC,{component:Ft,children:d.jsxs(uC,{children:[d.jsx(pC,{children:d.jsxs(cd,{children:[d.jsx(Mt,{children:Y("apiKeys.keyName")}),d.jsx(Mt,{children:Y("apiKeys.keyPrefix")}),d.jsx(Mt,{children:Y("common.status")}),d.jsx(Mt,{children:Y("apiKeys.lastUsed")}),d.jsx(Mt,{children:Y("apiKeys.expiresAt")}),d.jsx(Mt,{children:Y("common.createdAt")}),d.jsx(Mt,{align:"right",children:Y("common.actions")})]})}),d.jsx(dC,{children:e.map(P=>d.jsxs(cd,{children:[d.jsx(Mt,{children:d.jsx(ne,{sx:{maxWidth:200,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:P.name})}),d.jsx(Mt,{children:d.jsxs(ne,{variant:"body2",sx:{fontFamily:"monospace"},children:[P.keyPrefix,"..."]})}),d.jsx(Mt,{children:B(P)}),d.jsx(Mt,{children:P.lastUsedAt?W(P.lastUsedAt):Y("apiKeys.neverUsed")}),d.jsx(Mt,{children:P.expiresAt?W(P.expiresAt):Y("apiKeys.neverExpires")}),d.jsx(Mt,{children:W(P.createdAt)}),d.jsx(Mt,{align:"right",children:P.isValid&&d.jsx(no,{title:Y("apiKeys.revoke"),children:d.jsx(Vt,{size:"small",color:"error",onClick:()=>{L(P),k(!0)},children:d.jsx(Fd,{})})})})]},P.id))})]})}),d.jsxs(oo,{open:u,onClose:_,maxWidth:"sm",fullWidth:!0,children:[d.jsx(so,{children:Y(x?"apiKeys.newKeyCreated":"apiKeys.createKey")}),d.jsx(io,{children:x?d.jsxs(ue,{children:[d.jsx(zt,{severity:"warning",sx:{mb:2},children:Y("apiKeys.copyWarning")}),d.jsx(_t,{fullWidth:!0,value:x,type:E?"text":"password",InputProps:{readOnly:!0,sx:{fontFamily:"monospace"},endAdornment:d.jsxs(eg,{position:"end",children:[d.jsx(Vt,{onClick:()=>A(!E),children:E?d.jsx(mL,{}):d.jsx(hL,{})}),d.jsx(Vt,{onClick:R,color:O?"success":"default",children:d.jsx(FC,{})})]})}}),O&&d.jsx(ne,{variant:"caption",color:"success.main",sx:{mt:1,display:"block"},children:Y("common.copied")})]}):d.jsxs(ue,{sx:{pt:1},children:[d.jsx(_t,{fullWidth:!0,label:Y("apiKeys.keyName"),value:m,onChange:P=>g(P.target.value),margin:"normal",required:!0,autoFocus:!0}),d.jsx(_t,{fullWidth:!0,label:Y("apiKeys.expirationDate"),type:"datetime-local",value:y,onChange:P=>b(P.target.value),margin:"normal",InputLabelProps:{shrink:!0},helperText:Y("apiKeys.expirationHelp")})]})}),d.jsx(ao,{children:x?d.jsx(He,{onClick:_,children:Y("common.close")}):d.jsxs(d.Fragment,{children:[d.jsx(He,{onClick:_,children:Y("common.cancel")}),d.jsx(He,{variant:"contained",onClick:q,disabled:!m||w,children:w?d.jsx(Et,{size:24}):Y("common.create")})]})})]}),d.jsxs(oo,{open:M,onClose:()=>k(!1),children:[d.jsx(so,{children:Y("apiKeys.revoke")}),d.jsxs(io,{children:[d.jsx(ne,{children:Y("apiKeys.revokeConfirm")}),N&&d.jsxs(ne,{variant:"body2",sx:{mt:1,fontFamily:"monospace"},children:[N.name," (",N.keyPrefix,"...)"]})]}),d.jsxs(ao,{children:[d.jsx(He,{onClick:()=>k(!1),children:Y("common.cancel")}),d.jsx(He,{variant:"contained",color:"error",onClick:I,disabled:U,children:U?d.jsx(Et,{size:24}):Y("apiKeys.revoke")})]})]})]})}const AL=["job.created","job.updated","job.completed","job.failed","job.cancelled","conversation.created","conversation.updated","message.created","message.streaming","message.completed","tool.called","tool.completed"];function ML(){const[e,n]=v.useState([]),[o,i]=v.useState(!0),[s,c]=v.useState(""),[u,p]=v.useState(""),[m,g]=v.useState(!1),[y,b]=v.useState(""),[w,T]=v.useState(""),[x,S]=v.useState([]),[E,A]=v.useState(!1),[O,j]=v.useState(null),[M,k]=v.useState(!1),[N,L]=v.useState(!1),[U,$]=v.useState(null),[F,q]=v.useState(!1);v.useEffect(()=>{R()},[]);const R=async()=>{try{i(!0);const H=await Wi.list();n(H.data.data)}catch(H){c(H.response?.data?.message||Y("errors.generic"))}finally{i(!1)}},_=async()=>{try{A(!0),c("");const H=await Wi.create({name:y,url:w,events:x});j(H.data.data.secret),R()}catch(H){c(H.response?.data?.message||Y("errors.generic"))}finally{A(!1)}},I=()=>{O&&(navigator.clipboard.writeText(O),k(!0),setTimeout(()=>k(!1),2e3))},W=()=>{g(!1),j(null),b(""),T(""),S([]),k(!1)},B=async H=>{try{await Wi.update(H.id,{active:!H.active}),R()}catch(Q){c(Q.response?.data?.message||Y("errors.generic"))}},P=async()=>{if(U)try{q(!0),await Wi.delete(U.id),L(!1),$(null),R()}catch(H){c(H.response?.data?.message||Y("errors.generic"))}finally{q(!1)}},X=async H=>{try{await Wi.test(H.id),p("Test-Webhook wurde gesendet"),setTimeout(()=>p(""),3e3)}catch(Q){c(Q.response?.data?.message||Y("errors.generic"))}},Z=async H=>{try{const Q=await Wi.regenerateSecret(H.id);j(Q.data.data.secret),p("Neues Secret generiert")}catch(Q){c(Q.response?.data?.message||Y("errors.generic"))}},pe=H=>H?new Date(H).toLocaleDateString("de-DE",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"}):"-",D=H=>{x.includes(H)?S(x.filter(Q=>Q!==H)):S([...x,H])};return o?d.jsx(ue,{sx:{display:"flex",justifyContent:"center",p:4},children:d.jsx(Et,{})}):d.jsxs(ue,{children:[d.jsxs(ue,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:3},children:[d.jsxs(ue,{children:[d.jsx(ne,{variant:"h5",gutterBottom:!0,children:Y("webhooks.title")}),d.jsx(ne,{variant:"body2",color:"text.secondary",children:Y("webhooks.subtitle")})]}),d.jsx(He,{variant:"contained",startIcon:d.jsx(hs,{}),onClick:()=>g(!0),children:Y("webhooks.createWebhook")})]}),s&&d.jsx(zt,{severity:"error",sx:{mb:2},onClose:()=>c(""),children:s}),u&&d.jsx(zt,{severity:"success",sx:{mb:2},onClose:()=>p(""),children:u}),e.length===0?d.jsx(Ft,{sx:{p:4,textAlign:"center"},children:d.jsx(ne,{color:"text.secondary",children:Y("webhooks.noWebhooks")})}):d.jsx(fC,{component:Ft,children:d.jsxs(uC,{children:[d.jsx(pC,{children:d.jsxs(cd,{children:[d.jsx(Mt,{children:Y("webhooks.webhookName")}),d.jsx(Mt,{children:Y("webhooks.webhookUrl")}),d.jsx(Mt,{children:Y("webhooks.events")}),d.jsx(Mt,{children:Y("common.status")}),d.jsx(Mt,{children:Y("webhooks.lastTriggered")}),d.jsx(Mt,{children:Y("webhooks.failures")}),d.jsx(Mt,{align:"right",children:Y("common.actions")})]})}),d.jsx(dC,{children:e.map(H=>d.jsxs(cd,{children:[d.jsx(Mt,{children:d.jsx(ne,{sx:{maxWidth:150,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:H.name})}),d.jsx(Mt,{children:d.jsx(ne,{variant:"body2",sx:{maxWidth:200,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontFamily:"monospace",fontSize:"0.8rem"},children:H.url})}),d.jsx(Mt,{children:d.jsxs(ue,{sx:{display:"flex",gap:.5,flexWrap:"wrap",maxWidth:200},children:[H.events.slice(0,3).map(Q=>d.jsx(Jt,{label:Q.split(".")[1],size:"small",variant:"outlined"},Q)),H.events.length>3&&d.jsx(Jt,{label:`+${H.events.length-3}`,size:"small",variant:"outlined"})]})}),d.jsx(Mt,{children:d.jsx(lB,{checked:H.active,onChange:()=>B(H),size:"small"})}),d.jsx(Mt,{children:pe(H.lastTriggeredAt)}),d.jsx(Mt,{children:H.failureCount>0?d.jsx(Jt,{label:H.failureCount,color:"error",size:"small"}):"0"}),d.jsxs(Mt,{align:"right",children:[d.jsx(no,{title:Y("webhooks.testWebhook"),children:d.jsx(Vt,{size:"small",onClick:()=>X(H),children:d.jsx(cL,{})})}),d.jsx(no,{title:Y("webhooks.regenerateSecret"),children:d.jsx(Vt,{size:"small",onClick:()=>Z(H),children:d.jsx(Vd,{})})}),d.jsx(no,{title:Y("common.delete"),children:d.jsx(Vt,{size:"small",color:"error",onClick:()=>{$(H),L(!0)},children:d.jsx(Fd,{})})})]})]},H.id))})]})}),d.jsxs(oo,{open:m,onClose:W,maxWidth:"sm",fullWidth:!0,children:[d.jsx(so,{children:O?"Webhook erstellt":Y("webhooks.createWebhook")}),d.jsx(io,{children:O?d.jsxs(ue,{children:[d.jsx(zt,{severity:"warning",sx:{mb:2},children:Y("apiKeys.copyWarning")}),d.jsx(_t,{fullWidth:!0,label:"Webhook Secret",value:O,InputProps:{readOnly:!0,sx:{fontFamily:"monospace"},endAdornment:d.jsx(eg,{position:"end",children:d.jsx(Vt,{onClick:I,color:M?"success":"default",children:d.jsx(FC,{})})})}}),M&&d.jsx(ne,{variant:"caption",color:"success.main",sx:{mt:1,display:"block"},children:Y("common.copied")})]}):d.jsxs(ue,{sx:{pt:1},children:[d.jsx(_t,{fullWidth:!0,label:Y("webhooks.webhookName"),value:y,onChange:H=>b(H.target.value),margin:"normal",required:!0,autoFocus:!0}),d.jsx(_t,{fullWidth:!0,label:Y("webhooks.webhookUrl"),value:w,onChange:H=>T(H.target.value),margin:"normal",required:!0,placeholder:"https://example.com/webhook"}),d.jsx(ne,{variant:"subtitle2",sx:{mt:2,mb:1},children:Y("webhooks.selectEvents")}),d.jsx(Ft,{variant:"outlined",sx:{p:2,maxHeight:300,overflow:"auto"},children:d.jsx(X3,{children:AL.map(H=>d.jsx(W3,{control:d.jsx(_O,{checked:x.includes(H),onChange:()=>D(H),size:"small"}),label:d.jsxs(ue,{children:[d.jsx(ne,{variant:"body2",children:H}),d.jsx(ne,{variant:"caption",color:"text.secondary",children:Y(`webhooks.eventDescriptions.${H}`)})]})},H))})})]})}),d.jsx(ao,{children:O?d.jsx(He,{onClick:W,children:Y("common.close")}):d.jsxs(d.Fragment,{children:[d.jsx(He,{onClick:W,children:Y("common.cancel")}),d.jsx(He,{variant:"contained",onClick:_,disabled:!y||!w||x.length===0||E,children:E?d.jsx(Et,{size:24}):Y("common.create")})]})})]}),d.jsxs(oo,{open:N,onClose:()=>L(!1),children:[d.jsx(so,{children:Y("common.delete")}),d.jsxs(io,{children:[d.jsx(ne,{children:"Möchten Sie diesen Webhook wirklich löschen?"}),U&&d.jsx(ne,{variant:"body2",sx:{mt:1,fontWeight:"bold"},children:U.name})]}),d.jsxs(ao,{children:[d.jsx(He,{onClick:()=>L(!1),children:Y("common.cancel")}),d.jsx(He,{variant:"contained",color:"error",onClick:P,disabled:F,children:F?d.jsx(Et,{size:24}):Y("common.delete")})]})]})]})}function kL(){const{user:e}=fc(),[n,o]=v.useState(""),[i,s]=v.useState(""),[c,u]=v.useState(""),[p,m]=v.useState(!1),[g,y]=v.useState(""),[b,w]=v.useState(""),T=async x=>{if(x.preventDefault(),y(""),w(""),i!==c){y(Y("auth.passwordMismatch"));return}if(i.length<8){y(Y("auth.passwordMinLength"));return}try{m(!0),await Cn.changePassword({currentPassword:n,newPassword:i}),w(Y("auth.passwordChanged")),o(""),s(""),u("")}catch(S){y(S.response?.data?.message||Y("errors.generic"))}finally{m(!1)}};return d.jsxs(ue,{children:[d.jsx(ne,{variant:"h5",gutterBottom:!0,children:Y("profile.title")}),d.jsx(ne,{variant:"body2",color:"text.secondary",sx:{mb:3},children:Y("profile.subtitle")}),d.jsxs(ue,{sx:{display:"flex",flexDirection:"column",gap:3},children:[d.jsx(to,{children:d.jsxs(No,{children:[d.jsxs(ue,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[d.jsx(qC,{color:"primary"}),d.jsx(ne,{variant:"h6",children:Y("profile.accountInfo")})]}),d.jsx(Uo,{sx:{mb:2}}),d.jsxs(ue,{sx:{display:"grid",gridTemplateColumns:"1fr 2fr",gap:2},children:[d.jsxs(ne,{variant:"body2",color:"text.secondary",children:[Y("auth.username"),":"]}),d.jsx(ne,{variant:"body1",children:e?.username}),d.jsxs(ne,{variant:"body2",color:"text.secondary",children:[Y("profile.role"),":"]}),d.jsx(ne,{variant:"body1",children:e?.role==="admin"?Y("profile.roleAdmin"):Y("profile.roleUser")})]})]})}),d.jsx(to,{children:d.jsxs(No,{children:[d.jsxs(ue,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[d.jsx(aL,{color:"primary"}),d.jsx(ne,{variant:"h6",children:Y("auth.changePassword")})]}),d.jsx(Uo,{sx:{mb:2}}),d.jsx(ne,{variant:"body2",color:"text.secondary",sx:{mb:2},children:Y("profile.changePasswordDesc")}),g&&d.jsx(zt,{severity:"error",sx:{mb:2},onClose:()=>y(""),children:g}),b&&d.jsx(zt,{severity:"success",sx:{mb:2},onClose:()=>w(""),children:b}),d.jsxs(ue,{component:"form",onSubmit:T,sx:{maxWidth:400},children:[d.jsx(_t,{fullWidth:!0,label:Y("auth.currentPassword"),type:"password",value:n,onChange:x=>o(x.target.value),margin:"normal",required:!0,autoComplete:"current-password"}),d.jsx(_t,{fullWidth:!0,label:Y("auth.newPassword"),type:"password",value:i,onChange:x=>s(x.target.value),margin:"normal",required:!0,autoComplete:"new-password",helperText:Y("auth.passwordMinLength")}),d.jsx(_t,{fullWidth:!0,label:Y("auth.confirmPassword"),type:"password",value:c,onChange:x=>u(x.target.value),margin:"normal",required:!0,autoComplete:"new-password",error:c!==""&&i!==c,helperText:c!==""&&i!==c?Y("auth.passwordMismatch"):""}),d.jsx(He,{type:"submit",variant:"contained",sx:{mt:2},disabled:p||!n||!i||!c,children:p?d.jsx(Et,{size:24}):Y("auth.changePassword")})]})]})})]})]})}function g1(e){const n=["B","KB","MB","GB","TB"];let o=0,i=e;for(;i>=1024&&o<n.length-1;)i/=1024,o++;return`${i.toFixed(1)} ${n[o]}`}function OL(e){const n=Math.floor(e/86400),o=Math.floor(e%86400/3600),i=Math.floor(e%3600/60);return n>0?`${n}d ${o}h ${i}m`:o>0?`${o}h ${i}m`:`${i}m`}function zL(){const[e,n]=v.useState(null),[o,i]=v.useState(null),[s,c]=v.useState(""),[u,p]=v.useState(!0),[m,g]=v.useState(!1),[y,b]=v.useState(!1),[w,T]=v.useState(""),[x,S]=v.useState(!1),[E,A]=v.useState(!1),[O,j]=v.useState({open:!1,message:"",severity:"info"}),[M,k]=v.useState(!1),[N,L]=v.useState(0),U=v.useCallback(async()=>{try{p(!0),T("");const[_,I,W]=await Promise.all([da.getVersion(),da.getInfo(),da.getUpdateLog()]);n(_.data.data),i(I.data.data),c(W.data.data.log)}catch(_){T(_.response?.data?.message||Y("errors.generic"))}finally{p(!1)}},[]);v.useEffect(()=>{U()},[U]);const $=async()=>{S(!1),g(!0),T("");try{const I=(await da.triggerUpdate()).data.data;I.success?(j({open:!0,message:I.message,severity:"success"}),I.message.includes("neu gestartet")&&await q()):j({open:!0,message:I.message,severity:"error"})}catch(_){j({open:!0,message:_.response?.data?.message||Y("errors.generic"),severity:"error"})}finally{g(!1)}},F=async()=>{A(!1),b(!0),T("");try{const I=(await da.triggerRestart()).data.data;I.success?(j({open:!0,message:I.message,severity:"info"}),await q()):j({open:!0,message:I.message,severity:"error"})}catch{j({open:!0,message:"Server startet neu...",severity:"info"}),await q()}finally{b(!1)}},q=async()=>{k(!0),L(0),await new Promise(I=>setTimeout(I,1500));const _=await da.waitForReconnect(30,2e3,(I,W)=>{L(Math.round(I/W*100))});k(!1),L(0),_?(j({open:!0,message:"Server erfolgreich neu gestartet!",severity:"success"}),U()):j({open:!0,message:"Server antwortet nicht - bitte Seite manuell neu laden",severity:"error"})},R=async()=>{try{await da.clearUpdateLog(),c("Kein Update-Log vorhanden"),j({open:!0,message:"Update-Log gelöscht",severity:"success"})}catch(_){j({open:!0,message:_.response?.data?.message||Y("errors.generic"),severity:"error"})}};return u?d.jsx(ue,{sx:{display:"flex",justifyContent:"center",py:4},children:d.jsx(Et,{})}):d.jsxs(ue,{children:[d.jsxs(ue,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:3},children:[d.jsxs(ue,{children:[d.jsx(ne,{variant:"h5",gutterBottom:!0,children:Y("system.title")}),d.jsx(ne,{variant:"body2",color:"text.secondary",children:Y("system.subtitle")})]}),d.jsx(no,{title:Y("common.refresh"),children:d.jsx(Vt,{onClick:U,disabled:u,children:d.jsx(Vd,{})})})]}),w&&d.jsx(zt,{severity:"error",sx:{mb:2},children:w}),M&&d.jsxs(zt,{severity:"info",sx:{mb:2},icon:d.jsx(Et,{size:20}),children:["Verbinde zum Server... (",N,"%)",d.jsx(zx,{variant:"determinate",value:N,sx:{mt:1}})]}),d.jsxs(ue,{sx:{display:"flex",flexDirection:"column",gap:3},children:[d.jsx(to,{children:d.jsxs(No,{children:[d.jsxs(ue,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[d.jsx(p1,{color:"primary"}),d.jsx(ne,{variant:"h6",children:Y("system.version")}),e?.updateAvailable&&d.jsx(Jt,{icon:d.jsx(lL,{}),label:Y("system.updateAvailable"),color:"warning",size:"small"})]}),d.jsx(Uo,{sx:{mb:2}}),d.jsxs(ue,{sx:{display:"grid",gridTemplateColumns:"1fr 2fr",gap:2,mb:3},children:[d.jsxs(ne,{variant:"body2",color:"text.secondary",children:[Y("system.currentVersion"),":"]}),d.jsxs(ue,{sx:{display:"flex",alignItems:"center",gap:1},children:[d.jsxs(ne,{variant:"body1",fontWeight:"medium",children:["v",e?.current||"?"]}),!e?.updateAvailable&&d.jsx(Jt,{icon:d.jsx(JD,{}),label:Y("system.upToDate"),color:"success",size:"small"})]}),d.jsxs(ne,{variant:"body2",color:"text.secondary",children:[Y("system.latestVersion"),":"]}),d.jsxs(ne,{variant:"body1",children:["v",e?.latest||"?"]}),d.jsxs(ne,{variant:"body2",color:"text.secondary",children:[Y("system.lastChecked"),":"]}),d.jsx(ne,{variant:"body1",children:e?.lastChecked?new Date(e.lastChecked).toLocaleString("de-DE"):"-"})]}),d.jsxs(ue,{sx:{display:"flex",gap:2},children:[d.jsx(He,{variant:"contained",startIcon:m?d.jsx(Et,{size:20}):d.jsx(p1,{}),onClick:()=>S(!0),disabled:m||y||M||!e?.updateAvailable,children:Y("system.update")}),d.jsx(He,{variant:"outlined",startIcon:y?d.jsx(Et,{size:20}):d.jsx(uL,{}),onClick:()=>A(!0),disabled:m||y||M,children:Y("system.restart")})]})]})}),d.jsx(to,{children:d.jsxs(No,{children:[d.jsxs(ue,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[d.jsx(eL,{color:"primary"}),d.jsx(ne,{variant:"h6",children:Y("system.info")})]}),d.jsx(Uo,{sx:{mb:2}}),d.jsxs(ue,{sx:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:3},children:[d.jsxs(ue,{children:[d.jsxs(ue,{sx:{display:"flex",alignItems:"center",gap:1,mb:1},children:[d.jsx(WC,{fontSize:"small",color:"action"}),d.jsx(ne,{variant:"body2",color:"text.secondary",children:Y("system.uptime")})]}),d.jsx(ne,{variant:"h6",children:o?OL(o.uptime):"-"})]}),d.jsxs(ue,{children:[d.jsxs(ue,{sx:{display:"flex",alignItems:"center",gap:1,mb:1},children:[d.jsx(sL,{fontSize:"small",color:"action"}),d.jsx(ne,{variant:"body2",color:"text.secondary",children:Y("system.memory")})]}),d.jsx(ne,{variant:"h6",children:o?`${g1(o.memoryUsage.used)} / ${g1(o.memoryUsage.total)}`:"-"}),o&&d.jsx(zx,{variant:"determinate",value:o.memoryUsage.percentage,color:o.memoryUsage.percentage>80?"error":"primary",sx:{mt:1}})]}),d.jsxs(ue,{children:[d.jsx(ne,{variant:"body2",color:"text.secondary",gutterBottom:!0,children:"Node.js"}),d.jsx(ne,{variant:"body1",children:o?.nodeVersion||"-"})]}),d.jsxs(ue,{children:[d.jsx(ne,{variant:"body2",color:"text.secondary",gutterBottom:!0,children:Y("system.platform")}),d.jsx(ne,{variant:"body1",children:o?`${o.platform} (${o.arch})`:"-"})]}),d.jsxs(ue,{children:[d.jsx(ne,{variant:"body2",color:"text.secondary",gutterBottom:!0,children:"Hostname"}),d.jsx(ne,{variant:"body1",children:o?.hostname||"-"})]}),d.jsxs(ue,{children:[d.jsx(ne,{variant:"body2",color:"text.secondary",gutterBottom:!0,children:"Process ID"}),d.jsx(ne,{variant:"body1",children:o?`${o.pid} (Parent: ${o.ppid})`:"-"})]})]})]})}),d.jsxs(a5,{children:[d.jsx(M5,{expandIcon:d.jsx(nL,{}),children:d.jsx(ne,{children:Y("system.updateLog")})}),d.jsxs(c5,{children:[d.jsx(ue,{sx:{bgcolor:"grey.900",p:2,borderRadius:1,fontFamily:"monospace",fontSize:"0.85rem",whiteSpace:"pre-wrap",wordBreak:"break-all",maxHeight:400,overflow:"auto"},children:s||"Kein Update-Log vorhanden"}),d.jsx(ue,{sx:{mt:2,display:"flex",justifyContent:"flex-end"},children:d.jsx(He,{size:"small",onClick:R,children:Y("system.clearLog")})})]})]})]}),d.jsxs(oo,{open:x,onClose:()=>S(!1),children:[d.jsx(so,{children:Y("system.confirmUpdate")}),d.jsx(io,{children:d.jsxs(em,{children:[Y("system.confirmUpdateText"),d.jsx("br",{}),d.jsx("br",{}),d.jsxs("strong",{children:[Y("system.currentVersion"),":"]})," v",e?.current,d.jsx("br",{}),d.jsxs("strong",{children:[Y("system.latestVersion"),":"]})," v",e?.latest]})}),d.jsxs(ao,{children:[d.jsx(He,{onClick:()=>S(!1),children:Y("common.cancel")}),d.jsx(He,{onClick:$,variant:"contained",color:"primary",children:Y("system.update")})]})]}),d.jsxs(oo,{open:E,onClose:()=>A(!1),children:[d.jsx(so,{children:Y("system.confirmRestart")}),d.jsx(io,{children:d.jsx(em,{children:Y("system.confirmRestartText")})}),d.jsxs(ao,{children:[d.jsx(He,{onClick:()=>A(!1),children:Y("common.cancel")}),d.jsx(He,{onClick:F,variant:"contained",color:"warning",children:Y("system.restart")})]})]}),d.jsx(Y6,{open:O.open,autoHideDuration:6e3,onClose:()=>j({...O,open:!1}),anchorOrigin:{vertical:"bottom",horizontal:"center"},children:d.jsx(zt,{onClose:()=>j({...O,open:!1}),severity:O.severity,action:d.jsx(Vt,{size:"small",color:"inherit",onClick:()=>j({...O,open:!1}),children:d.jsx(HC,{fontSize:"small"})}),children:O.message})})]})}function Ia(e){const{children:n,value:o,index:i,...s}=e;return d.jsx("div",{role:"tabpanel",hidden:o!==i,...s,children:o===i&&d.jsx(ue,{sx:{py:3},children:n})})}function BL(){const{user:e,logout:n}=fc(),o=ya(),i=Rr(),[s,c]=v.useState(0),[u,p]=v.useState(null),[m,g]=v.useState(!1),[y,b]=v.useState(!1),[w,T]=v.useState(0),[x,S]=v.useState(0),[E,A]=v.useState(null),[O,j]=v.useState(""),[M,k]=v.useState(""),[N,L]=v.useState(""),[U,$]=v.useState(""),[F,q]=v.useState(!1);v.useEffect(()=>{i.pathname==="/"||i.pathname===""?o("/jobs",{replace:!0}):i.pathname.startsWith("/jobs")?c(0):i.pathname.startsWith("/provider-auth")?c(1):i.pathname.startsWith("/admin/users")&&e?.role==="admin"?c(2):i.pathname.startsWith("/settings/api-keys")?c(e?.role==="admin"?3:2):i.pathname.startsWith("/settings/webhooks")?c(e?.role==="admin"?4:3):i.pathname.startsWith("/settings/profile")?c(e?.role==="admin"?5:4):i.pathname.startsWith("/settings/system")&&e?.role==="admin"?c(6):o("/jobs",{replace:!0})},[i.pathname,e?.role,o]);const R=Q=>{T(se=>se+1),o(`/jobs/${Q.id}`)},_=Q=>{A(Q.id),S(se=>se+1)},I=async Q=>{Q.preventDefault(),L(""),$(""),q(!0);try{await Cn.register({username:O,password:M}),$(Y("users.userCreated",{username:O})),j(""),k("")}catch(se){L(se.response?.data?.message||Y("users.createFailed"))}finally{q(!1)}},W=Q=>{p(Q.currentTarget)},B=()=>{p(null)},P=()=>{B(),o("/settings/profile")},X=()=>{B(),o("/settings/api-keys")},Z=()=>{B(),o("/settings/webhooks")},pe=()=>{B(),o("/settings/system")},D=()=>{B(),n()},H=[{label:Y("nav.jobs"),index:0},{label:Y("nav.providerAuth"),index:1},...e?.role==="admin"?[{label:Y("nav.userManagement"),index:2}]:[],{label:Y("nav.apiKeys"),index:e?.role==="admin"?3:2},{label:Y("nav.webhooks"),index:e?.role==="admin"?4:3},{label:Y("nav.profile"),index:e?.role==="admin"?5:4},...e?.role==="admin"?[{label:Y("nav.system"),index:6}]:[]];return d.jsxs(ue,{sx:{flexGrow:1,minHeight:"100vh",display:"flex",flexDirection:"column"},children:[d.jsx(u4,{position:"static",children:d.jsxs(BB,{children:[d.jsx(ne,{variant:"h6",component:"div",sx:{flexGrow:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:"LLM Dev Server"}),d.jsx(Vt,{size:"large",color:"inherit",onClick:W,sx:{ml:1},children:d.jsx(XD,{})}),d.jsxs(Ld,{anchorEl:u,open:!!u,onClose:B,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:[d.jsxs(ue,{sx:{px:2,py:1},children:[d.jsx(ne,{variant:"subtitle1",sx:{fontWeight:"bold"},children:e?.username}),d.jsx(ne,{variant:"body2",color:"text.secondary",children:e?.role==="admin"?Y("profile.roleAdmin"):Y("profile.roleUser")})]}),d.jsx(Uo,{}),d.jsxs(fa,{onClick:P,children:[d.jsx(Yi,{children:d.jsx(qC,{fontSize:"small"})}),d.jsx(Va,{children:Y("nav.profile")})]}),d.jsxs(fa,{onClick:X,children:[d.jsx(Yi,{children:d.jsx(gL,{fontSize:"small"})}),d.jsx(Va,{children:Y("nav.apiKeys")})]}),d.jsxs(fa,{onClick:Z,children:[d.jsx(Yi,{children:d.jsx(yL,{fontSize:"small"})}),d.jsx(Va,{children:Y("nav.webhooks")})]}),e?.role==="admin"&&d.jsxs(fa,{onClick:pe,children:[d.jsx(Yi,{children:d.jsx(pL,{fontSize:"small"})}),d.jsx(Va,{children:Y("nav.system")})]}),d.jsx(Uo,{}),d.jsxs(fa,{onClick:D,children:[d.jsx(Yi,{children:d.jsx(iL,{fontSize:"small"})}),d.jsx(Va,{children:Y("auth.logout")})]})]})]})}),d.jsx(YS,{maxWidth:"xl",sx:{mt:4,flex:1,pb:4},children:d.jsxs(Ft,{sx:{width:"100%",overflow:"hidden"},children:[d.jsx(hC,{value:s,onChange:(Q,se)=>{c(se),se===0?o("/jobs"):se===1?o("/provider-auth"):se===2&&e?.role==="admin"?o("/admin/users"):se===(e?.role==="admin"?3:2)?o("/settings/api-keys"):se===(e?.role==="admin"?4:3)?o("/settings/webhooks"):se===(e?.role==="admin"?5:4)?o("/settings/profile"):se===6&&e?.role==="admin"&&o("/settings/system")},"aria-label":"Dashboard Tabs",variant:"scrollable",scrollButtons:"auto",sx:{borderBottom:1,borderColor:"divider","& .MuiTab-root":{minWidth:"auto",px:3}},children:H.map(Q=>d.jsx(im,{label:Q.label},Q.index))}),d.jsx(Ia,{value:s,index:0,children:i.pathname==="/jobs"||i.pathname==="/jobs/"?d.jsx(bL,{onCreateJob:()=>g(!0)},`job-list-${w}`):i.pathname.startsWith("/jobs/")?d.jsx(CL,{onCreateConversation:()=>b(!0),initialConversationId:E||void 0},`job-detail-${x}`):null}),d.jsx(Ia,{value:s,index:1,children:d.jsx(vL,{})}),e?.role==="admin"&&d.jsxs(Ia,{value:s,index:2,children:[d.jsx(ne,{variant:"h5",gutterBottom:!0,children:Y("users.title")}),d.jsx(ne,{variant:"body2",color:"text.secondary",sx:{mb:3},children:Y("users.subtitle")}),N&&d.jsx(zt,{severity:"error",sx:{mb:2},children:N}),U&&d.jsx(zt,{severity:"success",sx:{mb:2},children:U}),d.jsxs(ue,{component:"form",onSubmit:I,sx:{maxWidth:400},children:[d.jsx(_t,{fullWidth:!0,label:Y("auth.username"),value:O,onChange:Q=>j(Q.target.value),margin:"normal",required:!0}),d.jsx(_t,{fullWidth:!0,label:Y("auth.password"),type:"password",value:M,onChange:Q=>k(Q.target.value),margin:"normal",required:!0,helperText:Y("auth.passwordMinLength")}),d.jsx(He,{type:"submit",variant:"contained",sx:{mt:2},disabled:F,children:F?d.jsx(Et,{size:24}):Y("users.createUser")})]})]}),d.jsx(Ia,{value:s,index:e?.role==="admin"?3:2,children:d.jsx(jL,{})}),d.jsx(Ia,{value:s,index:e?.role==="admin"?4:3,children:d.jsx(ML,{})}),d.jsx(Ia,{value:s,index:e?.role==="admin"?5:4,children:d.jsx(kL,{})}),e?.role==="admin"&&d.jsx(Ia,{value:s,index:6,children:d.jsx(zL,{})})]})}),d.jsx(TL,{open:m,onClose:()=>g(!1),onCreated:R}),i.pathname.startsWith("/jobs/")&&i.pathname.split("/").length>=3&&d.jsx(RL,{open:y,jobId:i.pathname.split("/")[2],onClose:()=>b(!1),onCreated:_})]})}const NL=jd({palette:{mode:"dark"}});function DL({children:e}){const{user:n,loading:o}=fc();return o?d.jsx("div",{children:"Loading..."}):n?d.jsx(d.Fragment,{children:e}):d.jsx(zh,{to:"/login"})}function LL(){const{user:e}=fc();return d.jsxs(dT,{children:[d.jsx(_u,{path:"/login",element:e?d.jsx(zh,{to:"/jobs"}):d.jsx(YD,{})}),d.jsx(_u,{path:"/*",element:d.jsx(DL,{children:d.jsx(BL,{})})}),d.jsx(_u,{path:"*",element:d.jsx(zh,{to:"/jobs"})})]})}function $L(){return d.jsxs(kM,{theme:NL,children:[d.jsx(GO,{}),d.jsx(ND,{children:d.jsx(DT,{children:d.jsx(LL,{})})})]})}hE.createRoot(document.getElementById("root")).render(d.jsx(Dr.StrictMode,{children:d.jsx($L,{})}));
|