/")+"/"),te(se,G,oe,"",function(Ce){return Ce})):se!=null&&($(se)&&(se=H(se,oe+(se.key==null||N&&N.key===se.key?"":(""+se.key).replace(z,"/")+"/")+Z)),G.push(se)),1;Z=0;var ge=ne===""?".":ne+":";if(A(N))for(var fe=0;fe>>1,N=U[ae];if(0>>1;aes(ne,J))ses(ce,ne)?(U[ae]=ce,U[se]=J,ae=se):(U[ae]=ne,U[oe]=J,ae=oe);else if(ses(ce,J))U[ae]=ce,U[se]=J,ae=se;else break e}}return Y}function s(U,Y){var J=U.sortIndex-Y.sortIndex;return J!==0?J:U.id-Y.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 f=Date,p=f.now();e.unstable_now=function(){return f.now()-p}}var h=[],m=[],g=1,v=null,y=3,T=!1,S=!1,w=!1,j=!1,C=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;function A(U){for(var Y=i(m);Y!==null;){if(Y.callback===null)o(m);else if(Y.startTime<=U)o(m),Y.sortIndex=Y.expirationTime,r(h,Y);else break;Y=i(m)}}function M(U){if(w=!1,A(U),!S)if(i(h)!==null)S=!0,k||(k=!0,P());else{var Y=i(m);Y!==null&&te(M,Y.startTime-U)}}var k=!1,B=-1,H=5,$=-1;function b(){return j?!0:!(e.unstable_now()-$U&&b());){var ae=v.callback;if(typeof ae=="function"){v.callback=null,y=v.priorityLevel;var N=ae(v.expirationTime<=U);if(U=e.unstable_now(),typeof N=="function"){v.callback=N,A(U),Y=!0;break t}v===i(h)&&o(h),A(U)}else o(h);v=i(h)}if(v!==null)Y=!0;else{var G=i(m);G!==null&&te(M,G.startTime-U),Y=!1}}break e}finally{v=null,y=J,T=!1}Y=void 0}}finally{Y?P():k=!1}}}var P;if(typeof O=="function")P=function(){O(z)};else if(typeof MessageChannel<"u"){var q=new MessageChannel,V=q.port2;q.port1.onmessage=z,P=function(){V.postMessage(null)}}else P=function(){C(z,0)};function te(U,Y){B=C(function(){U(e.unstable_now())},Y)}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(U){U.callback=null},e.unstable_forceFrameRate=function(U){0>U||125ae?(U.sortIndex=J,r(m,U),i(h)===null&&U===i(m)&&(w?(D(B),B=-1):w=!0,te(M,J-ae))):(U.sortIndex=N,r(h,U),S||T||(S=!0,k||(k=!0,P()))),U},e.unstable_shouldYield=b,e.unstable_wrapCallback=function(U){var Y=y;return function(){var J=y;y=Y;try{return U.apply(this,arguments)}finally{y=J}}}}(Gd)),Gd}var Ov;function G2(){return Ov||(Ov=1,Vd.exports=V2()),Vd.exports}var Qd={exports:{}},Qt={};/** * @license React * react-dom.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var jv;function Q2(){if(jv)return Qt;jv=1;var e=su();function r(h){var m="https://react.dev/errors/"+h;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(r){console.error(r)}}return e(),Qd.exports=Q2(),Qd.exports}/** * @license React * react-dom-client.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var zv;function Y2(){if(zv)return ul;zv=1;var e=G2(),r=su(),i=Rb();function o(t){var n="https://react.dev/errors/"+t;if(1N||(t.current=ae[N],ae[N]=null,N--)}function ne(t,n){N++,ae[N]=t.current,t.current=n}var se=G(null),ce=G(null),Z=G(null),ge=G(null);function fe(t,n){switch(ne(Z,n),ne(ce,t),ne(se,null),n.nodeType){case 9:case 11:t=(t=n.documentElement)&&(t=t.namespaceURI)?Zy(t):0;break;default:if(t=n.tagName,n=n.namespaceURI)n=Zy(n),t=Jy(n,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}oe(se),ne(se,t)}function Ce(){oe(se),oe(ce),oe(Z)}function He(t){t.memoizedState!==null&&ne(ge,t);var n=se.current,a=Jy(n,t.type);n!==a&&(ne(ce,t),ne(se,a))}function wt(t){ce.current===t&&(oe(se),oe(ce)),ge.current===t&&(oe(ge),al._currentValue=J)}var Tt=Object.prototype.hasOwnProperty,Bt=e.unstable_scheduleCallback,ct=e.unstable_cancelCallback,Pt=e.unstable_shouldYield,Jt=e.unstable_requestPaint,Be=e.unstable_now,St=e.unstable_getCurrentPriorityLevel,ot=e.unstable_ImmediatePriority,Kt=e.unstable_UserBlockingPriority,Vt=e.unstable_NormalPriority,be=e.unstable_LowPriority,fa=e.unstable_IdlePriority,da=e.log,ei=e.unstable_setDisableYieldValue,Rt=null,Oe=null;function ut(t){if(typeof da=="function"&&ei(t),Oe&&typeof Oe.setStrictMode=="function")try{Oe.setStrictMode(Rt,t)}catch{}}var lt=Math.clz32?Math.clz32:as,pa=Math.log,ti=Math.LN2;function as(t){return t>>>=0,t===0?32:31-(pa(t)/ti|0)|0}var ni=256,ha=4194304;function vn(t){var n=t&42;if(n!==0)return n;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:case 262144:case 524288:case 1048576:case 2097152:return t&4194048;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 ri(t,n,a){var l=t.pendingLanes;if(l===0)return 0;var u=0,d=t.suspendedLanes,x=t.pingedLanes;t=t.warmLanes;var _=l&134217727;return _!==0?(l=_&~d,l!==0?u=vn(l):(x&=_,x!==0?u=vn(x):a||(a=_&~t,a!==0&&(u=vn(a))))):(_=l&~d,_!==0?u=vn(_):x!==0?u=vn(x):a||(a=l&~t,a!==0&&(u=vn(a)))),u===0?0:n!==0&&n!==u&&(n&d)===0&&(d=u&-u,a=n&-n,d>=a||d===32&&(a&4194048)!==0)?n:u}function ma(t,n){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&n)===0}function is(t,n){switch(t){case 1:case 2:case 4:case 8:case 64:return n+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 n+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 ga(){var t=ni;return ni<<=1,(ni&4194048)===0&&(ni=256),t}function os(){var t=ha;return ha<<=1,(ha&62914560)===0&&(ha=4194304),t}function fo(t){for(var n=[],a=0;31>a;a++)n.push(t);return n}function rr(t,n){t.pendingLanes|=n,n!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Du(t,n,a,l,u,d){var x=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 _=t.entanglements,L=t.expirationTimes,K=t.hiddenUpdates;for(a=x&~a;0)":-1u||L[l]!==K[u]){var re=` `+L[l].replace(" at new "," at ");return t.displayName&&re.includes("")&&(re=re.replace("",t.displayName)),re}while(1<=l&&0<=u);break}}}finally{$u=!1,Error.prepareStackTrace=a}return(a=t?t.displayName||t.name:"")?si(a):""}function kS(t){switch(t.tag){case 26:case 27:case 5:return si(t.type);case 16:return si("Lazy");case 13:return si("Suspense");case 19:return si("SuspenseList");case 0:case 15:return Bu(t.type,!1);case 11:return Bu(t.type.render,!1);case 1:return Bu(t.type,!0);case 31:return si("Activity");default:return""}}function Gh(t){try{var n="";do n+=kS(t),t=t.return;while(t);return n}catch(a){return` Error generating stack: `+a.message+` `+a.stack}}function bn(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Qh(t){var n=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function $S(t){var n=Qh(t)?"checked":"value",a=Object.getOwnPropertyDescriptor(t.constructor.prototype,n),l=""+t[n];if(!t.hasOwnProperty(n)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var u=a.get,d=a.set;return Object.defineProperty(t,n,{configurable:!0,get:function(){return u.call(this)},set:function(x){l=""+x,d.call(this,x)}}),Object.defineProperty(t,n,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(x){l=""+x},stopTracking:function(){t._valueTracker=null,delete t[n]}}}}function ds(t){t._valueTracker||(t._valueTracker=$S(t))}function Yh(t){if(!t)return!1;var n=t._valueTracker;if(!n)return!0;var a=n.getValue(),l="";return t&&(l=Qh(t)?t.checked?"true":"false":t.value),t=l,t!==a?(n.setValue(t),!0):!1}function ps(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 BS=/[\n"\\]/g;function Sn(t){return t.replace(BS,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function Pu(t,n,a,l,u,d,x,_){t.name="",x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?t.type=x:t.removeAttribute("type"),n!=null?x==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+bn(n)):t.value!==""+bn(n)&&(t.value=""+bn(n)):x!=="submit"&&x!=="reset"||t.removeAttribute("value"),n!=null?Lu(t,x,bn(n)):a!=null?Lu(t,x,bn(a)):l!=null&&t.removeAttribute("value"),u==null&&d!=null&&(t.defaultChecked=!!d),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?t.name=""+bn(_):t.removeAttribute("name")}function Kh(t,n,a,l,u,d,x,_){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(t.type=d),n!=null||a!=null){if(!(d!=="submit"&&d!=="reset"||n!=null))return;a=a!=null?""+bn(a):"",n=n!=null?""+bn(n):a,_||n===t.value||(t.value=n),t.defaultValue=n}l=l??u,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=_?t.checked:!!l,t.defaultChecked=!!l,x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&(t.name=x)}function Lu(t,n,a){n==="number"&&ps(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function ci(t,n,a,l){if(t=t.options,n){n={};for(var u=0;u"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fu=!1;if(lr)try{var vo={};Object.defineProperty(vo,"passive",{get:function(){Fu=!0}}),window.addEventListener("test",vo,vo),window.removeEventListener("test",vo,vo)}catch{Fu=!1}var zr=null,Vu=null,ms=null;function nm(){if(ms)return ms;var t,n=Vu,a=n.length,l,u="value"in zr?zr.value:zr.textContent,d=u.length;for(t=0;t=xo),sm=" ",cm=!1;function um(t,n){switch(t){case"keyup":return fx.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fm(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var pi=!1;function px(t,n){switch(t){case"compositionend":return fm(n);case"keypress":return n.which!==32?null:(cm=!0,sm);case"textInput":return t=n.data,t===sm&&cm?null:t;default:return null}}function hx(t,n){if(pi)return t==="compositionend"||!Xu&&um(t,n)?(t=nm(),ms=Vu=zr=null,pi=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:a,offset:n-t};t=l}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=bm(a)}}function xm(t,n){return t&&n?t===n?!0:t&&t.nodeType===3?!1:n&&n.nodeType===3?xm(t,n.parentNode):"contains"in t?t.contains(n):t.compareDocumentPosition?!!(t.compareDocumentPosition(n)&16):!1:!1}function Cm(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var n=ps(t.document);n instanceof t.HTMLIFrameElement;){try{var a=typeof n.contentWindow.location.href=="string"}catch{a=!1}if(a)t=n.contentWindow;else break;n=ps(t.document)}return n}function Ju(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n&&(n==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||n==="textarea"||t.contentEditable==="true")}var Cx=lr&&"documentMode"in document&&11>=document.documentMode,hi=null,ef=null,To=null,tf=!1;function Em(t,n,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;tf||hi==null||hi!==ps(l)||(l=hi,"selectionStart"in l&&Ju(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}),To&&wo(To,l)||(To=l,l=ic(ef,"onSelect"),0>=x,u-=x,cr=1<<32-lt(n)+u|a<d?d:8;var x=U.T,_={};U.T=_,Hf(t,!1,n,a);try{var L=u(),K=U.S;if(K!==null&&K(_,L),L!==null&&typeof L=="object"&&typeof L.then=="function"){var re=_x(L,l);Uo(t,n,re,pn(t))}else Uo(t,n,l,pn(t))}catch(le){Uo(t,n,{then:function(){},status:"rejected",reason:le},pn())}finally{Y.p=d,U.T=x}}function $x(){}function Lf(t,n,a,l){if(t.tag!==5)throw Error(o(476));var u=wg(t).queue;Eg(t,u,n,J,a===null?$x:function(){return Tg(t),a(l)})}function wg(t){var n=t.memoizedState;if(n!==null)return n;n={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:pr,lastRenderedState:J},next:null};var a={};return n.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:pr,lastRenderedState:a},next:null},t.memoizedState=n,t=t.alternate,t!==null&&(t.memoizedState=n),n}function Tg(t){var n=wg(t).next.queue;Uo(t,n,{},pn())}function Uf(){return Gt(al)}function Rg(){return Mt().memoizedState}function Ag(){return Mt().memoizedState}function Bx(t){for(var n=t.return;n!==null;){switch(n.tag){case 24:case 3:var a=pn();t=kr(a);var l=$r(n,t,a);l!==null&&(hn(l,n,a),No(l,n,a)),n={cache:gf()},t.payload=n;return}n=n.return}}function Px(t,n,a){var l=pn();a={lane:l,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},Ls(t)?Og(n,a):(a=of(t,n,a,l),a!==null&&(hn(a,t,l),jg(a,n,l)))}function Mg(t,n,a){var l=pn();Uo(t,n,a,l)}function Uo(t,n,a,l){var u={lane:l,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(Ls(t))Og(n,u);else{var d=t.alternate;if(t.lanes===0&&(d===null||d.lanes===0)&&(d=n.lastRenderedReducer,d!==null))try{var x=n.lastRenderedState,_=d(x,a);if(u.hasEagerState=!0,u.eagerState=_,sn(_,x))return Cs(t,n,u,0),st===null&&xs(),!1}catch{}finally{}if(a=of(t,n,u,l),a!==null)return hn(a,t,l),jg(a,n,l),!0}return!1}function Hf(t,n,a,l){if(l={lane:2,revertLane:bd(),action:l,hasEagerState:!1,eagerState:null,next:null},Ls(t)){if(n)throw Error(o(479))}else n=of(t,a,l,2),n!==null&&hn(n,t,2)}function Ls(t){var n=t.alternate;return t===Ae||n!==null&&n===Ae}function Og(t,n){wi=Ds=!0;var a=t.pending;a===null?n.next=n:(n.next=a.next,a.next=n),t.pending=n}function jg(t,n,a){if((a&4194048)!==0){var l=n.lanes;l&=t.pendingLanes,a|=l,n.lanes=a,ss(t,a)}}var Us={readContext:Gt,use:ks,useCallback:xt,useContext:xt,useEffect:xt,useImperativeHandle:xt,useLayoutEffect:xt,useInsertionEffect:xt,useMemo:xt,useReducer:xt,useRef:xt,useState:xt,useDebugValue:xt,useDeferredValue:xt,useTransition:xt,useSyncExternalStore:xt,useId:xt,useHostTransitionStatus:xt,useFormState:xt,useActionState:xt,useOptimistic:xt,useMemoCache:xt,useCacheRefresh:xt},_g={readContext:Gt,use:ks,useCallback:function(t,n){return nn().memoizedState=[t,n===void 0?null:n],t},useContext:Gt,useEffect:hg,useImperativeHandle:function(t,n,a){a=a!=null?a.concat([t]):null,Ps(4194308,4,vg.bind(null,n,t),a)},useLayoutEffect:function(t,n){return Ps(4194308,4,t,n)},useInsertionEffect:function(t,n){Ps(4,2,t,n)},useMemo:function(t,n){var a=nn();n=n===void 0?null:n;var l=t();if(ja){ut(!0);try{t()}finally{ut(!1)}}return a.memoizedState=[l,n],l},useReducer:function(t,n,a){var l=nn();if(a!==void 0){var u=a(n);if(ja){ut(!0);try{a(n)}finally{ut(!1)}}}else u=n;return l.memoizedState=l.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},l.queue=t,t=t.dispatch=Px.bind(null,Ae,t),[l.memoizedState,t]},useRef:function(t){var n=nn();return t={current:t},n.memoizedState=t},useState:function(t){t=kf(t);var n=t.queue,a=Mg.bind(null,Ae,n);return n.dispatch=a,[t.memoizedState,a]},useDebugValue:Bf,useDeferredValue:function(t,n){var a=nn();return Pf(a,t,n)},useTransition:function(){var t=kf(!1);return t=Eg.bind(null,Ae,t.queue,!0,!1),nn().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,n,a){var l=Ae,u=nn();if(qe){if(a===void 0)throw Error(o(407));a=a()}else{if(a=n(),st===null)throw Error(o(349));(Ne&124)!==0||Zm(l,n,a)}u.memoizedState=a;var d={value:a,getSnapshot:n};return u.queue=d,hg(eg.bind(null,l,d,t),[t]),l.flags|=2048,Ri(9,Bs(),Jm.bind(null,l,d,a,n),null),a},useId:function(){var t=nn(),n=st.identifierPrefix;if(qe){var a=ur,l=cr;a=(l&~(1<<32-lt(l)-1)).toString(32)+a,n="«"+n+"R"+a,a=Ns++,0xe?($t=ye,ye=null):$t=ye.sibling;var Pe=X(F,ye,Q[xe],ie);if(Pe===null){ye===null&&(ye=$t);break}t&&ye&&Pe.alternate===null&&n(F,ye),I=d(Pe,I,xe),Me===null?pe=Pe:Me.sibling=Pe,Me=Pe,ye=$t}if(xe===Q.length)return a(F,ye),qe&&wa(F,xe),pe;if(ye===null){for(;xexe?($t=ye,ye=null):$t=ye.sibling;var Jr=X(F,ye,Pe.value,ie);if(Jr===null){ye===null&&(ye=$t);break}t&&ye&&Jr.alternate===null&&n(F,ye),I=d(Jr,I,xe),Me===null?pe=Jr:Me.sibling=Jr,Me=Jr,ye=$t}if(Pe.done)return a(F,ye),qe&&wa(F,xe),pe;if(ye===null){for(;!Pe.done;xe++,Pe=Q.next())Pe=le(F,Pe.value,ie),Pe!==null&&(I=d(Pe,I,xe),Me===null?pe=Pe:Me.sibling=Pe,Me=Pe);return qe&&wa(F,xe),pe}for(ye=l(ye);!Pe.done;xe++,Pe=Q.next())Pe=W(ye,F,xe,Pe.value,ie),Pe!==null&&(t&&Pe.alternate!==null&&ye.delete(Pe.key===null?xe:Pe.key),I=d(Pe,I,xe),Me===null?pe=Pe:Me.sibling=Pe,Me=Pe);return t&&ye.forEach(function(U2){return n(F,U2)}),qe&&wa(F,xe),pe}function Ze(F,I,Q,ie){if(typeof Q=="object"&&Q!==null&&Q.type===S&&Q.key===null&&(Q=Q.props.children),typeof Q=="object"&&Q!==null){switch(Q.$typeof){case y:e:{for(var pe=Q.key;I!==null;){if(I.key===pe){if(pe=Q.type,pe===S){if(I.tag===7){a(F,I.sibling),ie=u(I,Q.props.children),ie.return=F,F=ie;break e}}else if(I.elementType===pe||typeof pe=="object"&&pe!==null&&pe.$typeof===H&&Dg(pe)===I.type){a(F,I.sibling),ie=u(I,Q.props),qo(ie,Q),ie.return=F,F=ie;break e}a(F,I);break}else n(F,I);I=I.sibling}Q.type===S?(ie=Ca(Q.props.children,F.mode,ie,Q.key),ie.return=F,F=ie):(ie=ws(Q.type,Q.key,Q.props,null,F.mode,ie),qo(ie,Q),ie.return=F,F=ie)}return x(F);case T:e:{for(pe=Q.key;I!==null;){if(I.key===pe)if(I.tag===4&&I.stateNode.containerInfo===Q.containerInfo&&I.stateNode.implementation===Q.implementation){a(F,I.sibling),ie=u(I,Q.children||[]),ie.return=F,F=ie;break e}else{a(F,I);break}else n(F,I);I=I.sibling}ie=cf(Q,F.mode,ie),ie.return=F,F=ie}return x(F);case H:return pe=Q._init,Q=pe(Q._payload),Ze(F,I,Q,ie)}if(te(Q))return Ee(F,I,Q,ie);if(P(Q)){if(pe=P(Q),typeof pe!="function")throw Error(o(150));return Q=pe.call(Q),Se(F,I,Q,ie)}if(typeof Q.then=="function")return Ze(F,I,Hs(Q),ie);if(Q.$typeof===O)return Ze(F,I,Ms(F,Q),ie);qs(F,Q)}return typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint"?(Q=""+Q,I!==null&&I.tag===6?(a(F,I.sibling),ie=u(I,Q),ie.return=F,F=ie):(a(F,I),ie=sf(Q,F.mode,ie),ie.return=F,F=ie),x(F)):a(F,I)}return function(F,I,Q,ie){try{Ho=0;var pe=Ze(F,I,Q,ie);return Ai=null,pe}catch(ye){if(ye===zo||ye===js)throw ye;var Me=cn(29,ye,null,F.mode);return Me.lanes=ie,Me.return=F,Me}finally{}}}var Mi=Ng(!0),kg=Ng(!1),Tn=G(null),qn=null;function Pr(t){var n=t.alternate;ne(_t,_t.current&1),ne(Tn,t),qn===null&&(n===null||Ei.current!==null||n.memoizedState!==null)&&(qn=t)}function $g(t){if(t.tag===22){if(ne(_t,_t.current),ne(Tn,t),qn===null){var n=t.alternate;n!==null&&n.memoizedState!==null&&(qn=t)}}else Lr()}function Lr(){ne(_t,_t.current),ne(Tn,Tn.current)}function hr(t){oe(Tn),qn===t&&(qn=null),oe(_t)}var _t=G(0);function Is(t){for(var n=t;n!==null;){if(n.tag===13){var a=n.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||_d(a)))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}function qf(t,n,a,l){n=t.memoizedState,a=a(l,n),a=a==null?n:g({},n,a),t.memoizedState=a,t.lanes===0&&(t.updateQueue.baseState=a)}var If={enqueueSetState:function(t,n,a){t=t._reactInternals;var l=pn(),u=kr(l);u.payload=n,a!=null&&(u.callback=a),n=$r(t,u,l),n!==null&&(hn(n,t,l),No(n,t,l))},enqueueReplaceState:function(t,n,a){t=t._reactInternals;var l=pn(),u=kr(l);u.tag=1,u.payload=n,a!=null&&(u.callback=a),n=$r(t,u,l),n!==null&&(hn(n,t,l),No(n,t,l))},enqueueForceUpdate:function(t,n){t=t._reactInternals;var a=pn(),l=kr(a);l.tag=2,n!=null&&(l.callback=n),n=$r(t,l,a),n!==null&&(hn(n,t,a),No(n,t,a))}};function Bg(t,n,a,l,u,d,x){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,d,x):n.prototype&&n.prototype.isPureReactComponent?!wo(a,l)||!wo(u,d):!0}function Pg(t,n,a,l){t=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(a,l),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(a,l),n.state!==t&&If.enqueueReplaceState(n,n.state,null)}function _a(t,n){var a=n;if("ref"in n){a={};for(var l in n)l!=="ref"&&(a[l]=n[l])}if(t=t.defaultProps){a===n&&(a=g({},a));for(var u in t)a[u]===void 0&&(a[u]=t[u])}return a}var Fs=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=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(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function Lg(t){Fs(t)}function Ug(t){console.error(t)}function Hg(t){Fs(t)}function Vs(t,n){try{var a=t.onUncaughtError;a(n.value,{componentStack:n.stack})}catch(l){setTimeout(function(){throw l})}}function qg(t,n,a){try{var l=t.onCaughtError;l(a.value,{componentStack:a.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function Ff(t,n,a){return a=kr(a),a.tag=3,a.payload={element:null},a.callback=function(){Vs(t,n)},a}function Ig(t){return t=kr(t),t.tag=3,t}function Fg(t,n,a,l){var u=a.type.getDerivedStateFromError;if(typeof u=="function"){var d=l.value;t.payload=function(){return u(d)},t.callback=function(){qg(n,a,l)}}var x=a.stateNode;x!==null&&typeof x.componentDidCatch=="function"&&(t.callback=function(){qg(n,a,l),typeof u!="function"&&(Vr===null?Vr=new Set([this]):Vr.add(this));var _=l.stack;this.componentDidCatch(l.value,{componentStack:_!==null?_:""})})}function Ux(t,n,a,l,u){if(a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(n=a.alternate,n!==null&&Oo(n,a,u,!0),a=Tn.current,a!==null){switch(a.tag){case 13:return qn===null?hd():a.alternate===null&&yt===0&&(yt=3),a.flags&=-257,a.flags|=65536,a.lanes=u,l===bf?a.flags|=16384:(n=a.updateQueue,n===null?a.updateQueue=new Set([l]):n.add(l),gd(t,l,u)),!1;case 22:return a.flags|=65536,l===bf?a.flags|=16384:(n=a.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([l])},a.updateQueue=n):(a=n.retryQueue,a===null?n.retryQueue=new Set([l]):a.add(l)),gd(t,l,u)),!1}throw Error(o(435,a.tag))}return gd(t,l,u),hd(),!1}if(qe)return n=Tn.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=u,l!==df&&(t=Error(o(422),{cause:l}),Mo(xn(t,a)))):(l!==df&&(n=Error(o(423),{cause:l}),Mo(xn(n,a))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,l=xn(l,a),u=Ff(t.stateNode,l,u),Cf(t,u),yt!==4&&(yt=2)),!1;var d=Error(o(520),{cause:l});if(d=xn(d,a),Ko===null?Ko=[d]:Ko.push(d),yt!==4&&(yt=2),n===null)return!0;l=xn(l,a),a=n;do{switch(a.tag){case 3:return a.flags|=65536,t=u&-u,a.lanes|=t,t=Ff(a.stateNode,l,t),Cf(a,t),!1;case 1:if(n=a.type,d=a.stateNode,(a.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(Vr===null||!Vr.has(d))))return a.flags|=65536,u&=-u,a.lanes|=u,u=Ig(u),Fg(u,t,a,l),Cf(a,u),!1}a=a.return}while(a!==null);return!1}var Vg=Error(o(461)),Nt=!1;function Lt(t,n,a,l){n.child=t===null?kg(n,null,a,l):Mi(n,t.child,a,l)}function Gg(t,n,a,l,u){a=a.render;var d=n.ref;if("ref"in l){var x={};for(var _ in l)_!=="ref"&&(x[_]=l[_])}else x=l;return Ma(n),l=Af(t,n,a,x,d,u),_=Mf(),t!==null&&!Nt?(Of(t,n,u),mr(t,n,u)):(qe&&_&&uf(n),n.flags|=1,Lt(t,n,l,u),n.child)}function Qg(t,n,a,l,u){if(t===null){var d=a.type;return typeof d=="function"&&!lf(d)&&d.defaultProps===void 0&&a.compare===null?(n.tag=15,n.type=d,Yg(t,n,d,l,u)):(t=ws(a.type,null,l,n,n.mode,u),t.ref=n.ref,t.return=n,n.child=t)}if(d=t.child,!Zf(t,u)){var x=d.memoizedProps;if(a=a.compare,a=a!==null?a:wo,a(x,l)&&t.ref===n.ref)return mr(t,n,u)}return n.flags|=1,t=sr(d,l),t.ref=n.ref,t.return=n,n.child=t}function Yg(t,n,a,l,u){if(t!==null){var d=t.memoizedProps;if(wo(d,l)&&t.ref===n.ref)if(Nt=!1,n.pendingProps=l=d,Zf(t,u))(t.flags&131072)!==0&&(Nt=!0);else return n.lanes=t.lanes,mr(t,n,u)}return Vf(t,n,a,l,u)}function Kg(t,n,a){var l=n.pendingProps,u=l.children,d=t!==null?t.memoizedState:null;if(l.mode==="hidden"){if((n.flags&128)!==0){if(l=d!==null?d.baseLanes|a:a,t!==null){for(u=n.child=t.child,d=0;u!==null;)d=d|u.lanes|u.childLanes,u=u.sibling;n.childLanes=d&~l}else n.childLanes=0,n.child=null;return Xg(t,n,l,a)}if((a&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},t!==null&&Os(n,d!==null?d.cachePool:null),d!==null?Ym(n,d):wf(),$g(n);else return n.lanes=n.childLanes=536870912,Xg(t,n,d!==null?d.baseLanes|a:a,a)}else d!==null?(Os(n,d.cachePool),Ym(n,d),Lr(),n.memoizedState=null):(t!==null&&Os(n,null),wf(),Lr());return Lt(t,n,u,a),n.child}function Xg(t,n,a,l){var u=vf();return u=u===null?null:{parent:jt._currentValue,pool:u},n.memoizedState={baseLanes:a,cachePool:u},t!==null&&Os(n,null),wf(),$g(n),t!==null&&Oo(t,n,l,!0),null}function Gs(t,n){var a=n.ref;if(a===null)t!==null&&t.ref!==null&&(n.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(o(284));(t===null||t.ref!==a)&&(n.flags|=4194816)}}function Vf(t,n,a,l,u){return Ma(n),a=Af(t,n,a,l,void 0,u),l=Mf(),t!==null&&!Nt?(Of(t,n,u),mr(t,n,u)):(qe&&l&&uf(n),n.flags|=1,Lt(t,n,a,u),n.child)}function Wg(t,n,a,l,u,d){return Ma(n),n.updateQueue=null,a=Xm(n,l,a,u),Km(t),l=Mf(),t!==null&&!Nt?(Of(t,n,d),mr(t,n,d)):(qe&&l&&uf(n),n.flags|=1,Lt(t,n,a,d),n.child)}function Zg(t,n,a,l,u){if(Ma(n),n.stateNode===null){var d=vi,x=a.contextType;typeof x=="object"&&x!==null&&(d=Gt(x)),d=new a(l,d),n.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=If,n.stateNode=d,d._reactInternals=n,d=n.stateNode,d.props=l,d.state=n.memoizedState,d.refs={},Sf(n),x=a.contextType,d.context=typeof x=="object"&&x!==null?Gt(x):vi,d.state=n.memoizedState,x=a.getDerivedStateFromProps,typeof x=="function"&&(qf(n,a,x,l),d.state=n.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(x=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),x!==d.state&&If.enqueueReplaceState(d,d.state,null),$o(n,l,d,u),ko(),d.state=n.memoizedState),typeof d.componentDidMount=="function"&&(n.flags|=4194308),l=!0}else if(t===null){d=n.stateNode;var _=n.memoizedProps,L=_a(a,_);d.props=L;var K=d.context,re=a.contextType;x=vi,typeof re=="object"&&re!==null&&(x=Gt(re));var le=a.getDerivedStateFromProps;re=typeof le=="function"||typeof d.getSnapshotBeforeUpdate=="function",_=n.pendingProps!==_,re||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(_||K!==x)&&Pg(n,d,l,x),Nr=!1;var X=n.memoizedState;d.state=X,$o(n,l,d,u),ko(),K=n.memoizedState,_||X!==K||Nr?(typeof le=="function"&&(qf(n,a,le,l),K=n.memoizedState),(L=Nr||Bg(n,a,L,l,X,K,x))?(re||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(n.flags|=4194308)):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=l,n.memoizedState=K),d.props=l,d.state=K,d.context=x,l=L):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),l=!1)}else{d=n.stateNode,xf(t,n),x=n.memoizedProps,re=_a(a,x),d.props=re,le=n.pendingProps,X=d.context,K=a.contextType,L=vi,typeof K=="object"&&K!==null&&(L=Gt(K)),_=a.getDerivedStateFromProps,(K=typeof _=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(x!==le||X!==L)&&Pg(n,d,l,L),Nr=!1,X=n.memoizedState,d.state=X,$o(n,l,d,u),ko();var W=n.memoizedState;x!==le||X!==W||Nr||t!==null&&t.dependencies!==null&&As(t.dependencies)?(typeof _=="function"&&(qf(n,a,_,l),W=n.memoizedState),(re=Nr||Bg(n,a,re,l,X,W,L)||t!==null&&t.dependencies!==null&&As(t.dependencies))?(K||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(l,W,L),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(l,W,L)),typeof d.componentDidUpdate=="function"&&(n.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof d.componentDidUpdate!="function"||x===t.memoizedProps&&X===t.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||x===t.memoizedProps&&X===t.memoizedState||(n.flags|=1024),n.memoizedProps=l,n.memoizedState=W),d.props=l,d.state=W,d.context=L,l=re):(typeof d.componentDidUpdate!="function"||x===t.memoizedProps&&X===t.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||x===t.memoizedProps&&X===t.memoizedState||(n.flags|=1024),l=!1)}return d=l,Gs(t,n),l=(n.flags&128)!==0,d||l?(d=n.stateNode,a=l&&typeof a.getDerivedStateFromError!="function"?null:d.render(),n.flags|=1,t!==null&&l?(n.child=Mi(n,t.child,null,u),n.child=Mi(n,null,a,u)):Lt(t,n,a,u),n.memoizedState=d.state,t=n.child):t=mr(t,n,u),t}function Jg(t,n,a,l){return Ao(),n.flags|=256,Lt(t,n,a,l),n.child}var Gf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Qf(t){return{baseLanes:t,cachePool:Um()}}function Yf(t,n,a){return t=t!==null?t.childLanes&~a:0,n&&(t|=Rn),t}function ey(t,n,a){var l=n.pendingProps,u=!1,d=(n.flags&128)!==0,x;if((x=d)||(x=t!==null&&t.memoizedState===null?!1:(_t.current&2)!==0),x&&(u=!0,n.flags&=-129),x=(n.flags&32)!==0,n.flags&=-33,t===null){if(qe){if(u?Pr(n):Lr(),qe){var _=gt,L;if(L=_){e:{for(L=_,_=Hn;L.nodeType!==8;){if(!_){_=null;break e}if(L=Nn(L.nextSibling),L===null){_=null;break e}}_=L}_!==null?(n.memoizedState={dehydrated:_,treeContext:Ea!==null?{id:cr,overflow:ur}:null,retryLane:536870912,hydrationErrors:null},L=cn(18,null,null,0),L.stateNode=_,L.return=n,n.child=L,Xt=n,gt=null,L=!0):L=!1}L||Ra(n)}if(_=n.memoizedState,_!==null&&(_=_.dehydrated,_!==null))return _d(_)?n.lanes=32:n.lanes=536870912,null;hr(n)}return _=l.children,l=l.fallback,u?(Lr(),u=n.mode,_=Qs({mode:"hidden",children:_},u),l=Ca(l,u,a,null),_.return=n,l.return=n,_.sibling=l,n.child=_,u=n.child,u.memoizedState=Qf(a),u.childLanes=Yf(t,x,a),n.memoizedState=Gf,l):(Pr(n),Kf(n,_))}if(L=t.memoizedState,L!==null&&(_=L.dehydrated,_!==null)){if(d)n.flags&256?(Pr(n),n.flags&=-257,n=Xf(t,n,a)):n.memoizedState!==null?(Lr(),n.child=t.child,n.flags|=128,n=null):(Lr(),u=l.fallback,_=n.mode,l=Qs({mode:"visible",children:l.children},_),u=Ca(u,_,a,null),u.flags|=2,l.return=n,u.return=n,l.sibling=u,n.child=l,Mi(n,t.child,null,a),l=n.child,l.memoizedState=Qf(a),l.childLanes=Yf(t,x,a),n.memoizedState=Gf,n=u);else if(Pr(n),_d(_)){if(x=_.nextSibling&&_.nextSibling.dataset,x)var K=x.dgst;x=K,l=Error(o(419)),l.stack="",l.digest=x,Mo({value:l,source:null,stack:null}),n=Xf(t,n,a)}else if(Nt||Oo(t,n,a,!1),x=(a&t.childLanes)!==0,Nt||x){if(x=st,x!==null&&(l=a&-a,l=(l&42)!==0?1:po(l),l=(l&(x.suspendedLanes|a))!==0?0:l,l!==0&&l!==L.retryLane))throw L.retryLane=l,yi(t,l),hn(x,t,l),Vg;_.data==="$?"||hd(),n=Xf(t,n,a)}else _.data==="$?"?(n.flags|=192,n.child=t.child,n=null):(t=L.treeContext,gt=Nn(_.nextSibling),Xt=n,qe=!0,Ta=null,Hn=!1,t!==null&&(En[wn++]=cr,En[wn++]=ur,En[wn++]=Ea,cr=t.id,ur=t.overflow,Ea=n),n=Kf(n,l.children),n.flags|=4096);return n}return u?(Lr(),u=l.fallback,_=n.mode,L=t.child,K=L.sibling,l=sr(L,{mode:"hidden",children:l.children}),l.subtreeFlags=L.subtreeFlags&65011712,K!==null?u=sr(K,u):(u=Ca(u,_,a,null),u.flags|=2),u.return=n,l.return=n,l.sibling=u,n.child=l,l=u,u=n.child,_=t.child.memoizedState,_===null?_=Qf(a):(L=_.cachePool,L!==null?(K=jt._currentValue,L=L.parent!==K?{parent:K,pool:K}:L):L=Um(),_={baseLanes:_.baseLanes|a,cachePool:L}),u.memoizedState=_,u.childLanes=Yf(t,x,a),n.memoizedState=Gf,l):(Pr(n),a=t.child,t=a.sibling,a=sr(a,{mode:"visible",children:l.children}),a.return=n,a.sibling=null,t!==null&&(x=n.deletions,x===null?(n.deletions=[t],n.flags|=16):x.push(t)),n.child=a,n.memoizedState=null,a)}function Kf(t,n){return n=Qs({mode:"visible",children:n},t.mode),n.return=t,t.child=n}function Qs(t,n){return t=cn(22,t,null,n),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function Xf(t,n,a){return Mi(n,t.child,null,a),t=Kf(n,n.pendingProps.children),t.flags|=2,n.memoizedState=null,t}function ty(t,n,a){t.lanes|=n;var l=t.alternate;l!==null&&(l.lanes|=n),hf(t.return,n,a)}function Wf(t,n,a,l,u){var d=t.memoizedState;d===null?t.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:l,tail:a,tailMode:u}:(d.isBackwards=n,d.rendering=null,d.renderingStartTime=0,d.last=l,d.tail=a,d.tailMode=u)}function ny(t,n,a){var l=n.pendingProps,u=l.revealOrder,d=l.tail;if(Lt(t,n,l.children,a),l=_t.current,(l&2)!==0)l=l&1|2,n.flags|=128;else{if(t!==null&&(t.flags&128)!==0)e:for(t=n.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&ty(t,a,n);else if(t.tag===19)ty(t,a,n);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break e;for(;t.sibling===null;){if(t.return===null||t.return===n)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}l&=1}switch(ne(_t,l),u){case"forwards":for(a=n.child,u=null;a!==null;)t=a.alternate,t!==null&&Is(t)===null&&(u=a),a=a.sibling;a=u,a===null?(u=n.child,n.child=null):(u=a.sibling,a.sibling=null),Wf(n,!1,u,a,d);break;case"backwards":for(a=null,u=n.child,n.child=null;u!==null;){if(t=u.alternate,t!==null&&Is(t)===null){n.child=u;break}t=u.sibling,u.sibling=a,a=u,u=t}Wf(n,!0,a,null,d);break;case"together":Wf(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function mr(t,n,a){if(t!==null&&(n.dependencies=t.dependencies),Fr|=n.lanes,(a&n.childLanes)===0)if(t!==null){if(Oo(t,n,a,!1),(a&n.childLanes)===0)return null}else return null;if(t!==null&&n.child!==t.child)throw Error(o(153));if(n.child!==null){for(t=n.child,a=sr(t,t.pendingProps),n.child=a,a.return=n;t.sibling!==null;)t=t.sibling,a=a.sibling=sr(t,t.pendingProps),a.return=n;a.sibling=null}return n.child}function Zf(t,n){return(t.lanes&n)!==0?!0:(t=t.dependencies,!!(t!==null&&As(t)))}function Hx(t,n,a){switch(n.tag){case 3:fe(n,n.stateNode.containerInfo),Dr(n,jt,t.memoizedState.cache),Ao();break;case 27:case 5:He(n);break;case 4:fe(n,n.stateNode.containerInfo);break;case 10:Dr(n,n.type,n.memoizedProps.value);break;case 13:var l=n.memoizedState;if(l!==null)return l.dehydrated!==null?(Pr(n),n.flags|=128,null):(a&n.child.childLanes)!==0?ey(t,n,a):(Pr(n),t=mr(t,n,a),t!==null?t.sibling:null);Pr(n);break;case 19:var u=(t.flags&128)!==0;if(l=(a&n.childLanes)!==0,l||(Oo(t,n,a,!1),l=(a&n.childLanes)!==0),u){if(l)return ny(t,n,a);n.flags|=128}if(u=n.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),ne(_t,_t.current),l)break;return null;case 22:case 23:return n.lanes=0,Kg(t,n,a);case 24:Dr(n,jt,t.memoizedState.cache)}return mr(t,n,a)}function ry(t,n,a){if(t!==null)if(t.memoizedProps!==n.pendingProps)Nt=!0;else{if(!Zf(t,a)&&(n.flags&128)===0)return Nt=!1,Hx(t,n,a);Nt=(t.flags&131072)!==0}else Nt=!1,qe&&(n.flags&1048576)!==0&&Dm(n,Rs,n.index);switch(n.lanes=0,n.tag){case 16:e:{t=n.pendingProps;var l=n.elementType,u=l._init;if(l=u(l._payload),n.type=l,typeof l=="function")lf(l)?(t=_a(l,t),n.tag=1,n=Zg(null,n,l,t,a)):(n.tag=0,n=Vf(null,n,l,t,a));else{if(l!=null){if(u=l.$typeof,u===A){n.tag=11,n=Gg(null,n,l,t,a);break e}else if(u===B){n.tag=14,n=Qg(null,n,l,t,a);break e}}throw n=V(l)||l,Error(o(306,n,""))}}return n;case 0:return Vf(t,n,n.type,n.pendingProps,a);case 1:return l=n.type,u=_a(l,n.pendingProps),Zg(t,n,l,u,a);case 3:e:{if(fe(n,n.stateNode.containerInfo),t===null)throw Error(o(387));l=n.pendingProps;var d=n.memoizedState;u=d.element,xf(t,n),$o(n,l,null,a);var x=n.memoizedState;if(l=x.cache,Dr(n,jt,l),l!==d.cache&&mf(n,[jt],a,!0),ko(),l=x.element,d.isDehydrated)if(d={element:l,isDehydrated:!1,cache:x.cache},n.updateQueue.baseState=d,n.memoizedState=d,n.flags&256){n=Jg(t,n,l,a);break e}else if(l!==u){u=xn(Error(o(424)),n),Mo(u),n=Jg(t,n,l,a);break e}else{switch(t=n.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(gt=Nn(t.firstChild),Xt=n,qe=!0,Ta=null,Hn=!0,a=kg(n,null,l,a),n.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(Ao(),l===u){n=mr(t,n,a);break e}Lt(t,n,l,a)}n=n.child}return n;case 26:return Gs(t,n),t===null?(a=lv(n.type,null,n.pendingProps,null))?n.memoizedState=a:qe||(a=n.type,t=n.pendingProps,l=lc(Z.current).createElement(a),l[we]=n,l[Te]=t,Ht(l,a,t),Dt(l),n.stateNode=l):n.memoizedState=lv(n.type,t.memoizedProps,n.pendingProps,t.memoizedState),null;case 27:return He(n),t===null&&qe&&(l=n.stateNode=av(n.type,n.pendingProps,Z.current),Xt=n,Hn=!0,u=gt,Yr(n.type)?(zd=u,gt=Nn(l.firstChild)):gt=u),Lt(t,n,n.pendingProps.children,a),Gs(t,n),t===null&&(n.flags|=4194304),n.child;case 5:return t===null&&qe&&((u=l=gt)&&(l=m2(l,n.type,n.pendingProps,Hn),l!==null?(n.stateNode=l,Xt=n,gt=Nn(l.firstChild),Hn=!1,u=!0):u=!1),u||Ra(n)),He(n),u=n.type,d=n.pendingProps,x=t!==null?t.memoizedProps:null,l=d.children,Md(u,d)?l=null:x!==null&&Md(u,x)&&(n.flags|=32),n.memoizedState!==null&&(u=Af(t,n,Dx,null,null,a),al._currentValue=u),Gs(t,n),Lt(t,n,l,a),n.child;case 6:return t===null&&qe&&((t=a=gt)&&(a=g2(a,n.pendingProps,Hn),a!==null?(n.stateNode=a,Xt=n,gt=null,t=!0):t=!1),t||Ra(n)),null;case 13:return ey(t,n,a);case 4:return fe(n,n.stateNode.containerInfo),l=n.pendingProps,t===null?n.child=Mi(n,null,l,a):Lt(t,n,l,a),n.child;case 11:return Gg(t,n,n.type,n.pendingProps,a);case 7:return Lt(t,n,n.pendingProps,a),n.child;case 8:return Lt(t,n,n.pendingProps.children,a),n.child;case 12:return Lt(t,n,n.pendingProps.children,a),n.child;case 10:return l=n.pendingProps,Dr(n,n.type,l.value),Lt(t,n,l.children,a),n.child;case 9:return u=n.type._context,l=n.pendingProps.children,Ma(n),u=Gt(u),l=l(u),n.flags|=1,Lt(t,n,l,a),n.child;case 14:return Qg(t,n,n.type,n.pendingProps,a);case 15:return Yg(t,n,n.type,n.pendingProps,a);case 19:return ny(t,n,a);case 31:return l=n.pendingProps,a=n.mode,l={mode:l.mode,children:l.children},t===null?(a=Qs(l,a),a.ref=n.ref,n.child=a,a.return=n,n=a):(a=sr(t.child,l),a.ref=n.ref,n.child=a,a.return=n,n=a),n;case 22:return Kg(t,n,a);case 24:return Ma(n),l=Gt(jt),t===null?(u=vf(),u===null&&(u=st,d=gf(),u.pooledCache=d,d.refCount++,d!==null&&(u.pooledCacheLanes|=a),u=d),n.memoizedState={parent:l,cache:u},Sf(n),Dr(n,jt,u)):((t.lanes&a)!==0&&(xf(t,n),$o(n,null,null,a),ko()),u=t.memoizedState,d=n.memoizedState,u.parent!==l?(u={parent:l,cache:l},n.memoizedState=u,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=u),Dr(n,jt,l)):(l=d.cache,Dr(n,jt,l),l!==u.cache&&mf(n,[jt],a,!0))),Lt(t,n,n.pendingProps.children,a),n.child;case 29:throw n.pendingProps}throw Error(o(156,n.tag))}function gr(t){t.flags|=4}function ay(t,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!dv(n)){if(n=Tn.current,n!==null&&((Ne&4194048)===Ne?qn!==null:(Ne&62914560)!==Ne&&(Ne&536870912)===0||n!==qn))throw Do=bf,Hm;t.flags|=8192}}function Ys(t,n){n!==null&&(t.flags|=4),t.flags&16384&&(n=t.tag!==22?os():536870912,t.lanes|=n,zi|=n)}function Io(t,n){if(!qe)switch(t.tailMode){case"hidden":n=t.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.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?n||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function ht(t){var n=t.alternate!==null&&t.alternate.child===t.child,a=0,l=0;if(n)for(var u=t.child;u!==null;)a|=u.lanes|u.childLanes,l|=u.subtreeFlags&65011712,l|=u.flags&65011712,u.return=t,u=u.sibling;else for(u=t.child;u!==null;)a|=u.lanes|u.childLanes,l|=u.subtreeFlags,l|=u.flags,u.return=t,u=u.sibling;return t.subtreeFlags|=l,t.childLanes=a,n}function qx(t,n,a){var l=n.pendingProps;switch(ff(n),n.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ht(n),null;case 1:return ht(n),null;case 3:return a=n.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),n.memoizedState.cache!==l&&(n.flags|=2048),dr(jt),Ce(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(Ro(n)?gr(n):t===null||t.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,$m())),ht(n),null;case 26:return a=n.memoizedState,t===null?(gr(n),a!==null?(ht(n),ay(n,a)):(ht(n),n.flags&=-16777217)):a?a!==t.memoizedState?(gr(n),ht(n),ay(n,a)):(ht(n),n.flags&=-16777217):(t.memoizedProps!==l&&gr(n),ht(n),n.flags&=-16777217),null;case 27:wt(n),a=Z.current;var u=n.type;if(t!==null&&n.stateNode!=null)t.memoizedProps!==l&&gr(n);else{if(!l){if(n.stateNode===null)throw Error(o(166));return ht(n),null}t=se.current,Ro(n)?Nm(n):(t=av(u,l,a),n.stateNode=t,gr(n))}return ht(n),null;case 5:if(wt(n),a=n.type,t!==null&&n.stateNode!=null)t.memoizedProps!==l&&gr(n);else{if(!l){if(n.stateNode===null)throw Error(o(166));return ht(n),null}if(t=se.current,Ro(n))Nm(n);else{switch(u=lc(Z.current),t){case 1:t=u.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:t=u.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":t=u.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":t=u.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":t=u.createElement("div"),t.innerHTML="").toLowerCase()}),Vv=function(r,i){switch(r){case"animation":case"animationName":if(typeof i=="string")return i.replace(eE,function(o,s,c){return Kn={name:s,styles:c,next:Kn},s})}return ZC[r]!==1&&!qb(r)&&typeof i=="number"&&i!==0?i+"px":i};function _l(e,r,i){if(i==null)return"";var o=i;if(o.__emotion_styles!==void 0)return o;switch(typeof i){case"boolean":return"";case"object":{var s=i;if(s.anim===1)return Kn={name:s.name,styles:s.styles,next:Kn},s.name;var c=i;if(c.styles!==void 0){var f=c.next;if(f!==void 0)for(;f!==void 0;)Kn={name:f.name,styles:f.styles,next:Kn},f=f.next;var p=c.styles+";";return p}return tE(e,r,i)}case"function":{if(e!==void 0){var h=Kn,m=i(e);return Kn=h,_l(e,r,m)}break}}var g=i;if(r==null)return g;var v=r[g];return v!==void 0?v:g}function tE(e,r,i){var o="";if(Array.isArray(i))for(var s=0;s96?fE:dE},Xv=function(r,i,o){var s;if(i){var c=i.shouldForwardProp;s=r.__emotion_forwardProp&&c?function(f){return r.__emotion_forwardProp(f)&&c(f)}:c}return typeof s!="function"&&o&&(s=r.__emotion_forwardProp),s},pE=function(r){var i=r.cache,o=r.serialized,s=r.isStringTag;return rh(i,o,s),Fb(function(){return ah(i,o,s)}),null},hE=function e(r,i){var o=r.__emotion_real===r,s=o&&r.__emotion_base||r,c,f;i!==void 0&&(c=i.label,f=i.target);var p=Xv(r,i,o),h=p||Kv(s),m=!h("as");return function(){var g=arguments,v=o&&r.__emotion_styles!==void 0?r.__emotion_styles.slice(0):[];if(c!==void 0&&v.push("label:"+c+";"),g[0]==null||g[0].raw===void 0)v.push.apply(v,g);else{var y=g[0];v.push(y[0]);for(var T=g.length,S=1;S{const i=Ub(e);return i.sheet=new r({key:i.key,nonce:i.sheet.nonce,container:i.sheet.container,speedy:i.sheet.isSpeedy,prepend:i.sheet.prepend,insertionPoint:i.sheet.insertionPoint}),i};let ta;if(typeof document=="object"&&(ta=document.querySelector('[name="emotion-insertion-point"]'),!ta)){ta=document.createElement("meta"),ta.setAttribute("name","emotion-insertion-point"),ta.setAttribute("content","");const e=document.querySelector("head");e&&e.prepend(ta)}function yE(e,r){if(e||r){class i extends _b{insert(c,f){return this.key&&this.key.endsWith("global")&&(this.before=ta),super.insert(c,f)}}const o=gE({key:"css",insertionPoint:e?ta:void 0},i);if(r){const s=o.insert;o.insert=(...c)=>(c[1].styles.startsWith("@layer")||(c[1].styles=`@layer mui {${c[1].styles}}`),s(...c))}return o}}function vE(e){const{injectFirst:r,enableCssLayer:i,children:o}=e,s=R.useMemo(()=>{const c=`${r}-${i}`;if(Jd.has(c))return Jd.get(c);const f=yE(r,i);return Jd.set(c,f),f},[r,i]);return s?E.jsx(rE,{value:s,children:o}):o}function bE(e){return e==null||Object.keys(e).length===0}function Gb(e){const{styles:r,defaultTheme:i={}}=e,o=typeof r=="function"?s=>r(bE(s)?i:s):r;return E.jsx(sE,{styles:o})}function Qb(e,r){return Ep(e,r)}function SE(e,r){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=r(e.__emotion_styles))}const Wv=[];function Zv(e){return Wv[0]=e,ql(Wv)}var ep={exports:{}},Je={};/** * @license React * react-is.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Jv;function xE(){if(Jv)return Je;Jv=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),y=Symbol.for("react.view_transition"),T=Symbol.for("react.client.reference");function S(w){if(typeof w=="object"&&w!==null){var j=w.$typeof;switch(j){case e:switch(w=w.type,w){case i:case s:case o:case h:case m:case y:return w;default:switch(w=w&&w.$typeof,w){case f:case p:case v:case g:return w;case c:return w;default:return j}}case r:return j}}}return Je.ContextConsumer=c,Je.ContextProvider=f,Je.Element=e,Je.ForwardRef=p,Je.Fragment=i,Je.Lazy=v,Je.Memo=g,Je.Portal=r,Je.Profiler=s,Je.StrictMode=o,Je.Suspense=h,Je.SuspenseList=m,Je.isContextConsumer=function(w){return S(w)===c},Je.isContextProvider=function(w){return S(w)===f},Je.isElement=function(w){return typeof w=="object"&&w!==null&&w.$typeof===e},Je.isForwardRef=function(w){return S(w)===p},Je.isFragment=function(w){return S(w)===i},Je.isLazy=function(w){return S(w)===v},Je.isMemo=function(w){return S(w)===g},Je.isPortal=function(w){return S(w)===r},Je.isProfiler=function(w){return S(w)===s},Je.isStrictMode=function(w){return S(w)===o},Je.isSuspense=function(w){return S(w)===h},Je.isSuspenseList=function(w){return S(w)===m},Je.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===i||w===s||w===o||w===h||w===m||typeof w=="object"&&w!==null&&(w.$typeof===v||w.$typeof===g||w.$typeof===f||w.$typeof===c||w.$typeof===p||w.$typeof===T||w.getModuleId!==void 0)},Je.typeOf=S,Je}var e0;function CE(){return e0||(e0=1,ep.exports=xE()),ep.exports}var Yb=CE();function Xn(e){if(typeof e!="object"||e===null)return!1;const r=Object.getPrototypeOf(e);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Kb(e){if(R.isValidElement(e)||Yb.isValidElementType(e)||!Xn(e))return e;const r={};return Object.keys(e).forEach(i=>{r[i]=Kb(e[i])}),r}function Zt(e,r,i={clone:!0}){const o=i.clone?{...e}:e;return Xn(e)&&Xn(r)&&Object.keys(r).forEach(s=>{R.isValidElement(r[s])||Yb.isValidElementType(r[s])?o[s]=r[s]:Xn(r[s])&&Object.prototype.hasOwnProperty.call(e,s)&&Xn(e[s])?o[s]=Zt(e[s],r[s],i):i.clone?o[s]=Xn(r[s])?Kb(r[s]):r[s]:o[s]=r[s]}),o}const EE=e=>{const r=Object.keys(e).map(i=>({key:i,val:e[i]}))||[];return r.sort((i,o)=>i.val-o.val),r.reduce((i,o)=>({...i,[o.key]:o.val}),{})};function wE(e){const{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:i="px",step:o=5,...s}=e,c=EE(r),f=Object.keys(c);function p(y){return`@media (min-width:${typeof r[y]=="number"?r[y]:y}${i})`}function h(y){return`@media (max-width:${(typeof r[y]=="number"?r[y]:y)-o/100}${i})`}function m(y,T){const S=f.indexOf(T);return`@media (min-width:${typeof r[y]=="number"?r[y]:y}${i}) and (max-width:${(S!==-1&&typeof r[f[S]]=="number"?r[f[S]]:T)-o/100}${i})`}function g(y){return f.indexOf(y)+1o.startsWith("@container")).sort((o,s)=>{const c=/min-width:\s*([0-9.]+)/;return+(o.match(c)?.[1]||0)-+(s.match(c)?.[1]||0)});return i.length?i.reduce((o,s)=>{const c=r[s];return delete o[s],o[s]=c,o},{...r}):r}function RE(e,r){return r==="@"||r.startsWith("@")&&(e.some(i=>r.startsWith(`@${i}`))||!!r.match(/^@\d/))}function AE(e,r){const i=r.match(/^@([^/]+)?\/?(.+)?$/);if(!i)return null;const[,o,s]=i,c=Number.isNaN(+o)?o||0:+o;return e.containerQueries(s).up(c)}function ME(e){const r=(c,f)=>c.replace("@media",f?`@container ${f}`:"@container");function i(c,f){c.up=(...p)=>r(e.breakpoints.up(...p),f),c.down=(...p)=>r(e.breakpoints.down(...p),f),c.between=(...p)=>r(e.breakpoints.between(...p),f),c.only=(...p)=>r(e.breakpoints.only(...p),f),c.not=(...p)=>{const h=r(e.breakpoints.not(...p),f);return h.includes("not all and")?h.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):h}}const o={},s=c=>(i(o,c),o);return i(s),{...e,containerQueries:s}}const OE={borderRadius:4};function Tl(e,r){return r?Zt(e,r,{clone:!1}):e}const du={xs:0,sm:600,md:900,lg:1200,xl:1536},t0={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${du[e]}px)`},jE={containerQueries:e=>({up:r=>{let i=typeof r=="number"?r:du[r]||r;return typeof i=="number"&&(i=`${i}px`),e?`@container ${e} (min-width:${i})`:`@container (min-width:${i})`}})};function Pn(e,r,i){const o=e.theme||{};if(Array.isArray(r)){const c=o.breakpoints||t0;return r.reduce((f,p,h)=>(f[c.up(c.keys[h])]=i(r[h]),f),{})}if(typeof r=="object"){const c=o.breakpoints||t0;return Object.keys(r).reduce((f,p)=>{if(RE(c.keys,p)){const h=AE(o.containerQueries?o:jE,p);h&&(f[h]=i(r[p],p))}else if(Object.keys(c.values||du).includes(p)){const h=c.up(p);f[h]=i(r[p],p)}else{const h=p;f[h]=r[h]}return f},{})}return i(r)}function Xb(e={}){return e.keys?.reduce((i,o)=>{const s=e.up(o);return i[s]={},i},{})||{}}function Wb(e,r){return e.reduce((i,o)=>{const s=i[o];return(!s||Object.keys(s).length===0)&&delete i[o],i},r)}function _E(e,...r){const i=Xb(e),o=[i,...r].reduce((s,c)=>Zt(s,c),{});return Wb(Object.keys(i),o)}function zE(e,r){if(typeof e!="object")return{};const i={},o=Object.keys(r);return Array.isArray(e)?o.forEach((s,c)=>{c{e[s]!=null&&(i[s]=!0)}),i}function tp({values:e,breakpoints:r,base:i}){const o=i||zE(e,r),s=Object.keys(o);if(s.length===0)return e;let c;return s.reduce((f,p,h)=>(Array.isArray(e)?(f[p]=e[h]!=null?e[h]:e[c],c=h):typeof e=="object"?(f[p]=e[p]!=null?e[p]:e[c],c=p):f[p]=e,f),{})}function ue(e){if(typeof e!="string")throw new Error(qa(7));return e.charAt(0).toUpperCase()+e.slice(1)}function pu(e,r,i=!0){if(!r||typeof r!="string")return null;if(e&&e.vars&&i){const o=`vars.${r}`.split(".").reduce((s,c)=>s&&s[c]?s[c]:null,e);if(o!=null)return o}return r.split(".").reduce((o,s)=>o&&o[s]!=null?o[s]:null,e)}function Qc(e,r,i,o=i){let s;return typeof e=="function"?s=e(i):Array.isArray(e)?s=e[i]||o:s=pu(e,i)||o,r&&(s=r(s,o,e)),s}function Et(e){const{prop:r,cssProperty:i=e.prop,themeKey:o,transform:s}=e,c=f=>{if(f[r]==null)return null;const p=f[r],h=f.theme,m=pu(h,o)||{};return Pn(f,p,v=>{let y=Qc(m,s,v);return v===y&&typeof v=="string"&&(y=Qc(m,s,`${r}${v==="default"?"":ue(v)}`,v)),i===!1?y:{[i]:y}})};return c.propTypes={},c.filterProps=[r],c}function DE(e){const r={};return i=>(r[i]===void 0&&(r[i]=e(i)),r[i])}const NE={m:"margin",p:"padding"},kE={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},n0={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},$E=DE(e=>{if(e.length>2)if(n0[e])e=n0[e];else return[e];const[r,i]=e.split(""),o=NE[r],s=kE[i]||"";return Array.isArray(s)?s.map(c=>o+c):[o+s]}),lh=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],sh=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...lh,...sh];function Fl(e,r,i,o){const s=pu(e,r,!0)??i;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 f=Math.abs(c),p=s[f];return c>=0?p:typeof p=="number"?-p:typeof p=="string"&&p.startsWith("var(")?`calc(-1 * ${p})`:`-${p}`}:typeof s=="function"?s:()=>{}}function hu(e){return Fl(e,"spacing",8)}function Ia(e,r){return typeof r=="string"||r==null?r:e(r)}function BE(e,r){return i=>e.reduce((o,s)=>(o[s]=Ia(r,i),o),{})}function PE(e,r,i,o){if(!r.includes(i))return null;const s=$E(i),c=BE(s,o),f=e[i];return Pn(e,f,c)}function Zb(e,r){const i=hu(e.theme);return Object.keys(e).map(o=>PE(e,r,o,i)).reduce(Tl,{})}function vt(e){return Zb(e,lh)}vt.propTypes={};vt.filterProps=lh;function bt(e){return Zb(e,sh)}bt.propTypes={};bt.filterProps=sh;function Jb(e=8,r=hu({spacing:e})){if(e.mui)return e;const i=(...o)=>(o.length===0?[1]:o).map(c=>{const f=r(c);return typeof f=="number"?`${f}px`:f}).join(" ");return i.mui=!0,i}function mu(...e){const r=e.reduce((o,s)=>(s.filterProps.forEach(c=>{o[c]=s}),o),{}),i=o=>Object.keys(o).reduce((s,c)=>r[c]?Tl(s,r[c](o)):s,{});return i.propTypes={},i.filterProps=e.reduce((o,s)=>o.concat(s.filterProps),[]),i}function jn(e){return typeof e!="number"?e:`${e}px solid`}function _n(e,r){return Et({prop:e,themeKey:"borders",transform:r})}const LE=_n("border",jn),UE=_n("borderTop",jn),HE=_n("borderRight",jn),qE=_n("borderBottom",jn),IE=_n("borderLeft",jn),FE=_n("borderColor"),VE=_n("borderTopColor"),GE=_n("borderRightColor"),QE=_n("borderBottomColor"),YE=_n("borderLeftColor"),KE=_n("outline",jn),XE=_n("outlineColor"),gu=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const r=Fl(e.theme,"shape.borderRadius",4),i=o=>({borderRadius:Ia(r,o)});return Pn(e,e.borderRadius,i)}return null};gu.propTypes={};gu.filterProps=["borderRadius"];mu(LE,UE,HE,qE,IE,FE,VE,GE,QE,YE,gu,KE,XE);const yu=e=>{if(e.gap!==void 0&&e.gap!==null){const r=Fl(e.theme,"spacing",8),i=o=>({gap:Ia(r,o)});return Pn(e,e.gap,i)}return null};yu.propTypes={};yu.filterProps=["gap"];const vu=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const r=Fl(e.theme,"spacing",8),i=o=>({columnGap:Ia(r,o)});return Pn(e,e.columnGap,i)}return null};vu.propTypes={};vu.filterProps=["columnGap"];const bu=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const r=Fl(e.theme,"spacing",8),i=o=>({rowGap:Ia(r,o)});return Pn(e,e.rowGap,i)}return null};bu.propTypes={};bu.filterProps=["rowGap"];const WE=Et({prop:"gridColumn"}),ZE=Et({prop:"gridRow"}),JE=Et({prop:"gridAutoFlow"}),ew=Et({prop:"gridAutoColumns"}),tw=Et({prop:"gridAutoRows"}),nw=Et({prop:"gridTemplateColumns"}),rw=Et({prop:"gridTemplateRows"}),aw=Et({prop:"gridTemplateAreas"}),iw=Et({prop:"gridArea"});mu(yu,vu,bu,WE,ZE,JE,ew,tw,nw,rw,aw,iw);function Zi(e,r){return r==="grey"?r:e}const ow=Et({prop:"color",themeKey:"palette",transform:Zi}),lw=Et({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Zi}),sw=Et({prop:"backgroundColor",themeKey:"palette",transform:Zi});mu(ow,lw,sw);function mn(e){return e<=1&&e!==0?`${e*100}%`:e}const cw=Et({prop:"width",transform:mn}),ch=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const r=i=>{const o=e.theme?.breakpoints?.values?.[i]||du[i];return o?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:mn(i)}};return Pn(e,e.maxWidth,r)}return null};ch.filterProps=["maxWidth"];const uw=Et({prop:"minWidth",transform:mn}),fw=Et({prop:"height",transform:mn}),dw=Et({prop:"maxHeight",transform:mn}),pw=Et({prop:"minHeight",transform:mn});Et({prop:"size",cssProperty:"width",transform:mn});Et({prop:"size",cssProperty:"height",transform:mn});const hw=Et({prop:"boxSizing"});mu(cw,ch,uw,fw,dw,pw,hw);const Vl={border:{themeKey:"borders",transform:jn},borderTop:{themeKey:"borders",transform:jn},borderRight:{themeKey:"borders",transform:jn},borderBottom:{themeKey:"borders",transform:jn},borderLeft:{themeKey:"borders",transform:jn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:jn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:gu},color:{themeKey:"palette",transform:Zi},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Zi},backgroundColor:{themeKey:"palette",transform:Zi},p:{style:bt},pt:{style:bt},pr:{style:bt},pb:{style:bt},pl:{style:bt},px:{style:bt},py:{style:bt},padding:{style:bt},paddingTop:{style:bt},paddingRight:{style:bt},paddingBottom:{style:bt},paddingLeft:{style:bt},paddingX:{style:bt},paddingY:{style:bt},paddingInline:{style:bt},paddingInlineStart:{style:bt},paddingInlineEnd:{style:bt},paddingBlock:{style:bt},paddingBlockStart:{style:bt},paddingBlockEnd:{style:bt},m:{style:vt},mt:{style:vt},mr:{style:vt},mb:{style:vt},ml:{style:vt},mx:{style:vt},my:{style:vt},margin:{style:vt},marginTop:{style:vt},marginRight:{style:vt},marginBottom:{style:vt},marginLeft:{style:vt},marginX:{style:vt},marginY:{style:vt},marginInline:{style:vt},marginInlineStart:{style:vt},marginInlineEnd:{style:vt},marginBlock:{style:vt},marginBlockStart:{style:vt},marginBlockEnd:{style:vt},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:yu},rowGap:{style:bu},columnGap:{style:vu},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:mn},maxWidth:{style:ch},minWidth:{transform:mn},height:{transform:mn},maxHeight:{transform:mn},minHeight:{transform:mn},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 mw(...e){const r=e.reduce((o,s)=>o.concat(Object.keys(s)),[]),i=new Set(r);return e.every(o=>i.size===Object.keys(o).length)}function gw(e,r){return typeof e=="function"?e(r):e}function yw(){function e(i,o,s,c){const f={[i]:o,theme:s},p=c[i];if(!p)return{[i]:o};const{cssProperty:h=i,themeKey:m,transform:g,style:v}=p;if(o==null)return null;if(m==="typography"&&o==="inherit")return{[i]:o};const y=pu(s,m)||{};return v?v(f):Pn(f,o,S=>{let w=Qc(y,g,S);return S===w&&typeof S=="string"&&(w=Qc(y,g,`${i}${S==="default"?"":ue(S)}`,S)),h===!1?w:{[h]:w}})}function r(i){const{sx:o,theme:s={}}=i||{};if(!o)return null;const c=s.unstable_sxConfig??Vl;function f(p){let h=p;if(typeof p=="function")h=p(s);else if(typeof p!="object")return p;if(!h)return null;const m=Xb(s.breakpoints),g=Object.keys(m);let v=m;return Object.keys(h).forEach(y=>{const T=gw(h[y],s);if(T!=null)if(typeof T=="object")if(c[y])v=Tl(v,e(y,T,s,c));else{const S=Pn({theme:s},T,w=>({[y]:w}));mw(S,T)?v[y]=r({sx:T,theme:s}):v=Tl(v,S)}else v=Tl(v,e(y,T,s,c))}),TE(s,Wb(g,v))}return Array.isArray(o)?o.map(f):f(o)}return r}const ra=yw();ra.filterProps=["sx"];function vw(e,r){const i=this;if(i.vars){if(!i.colorSchemes?.[e]||typeof i.getColorSchemeSelector!="function")return{};let o=i.getColorSchemeSelector(e);return o==="&"?r:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:r})}return i.palette.mode===e?r:{}}function lo(e={},...r){const{breakpoints:i={},palette:o={},spacing:s,shape:c={},...f}=e,p=wE(i),h=Jb(s);let m=Zt({breakpoints:p,direction:"ltr",components:{},palette:{mode:"light",...o},spacing:h,shape:{...OE,...c}},f);return m=ME(m),m.applyStyles=vw,m=r.reduce((g,v)=>Zt(g,v),m),m.unstable_sxConfig={...Vl,...f?.unstable_sxConfig},m.unstable_sx=function(v){return ra({sx:v,theme:this})},m}function bw(e){return Object.keys(e).length===0}function e1(e=null){const r=R.useContext(Il);return!r||bw(r)?e:r}const Sw=lo();function Gl(e=Sw){return e1(e)}function xw({styles:e,themeId:r,defaultTheme:i={}}){const o=Gl(i),s=typeof e=="function"?e(r&&o[r]||o):e;return E.jsx(Gb,{styles:s})}const Cw=e=>{const r={systemProps:{},otherProps:{}},i=e?.theme?.unstable_sxConfig??Vl;return Object.keys(e).forEach(o=>{i[o]?r.systemProps[o]=e[o]:r.otherProps[o]=e[o]}),r};function Su(e){const{sx:r,...i}=e,{systemProps:o,otherProps:s}=Cw(i);let c;return Array.isArray(r)?c=[o,...r]:typeof r=="function"?c=(...f)=>{const p=r(...f);return Xn(p)?{...o,...p}:o}:c={...o,...r},{...s,sx:c}}const r0=e=>e,Ew=()=>{let e=r0;return{configure(r){e=r},generate(r){return e(r)},reset(){e=r0}}},t1=Ew();function n1(e){var r,i,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(r=0;rp!=="theme"&&p!=="sx"&&p!=="as"})(ra);return R.forwardRef(function(h,m){const g=Gl(i),{className:v,component:y="div",...T}=Su(h);return E.jsx(c,{as:y,ref:m,className:ve(v,s?s(o):o),theme:r&&g[r]||g,...T})})}const Tw={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 $e(e,r,i="Mui"){const o=Tw[r];return o?`${i}-${o}`:`${t1.generate(e)}-${r}`}function Ge(e,r,i="Mui"){const o={};return r.forEach(s=>{o[s]=$e(e,s,i)}),o}function r1(e){const{variants:r,...i}=e,o={variants:r,style:Zv(i),isProcessed:!0};return o.style===i||r&&r.forEach(s=>{typeof s.style!="function"&&(s.style=Zv(s.style))}),o}const Rw=lo();function np(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Aw(e){return e?(r,i)=>i[e]:null}function Mw(e,r,i){e.theme=jw(e.theme)?i:e.theme[r]||e.theme}function Uc(e,r){const i=typeof r=="function"?r(e):r;if(Array.isArray(i))return i.flatMap(o=>Uc(e,o));if(Array.isArray(i?.variants)){let o;if(i.isProcessed)o=i.style;else{const{variants:s,...c}=i;o=c}return a1(e,i.variants,[o])}return i?.isProcessed?i.style:i}function a1(e,r,i=[]){let o;e:for(let s=0;s{SE(p,M=>M.filter(k=>k!==ra));const{name:m,slot:g,skipVariantsResolver:v,skipSx:y,overridesResolver:T=Aw(zw(g)),...S}=h,w=v!==void 0?v:g&&g!=="Root"&&g!=="root"||!1,j=y||!1;let C=np;g==="Root"||g==="root"?C=o:g?C=s:_w(p)&&(C=void 0);const D=Qb(p,{shouldForwardProp:C,label:Ow(),...S}),O=M=>{if(M.__emotion_real===M)return M;if(typeof M=="function")return function(B){return Uc(B,M)};if(Xn(M)){const k=r1(M);return k.variants?function(H){return Uc(H,k)}:k.style}return M},A=(...M)=>{const k=[],B=M.map(O),H=[];if(k.push(c),m&&T&&H.push(function(P){const V=P.theme.components?.[m]?.styleOverrides;if(!V)return null;const te={};for(const U in V)te[U]=Uc(P,V[U]);return T(P,te)}),m&&!w&&H.push(function(P){const V=P.theme?.components?.[m]?.variants;return V?a1(P,V):null}),j||H.push(ra),Array.isArray(B[0])){const z=B.shift(),P=new Array(k.length).fill(""),q=new Array(H.length).fill("");let V;V=[...P,...z,...q],V.raw=[...P,...z.raw,...q],k.unshift(V)}const $=[...k,...B,...H],b=D(...$);return p.muiName&&(b.muiName=p.muiName),b};return D.withConfig&&(A.withConfig=D.withConfig),A}}function Ow(e,r){return void 0}function jw(e){for(const r in e)return!1;return!0}function _w(e){return typeof e=="string"&&e.charCodeAt(0)>96}function zw(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const uh=i1();function zl(e,r){const i={...r};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const s=o;if(s==="components"||s==="slots")i[s]={...e[s],...i[s]};else if(s==="componentsProps"||s==="slotProps"){const c=e[s],f=r[s];if(!f)i[s]=c||{};else if(!c)i[s]=f;else{i[s]={...f};for(const p in c)if(Object.prototype.hasOwnProperty.call(c,p)){const h=p;i[s][h]=zl(c[h],f[h])}}}else i[s]===void 0&&(i[s]=e[s])}return i}function Dw(e){const{theme:r,name:i,props:o}=e;return!r||!r.components||!r.components[i]||!r.components[i].defaultProps?o:zl(r.components[i].defaultProps,o)}function fh({props:e,name:r,defaultTheme:i,themeId:o}){let s=Gl(i);return o&&(s=s[o]||s),Dw({theme:s,name:r,props:e})}const dh=typeof window<"u"?R.useLayoutEffect:R.useEffect;function Nw(e,r=Number.MIN_SAFE_INTEGER,i=Number.MAX_SAFE_INTEGER){return Math.max(r,Math.min(e,i))}function ph(e,r=0,i=1){return Nw(e,r,i)}function kw(e){e=e.slice(1);const r=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let i=e.match(r);return i&&i[0].length===1&&(i=i.map(o=>o+o)),i?`rgb${i.length===4?"a":""}(${i.map((o,s)=>s<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function aa(e){if(e.type)return e;if(e.charAt(0)==="#")return aa(kw(e));const r=e.indexOf("("),i=e.substring(0,r);if(!["rgb","rgba","hsl","hsla","color"].includes(i))throw new Error(qa(9,e));let o=e.substring(r+1,e.length-1),s;if(i==="color"){if(o=o.split(" "),s=o.shift(),o.length===4&&o[3].charAt(0)==="/"&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(s))throw new Error(qa(10,s))}else o=o.split(",");return o=o.map(c=>parseFloat(c)),{type:i,values:o,colorSpace:s}}const $w=e=>{const r=aa(e);return r.values.slice(0,3).map((i,o)=>r.type.includes("hsl")&&o!==0?`${i}%`:i).join(" ")},Sl=(e,r)=>{try{return $w(e)}catch{return e}};function xu(e){const{type:r,colorSpace:i}=e;let{values:o}=e;return r.includes("rgb")?o=o.map((s,c)=>c<3?parseInt(s,10):s):r.includes("hsl")&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),r.includes("color")?o=`${i} ${o.join(" ")}`:o=`${o.join(", ")}`,`${r}(${o})`}function o1(e){e=aa(e);const{values:r}=e,i=r[0],o=r[1]/100,s=r[2]/100,c=o*Math.min(s,1-s),f=(m,g=(m+i/30)%12)=>s-c*Math.max(Math.min(g-3,9-g,1),-1);let p="rgb";const h=[Math.round(f(0)*255),Math.round(f(8)*255),Math.round(f(4)*255)];return e.type==="hsla"&&(p+="a",h.push(r[3])),xu({type:p,values:h})}function wp(e){e=aa(e);let r=e.type==="hsl"||e.type==="hsla"?aa(o1(e)).values:e.values;return r=r.map(i=>(e.type!=="color"&&(i/=255),i<=.03928?i/12.92:((i+.055)/1.055)**2.4)),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function Bw(e,r){const i=wp(e),o=wp(r);return(Math.max(i,o)+.05)/(Math.min(i,o)+.05)}function Ve(e,r){return e=aa(e),r=ph(r),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${r}`:e.values[3]=r,xu(e)}function xc(e,r,i){try{return Ve(e,r)}catch{return e}}function Fa(e,r){if(e=aa(e),r=ph(r),e.type.includes("hsl"))e.values[2]*=1-r;else if(e.type.includes("rgb")||e.type.includes("color"))for(let i=0;i<3;i+=1)e.values[i]*=1-r;return xu(e)}function rt(e,r,i){try{return Fa(e,r)}catch{return e}}function Va(e,r){if(e=aa(e),r=ph(r),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*r;else if(e.type.includes("rgb"))for(let i=0;i<3;i+=1)e.values[i]+=(255-e.values[i])*r;else if(e.type.includes("color"))for(let i=0;i<3;i+=1)e.values[i]+=(1-e.values[i])*r;return xu(e)}function at(e,r,i){try{return Va(e,r)}catch{return e}}function Pw(e,r=.15){return wp(e)>.5?Fa(e,r):Va(e,r)}function Cc(e,r,i){try{return Pw(e,r)}catch{return e}}const l1=R.createContext(null);function hh(){return R.useContext(l1)}const Lw=typeof Symbol=="function"&&Symbol.for,Uw=Lw?Symbol.for("mui.nested"):"__THEME_NESTED__";function Hw(e,r){return typeof r=="function"?r(e):{...e,...r}}function qw(e){const{children:r,theme:i}=e,o=hh(),s=R.useMemo(()=>{const c=o===null?{...i}:Hw(o,i);return c!=null&&(c[Uw]=o!==null),c},[i,o]);return E.jsx(l1.Provider,{value:s,children:r})}const s1=R.createContext();function Iw({value:e,...r}){return E.jsx(s1.Provider,{value:e??!0,...r})}const Cu=()=>R.useContext(s1)??!1,c1=R.createContext(void 0);function Fw({value:e,children:r}){return E.jsx(c1.Provider,{value:e,children:r})}function Vw(e){const{theme:r,name:i,props:o}=e;if(!r||!r.components||!r.components[i])return o;const s=r.components[i];return s.defaultProps?zl(s.defaultProps,o):!s.styleOverrides&&!s.variants?zl(s,o):o}function Gw({props:e,name:r}){const i=R.useContext(c1);return Vw({props:e,name:r,theme:{components:i}})}const a0={};function i0(e,r,i,o=!1){return R.useMemo(()=>{const s=e&&r[e]||r;if(typeof i=="function"){const c=i(s),f=e?{...r,[e]:c}:c;return o?()=>f:f}return e?{...r,[e]:i}:{...r,...i}},[e,r,i,o])}function u1(e){const{children:r,theme:i,themeId:o}=e,s=e1(a0),c=hh()||a0,f=i0(o,s,i),p=i0(o,c,i,!0),h=(o?f[o]:f).direction==="rtl";return E.jsx(qw,{theme:p,children:E.jsx(Il.Provider,{value:f,children:E.jsx(Iw,{value:h,children:E.jsx(Fw,{value:o?f[o].components:f.components,children:r})})})})}const o0={theme:void 0};function Qw(e){let r,i;return function(s){let c=r;return(c===void 0||s.theme!==i)&&(o0.theme=s.theme,c=r1(e(o0)),r=c,i=s.theme),c}}const mh="mode",gh="color-scheme",Yw="data-color-scheme";function Kw(e){const{defaultMode:r="system",defaultLightColorScheme:i="light",defaultDarkColorScheme:o="dark",modeStorageKey:s=mh,colorSchemeStorageKey:c=gh,attribute:f=Yw,colorSchemeNode:p="document.documentElement",nonce:h}=e||{};let m="",g=f;if(f==="class"&&(g=".%s"),f==="data"&&(g="[data-%s]"),g.startsWith(".")){const y=g.substring(1);m+=`${p}.classList.remove('${y}'.replace('%s', light), '${y}'.replace('%s', dark)); ${p}.classList.add('${y}'.replace('%s', colorScheme));`}const v=g.match(/\[([^\]]+)\]/);if(v){const[y,T]=v[1].split("=");T||(m+=`${p}.removeAttribute('${y}'.replace('%s', light)); ${p}.removeAttribute('${y}'.replace('%s', dark));`),m+=` ${p}.setAttribute('${y}'.replace('%s', colorScheme), ${T?`${T}.replace('%s', colorScheme)`:'""'});`}else m+=`${p}.setAttribute('${g}', colorScheme);`;return E.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?h:"",dangerouslySetInnerHTML:{__html:`(function() { try { let colorScheme = ''; const mode = localStorage.getItem('${s}') || '${r}'; const dark = localStorage.getItem('${c}-dark') || '${o}'; const light = localStorage.getItem('${c}-light') || '${i}'; if (mode === 'system') { // handle system mode const mql = window.matchMedia('(prefers-color-scheme: dark)'); if (mql.matches) { colorScheme = dark } else { colorScheme = light } } if (mode === 'light') { colorScheme = light; } if (mode === 'dark') { colorScheme = dark; } if (colorScheme) { ${m} } } catch(e){}})();`}},"mui-color-scheme-init")}function Xw(){}const Ww=({key:e,storageWindow:r})=>(!r&&typeof window<"u"&&(r=window),{get(i){if(typeof window>"u")return;if(!r)return i;let o;try{o=r.localStorage.getItem(e)}catch{}return o||i},set:i=>{if(r)try{r.localStorage.setItem(e,i)}catch{}},subscribe:i=>{if(!r)return Xw;const o=s=>{const c=s.newValue;s.key===e&&i(c)};return r.addEventListener("storage",o),()=>{r.removeEventListener("storage",o)}}});function rp(){}function l0(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function f1(e,r){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return r("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return r("dark")}function Zw(e){return f1(e,r=>{if(r==="light")return e.lightColorScheme;if(r==="dark")return e.darkColorScheme})}function Jw(e){const{defaultMode:r="light",defaultLightColorScheme:i,defaultDarkColorScheme:o,supportedColorSchemes:s=[],modeStorageKey:c=mh,colorSchemeStorageKey:f=gh,storageWindow:p=typeof window>"u"?void 0:window,storageManager:h=Ww,noSsr:m=!1}=e,g=s.join(","),v=s.length>1,y=R.useMemo(()=>h?.({key:c,storageWindow:p}),[h,c,p]),T=R.useMemo(()=>h?.({key:`${f}-light`,storageWindow:p}),[h,f,p]),S=R.useMemo(()=>h?.({key:`${f}-dark`,storageWindow:p}),[h,f,p]),[w,j]=R.useState(()=>{const H=y?.get(r)||r,$=T?.get(i)||i,b=S?.get(o)||o;return{mode:H,systemMode:l0(H),lightColorScheme:$,darkColorScheme:b}}),[C,D]=R.useState(m||!v);R.useEffect(()=>{D(!0)},[]);const O=Zw(w),A=R.useCallback(H=>{j($=>{if(H===$.mode)return $;const b=H??r;return y?.set(b),{...$,mode:b,systemMode:l0(b)}})},[y,r]),M=R.useCallback(H=>{H?typeof H=="string"?H&&!g.includes(H)?console.error(`\`${H}\` does not exist in \`theme.colorSchemes\`.`):j($=>{const b={...$};return f1($,z=>{z==="light"&&(T?.set(H),b.lightColorScheme=H),z==="dark"&&(S?.set(H),b.darkColorScheme=H)}),b}):j($=>{const b={...$},z=H.light===null?i:H.light,P=H.dark===null?o:H.dark;return z&&(g.includes(z)?(b.lightColorScheme=z,T?.set(z)):console.error(`\`${z}\` does not exist in \`theme.colorSchemes\`.`)),P&&(g.includes(P)?(b.darkColorScheme=P,S?.set(P)):console.error(`\`${P}\` does not exist in \`theme.colorSchemes\`.`)),b}):j($=>(T?.set(i),S?.set(o),{...$,lightColorScheme:i,darkColorScheme:o}))},[g,T,S,i,o]),k=R.useCallback(H=>{w.mode==="system"&&j($=>{const b=H?.matches?"dark":"light";return $.systemMode===b?$:{...$,systemMode:b}})},[w.mode]),B=R.useRef(k);return B.current=k,R.useEffect(()=>{if(typeof window.matchMedia!="function"||!v)return;const H=(...b)=>B.current(...b),$=window.matchMedia("(prefers-color-scheme: dark)");return $.addListener(H),H($),()=>{$.removeListener(H)}},[v]),R.useEffect(()=>{if(v){const H=y?.subscribe(z=>{(!z||["light","dark","system"].includes(z))&&A(z||r)})||rp,$=T?.subscribe(z=>{(!z||g.match(z))&&M({light:z})})||rp,b=S?.subscribe(z=>{(!z||g.match(z))&&M({dark:z})})||rp;return()=>{H(),$(),b()}}},[M,A,g,r,p,v,y,T,S]),{...w,mode:C?w.mode:void 0,systemMode:C?w.systemMode:void 0,colorScheme:C?O:void 0,setMode:A,setColorScheme:M}}const eT="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function tT(e){const{themeId:r,theme:i={},modeStorageKey:o=mh,colorSchemeStorageKey:s=gh,disableTransitionOnChange:c=!1,defaultColorScheme:f,resolveTheme:p}=e,h={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},m=R.createContext(void 0),g=()=>R.useContext(m)||h,v={},y={};function T(C){const{children:D,theme:O,modeStorageKey:A=o,colorSchemeStorageKey:M=s,disableTransitionOnChange:k=c,storageManager:B,storageWindow:H=typeof window>"u"?void 0:window,documentNode:$=typeof document>"u"?void 0:document,colorSchemeNode:b=typeof document>"u"?void 0:document.documentElement,disableNestedContext:z=!1,disableStyleSheetGeneration:P=!1,defaultMode:q="system",forceThemeRerender:V=!1,noSsr:te}=C,U=R.useRef(!1),Y=hh(),J=R.useContext(m),ae=!!J&&!z,N=R.useMemo(()=>O||(typeof i=="function"?i():i),[O]),G=N[r],oe=G||N,{colorSchemes:ne=v,components:se=y,cssVarPrefix:ce}=oe,Z=Object.keys(ne).filter(Rt=>!!ne[Rt]).join(","),ge=R.useMemo(()=>Z.split(","),[Z]),fe=typeof f=="string"?f:f.light,Ce=typeof f=="string"?f:f.dark,He=ne[fe]&&ne[Ce]?q:ne[oe.defaultColorScheme]?.palette?.mode||oe.palette?.mode,{mode:wt,setMode:Tt,systemMode:Bt,lightColorScheme:ct,darkColorScheme:Pt,colorScheme:Jt,setColorScheme:Be}=Jw({supportedColorSchemes:ge,defaultLightColorScheme:fe,defaultDarkColorScheme:Ce,modeStorageKey:A,colorSchemeStorageKey:M,defaultMode:He,storageManager:B,storageWindow:H,noSsr:te});let St=wt,ot=Jt;ae&&(St=J.mode,ot=J.colorScheme);let Kt=ot||oe.defaultColorScheme;oe.vars&&!V&&(Kt=oe.defaultColorScheme);const Vt=R.useMemo(()=>{const Rt=oe.generateThemeVars?.()||oe.vars,Oe={...oe,components:se,colorSchemes:ne,cssVarPrefix:ce,vars:Rt};if(typeof Oe.generateSpacing=="function"&&(Oe.spacing=Oe.generateSpacing()),Kt){const ut=ne[Kt];ut&&typeof ut=="object"&&Object.keys(ut).forEach(lt=>{ut[lt]&&typeof ut[lt]=="object"?Oe[lt]={...Oe[lt],...ut[lt]}:Oe[lt]=ut[lt]})}return p?p(Oe):Oe},[oe,Kt,se,ne,ce]),be=oe.colorSchemeSelector;dh(()=>{if(ot&&b&&be&&be!=="media"){const Rt=be;let Oe=be;if(Rt==="class"&&(Oe=".%s"),Rt==="data"&&(Oe="[data-%s]"),Rt?.startsWith("data-")&&!Rt.includes("%s")&&(Oe=`[${Rt}="%s"]`),Oe.startsWith("."))b.classList.remove(...ge.map(ut=>Oe.substring(1).replace("%s",ut))),b.classList.add(Oe.substring(1).replace("%s",ot));else{const ut=Oe.replace("%s",ot).match(/\[([^\]]+)\]/);if(ut){const[lt,pa]=ut[1].split("=");pa||ge.forEach(ti=>{b.removeAttribute(lt.replace(ot,ti))}),b.setAttribute(lt,pa?pa.replace(/"|'/g,""):"")}else b.setAttribute(Oe,ot)}}},[ot,be,b,ge]),R.useEffect(()=>{let Rt;if(k&&U.current&&$){const Oe=$.createElement("style");Oe.appendChild($.createTextNode(eT)),$.head.appendChild(Oe),window.getComputedStyle($.body),Rt=setTimeout(()=>{$.head.removeChild(Oe)},1)}return()=>{clearTimeout(Rt)}},[ot,k,$]),R.useEffect(()=>(U.current=!0,()=>{U.current=!1}),[]);const fa=R.useMemo(()=>({allColorSchemes:ge,colorScheme:ot,darkColorScheme:Pt,lightColorScheme:ct,mode:St,setColorScheme:Be,setMode:Tt,systemMode:Bt}),[ge,ot,Pt,ct,St,Be,Tt,Bt,Vt.colorSchemeSelector]);let da=!0;(P||oe.cssVariables===!1||ae&&Y?.cssVarPrefix===ce)&&(da=!1);const ei=E.jsxs(R.Fragment,{children:[E.jsx(u1,{themeId:G?r:void 0,theme:Vt,children:D}),da&&E.jsx(Gb,{styles:Vt.generateStyleSheets?.()||[]})]});return ae?ei:E.jsx(m.Provider,{value:fa,children:ei})}const S=typeof f=="string"?f:f.light,w=typeof f=="string"?f:f.dark;return{CssVarsProvider:T,useColorScheme:g,getInitColorSchemeScript:C=>Kw({colorSchemeStorageKey:s,defaultLightColorScheme:S,defaultDarkColorScheme:w,modeStorageKey:o,...C})}}function nT(e=""){function r(...o){if(!o.length)return"";const s=o[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}${r(...o.slice(1))})`:`, ${s}`}return(o,...s)=>`var(--${e?`${e}-`:""}${o}${r(...s)})`}const s0=(e,r,i,o=[])=>{let s=e;r.forEach((c,f)=>{f===r.length-1?Array.isArray(s)?s[Number(c)]=i:s&&typeof s=="object"&&(s[c]=i):s&&typeof s=="object"&&(s[c]||(s[c]=o.includes(c)?[]:{}),s=s[c])})},rT=(e,r,i)=>{function o(s,c=[],f=[]){Object.entries(s).forEach(([p,h])=>{(!i||i&&!i([...c,p]))&&h!=null&&(typeof h=="object"&&Object.keys(h).length>0?o(h,[...c,p],Array.isArray(h)?[...f,p]:f):r([...c,p],h,f))})}o(e)},aT=(e,r)=>typeof r=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(o=>e.includes(o))||e[e.length-1].toLowerCase().includes("opacity")?r:`${r}px`:r;function ap(e,r){const{prefix:i,shouldSkipGeneratingVar:o}=r||{},s={},c={},f={};return rT(e,(p,h,m)=>{if((typeof h=="string"||typeof h=="number")&&(!o||!o(p,h))){const g=`--${i?`${i}-`:""}${p.join("-")}`,v=aT(p,h);Object.assign(s,{[g]:v}),s0(c,p,`var(${g})`,m),s0(f,p,`var(${g}, ${v})`,m)}},p=>p[0]==="vars"),{css:s,vars:c,varsWithDefaults:f}}function iT(e,r={}){const{getSelector:i=j,disableCssColorScheme:o,colorSchemeSelector:s}=r,{colorSchemes:c={},components:f,defaultColorScheme:p="light",...h}=e,{vars:m,css:g,varsWithDefaults:v}=ap(h,r);let y=v;const T={},{[p]:S,...w}=c;if(Object.entries(w||{}).forEach(([O,A])=>{const{vars:M,css:k,varsWithDefaults:B}=ap(A,r);y=Zt(y,B),T[O]={css:k,vars:M}}),S){const{css:O,vars:A,varsWithDefaults:M}=ap(S,r);y=Zt(y,M),T[p]={css:O,vars:A}}function j(O,A){let M=s;if(s==="class"&&(M=".%s"),s==="data"&&(M="[data-%s]"),s?.startsWith("data-")&&!s.includes("%s")&&(M=`[${s}="%s"]`),O){if(M==="media")return e.defaultColorScheme===O?":root":{[`@media (prefers-color-scheme: ${c[O]?.palette?.mode||O})`]:{":root":A}};if(M)return e.defaultColorScheme===O?`:root, ${M.replace("%s",String(O))}`:M.replace("%s",String(O))}return":root"}return{vars:y,generateThemeVars:()=>{let O={...m};return Object.entries(T).forEach(([,{vars:A}])=>{O=Zt(O,A)}),O},generateStyleSheets:()=>{const O=[],A=e.defaultColorScheme||"light";function M(H,$){Object.keys($).length&&O.push(typeof H=="string"?{[H]:{...$}}:H)}M(i(void 0,{...g}),g);const{[A]:k,...B}=T;if(k){const{css:H}=k,$=c[A]?.palette?.mode,b=!o&&$?{colorScheme:$,...H}:{...H};M(i(A,{...b}),b)}return Object.entries(B).forEach(([H,{css:$}])=>{const b=c[H]?.palette?.mode,z=!o&&b?{colorScheme:b,...$}:{...$};M(i(H,{...z}),z)}),O}}}function oT(e){return function(i){return e==="media"?`@media (prefers-color-scheme: ${i})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${i}"] &`:e==="class"?`.${i} &`:e==="data"?`[data-${i}] &`:`${e.replace("%s",i)} &`:"&"}}function Ue(e,r,i=void 0){const o={};for(const s in e){const c=e[s];let f="",p=!0;for(let h=0;h{const{ownerState:i}=e;return[r.root,r[`maxWidth${ue(String(i.maxWidth))}`],i.fixed&&r.fixed,i.disableGutters&&r.disableGutters]}}),cT=e=>fh({props:e,name:"MuiContainer",defaultTheme:lT}),uT=(e,r)=>{const i=h=>$e(r,h),{classes:o,fixed:s,disableGutters:c,maxWidth:f}=e,p={root:["root",f&&`maxWidth${ue(String(f))}`,s&&"fixed",c&&"disableGutters"]};return Ue(p,i,o)};function fT(e={}){const{createStyledComponent:r=sT,useThemeProps:i=cT,componentName:o="MuiContainer"}=e,s=r(({theme:f,ownerState:p})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!p.disableGutters&&{paddingLeft:f.spacing(2),paddingRight:f.spacing(2),[f.breakpoints.up("sm")]:{paddingLeft:f.spacing(3),paddingRight:f.spacing(3)}}}),({theme:f,ownerState:p})=>p.fixed&&Object.keys(f.breakpoints.values).reduce((h,m)=>{const g=m,v=f.breakpoints.values[g];return v!==0&&(h[f.breakpoints.up(g)]={maxWidth:`${v}${f.breakpoints.unit}`}),h},{}),({theme:f,ownerState:p})=>({...p.maxWidth==="xs"&&{[f.breakpoints.up("xs")]:{maxWidth:Math.max(f.breakpoints.values.xs,444)}},...p.maxWidth&&p.maxWidth!=="xs"&&{[f.breakpoints.up(p.maxWidth)]:{maxWidth:`${f.breakpoints.values[p.maxWidth]}${f.breakpoints.unit}`}}}));return R.forwardRef(function(p,h){const m=i(p),{className:g,component:v="div",disableGutters:y=!1,fixed:T=!1,maxWidth:S="lg",classes:w,...j}=m,C={...m,component:v,disableGutters:y,fixed:T,maxWidth:S},D=uT(C,o);return E.jsx(s,{as:v,ownerState:C,className:ve(D.root,g),ref:h,...j})})}function dT(e,r){return R.isValidElement(e)&&r.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}const pT=(e,r)=>e.filter(i=>r.includes(i)),so=(e,r,i)=>{const o=e.keys[0];Array.isArray(r)?r.forEach((s,c)=>{i((f,p)=>{c<=e.keys.length-1&&(c===0?Object.assign(f,p):f[e.up(e.keys[c])]=p)},s)}):r&&typeof r=="object"?(Object.keys(r).length>e.keys.length?e.keys:pT(e.keys,Object.keys(r))).forEach(c=>{if(e.keys.includes(c)){const f=r[c];f!==void 0&&i((p,h)=>{o===c?Object.assign(p,h):p[e.up(c)]=h},f)}}):(typeof r=="number"||typeof r=="string")&&i((s,c)=>{Object.assign(s,c)},r)};function Yc(e){return`--Grid-${e}Spacing`}function Eu(e){return`--Grid-parent-${e}Spacing`}const c0="--Grid-columns",Ji="--Grid-parent-columns",hT=({theme:e,ownerState:r})=>{const i={};return so(e.breakpoints,r.size,(o,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(${Ji}) - (var(${Ji}) - ${s}) * (var(${Eu("column")}) / var(${Ji})))`}),o(i,c)}),i},mT=({theme:e,ownerState:r})=>{const i={};return so(e.breakpoints,r.offset,(o,s)=>{let c={};s==="auto"&&(c={marginLeft:"auto"}),typeof s=="number"&&(c={marginLeft:s===0?"0px":`calc(100% * ${s} / var(${Ji}) + var(${Eu("column")}) * ${s} / var(${Ji}))`}),o(i,c)}),i},gT=({theme:e,ownerState:r})=>{if(!r.container)return{};const i={[c0]:12};return so(e.breakpoints,r.columns,(o,s)=>{const c=s??12;o(i,{[c0]:c,"> *":{[Ji]:c}})}),i},yT=({theme:e,ownerState:r})=>{if(!r.container)return{};const i={};return so(e.breakpoints,r.rowSpacing,(o,s)=>{const c=typeof s=="string"?s:e.spacing?.(s);o(i,{[Yc("row")]:c,"> *":{[Eu("row")]:c}})}),i},vT=({theme:e,ownerState:r})=>{if(!r.container)return{};const i={};return so(e.breakpoints,r.columnSpacing,(o,s)=>{const c=typeof s=="string"?s:e.spacing?.(s);o(i,{[Yc("column")]:c,"> *":{[Eu("column")]:c}})}),i},bT=({theme:e,ownerState:r})=>{if(!r.container)return{};const i={};return so(e.breakpoints,r.direction,(o,s)=>{o(i,{flexDirection:s})}),i},ST=({ownerState:e})=>({minWidth:0,boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",...e.wrap&&e.wrap!=="wrap"&&{flexWrap:e.wrap},gap:`var(${Yc("row")}) var(${Yc("column")})`}}),xT=e=>{const r=[];return Object.entries(e).forEach(([i,o])=>{o!==!1&&o!==void 0&&r.push(`grid-${i}-${String(o)}`)}),r},CT=(e,r="xs")=>{function i(o){return o===void 0?!1:typeof o=="string"&&!Number.isNaN(Number(o))||typeof o=="number"&&o>0}if(i(e))return[`spacing-${r}-${String(e)}`];if(typeof e=="object"&&!Array.isArray(e)){const o=[];return Object.entries(e).forEach(([s,c])=>{i(c)&&o.push(`spacing-${s}-${String(c)}`)}),o}return[]},ET=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([r,i])=>`direction-${r}-${i}`):[`direction-xs-${String(e)}`];function wT(e,r){e.item!==void 0&&delete e.item,e.zeroMinWidth!==void 0&&delete e.zeroMinWidth,r.keys.forEach(i=>{e[i]!==void 0&&delete e[i]})}const TT=lo(),RT=uh("div",{name:"MuiGrid",slot:"Root"});function AT(e){return fh({props:e,name:"MuiGrid",defaultTheme:TT})}function MT(e={}){const{createStyledComponent:r=RT,useThemeProps:i=AT,useTheme:o=Gl,componentName:s="MuiGrid"}=e,c=(m,g)=>{const{container:v,direction:y,spacing:T,wrap:S,size:w}=m,j={root:["root",v&&"container",S!=="wrap"&&`wrap-xs-${String(S)}`,...ET(y),...xT(w),...v?CT(T,g.breakpoints.keys[0]):[]]};return Ue(j,C=>$e(s,C),{})};function f(m,g,v=()=>!0){const y={};return m===null||(Array.isArray(m)?m.forEach((T,S)=>{T!==null&&v(T)&&g.keys[S]&&(y[g.keys[S]]=T)}):typeof m=="object"?Object.keys(m).forEach(T=>{const S=m[T];S!=null&&v(S)&&(y[T]=S)}):y[g.keys[0]]=m),y}const p=r(gT,vT,yT,hT,bT,ST,mT),h=R.forwardRef(function(g,v){const y=o(),T=i(g),S=Su(T);wT(S,y.breakpoints);const{className:w,children:j,columns:C=12,container:D=!1,component:O="div",direction:A="row",wrap:M="wrap",size:k={},offset:B={},spacing:H=0,rowSpacing:$=H,columnSpacing:b=H,unstable_level:z=0,...P}=S,q=f(k,y.breakpoints,G=>G!==!1),V=f(B,y.breakpoints),te=g.columns??(z?void 0:C),U=g.spacing??(z?void 0:H),Y=g.rowSpacing??g.spacing??(z?void 0:$),J=g.columnSpacing??g.spacing??(z?void 0:b),ae={...S,level:z,columns:te,container:D,direction:A,wrap:M,spacing:U,rowSpacing:Y,columnSpacing:J,size:q,offset:V},N=c(ae,y);return E.jsx(p,{ref:v,as:O,ownerState:ae,className:ve(N.root,w),...P,children:R.Children.map(j,G=>R.isValidElement(G)&&dT(G,["Grid"])&&D&&G.props.container?R.cloneElement(G,{unstable_level:G.props?.unstable_level??z+1}):G)})});return h.muiName="Grid",h}const OT=lo(),jT=uh("div",{name:"MuiStack",slot:"Root"});function _T(e){return fh({props:e,name:"MuiStack",defaultTheme:OT})}function zT(e,r){const i=R.Children.toArray(e).filter(Boolean);return i.reduce((o,s,c)=>(o.push(s),c({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],NT=({ownerState:e,theme:r})=>{let i={display:"flex",flexDirection:"column",...Pn({theme:r},tp({values:e.direction,breakpoints:r.breakpoints.values}),o=>({flexDirection:o}))};if(e.spacing){const o=hu(r),s=Object.keys(r.breakpoints.values).reduce((h,m)=>((typeof e.spacing=="object"&&e.spacing[m]!=null||typeof e.direction=="object"&&e.direction[m]!=null)&&(h[m]=!0),h),{}),c=tp({values:e.direction,base:s}),f=tp({values:e.spacing,base:s});typeof c=="object"&&Object.keys(c).forEach((h,m,g)=>{if(!c[h]){const y=m>0?c[g[m-1]]:"column";c[h]=y}}),i=Zt(i,Pn({theme:r},f,(h,m)=>e.useFlexGap?{gap:Ia(o,h)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${DT(m?c[m]:e.direction)}`]:Ia(o,h)}}))}return i=_E(r.breakpoints,i),i};function kT(e={}){const{createStyledComponent:r=jT,useThemeProps:i=_T,componentName:o="MuiStack"}=e,s=()=>Ue({root:["root"]},h=>$e(o,h),{}),c=r(NT);return R.forwardRef(function(h,m){const g=i(h),v=Su(g),{component:y="div",direction:T="column",spacing:S=0,divider:w,children:j,className:C,useFlexGap:D=!1,...O}=v,A={direction:T,spacing:S,useFlexGap:D},M=s();return E.jsx(c,{as:y,ownerState:A,ref:m,className:ve(M.root,C),...O,children:w?zT(j,w):j})})}function d1(){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:Ml.white,default:Ml.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 $T=d1();function p1(){return{text:{primary:Ml.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:Ml.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 u0=p1();function f0(e,r,i,o){const s=o.light||o,c=o.dark||o*1.5;e[r]||(e.hasOwnProperty(i)?e[r]=e[i]:r==="light"?e.light=Va(e.main,s):r==="dark"&&(e.dark=Fa(e.main,c)))}function BT(e="light"){return e==="dark"?{main:Fi[200],light:Fi[50],dark:Fi[400]}:{main:Fi[700],light:Fi[400],dark:Fi[800]}}function PT(e="light"){return e==="dark"?{main:Ii[200],light:Ii[50],dark:Ii[400]}:{main:Ii[500],light:Ii[300],dark:Ii[700]}}function LT(e="light"){return e==="dark"?{main:qi[500],light:qi[300],dark:qi[700]}:{main:qi[700],light:qi[400],dark:qi[800]}}function UT(e="light"){return e==="dark"?{main:Vi[400],light:Vi[300],dark:Vi[700]}:{main:Vi[700],light:Vi[500],dark:Vi[900]}}function HT(e="light"){return e==="dark"?{main:Gi[400],light:Gi[300],dark:Gi[700]}:{main:Gi[800],light:Gi[500],dark:Gi[900]}}function qT(e="light"){return e==="dark"?{main:fl[400],light:fl[300],dark:fl[700]}:{main:"#ed6c02",light:fl[500],dark:fl[900]}}function yh(e){const{mode:r="light",contrastThreshold:i=3,tonalOffset:o=.2,...s}=e,c=e.primary||BT(r),f=e.secondary||PT(r),p=e.error||LT(r),h=e.info||UT(r),m=e.success||HT(r),g=e.warning||qT(r);function v(w){return Bw(w,u0.text.primary)>=i?u0.text.primary:$T.text.primary}const y=({color:w,name:j,mainShade:C=500,lightShade:D=300,darkShade:O=700})=>{if(w={...w},!w.main&&w[C]&&(w.main=w[C]),!w.hasOwnProperty("main"))throw new Error(qa(11,j?` (${j})`:"",C));if(typeof w.main!="string")throw new Error(qa(12,j?` (${j})`:"",JSON.stringify(w.main)));return f0(w,"light",D,o),f0(w,"dark",O,o),w.contrastText||(w.contrastText=v(w.main)),w};let T;return r==="light"?T=d1():r==="dark"&&(T=p1()),Zt({common:{...Ml},mode:r,primary:y({color:c,name:"primary"}),secondary:y({color:f,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:y({color:p,name:"error"}),warning:y({color:g,name:"warning"}),info:y({color:h,name:"info"}),success:y({color:m,name:"success"}),grey:bC,contrastThreshold:i,getContrastText:v,augmentColor:y,tonalOffset:o,...T},s)}function IT(e){const r={};return Object.entries(e).forEach(o=>{const[s,c]=o;typeof c=="object"&&(r[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||""}`)}),r}function FT(e,r){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...r}}function VT(e){return Math.round(e*1e5)/1e5}const d0={textTransform:"uppercase"},p0='"Roboto", "Helvetica", "Arial", sans-serif';function h1(e,r){const{fontFamily:i=p0,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:c=400,fontWeightMedium:f=500,fontWeightBold:p=700,htmlFontSize:h=16,allVariants:m,pxToRem:g,...v}=typeof r=="function"?r(e):r,y=o/14,T=g||(j=>`${j/h*y}rem`),S=(j,C,D,O,A)=>({fontFamily:i,fontWeight:j,fontSize:T(C),lineHeight:D,...i===p0?{letterSpacing:`${VT(O/C)}em`}:{},...A,...m}),w={h1:S(s,96,1.167,-1.5),h2:S(s,60,1.2,-.5),h3:S(c,48,1.167,0),h4:S(c,34,1.235,.25),h5:S(c,24,1.334,0),h6:S(f,20,1.6,.15),subtitle1:S(c,16,1.75,.15),subtitle2:S(f,14,1.57,.1),body1:S(c,16,1.5,.15),body2:S(c,14,1.43,.15),button:S(f,14,1.75,.4,d0),caption:S(c,12,1.66,.4),overline:S(c,12,2.66,1,d0),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Zt({htmlFontSize:h,pxToRem:T,fontFamily:i,fontSize:o,fontWeightLight:s,fontWeightRegular:c,fontWeightMedium:f,fontWeightBold:p,...w},v,{clone:!1})}const GT=.2,QT=.14,YT=.12;function dt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${GT})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${QT})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${YT})`].join(",")}const KT=["none",dt(0,2,1,-1,0,1,1,0,0,1,3,0),dt(0,3,1,-2,0,2,2,0,0,1,5,0),dt(0,3,3,-2,0,3,4,0,0,1,8,0),dt(0,2,4,-1,0,4,5,0,0,1,10,0),dt(0,3,5,-1,0,5,8,0,0,1,14,0),dt(0,3,5,-1,0,6,10,0,0,1,18,0),dt(0,4,5,-2,0,7,10,1,0,2,16,1),dt(0,5,5,-3,0,8,10,1,0,3,14,2),dt(0,5,6,-3,0,9,12,1,0,3,16,2),dt(0,6,6,-3,0,10,14,1,0,4,18,3),dt(0,6,7,-4,0,11,15,1,0,4,20,3),dt(0,7,8,-4,0,12,17,2,0,5,22,4),dt(0,7,8,-4,0,13,19,2,0,5,24,4),dt(0,7,9,-4,0,14,21,2,0,5,26,4),dt(0,8,9,-5,0,15,22,2,0,6,28,5),dt(0,8,10,-5,0,16,24,2,0,6,30,5),dt(0,8,11,-5,0,17,26,2,0,6,32,5),dt(0,9,11,-5,0,18,28,2,0,7,34,6),dt(0,9,12,-6,0,19,29,2,0,7,36,6),dt(0,10,13,-6,0,20,31,3,0,8,38,7),dt(0,10,13,-6,0,21,33,3,0,8,40,7),dt(0,10,14,-6,0,22,35,3,0,8,42,7),dt(0,11,14,-7,0,23,36,3,0,9,44,8),dt(0,11,15,-7,0,24,38,3,0,9,46,8)],XT={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)"},m1={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function h0(e){return`${Math.round(e)}ms`}function WT(e){if(!e)return 0;const r=e/36;return Math.min(Math.round((4+15*r**.25+r/5)*10),3e3)}function ZT(e){const r={...XT,...e.easing},i={...m1,...e.duration};return{getAutoHeightDuration:WT,create:(s=["all"],c={})=>{const{duration:f=i.standard,easing:p=r.easeInOut,delay:h=0,...m}=c;return(Array.isArray(s)?s:[s]).map(g=>`${g} ${typeof f=="string"?f:h0(f)} ${p} ${typeof h=="string"?h:h0(h)}`).join(",")},...e,easing:r,duration:i}}const JT={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function eR(e){return Xn(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function g1(e={}){const r={...e};function i(o){const s=Object.entries(o);for(let c=0;cZt(T,S),y),y.unstable_sxConfig={...Vl,...m?.unstable_sxConfig},y.unstable_sx=function(S){return ra({sx:S,theme:this})},y.toRuntimeSource=g1,y}function Rp(e){let r;return e<1?r=5.11916*e**2:r=4.5*Math.log(e+1)+2,Math.round(r*10)/1e3}const tR=[...Array(25)].map((e,r)=>{if(r===0)return"none";const i=Rp(r);return`linear-gradient(rgba(255 255 255 / ${i}), rgba(255 255 255 / ${i}))`});function y1(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function v1(e){return e==="dark"?tR:[]}function nR(e){const{palette:r={mode:"light"},opacity:i,overlays:o,...s}=e,c=yh(r);return{palette:c,opacity:{...y1(c.mode),...i},overlays:o||v1(c.mode),...s}}function rR(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const aR=e=>[...[...Array(25)].map((r,i)=>`--${e?`${e}-`:""}overlays-${i}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],iR=e=>(r,i)=>{const o=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===r){if(r==="dark"){const f={};return aR(e.cssVarPrefix).forEach(p=>{f[p]=i[p],delete i[p]}),c==="media"?{[o]:i,"@media (prefers-color-scheme: dark)":{[o]:f}}:c?{[c.replace("%s",r)]:f,[`${o}, ${c.replace("%s",r)}`]:i}:{[o]:{...i,...f}}}if(c&&c!=="media")return`${o}, ${c.replace("%s",String(r))}`}else if(r){if(c==="media")return{[`@media (prefers-color-scheme: ${String(r)})`]:{[o]:i}};if(c)return c.replace("%s",String(r))}return o};function oR(e,r){r.forEach(i=>{e[i]||(e[i]={})})}function ee(e,r,i){!e[r]&&i&&(e[r]=i)}function xl(e){return typeof e!="string"||!e.startsWith("hsl")?e:o1(e)}function xr(e,r){`${r}Channel`in e||(e[`${r}Channel`]=Sl(xl(e[r])))}function lR(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Gn=e=>{try{return e()}catch{}},sR=(e="mui")=>nT(e);function ip(e,r,i,o){if(!r)return;r=r===!0?{}:r;const s=o==="dark"?"dark":"light";if(!i){e[o]=nR({...r,palette:{mode:s,...r?.palette}});return}const{palette:c,...f}=Tp({...i,palette:{mode:s,...r?.palette}});return e[o]={...r,palette:c,opacity:{...y1(s),...r?.opacity},overlays:r?.overlays||v1(s)},f}function cR(e={},...r){const{colorSchemes:i={light:!0},defaultColorScheme:o,disableCssColorScheme:s=!1,cssVarPrefix:c="mui",shouldSkipGeneratingVar:f=rR,colorSchemeSelector:p=i.light&&i.dark?"media":void 0,rootSelector:h=":root",...m}=e,g=Object.keys(i)[0],v=o||(i.light&&g!=="light"?"light":g),y=sR(c),{[v]:T,light:S,dark:w,...j}=i,C={...j};let D=T;if((v==="dark"&&!("dark"in i)||v==="light"&&!("light"in i))&&(D=!0),!D)throw new Error(qa(21,v));const O=ip(C,D,m,v);S&&!C.light&&ip(C,S,void 0,"light"),w&&!C.dark&&ip(C,w,void 0,"dark");let A={defaultColorScheme:v,...O,cssVarPrefix:c,colorSchemeSelector:p,rootSelector:h,getCssVar:y,colorSchemes:C,font:{...IT(O.typography),...O.font},spacing:lR(m.spacing)};Object.keys(A.colorSchemes).forEach($=>{const b=A.colorSchemes[$].palette,z=P=>{const q=P.split("-"),V=q[1],te=q[2];return y(P,b[V][te])};if(b.mode==="light"&&(ee(b.common,"background","#fff"),ee(b.common,"onBackground","#000")),b.mode==="dark"&&(ee(b.common,"background","#000"),ee(b.common,"onBackground","#fff")),oR(b,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),b.mode==="light"){ee(b.Alert,"errorColor",rt(b.error.light,.6)),ee(b.Alert,"infoColor",rt(b.info.light,.6)),ee(b.Alert,"successColor",rt(b.success.light,.6)),ee(b.Alert,"warningColor",rt(b.warning.light,.6)),ee(b.Alert,"errorFilledBg",z("palette-error-main")),ee(b.Alert,"infoFilledBg",z("palette-info-main")),ee(b.Alert,"successFilledBg",z("palette-success-main")),ee(b.Alert,"warningFilledBg",z("palette-warning-main")),ee(b.Alert,"errorFilledColor",Gn(()=>b.getContrastText(b.error.main))),ee(b.Alert,"infoFilledColor",Gn(()=>b.getContrastText(b.info.main))),ee(b.Alert,"successFilledColor",Gn(()=>b.getContrastText(b.success.main))),ee(b.Alert,"warningFilledColor",Gn(()=>b.getContrastText(b.warning.main))),ee(b.Alert,"errorStandardBg",at(b.error.light,.9)),ee(b.Alert,"infoStandardBg",at(b.info.light,.9)),ee(b.Alert,"successStandardBg",at(b.success.light,.9)),ee(b.Alert,"warningStandardBg",at(b.warning.light,.9)),ee(b.Alert,"errorIconColor",z("palette-error-main")),ee(b.Alert,"infoIconColor",z("palette-info-main")),ee(b.Alert,"successIconColor",z("palette-success-main")),ee(b.Alert,"warningIconColor",z("palette-warning-main")),ee(b.AppBar,"defaultBg",z("palette-grey-100")),ee(b.Avatar,"defaultBg",z("palette-grey-400")),ee(b.Button,"inheritContainedBg",z("palette-grey-300")),ee(b.Button,"inheritContainedHoverBg",z("palette-grey-A100")),ee(b.Chip,"defaultBorder",z("palette-grey-400")),ee(b.Chip,"defaultAvatarColor",z("palette-grey-700")),ee(b.Chip,"defaultIconColor",z("palette-grey-700")),ee(b.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),ee(b.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),ee(b.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),ee(b.LinearProgress,"primaryBg",at(b.primary.main,.62)),ee(b.LinearProgress,"secondaryBg",at(b.secondary.main,.62)),ee(b.LinearProgress,"errorBg",at(b.error.main,.62)),ee(b.LinearProgress,"infoBg",at(b.info.main,.62)),ee(b.LinearProgress,"successBg",at(b.success.main,.62)),ee(b.LinearProgress,"warningBg",at(b.warning.main,.62)),ee(b.Skeleton,"bg",`rgba(${z("palette-text-primaryChannel")} / 0.11)`),ee(b.Slider,"primaryTrack",at(b.primary.main,.62)),ee(b.Slider,"secondaryTrack",at(b.secondary.main,.62)),ee(b.Slider,"errorTrack",at(b.error.main,.62)),ee(b.Slider,"infoTrack",at(b.info.main,.62)),ee(b.Slider,"successTrack",at(b.success.main,.62)),ee(b.Slider,"warningTrack",at(b.warning.main,.62));const P=Cc(b.background.default,.8);ee(b.SnackbarContent,"bg",P),ee(b.SnackbarContent,"color",Gn(()=>b.getContrastText(P))),ee(b.SpeedDialAction,"fabHoverBg",Cc(b.background.paper,.15)),ee(b.StepConnector,"border",z("palette-grey-400")),ee(b.StepContent,"border",z("palette-grey-400")),ee(b.Switch,"defaultColor",z("palette-common-white")),ee(b.Switch,"defaultDisabledColor",z("palette-grey-100")),ee(b.Switch,"primaryDisabledColor",at(b.primary.main,.62)),ee(b.Switch,"secondaryDisabledColor",at(b.secondary.main,.62)),ee(b.Switch,"errorDisabledColor",at(b.error.main,.62)),ee(b.Switch,"infoDisabledColor",at(b.info.main,.62)),ee(b.Switch,"successDisabledColor",at(b.success.main,.62)),ee(b.Switch,"warningDisabledColor",at(b.warning.main,.62)),ee(b.TableCell,"border",at(xc(b.divider,1),.88)),ee(b.Tooltip,"bg",xc(b.grey[700],.92))}if(b.mode==="dark"){ee(b.Alert,"errorColor",at(b.error.light,.6)),ee(b.Alert,"infoColor",at(b.info.light,.6)),ee(b.Alert,"successColor",at(b.success.light,.6)),ee(b.Alert,"warningColor",at(b.warning.light,.6)),ee(b.Alert,"errorFilledBg",z("palette-error-dark")),ee(b.Alert,"infoFilledBg",z("palette-info-dark")),ee(b.Alert,"successFilledBg",z("palette-success-dark")),ee(b.Alert,"warningFilledBg",z("palette-warning-dark")),ee(b.Alert,"errorFilledColor",Gn(()=>b.getContrastText(b.error.dark))),ee(b.Alert,"infoFilledColor",Gn(()=>b.getContrastText(b.info.dark))),ee(b.Alert,"successFilledColor",Gn(()=>b.getContrastText(b.success.dark))),ee(b.Alert,"warningFilledColor",Gn(()=>b.getContrastText(b.warning.dark))),ee(b.Alert,"errorStandardBg",rt(b.error.light,.9)),ee(b.Alert,"infoStandardBg",rt(b.info.light,.9)),ee(b.Alert,"successStandardBg",rt(b.success.light,.9)),ee(b.Alert,"warningStandardBg",rt(b.warning.light,.9)),ee(b.Alert,"errorIconColor",z("palette-error-main")),ee(b.Alert,"infoIconColor",z("palette-info-main")),ee(b.Alert,"successIconColor",z("palette-success-main")),ee(b.Alert,"warningIconColor",z("palette-warning-main")),ee(b.AppBar,"defaultBg",z("palette-grey-900")),ee(b.AppBar,"darkBg",z("palette-background-paper")),ee(b.AppBar,"darkColor",z("palette-text-primary")),ee(b.Avatar,"defaultBg",z("palette-grey-600")),ee(b.Button,"inheritContainedBg",z("palette-grey-800")),ee(b.Button,"inheritContainedHoverBg",z("palette-grey-700")),ee(b.Chip,"defaultBorder",z("palette-grey-700")),ee(b.Chip,"defaultAvatarColor",z("palette-grey-300")),ee(b.Chip,"defaultIconColor",z("palette-grey-300")),ee(b.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),ee(b.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),ee(b.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),ee(b.LinearProgress,"primaryBg",rt(b.primary.main,.5)),ee(b.LinearProgress,"secondaryBg",rt(b.secondary.main,.5)),ee(b.LinearProgress,"errorBg",rt(b.error.main,.5)),ee(b.LinearProgress,"infoBg",rt(b.info.main,.5)),ee(b.LinearProgress,"successBg",rt(b.success.main,.5)),ee(b.LinearProgress,"warningBg",rt(b.warning.main,.5)),ee(b.Skeleton,"bg",`rgba(${z("palette-text-primaryChannel")} / 0.13)`),ee(b.Slider,"primaryTrack",rt(b.primary.main,.5)),ee(b.Slider,"secondaryTrack",rt(b.secondary.main,.5)),ee(b.Slider,"errorTrack",rt(b.error.main,.5)),ee(b.Slider,"infoTrack",rt(b.info.main,.5)),ee(b.Slider,"successTrack",rt(b.success.main,.5)),ee(b.Slider,"warningTrack",rt(b.warning.main,.5));const P=Cc(b.background.default,.98);ee(b.SnackbarContent,"bg",P),ee(b.SnackbarContent,"color",Gn(()=>b.getContrastText(P))),ee(b.SpeedDialAction,"fabHoverBg",Cc(b.background.paper,.15)),ee(b.StepConnector,"border",z("palette-grey-600")),ee(b.StepContent,"border",z("palette-grey-600")),ee(b.Switch,"defaultColor",z("palette-grey-300")),ee(b.Switch,"defaultDisabledColor",z("palette-grey-600")),ee(b.Switch,"primaryDisabledColor",rt(b.primary.main,.55)),ee(b.Switch,"secondaryDisabledColor",rt(b.secondary.main,.55)),ee(b.Switch,"errorDisabledColor",rt(b.error.main,.55)),ee(b.Switch,"infoDisabledColor",rt(b.info.main,.55)),ee(b.Switch,"successDisabledColor",rt(b.success.main,.55)),ee(b.Switch,"warningDisabledColor",rt(b.warning.main,.55)),ee(b.TableCell,"border",rt(xc(b.divider,1),.68)),ee(b.Tooltip,"bg",xc(b.grey[700],.92))}xr(b.background,"default"),xr(b.background,"paper"),xr(b.common,"background"),xr(b.common,"onBackground"),xr(b,"divider"),Object.keys(b).forEach(P=>{const q=b[P];P!=="tonalOffset"&&q&&typeof q=="object"&&(q.main&&ee(b[P],"mainChannel",Sl(xl(q.main))),q.light&&ee(b[P],"lightChannel",Sl(xl(q.light))),q.dark&&ee(b[P],"darkChannel",Sl(xl(q.dark))),q.contrastText&&ee(b[P],"contrastTextChannel",Sl(xl(q.contrastText))),P==="text"&&(xr(b[P],"primary"),xr(b[P],"secondary")),P==="action"&&(q.active&&xr(b[P],"active"),q.selected&&xr(b[P],"selected")))})}),A=r.reduce(($,b)=>Zt($,b),A);const M={prefix:c,disableCssColorScheme:s,shouldSkipGeneratingVar:f,getSelector:iR(A)},{vars:k,generateThemeVars:B,generateStyleSheets:H}=iT(A,M);return A.vars=k,Object.entries(A.colorSchemes[A.defaultColorScheme]).forEach(([$,b])=>{A[$]=b}),A.generateThemeVars=B,A.generateStyleSheets=H,A.generateSpacing=function(){return Jb(m.spacing,hu(this))},A.getColorSchemeSelector=oT(p),A.spacing=A.generateSpacing(),A.shouldSkipGeneratingVar=f,A.unstable_sxConfig={...Vl,...m?.unstable_sxConfig},A.unstable_sx=function(b){return ra({sx:b,theme:this})},A.toRuntimeSource=g1,A}function m0(e,r,i){e.colorSchemes&&i&&(e.colorSchemes[r]={...i!==!0&&i,palette:yh({...i===!0?{}:i.palette,mode:r})})}function Ql(e={},...r){const{palette:i,cssVariables:o=!1,colorSchemes:s=i?void 0:{light:!0},defaultColorScheme:c=i?.mode,...f}=e,p=c||"light",h=s?.[p],m={...s,...i?{[p]:{...typeof h!="boolean"&&h,palette:i}}:void 0};if(o===!1){if(!("colorSchemes"in e))return Tp(e,...r);let g=i;"palette"in e||m[p]&&(m[p]!==!0?g=m[p].palette:p==="dark"&&(g={mode:"dark"}));const v=Tp({...e,palette:g},...r);return v.defaultColorScheme=p,v.colorSchemes=m,v.palette.mode==="light"&&(v.colorSchemes.light={...m.light!==!0&&m.light,palette:v.palette},m0(v,"dark",m.dark)),v.palette.mode==="dark"&&(v.colorSchemes.dark={...m.dark!==!0&&m.dark,palette:v.palette},m0(v,"light",m.light)),v}return!i&&!("light"in m)&&p==="light"&&(m.light=!0),cR({...f,colorSchemes:m,defaultColorScheme:p,...typeof o!="boolean"&&o},...r)}const vh=Ql();function wu(){const e=Gl(vh);return e[Jn]||e}function uR(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const b1=e=>uR(e)&&e!=="classes",he=i1({themeId:Jn,defaultTheme:vh,rootShouldForwardProp:b1});function fR({theme:e,...r}){const i=Jn in e?e[Jn]:void 0;return E.jsx(u1,{...r,themeId:i?Jn:void 0,theme:i||e})}const Ec={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:dR}=tT({themeId:Jn,theme:()=>Ql({cssVariables:!0}),colorSchemeStorageKey:Ec.colorSchemeStorageKey,modeStorageKey:Ec.modeStorageKey,defaultColorScheme:{light:Ec.defaultLightColorScheme,dark:Ec.defaultDarkColorScheme},resolveTheme:e=>{const r={...e,typography:h1(e.palette,e.typography)};return r.unstable_sx=function(o){return ra({sx:o,theme:this})},r}}),pR=dR;function hR({theme:e,...r}){const i=R.useMemo(()=>{if(typeof e=="function")return e;const o=Jn in e?e[Jn]:e;return"colorSchemes"in o?null:"vars"in o?e:{...e,vars:null}},[e]);return i?E.jsx(fR,{theme:i,...r}):E.jsx(pR,{theme:e,...r})}function mR(e){return E.jsx(xw,{...e,defaultTheme:vh,themeId:Jn})}function S1(e){return function(i){return E.jsx(mR,{styles:typeof e=="function"?o=>e({theme:o,...i}):e})}}function gR(){return Su}const Le=Qw;function ke(e){return Gw(e)}function yR(e){return $e("MuiSvgIcon",e)}Ge("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const vR=e=>{const{color:r,fontSize:i,classes:o}=e,s={root:["root",r!=="inherit"&&`color${ue(r)}`,`fontSize${ue(i)}`]};return Ue(s,yR,o)},bR=he("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.root,i.color!=="inherit"&&r[`color${ue(i.color)}`],r[`fontSize${ue(i.fontSize)}`]]}})(Le(({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:r=>!r.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(([,r])=>r&&r.main).map(([r])=>({props:{color:r},style:{color:(e.vars??e).palette?.[r]?.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}}]}))),Ap=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiSvgIcon"}),{children:s,className:c,color:f="inherit",component:p="svg",fontSize:h="medium",htmlColor:m,inheritViewBox:g=!1,titleAccess:v,viewBox:y="0 0 24 24",...T}=o,S=R.isValidElement(s)&&s.type==="svg",w={...o,color:f,component:p,fontSize:h,instanceFontSize:r.fontSize,inheritViewBox:g,viewBox:y,hasSvgAsChild:S},j={};g||(j.viewBox=y);const C=vR(w);return E.jsxs(bR,{as:p,className:ve(C.root,c),focusable:"false",color:m,"aria-hidden":v?void 0:!0,role:v?"img":void 0,ref:i,...j,...T,...S&&s.props,ownerState:w,children:[S?s.props.children:s,v?E.jsx("title",{children:v}):null]})});Ap.muiName="SvgIcon";function it(e,r){function i(o,s){return E.jsx(Ap,{"data-testid":void 0,ref:s,...o,children:e})}return i.muiName=Ap.muiName,R.memo(R.forwardRef(i))}function x1(e,r=166){let i;function o(...s){const c=()=>{e.apply(this,s)};clearTimeout(i),i=setTimeout(c,r)}return o.clear=()=>{clearTimeout(i)},o}function C1(e){return e&&e.ownerDocument||document}function E1(e){return C1(e).defaultView||window}let g0=0;function SR(e){const[r,i]=R.useState(e),o=e||r;return R.useEffect(()=>{r==null&&(g0+=1,i(`mui-${g0}`))},[r]),o}const xR={...bp},y0=xR.useId;function w1(e){if(y0!==void 0){const r=y0();return e??r}return SR(e)}function T1(e){const{controlled:r,default:i,name:o,state:s="value"}=e,{current:c}=R.useRef(r!==void 0),[f,p]=R.useState(i),h=c?r:f,m=R.useCallback(g=>{c||p(g)},[]);return[h,m]}function Ha(e){const r=R.useRef(e);return dh(()=>{r.current=e}),R.useRef((...i)=>(0,r.current)(...i)).current}function no(...e){const r=R.useRef(void 0),i=R.useCallback(o=>{const s=e.map(c=>{if(c==null)return null;if(typeof c=="function"){const f=c,p=f(o);return typeof p=="function"?p:()=>{f(null)}}return c.current=o,()=>{c.current=null}});return()=>{s.forEach(c=>c?.())}},e);return R.useMemo(()=>e.every(o=>o==null)?null:o=>{r.current&&(r.current(),r.current=void 0),o!=null&&(r.current=i(o))},e)}function R1(e,r){if(e==null)return{};var i={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(r.indexOf(o)!==-1)continue;i[o]=e[o]}return i}function Mp(e,r){return Mp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},Mp(e,r)}function A1(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,Mp(e,r)}var CR=Rb();const wc=Zp(CR),v0={disabled:!1},Kc=Wn.createContext(null);var ER=function(r){return r.scrollTop},Cl="unmounted",Ba="exited",Pa="entering",Ki="entered",Op="exiting",jr=function(e){A1(r,e);function r(o,s){var c;c=e.call(this,o,s)||this;var f=s,p=f&&!f.isMounting?o.enter:o.appear,h;return c.appearStatus=null,o.in?p?(h=Ba,c.appearStatus=Pa):h=Ki:o.unmountOnExit||o.mountOnEnter?h=Cl:h=Ba,c.state={status:h},c.nextCallback=null,c}r.getDerivedStateFromProps=function(s,c){var f=s.in;return f&&c.status===Cl?{status:Ba}:null};var i=r.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(s){var c=null;if(s!==this.props){var f=this.state.status;this.props.in?f!==Pa&&f!==Ki&&(c=Pa):(f===Pa||f===Ki)&&(c=Op)}this.updateStatus(!1,c)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var s=this.props.timeout,c,f,p;return c=f=p=s,s!=null&&typeof s!="number"&&(c=s.exit,f=s.enter,p=s.appear!==void 0?s.appear:f),{exit:c,enter:f,appear:p}},i.updateStatus=function(s,c){if(s===void 0&&(s=!1),c!==null)if(this.cancelNextCallback(),c===Pa){if(this.props.unmountOnExit||this.props.mountOnEnter){var f=this.props.nodeRef?this.props.nodeRef.current:wc.findDOMNode(this);f&&ER(f)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ba&&this.setState({status:Cl})},i.performEnter=function(s){var c=this,f=this.props.enter,p=this.context?this.context.isMounting:s,h=this.props.nodeRef?[p]:[wc.findDOMNode(this),p],m=h[0],g=h[1],v=this.getTimeouts(),y=p?v.appear:v.enter;if(!s&&!f||v0.disabled){this.safeSetState({status:Ki},function(){c.props.onEntered(m)});return}this.props.onEnter(m,g),this.safeSetState({status:Pa},function(){c.props.onEntering(m,g),c.onTransitionEnd(y,function(){c.safeSetState({status:Ki},function(){c.props.onEntered(m,g)})})})},i.performExit=function(){var s=this,c=this.props.exit,f=this.getTimeouts(),p=this.props.nodeRef?void 0:wc.findDOMNode(this);if(!c||v0.disabled){this.safeSetState({status:Ba},function(){s.props.onExited(p)});return}this.props.onExit(p),this.safeSetState({status:Op},function(){s.props.onExiting(p),s.onTransitionEnd(f.exit,function(){s.safeSetState({status:Ba},function(){s.props.onExited(p)})})})},i.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(s,c){c=this.setNextCallback(c),this.setState(s,c)},i.setNextCallback=function(s){var c=this,f=!0;return this.nextCallback=function(p){f&&(f=!1,c.nextCallback=null,s(p))},this.nextCallback.cancel=function(){f=!1},this.nextCallback},i.onTransitionEnd=function(s,c){this.setNextCallback(c);var f=this.props.nodeRef?this.props.nodeRef.current:wc.findDOMNode(this),p=s==null&&!this.props.addEndListener;if(!f||p){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var h=this.props.nodeRef?[this.nextCallback]:[f,this.nextCallback],m=h[0],g=h[1];this.props.addEndListener(m,g)}s!=null&&setTimeout(this.nextCallback,s)},i.render=function(){var s=this.state.status;if(s===Cl)return null;var c=this.props,f=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=R1(c,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Wn.createElement(Kc.Provider,{value:null},typeof f=="function"?f(s,p):Wn.cloneElement(Wn.Children.only(f),p))},r}(Wn.Component);jr.contextType=Kc;jr.propTypes={};function Qi(){}jr.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};jr.UNMOUNTED=Cl;jr.EXITED=Ba;jr.ENTERING=Pa;jr.ENTERED=Ki;jr.EXITING=Op;function wR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bh(e,r){var i=function(c){return r&&R.isValidElement(c)?r(c):c},o=Object.create(null);return e&&R.Children.map(e,function(s){return s}).forEach(function(s){o[s.key]=i(s)}),o}function TR(e,r){e=e||{},r=r||{};function i(g){return g in r?r[g]:e[g]}var o=Object.create(null),s=[];for(var c in e)c in r?s.length&&(o[c]=s,s=[]):s.push(c);var f,p={};for(var h in r){if(o[h])for(f=0;f{this.currentId=null,i()},r)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function O1(){const e=M1(xh.create).current;return _R(e.disposeEffect),e}function S0(e,r){const{timeout:i,easing:o,style:s={}}=e;return{duration:s.transitionDuration??(typeof i=="number"?i:i[r.mode]||0),easing:s.transitionTimingFunction??(typeof o=="object"?o[r.mode]:o),delay:s.transitionDelay}}function zR(e){return $e("MuiCollapse",e)}Ge("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const DR=e=>{const{orientation:r,classes:i}=e,o={root:["root",`${r}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${r}`],wrapperInner:["wrapperInner",`${r}`]};return Ue(o,zR,i)},NR=he("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.root,r[i.orientation],i.state==="entered"&&r.entered,i.state==="exited"&&!i.in&&i.collapsedSize==="0px"&&r.hidden]}})(Le(({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:r})=>r.state==="exited"&&!r.in&&r.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),kR=he("div",{name:"MuiCollapse",slot:"Wrapper"})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),$R=he("div",{name:"MuiCollapse",slot:"WrapperInner"})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),jp=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiCollapse"}),{addEndListener:s,children:c,className:f,collapsedSize:p="0px",component:h,easing:m,in:g,onEnter:v,onEntered:y,onEntering:T,onExit:S,onExited:w,onExiting:j,orientation:C="vertical",style:D,timeout:O=m1.standard,TransitionComponent:A=jr,...M}=o,k={...o,orientation:C,collapsedSize:p},B=DR(k),H=wu(),$=O1(),b=R.useRef(null),z=R.useRef(),P=typeof p=="number"?`${p}px`:p,q=C==="horizontal",V=q?"width":"height",te=R.useRef(null),U=no(i,te),Y=Z=>ge=>{if(Z){const fe=te.current;ge===void 0?Z(fe):Z(fe,ge)}},J=()=>b.current?b.current[q?"clientWidth":"clientHeight"]:0,ae=Y((Z,ge)=>{b.current&&q&&(b.current.style.position="absolute"),Z.style[V]=P,v&&v(Z,ge)}),N=Y((Z,ge)=>{const fe=J();b.current&&q&&(b.current.style.position="");const{duration:Ce,easing:He}=S0({style:D,timeout:O,easing:m},{mode:"enter"});if(O==="auto"){const wt=H.transitions.getAutoHeightDuration(fe);Z.style.transitionDuration=`${wt}ms`,z.current=wt}else Z.style.transitionDuration=typeof Ce=="string"?Ce:`${Ce}ms`;Z.style[V]=`${fe}px`,Z.style.transitionTimingFunction=He,T&&T(Z,ge)}),G=Y((Z,ge)=>{Z.style[V]="auto",y&&y(Z,ge)}),oe=Y(Z=>{Z.style[V]=`${J()}px`,S&&S(Z)}),ne=Y(w),se=Y(Z=>{const ge=J(),{duration:fe,easing:Ce}=S0({style:D,timeout:O,easing:m},{mode:"exit"});if(O==="auto"){const He=H.transitions.getAutoHeightDuration(ge);Z.style.transitionDuration=`${He}ms`,z.current=He}else Z.style.transitionDuration=typeof fe=="string"?fe:`${fe}ms`;Z.style[V]=P,Z.style.transitionTimingFunction=Ce,j&&j(Z)}),ce=Z=>{O==="auto"&&$.start(z.current||0,Z),s&&s(te.current,Z)};return E.jsx(A,{in:g,onEnter:ae,onEntered:G,onEntering:N,onExit:oe,onExited:ne,onExiting:se,addEndListener:ce,nodeRef:te,timeout:O==="auto"?null:O,...M,children:(Z,{ownerState:ge,...fe})=>E.jsx(NR,{as:h,className:ve(B.root,f,{entered:B.entered,exited:!g&&P==="0px"&&B.hidden}[Z]),style:{[q?"minWidth":"minHeight"]:P,...D},ref:U,ownerState:{...k,state:Z},...fe,children:E.jsx(kR,{ownerState:{...k,state:Z},className:B.wrapper,ref:b,children:E.jsx($R,{ownerState:{...k,state:Z},className:B.wrapperInner,children:c})})})})});jp&&(jp.muiSupportAuto=!0);function BR(e){return $e("MuiPaper",e)}Ge("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 PR=e=>{const{square:r,elevation:i,variant:o,classes:s}=e,c={root:["root",o,!r&&"rounded",o==="elevation"&&`elevation${i}`]};return Ue(c,BR,s)},LR=he("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.root,r[i.variant],!i.square&&r.rounded,i.variant==="elevation"&&r[`elevation${i.elevation}`]]}})(Le(({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:r})=>!r.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)"}}]}))),Ch=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiPaper"}),s=wu(),{className:c,component:f="div",elevation:p=1,square:h=!1,variant:m="elevation",...g}=o,v={...o,component:f,elevation:p,square:h,variant:m},y=PR(v);return E.jsx(LR,{as:f,ownerState:v,className:ve(y.root,c),ref:i,...g,style:{...m==="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(${Ve("#fff",Rp(p))}, ${Ve("#fff",Rp(p))})`}},...g.style}})}),j1=R.createContext({});function UR(e){return typeof e=="string"}function _1(e,r,i){return e===void 0||UR(e)?r:{...r,ownerState:{...r.ownerState,...i}}}function z1(e,r,i){return typeof e=="function"?e(r,i):e}function HR(e,r=[]){if(e===void 0)return{};const i={};return Object.keys(e).filter(o=>o.match(/^on[A-Z]/)&&typeof e[o]=="function"&&!r.includes(o)).forEach(o=>{i[o]=e[o]}),i}function x0(e){if(e===void 0)return{};const r={};return Object.keys(e).filter(i=>!(i.match(/^on[A-Z]/)&&typeof e[i]=="function")).forEach(i=>{r[i]=e[i]}),r}function D1(e){const{getSlotProps:r,additionalProps:i,externalSlotProps:o,externalForwardedProps:s,className:c}=e;if(!r){const T=ve(i?.className,c,s?.className,o?.className),S={...i?.style,...s?.style,...o?.style},w={...i,...s,...o};return T.length>0&&(w.className=T),Object.keys(S).length>0&&(w.style=S),{props:w,internalRef:void 0}}const f=HR({...s,...o}),p=x0(o),h=x0(s),m=r(f),g=ve(m?.className,i?.className,c,s?.className,o?.className),v={...m?.style,...i?.style,...s?.style,...o?.style},y={...m,...i,...h,...p};return g.length>0&&(y.className=g),Object.keys(v).length>0&&(y.style=v),{props:y,internalRef:m.ref}}function pt(e,r){const{className:i,elementType:o,ownerState:s,externalForwardedProps:c,internalForwardedProps:f,shouldForwardComponentProp:p=!1,...h}=r,{component:m,slots:g={[e]:void 0},slotProps:v={[e]:void 0},...y}=c,T=g[e]||o,S=z1(v[e],s),{props:{component:w,...j},internalRef:C}=D1({className:i,...h,externalForwardedProps:e==="root"?y:void 0,externalSlotProps:S}),D=no(C,S?.ref,r.ref),O=e==="root"?w||m:w,A=_1(T,{...e==="root"&&!m&&!g[e]&&f,...e!=="root"&&!g[e]&&f,...j,...O&&!p&&{as:O},...O&&p&&{component:O},ref:D},s);return[T,A]}function qR(e){return $e("MuiAccordion",e)}const Tc=Ge("MuiAccordion",["root","heading","rounded","expanded","disabled","gutters","region"]),IR=e=>{const{classes:r,square:i,expanded:o,disabled:s,disableGutters:c}=e;return Ue({root:["root",!i&&"rounded",o&&"expanded",s&&"disabled",!c&&"gutters"],heading:["heading"],region:["region"]},qR,r)},FR=he(Ch,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[{[`& .${Tc.region}`]:r.region},r.root,!i.square&&r.rounded,!i.disableGutters&&r.gutters]}})(Le(({theme:e})=>{const r={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],r),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"],r)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${Tc.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${Tc.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}}),Le(({theme:e})=>({variants:[{props:r=>!r.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:r=>!r.disableGutters,style:{[`&.${Tc.expanded}`]:{margin:"16px 0"}}}]}))),VR=he("h3",{name:"MuiAccordion",slot:"Heading"})({all:"unset"}),GR=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiAccordion"}),{children:s,className:c,defaultExpanded:f=!1,disabled:p=!1,disableGutters:h=!1,expanded:m,onChange:g,square:v=!1,slots:y={},slotProps:T={},TransitionComponent:S,TransitionProps:w,...j}=o,[C,D]=T1({controlled:m,default:f,name:"Accordion",state:"expanded"}),O=R.useCallback(J=>{D(!C),g&&g(J,!C)},[C,g,D]),[A,...M]=R.Children.toArray(s),k=R.useMemo(()=>({expanded:C,disabled:p,disableGutters:h,toggle:O}),[C,p,h,O]),B={...o,square:v,disabled:p,disableGutters:h,expanded:C},H=IR(B),$={transition:S,...y},b={transition:w,...T},z={slots:$,slotProps:b},[P,q]=pt("root",{elementType:FR,externalForwardedProps:{...z,...j},className:ve(H.root,c),shouldForwardComponentProp:!0,ownerState:B,ref:i,additionalProps:{square:v}}),[V,te]=pt("heading",{elementType:VR,externalForwardedProps:z,className:H.heading,ownerState:B}),[U,Y]=pt("transition",{elementType:jp,externalForwardedProps:z,ownerState:B});return E.jsxs(P,{...q,children:[E.jsx(V,{...te,children:E.jsx(j1.Provider,{value:k,children:A})}),E.jsx(U,{in:C,timeout:"auto",...Y,children:E.jsx("div",{"aria-labelledby":A.props.id,id:A.props["aria-controls"],role:"region",className:H.region,children:M})})]})});function QR(e){return $e("MuiAccordionDetails",e)}Ge("MuiAccordionDetails",["root"]);const YR=e=>{const{classes:r}=e;return Ue({root:["root"]},QR,r)},KR=he("div",{name:"MuiAccordionDetails",slot:"Root"})(Le(({theme:e})=>({padding:e.spacing(1,2,2)}))),XR=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiAccordionDetails"}),{className:s,...c}=o,f=o,p=YR(f);return E.jsx(KR,{className:ve(p.root,s),ref:i,ownerState:f,...c})});function C0(e){try{return e.matches(":focus-visible")}catch{}return!1}class Xc{static create(){return new Xc}static use(){const r=M1(Xc.create).current,[i,o]=R.useState(!1);return r.shouldMount=i,r.setShouldMount=o,R.useEffect(r.mountEffect,[i]),r}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=ZR(),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(...r){this.mount().then(()=>this.ref.current?.start(...r))}stop(...r){this.mount().then(()=>this.ref.current?.stop(...r))}pulsate(...r){this.mount().then(()=>this.ref.current?.pulsate(...r))}}function WR(){return Xc.use()}function ZR(){let e,r;const i=new Promise((o,s)=>{e=o,r=s});return i.resolve=e,i.reject=r,i}function JR(e){const{className:r,classes:i,pulsate:o=!1,rippleX:s,rippleY:c,rippleSize:f,in:p,onExited:h,timeout:m}=e,[g,v]=R.useState(!1),y=ve(r,i.ripple,i.rippleVisible,o&&i.ripplePulsate),T={width:f,height:f,top:-(f/2)+c,left:-(f/2)+s},S=ve(i.child,g&&i.childLeaving,o&&i.childPulsate);return!p&&!g&&v(!0),R.useEffect(()=>{if(!p&&h!=null){const w=setTimeout(h,m);return()=>{clearTimeout(w)}}},[h,p,m]),E.jsx("span",{className:y,style:T,children:E.jsx("span",{className:S})})}const On=Ge("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),_p=550,eA=80,tA=ca` 0% { transform: scale(0); opacity: 0.1; } 100% { transform: scale(1); opacity: 0.3; } `,nA=ca` 0% { opacity: 1; } 100% { opacity: 0; } `,rA=ca` 0% { transform: scale(1); } 50% { transform: scale(0.92); } 100% { transform: scale(1); } `,aA=he("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),iA=he(JR,{name:"MuiTouchRipple",slot:"Ripple"})` opacity: 0; position: absolute; &.${On.rippleVisible} { opacity: 0.3; transform: scale(1); animation-name: ${tA}; animation-duration: ${_p}ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; } &.${On.ripplePulsate} { animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms; } & .${On.child} { opacity: 1; display: block; width: 100%; height: 100%; border-radius: 50%; background-color: currentColor; } & .${On.childLeaving} { opacity: 0; animation-name: ${nA}; animation-duration: ${_p}ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; } & .${On.childPulsate} { position: absolute; /* @noflip */ left: 0px; top: 0; animation-name: ${rA}; animation-duration: 2500ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; animation-iteration-count: infinite; animation-delay: 200ms; } `,oA=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiTouchRipple"}),{center:s=!1,classes:c={},className:f,...p}=o,[h,m]=R.useState([]),g=R.useRef(0),v=R.useRef(null);R.useEffect(()=>{v.current&&(v.current(),v.current=null)},[h]);const y=R.useRef(!1),T=O1(),S=R.useRef(null),w=R.useRef(null),j=R.useCallback(A=>{const{pulsate:M,rippleX:k,rippleY:B,rippleSize:H,cb:$}=A;m(b=>[...b,E.jsx(iA,{classes:{ripple:ve(c.ripple,On.ripple),rippleVisible:ve(c.rippleVisible,On.rippleVisible),ripplePulsate:ve(c.ripplePulsate,On.ripplePulsate),child:ve(c.child,On.child),childLeaving:ve(c.childLeaving,On.childLeaving),childPulsate:ve(c.childPulsate,On.childPulsate)},timeout:_p,pulsate:M,rippleX:k,rippleY:B,rippleSize:H},g.current)]),g.current+=1,v.current=$},[c]),C=R.useCallback((A={},M={},k=()=>{})=>{const{pulsate:B=!1,center:H=s||M.pulsate,fakeElement:$=!1}=M;if(A?.type==="mousedown"&&y.current){y.current=!1;return}A?.type==="touchstart"&&(y.current=!0);const b=$?null:w.current,z=b?b.getBoundingClientRect():{width:0,height:0,left:0,top:0};let P,q,V;if(H||A===void 0||A.clientX===0&&A.clientY===0||!A.clientX&&!A.touches)P=Math.round(z.width/2),q=Math.round(z.height/2);else{const{clientX:te,clientY:U}=A.touches&&A.touches.length>0?A.touches[0]:A;P=Math.round(te-z.left),q=Math.round(U-z.top)}if(H)V=Math.sqrt((2*z.width**2+z.height**2)/3),V%2===0&&(V+=1);else{const te=Math.max(Math.abs((b?b.clientWidth:0)-P),P)*2+2,U=Math.max(Math.abs((b?b.clientHeight:0)-q),q)*2+2;V=Math.sqrt(te**2+U**2)}A?.touches?S.current===null&&(S.current=()=>{j({pulsate:B,rippleX:P,rippleY:q,rippleSize:V,cb:k})},T.start(eA,()=>{S.current&&(S.current(),S.current=null)})):j({pulsate:B,rippleX:P,rippleY:q,rippleSize:V,cb:k})},[s,j,T]),D=R.useCallback(()=>{C({},{pulsate:!0})},[C]),O=R.useCallback((A,M)=>{if(T.clear(),A?.type==="touchend"&&S.current){S.current(),S.current=null,T.start(0,()=>{O(A,M)});return}S.current=null,m(k=>k.length>0?k.slice(1):k),v.current=M},[T]);return R.useImperativeHandle(i,()=>({pulsate:D,start:C,stop:O}),[D,C,O]),E.jsx(aA,{className:ve(On.root,c.root,f),ref:w,...p,children:E.jsx(Sh,{component:null,exit:!0,children:h})})});function lA(e){return $e("MuiButtonBase",e)}const sA=Ge("MuiButtonBase",["root","disabled","focusVisible"]),cA=e=>{const{disabled:r,focusVisible:i,focusVisibleClassName:o,classes:s}=e,f=Ue({root:["root",r&&"disabled",i&&"focusVisible"]},lA,s);return i&&o&&(f.root+=` ${o}`),f},uA=he("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"},[`&.${sA.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ia=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiButtonBase"}),{action:s,centerRipple:c=!1,children:f,className:p,component:h="button",disabled:m=!1,disableRipple:g=!1,disableTouchRipple:v=!1,focusRipple:y=!1,focusVisibleClassName:T,LinkComponent:S="a",onBlur:w,onClick:j,onContextMenu:C,onDragLeave:D,onFocus:O,onFocusVisible:A,onKeyDown:M,onKeyUp:k,onMouseDown:B,onMouseLeave:H,onMouseUp:$,onTouchEnd:b,onTouchMove:z,onTouchStart:P,tabIndex:q=0,TouchRippleProps:V,touchRippleRef:te,type:U,...Y}=o,J=R.useRef(null),ae=WR(),N=no(ae.ref,te),[G,oe]=R.useState(!1);m&&G&&oe(!1),R.useImperativeHandle(s,()=>({focusVisible:()=>{oe(!0),J.current.focus()}}),[]);const ne=ae.shouldMount&&!g&&!m;R.useEffect(()=>{G&&y&&!g&&ae.pulsate()},[g,y,G,ae]);const se=Cr(ae,"start",B,v),ce=Cr(ae,"stop",C,v),Z=Cr(ae,"stop",D,v),ge=Cr(ae,"stop",$,v),fe=Cr(ae,"stop",be=>{G&&be.preventDefault(),H&&H(be)},v),Ce=Cr(ae,"start",P,v),He=Cr(ae,"stop",b,v),wt=Cr(ae,"stop",z,v),Tt=Cr(ae,"stop",be=>{C0(be.target)||oe(!1),w&&w(be)},!1),Bt=Ha(be=>{J.current||(J.current=be.currentTarget),C0(be.target)&&(oe(!0),A&&A(be)),O&&O(be)}),ct=()=>{const be=J.current;return h&&h!=="button"&&!(be.tagName==="A"&&be.href)},Pt=Ha(be=>{y&&!be.repeat&&G&&be.key===" "&&ae.stop(be,()=>{ae.start(be)}),be.target===be.currentTarget&&ct()&&be.key===" "&&be.preventDefault(),M&&M(be),be.target===be.currentTarget&&ct()&&be.key==="Enter"&&!m&&(be.preventDefault(),j&&j(be))}),Jt=Ha(be=>{y&&be.key===" "&&G&&!be.defaultPrevented&&ae.stop(be,()=>{ae.pulsate(be)}),k&&k(be),j&&be.target===be.currentTarget&&ct()&&be.key===" "&&!be.defaultPrevented&&j(be)});let Be=h;Be==="button"&&(Y.href||Y.to)&&(Be=S);const St={};Be==="button"?(St.type=U===void 0?"button":U,St.disabled=m):(!Y.href&&!Y.to&&(St.role="button"),m&&(St["aria-disabled"]=m));const ot=no(i,J),Kt={...o,centerRipple:c,component:h,disabled:m,disableRipple:g,disableTouchRipple:v,focusRipple:y,tabIndex:q,focusVisible:G},Vt=cA(Kt);return E.jsxs(uA,{as:Be,className:ve(Vt.root,p),ownerState:Kt,onBlur:Tt,onClick:j,onContextMenu:ce,onFocus:Bt,onKeyDown:Pt,onKeyUp:Jt,onMouseDown:se,onMouseLeave:fe,onMouseUp:ge,onDragLeave:Z,onTouchEnd:He,onTouchMove:wt,onTouchStart:Ce,ref:ot,tabIndex:m?-1:q,type:U,...St,...Y,children:[f,ne?E.jsx(oA,{ref:N,center:c,...V}):null]})});function Cr(e,r,i,o=!1){return Ha(s=>(i&&i(s),o||e[r](s),!0))}function fA(e){return $e("MuiAccordionSummary",e)}const Xi=Ge("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),dA=e=>{const{classes:r,expanded:i,disabled:o,disableGutters:s}=e;return Ue({root:["root",i&&"expanded",o&&"disabled",!s&&"gutters"],focusVisible:["focusVisible"],content:["content",i&&"expanded",!s&&"contentGutters"],expandIconWrapper:["expandIconWrapper",i&&"expanded"]},fA,r)},pA=he(ia,{name:"MuiAccordionSummary",slot:"Root"})(Le(({theme:e})=>{const r={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"],r),[`&.${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:i=>!i.disableGutters,style:{[`&.${Xi.expanded}`]:{minHeight:64}}}]}})),hA=he("span",{name:"MuiAccordionSummary",slot:"Content"})(Le(({theme:e})=>({display:"flex",textAlign:"start",flexGrow:1,margin:"12px 0",variants:[{props:r=>!r.disableGutters,style:{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${Xi.expanded}`]:{margin:"20px 0"}}}]}))),mA=he("span",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper"})(Le(({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)"}}))),gA=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiAccordionSummary"}),{children:s,className:c,expandIcon:f,focusVisibleClassName:p,onClick:h,slots:m,slotProps:g,...v}=o,{disabled:y=!1,disableGutters:T,expanded:S,toggle:w}=R.useContext(j1),j=b=>{w&&w(b),h&&h(b)},C={...o,expanded:S,disabled:y,disableGutters:T},D=dA(C),O={slots:m,slotProps:g},[A,M]=pt("root",{ref:i,shouldForwardComponentProp:!0,className:ve(D.root,c),elementType:pA,externalForwardedProps:{...O,...v},ownerState:C,additionalProps:{focusRipple:!1,disableRipple:!0,disabled:y,"aria-expanded":S,focusVisibleClassName:ve(D.focusVisible,p)},getSlotProps:b=>({...b,onClick:z=>{b.onClick?.(z),j(z)}})}),[k,B]=pt("content",{className:D.content,elementType:hA,externalForwardedProps:O,ownerState:C}),[H,$]=pt("expandIconWrapper",{className:D.expandIconWrapper,elementType:mA,externalForwardedProps:O,ownerState:C});return E.jsxs(A,{...M,children:[E.jsx(k,{...B,children:s}),f&&E.jsx(H,{...$,children:f})]})});function yA(e){return typeof e.main=="string"}function vA(e,r=[]){if(!yA(e))return!1;for(const i of r)if(!e.hasOwnProperty(i)||typeof e[i]!="string")return!1;return!0}function zt(e=[]){return([,r])=>r&&vA(r,e)}function bA(e){return $e("MuiAlert",e)}const E0=Ge("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 SA(e){return $e("MuiCircularProgress",e)}Ge("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const ea=44,zp=ca` 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } `,Dp=ca` 0% { stroke-dasharray: 1px, 200px; stroke-dashoffset: 0; } 50% { stroke-dasharray: 100px, 200px; stroke-dashoffset: -15px; } 100% { stroke-dasharray: 1px, 200px; stroke-dashoffset: -126px; } `,xA=typeof zp!="string"?oo` animation: ${zp} 1.4s linear infinite; `:null,CA=typeof Dp!="string"?oo` animation: ${Dp} 1.4s ease-in-out infinite; `:null,EA=e=>{const{classes:r,variant:i,color:o,disableShrink:s}=e,c={root:["root",i,`color${ue(o)}`],svg:["svg"],circle:["circle",`circle${ue(i)}`,s&&"circleDisableShrink"]};return Ue(c,SA,r)},wA=he("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.root,r[i.variant],r[`color${ue(i.color)}`]]}})(Le(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:xA||{animation:`${zp} 1.4s linear infinite`}},...Object.entries(e.palette).filter(zt()).map(([r])=>({props:{color:r},style:{color:(e.vars||e).palette[r].main}}))]}))),TA=he("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),RA=he("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.circle,r[`circle${ue(i.variant)}`],i.disableShrink&&r.circleDisableShrink]}})(Le(({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:r})=>r.variant==="indeterminate"&&!r.disableShrink,style:CA||{animation:`${Dp} 1.4s ease-in-out infinite`}}]}))),Ga=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiCircularProgress"}),{className:s,color:c="primary",disableShrink:f=!1,size:p=40,style:h,thickness:m=3.6,value:g=0,variant:v="indeterminate",...y}=o,T={...o,color:c,disableShrink:f,size:p,thickness:m,value:g,variant:v},S=EA(T),w={},j={},C={};if(v==="determinate"){const D=2*Math.PI*((ea-m)/2);w.strokeDasharray=D.toFixed(3),C["aria-valuenow"]=Math.round(g),w.strokeDashoffset=`${((100-g)/100*D).toFixed(3)}px`,j.transform="rotate(-90deg)"}return E.jsx(wA,{className:ve(S.root,s),style:{width:p,height:p,...j,...h},ownerState:T,ref:i,role:"progressbar",...C,...y,children:E.jsx(TA,{className:S.svg,ownerState:T,viewBox:`${ea/2} ${ea/2} ${ea} ${ea}`,children:E.jsx(RA,{className:S.circle,style:w,ownerState:T,cx:ea,cy:ea,r:(ea-m)/2,fill:"none",strokeWidth:m})})})});function AA(e){return $e("MuiIconButton",e)}const w0=Ge("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),MA=e=>{const{classes:r,disabled:i,color:o,edge:s,size:c,loading:f}=e,p={root:["root",f&&"loading",i&&"disabled",o!=="default"&&`color${ue(o)}`,s&&`edge${ue(s)}`,`size${ue(c)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return Ue(p,AA,r)},OA=he(ia,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.root,i.loading&&r.loading,i.color!=="default"&&r[`color${ue(i.color)}`],i.edge&&r[`edge${ue(i.edge)}`],r[`size${ue(i.size)}`]]}})(Le(({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:r=>!r.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Ve(e.palette.action.active,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}}]})),Le(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(zt()).map(([r])=>({props:{color:r},style:{color:(e.vars||e).palette[r].main}})),...Object.entries(e.palette).filter(zt()).map(([r])=>({props:{color:r},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ve((e.vars||e).palette[r].main,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)}}],[`&.${w0.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${w0.loading}`]:{color:"transparent"}}))),jA=he("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"}}]})),_A=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiIconButton"}),{edge:s=!1,children:c,className:f,color:p="default",disabled:h=!1,disableFocusRipple:m=!1,size:g="medium",id:v,loading:y=null,loadingIndicator:T,...S}=o,w=w1(v),j=T??E.jsx(Ga,{"aria-labelledby":w,color:"inherit",size:16}),C={...o,edge:s,color:p,disabled:h,disableFocusRipple:m,loading:y,loadingIndicator:j,size:g},D=MA(C);return E.jsxs(OA,{id:y?w:v,className:ve(D.root,f),centerRipple:!0,focusRipple:!m,disabled:h||y,ref:i,...S,ownerState:C,children:[typeof y=="boolean"&&E.jsx("span",{className:D.loadingWrapper,style:{display:"contents"},children:E.jsx(jA,{className:D.loadingIndicator,ownerState:C,children:y&&j})}),c]})}),zA=it(E.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"})),DA=it(E.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"})),NA=it(E.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"})),kA=it(E.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"})),$A=it(E.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"})),BA=e=>{const{variant:r,color:i,severity:o,classes:s}=e,c={root:["root",`color${ue(i||o)}`,`${r}${ue(i||o)}`,`${r}`],icon:["icon"],message:["message"],action:["action"]};return Ue(c,bA,s)},PA=he(Ch,{name:"MuiAlert",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.root,r[i.variant],r[`${i.variant}${ue(i.color||i.severity)}`]]}})(Le(({theme:e})=>{const r=e.palette.mode==="light"?Fa:Va,i=e.palette.mode==="light"?Va:Fa;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(zt(["light"])).map(([o])=>({props:{colorSeverity:o,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${o}Color`]:r(e.palette[o].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${o}StandardBg`]:i(e.palette[o].light,.9),[`& .${E0.icon}`]:e.vars?{color:e.vars.palette.Alert[`${o}IconColor`]}:{color:e.palette[o].main}}})),...Object.entries(e.palette).filter(zt(["light"])).map(([o])=>({props:{colorSeverity:o,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${o}Color`]:r(e.palette[o].light,.6),border:`1px solid ${(e.vars||e).palette[o].light}`,[`& .${E0.icon}`]:e.vars?{color:e.vars.palette.Alert[`${o}IconColor`]}:{color:e.palette[o].main}}})),...Object.entries(e.palette).filter(zt(["dark"])).map(([o])=>({props:{colorSeverity:o,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${o}FilledColor`],backgroundColor:e.vars.palette.Alert[`${o}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[o].dark:e.palette[o].main,color:e.palette.getContrastText(e.palette[o].main)}}}))]}})),LA=he("div",{name:"MuiAlert",slot:"Icon"})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),UA=he("div",{name:"MuiAlert",slot:"Message"})({padding:"8px 0",minWidth:0,overflow:"auto"}),HA=he("div",{name:"MuiAlert",slot:"Action"})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),T0={success:E.jsx(zA,{fontSize:"inherit"}),warning:E.jsx(DA,{fontSize:"inherit"}),error:E.jsx(NA,{fontSize:"inherit"}),info:E.jsx(kA,{fontSize:"inherit"})},Wc=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiAlert"}),{action:s,children:c,className:f,closeText:p="Close",color:h,components:m={},componentsProps:g={},icon:v,iconMapping:y=T0,onClose:T,role:S="alert",severity:w="success",slotProps:j={},slots:C={},variant:D="standard",...O}=o,A={...o,color:h,severity:w,variant:D,colorSeverity:h||w},M=BA(A),k={slots:{closeButton:m.CloseButton,closeIcon:m.CloseIcon,...C},slotProps:{...g,...j}},[B,H]=pt("root",{ref:i,shouldForwardComponentProp:!0,className:ve(M.root,f),elementType:PA,externalForwardedProps:{...k,...O},ownerState:A,additionalProps:{role:S,elevation:0}}),[$,b]=pt("icon",{className:M.icon,elementType:LA,externalForwardedProps:k,ownerState:A}),[z,P]=pt("message",{className:M.message,elementType:UA,externalForwardedProps:k,ownerState:A}),[q,V]=pt("action",{className:M.action,elementType:HA,externalForwardedProps:k,ownerState:A}),[te,U]=pt("closeButton",{elementType:_A,externalForwardedProps:k,ownerState:A}),[Y,J]=pt("closeIcon",{elementType:$A,externalForwardedProps:k,ownerState:A});return E.jsxs(B,{...H,children:[v!==!1?E.jsx($,{...b,children:v||y[w]||T0[w]}):null,E.jsx(z,{...P,children:c}),s!=null?E.jsx(q,{...V,children:s}):null,s==null&&T?E.jsx(q,{...V,children:E.jsx(te,{size:"small","aria-label":p,title:p,color:"inherit",onClick:T,...U,children:E.jsx(Y,{fontSize:"small",...J})})}):null]})});function qA(e){return $e("MuiTypography",e)}Ge("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const IA={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},FA=gR(),VA=e=>{const{align:r,gutterBottom:i,noWrap:o,paragraph:s,variant:c,classes:f}=e,p={root:["root",c,e.align!=="inherit"&&`align${ue(r)}`,i&&"gutterBottom",o&&"noWrap",s&&"paragraph"]};return Ue(p,qA,f)},GA=he("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.root,i.variant&&r[i.variant],i.align!=="inherit"&&r[`align${ue(i.align)}`],i.noWrap&&r.noWrap,i.gutterBottom&&r.gutterBottom,i.paragraph&&r.paragraph]}})(Le(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([r,i])=>r!=="inherit"&&i&&typeof i=="object").map(([r,i])=>({props:{variant:r},style:i})),...Object.entries(e.palette).filter(zt()).map(([r])=>({props:{color:r},style:{color:(e.vars||e).palette[r].main}})),...Object.entries(e.palette?.text||{}).filter(([,r])=>typeof r=="string").map(([r])=>({props:{color:`text${ue(r)}`},style:{color:(e.vars||e).palette.text[r]}})),{props:({ownerState:r})=>r.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:r})=>r.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:r})=>r.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:r})=>r.paragraph,style:{marginBottom:16}}]}))),R0={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},De=R.forwardRef(function(r,i){const{color:o,...s}=ke({props:r,name:"MuiTypography"}),c=!IA[o],f=FA({...s,...c&&{color:o}}),{align:p="inherit",className:h,component:m,gutterBottom:g=!1,noWrap:v=!1,paragraph:y=!1,variant:T="body1",variantMapping:S=R0,...w}=f,j={...f,align:p,color:o,className:h,component:m,gutterBottom:g,noWrap:v,paragraph:y,variant:T,variantMapping:S},C=m||(y?"p":S[T]||R0[T])||"span",D=VA(j);return E.jsx(GA,{as:C,ref:i,className:ve(D.root,h),...w,ownerState:j,style:{...p!=="inherit"&&{"--Typography-textAlign":p},...w.style}})});function Zc(e){const{elementType:r,externalSlotProps:i,ownerState:o,skipResolvingSlotProps:s=!1,...c}=e,f=s?{}:z1(i,o),{props:p,internalRef:h}=D1({...c,externalSlotProps:f}),m=no(h,f?.ref,e.additionalProps?.ref);return _1(r,{...p,ref:m},o)}const QA=it(E.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 YA(e){return $e("MuiChip",e)}const ze=Ge("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"]),KA=e=>{const{classes:r,disabled:i,size:o,color:s,iconColor:c,onDelete:f,clickable:p,variant:h}=e,m={root:["root",h,i&&"disabled",`size${ue(o)}`,`color${ue(s)}`,p&&"clickable",p&&`clickableColor${ue(s)}`,f&&"deletable",f&&`deletableColor${ue(s)}`,`${h}${ue(s)}`],label:["label",`label${ue(o)}`],avatar:["avatar",`avatar${ue(o)}`,`avatarColor${ue(s)}`],icon:["icon",`icon${ue(o)}`,`iconColor${ue(c)}`],deleteIcon:["deleteIcon",`deleteIcon${ue(o)}`,`deleteIconColor${ue(s)}`,`deleteIcon${ue(h)}Color${ue(s)}`]};return Ue(m,YA,r)},XA=he("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:i}=e,{color:o,iconColor:s,clickable:c,onDelete:f,size:p,variant:h}=i;return[{[`& .${ze.avatar}`]:r.avatar},{[`& .${ze.avatar}`]:r[`avatar${ue(p)}`]},{[`& .${ze.avatar}`]:r[`avatarColor${ue(o)}`]},{[`& .${ze.icon}`]:r.icon},{[`& .${ze.icon}`]:r[`icon${ue(p)}`]},{[`& .${ze.icon}`]:r[`iconColor${ue(s)}`]},{[`& .${ze.deleteIcon}`]:r.deleteIcon},{[`& .${ze.deleteIcon}`]:r[`deleteIcon${ue(p)}`]},{[`& .${ze.deleteIcon}`]:r[`deleteIconColor${ue(o)}`]},{[`& .${ze.deleteIcon}`]:r[`deleteIcon${ue(h)}Color${ue(o)}`]},r.root,r[`size${ue(p)}`],r[`color${ue(o)}`],c&&r.clickable,c&&o!=="default"&&r[`clickableColor${ue(o)})`],f&&r.deletable,f&&o!=="default"&&r[`deletableColor${ue(o)}`],r[h],r[`${h}${ue(o)}`]]}})(Le(({theme:e})=>{const r=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,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",[`&.${ze.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${ze.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:r,fontSize:e.typography.pxToRem(12)},[`& .${ze.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${ze.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${ze.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${ze.icon}`]:{marginLeft:5,marginRight:-6},[`& .${ze.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Ve(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Ve(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${ze.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${ze.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(zt(["contrastText"])).map(([i])=>({props:{color:i},style:{backgroundColor:(e.vars||e).palette[i].main,color:(e.vars||e).palette[i].contrastText,[`& .${ze.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[i].contrastTextChannel} / 0.7)`:Ve(e.palette[i].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[i].contrastText}}}})),{props:i=>i.iconColor===i.color,style:{[`& .${ze.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:r}}},{props:i=>i.iconColor===i.color&&i.color!=="default",style:{[`& .${ze.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${ze.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ve(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(zt(["dark"])).map(([i])=>({props:{color:i,onDelete:!0},style:{[`&.${ze.focusVisible}`]:{background:(e.vars||e).palette[i].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ve(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${ze.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ve(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(zt(["dark"])).map(([i])=>({props:{color:i,clickable:!0},style:{[`&:hover, &.${ze.focusVisible}`]:{backgroundColor:(e.vars||e).palette[i].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]}`,[`&.${ze.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${ze.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${ze.avatar}`]:{marginLeft:4},[`& .${ze.avatarSmall}`]:{marginLeft:2},[`& .${ze.icon}`]:{marginLeft:4},[`& .${ze.iconSmall}`]:{marginLeft:2},[`& .${ze.deleteIcon}`]:{marginRight:5},[`& .${ze.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(zt()).map(([i])=>({props:{variant:"outlined",color:i},style:{color:(e.vars||e).palette[i].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[i].mainChannel} / 0.7)`:Ve(e.palette[i].main,.7)}`,[`&.${ze.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[i].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ve(e.palette[i].main,e.palette.action.hoverOpacity)},[`&.${ze.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[i].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Ve(e.palette[i].main,e.palette.action.focusOpacity)},[`& .${ze.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[i].mainChannel} / 0.7)`:Ve(e.palette[i].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[i].main}}}}))]}})),WA=he("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,r)=>{const{ownerState:i}=e,{size:o}=i;return[r.label,r[`label${ue(o)}`]]}})({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 A0(e){return e.key==="Backspace"||e.key==="Delete"}const Np=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiChip"}),{avatar:s,className:c,clickable:f,color:p="default",component:h,deleteIcon:m,disabled:g=!1,icon:v,label:y,onClick:T,onDelete:S,onKeyDown:w,onKeyUp:j,size:C="medium",variant:D="filled",tabIndex:O,skipFocusWhenDisabled:A=!1,slots:M={},slotProps:k={},...B}=o,H=R.useRef(null),$=no(H,i),b=Z=>{Z.stopPropagation(),S&&S(Z)},z=Z=>{Z.currentTarget===Z.target&&A0(Z)&&Z.preventDefault(),w&&w(Z)},P=Z=>{Z.currentTarget===Z.target&&S&&A0(Z)&&S(Z),j&&j(Z)},q=f!==!1&&T?!0:f,V=q||S?ia:h||"div",te={...o,component:V,disabled:g,size:C,color:p,iconColor:R.isValidElement(v)&&v.props.color||p,onDelete:!!S,clickable:q,variant:D},U=KA(te),Y=V===ia?{component:h||"div",focusVisibleClassName:U.focusVisible,...S&&{disableRipple:!0}}:{};let J=null;S&&(J=m&&R.isValidElement(m)?R.cloneElement(m,{className:ve(m.props.className,U.deleteIcon),onClick:b}):E.jsx(QA,{className:U.deleteIcon,onClick:b}));let ae=null;s&&R.isValidElement(s)&&(ae=R.cloneElement(s,{className:ve(U.avatar,s.props.className)}));let N=null;v&&R.isValidElement(v)&&(N=R.cloneElement(v,{className:ve(U.icon,v.props.className)}));const G={slots:M,slotProps:k},[oe,ne]=pt("root",{elementType:XA,externalForwardedProps:{...G,...B},ownerState:te,shouldForwardComponentProp:!0,ref:$,className:ve(U.root,c),additionalProps:{disabled:q&&g?!0:void 0,tabIndex:A&&g?-1:O,...Y},getSlotProps:Z=>({...Z,onClick:ge=>{Z.onClick?.(ge),T?.(ge)},onKeyDown:ge=>{Z.onKeyDown?.(ge),z?.(ge)},onKeyUp:ge=>{Z.onKeyUp?.(ge),P?.(ge)}})}),[se,ce]=pt("label",{elementType:WA,externalForwardedProps:G,ownerState:te,className:U.label});return E.jsxs(oe,{as:V,...ne,children:[ae||N,E.jsx(se,{...ce,children:y}),J]})}),ZA=Ge("MuiBox",["root"]),JA=Ql(),et=ww({themeId:Jn,defaultTheme:JA,defaultClassName:ZA.root,generateClassName:t1.generate});function eM(e){return $e("MuiButton",e)}const ka=Ge("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"]),tM=R.createContext({}),nM=R.createContext(void 0),rM=e=>{const{color:r,disableElevation:i,fullWidth:o,size:s,variant:c,loading:f,loadingPosition:p,classes:h}=e,m={root:["root",f&&"loading",c,`${c}${ue(r)}`,`size${ue(s)}`,`${c}Size${ue(s)}`,`color${ue(r)}`,i&&"disableElevation",o&&"fullWidth",f&&`loadingPosition${ue(p)}`],startIcon:["icon","startIcon",`iconSize${ue(s)}`],endIcon:["icon","endIcon",`iconSize${ue(s)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},g=Ue(m,eM,h);return{...h,...g}},N1=[{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}}}],aM=he(ia,{shouldForwardProp:e=>b1(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.root,r[i.variant],r[`${i.variant}${ue(i.color)}`],r[`size${ue(i.size)}`],r[`${i.variant}Size${ue(i.size)}`],i.color==="inherit"&&r.colorInherit,i.disableElevation&&r.disableElevation,i.fullWidth&&r.fullWidth,i.loading&&r.loading]}})(Le(({theme:e})=>{const r=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=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"},[`&.${ka.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]},[`&.${ka.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${ka.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)",[`&.${ka.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(zt()).map(([o])=>({props:{color:o},style:{"--variant-textColor":(e.vars||e).palette[o].main,"--variant-outlinedColor":(e.vars||e).palette[o].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[o].mainChannel} / 0.5)`:Ve(e.palette[o].main,.5),"--variant-containedColor":(e.vars||e).palette[o].contrastText,"--variant-containedBg":(e.vars||e).palette[o].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[o].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[o].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ve(e.palette[o].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[o].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[o].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ve(e.palette[o].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:r,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Ve(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Ve(e.palette.text.primary,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"},[`&.${ka.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${ka.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}),[`&.${ka.loading}`]:{color:"transparent"}}}]}})),iM=he("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.startIcon,i.loading&&r.startIconLoadingStart,r[`iconSize${ue(i.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}},...N1]})),oM=he("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.endIcon,i.loading&&r.endIconLoadingEnd,r[`iconSize${ue(i.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}},...N1]})),lM=he("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}}]})),M0=he("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),Qa=R.forwardRef(function(r,i){const o=R.useContext(tM),s=R.useContext(nM),c=zl(o,r),f=ke({props:c,name:"MuiButton"}),{children:p,color:h="primary",component:m="button",className:g,disabled:v=!1,disableElevation:y=!1,disableFocusRipple:T=!1,endIcon:S,focusVisibleClassName:w,fullWidth:j=!1,id:C,loading:D=null,loadingIndicator:O,loadingPosition:A="center",size:M="medium",startIcon:k,type:B,variant:H="text",...$}=f,b=w1(C),z=O??E.jsx(Ga,{"aria-labelledby":b,color:"inherit",size:16}),P={...f,color:h,component:m,disabled:v,disableElevation:y,disableFocusRipple:T,fullWidth:j,loading:D,loadingIndicator:z,loadingPosition:A,size:M,type:B,variant:H},q=rM(P),V=(k||D&&A==="start")&&E.jsx(iM,{className:q.startIcon,ownerState:P,children:k||E.jsx(M0,{className:q.loadingIconPlaceholder,ownerState:P})}),te=(S||D&&A==="end")&&E.jsx(oM,{className:q.endIcon,ownerState:P,children:S||E.jsx(M0,{className:q.loadingIconPlaceholder,ownerState:P})}),U=s||"",Y=typeof D=="boolean"?E.jsx("span",{className:q.loadingWrapper,style:{display:"contents"},children:D&&E.jsx(lM,{className:q.loadingIndicator,ownerState:P,children:z})}):null;return E.jsxs(aM,{ownerState:P,className:ve(o.className,q.root,g,U),component:m,disabled:v||D,focusRipple:!T,focusVisibleClassName:ve(q.focusVisible,w),ref:i,type:B,id:D?b:C,...$,classes:q,children:[V,A!=="end"&&Y,p,A==="end"&&Y,te]})});function sM(e){return $e("MuiCard",e)}Ge("MuiCard",["root"]);const cM=e=>{const{classes:r}=e;return Ue({root:["root"]},sM,r)},uM=he(Ch,{name:"MuiCard",slot:"Root"})({overflow:"hidden"}),Ya=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiCard"}),{className:s,raised:c=!1,...f}=o,p={...o,raised:c},h=cM(p);return E.jsx(uM,{className:ve(h.root,s),elevation:c?8:void 0,ref:i,ownerState:p,...f})});function fM(e){return $e("MuiCardActions",e)}Ge("MuiCardActions",["root","spacing"]);const dM=e=>{const{classes:r,disableSpacing:i}=e;return Ue({root:["root",!i&&"spacing"]},fM,r)},pM=he("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.root,!i.disableSpacing&&r.spacing]}})({display:"flex",alignItems:"center",padding:8,variants:[{props:{disableSpacing:!1},style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),hM=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiCardActions"}),{disableSpacing:s=!1,className:c,...f}=o,p={...o,disableSpacing:s},h=dM(p);return E.jsx(pM,{className:ve(h.root,c),ownerState:p,ref:i,...f})});function mM(e){return $e("MuiCardContent",e)}Ge("MuiCardContent",["root"]);const gM=e=>{const{classes:r}=e;return Ue({root:["root"]},mM,r)},yM=he("div",{name:"MuiCardContent",slot:"Root"})({padding:16,"&:last-child":{paddingBottom:24}}),Ka=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiCardContent"}),{className:s,component:c="div",...f}=o,p={...o,component:c},h=gM(p);return E.jsx(yM,{as:c,className:ve(h.root,s),ownerState:p,ref:i,...f})}),Zn=fT({createStyledComponent:he("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.root,r[`maxWidth${ue(String(i.maxWidth))}`],i.fixed&&r.fixed,i.disableGutters&&r.disableGutters]}}),useThemeProps:e=>ke({props:e,name:"MuiContainer"})}),kp=typeof S1({})=="function",vM=(e,r)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...r&&!e.vars&&{colorScheme:e.palette.mode}}),bM=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}}),k1=(e,r=!1)=>{const i={};r&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([c,f])=>{const p=e.getColorSchemeSelector(c);p.startsWith("@")?i[p]={":root":{colorScheme:f.palette?.mode}}:i[p.replace(/\s*&/,"")]={colorScheme:f.palette?.mode}});let o={html:vM(e,r),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...bM(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...i};const s=e.components?.MuiCssBaseline?.styleOverrides;return s&&(o=[o,s]),o},Hc="mui-ecs",SM=e=>{const r=k1(e,!1),i=Array.isArray(r)?r[0]:r;return!e.vars&&i&&(i.html[`:root:has(${Hc})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([o,s])=>{const c=e.getColorSchemeSelector(o);c.startsWith("@")?i[c]={[`:root:not(:has(.${Hc}))`]:{colorScheme:s.palette?.mode}}:i[c.replace(/\s*&/,"")]={[`&:not(:has(.${Hc}))`]:{colorScheme:s.palette?.mode}}}),r},xM=S1(kp?({theme:e,enableColorScheme:r})=>k1(e,r):({theme:e})=>SM(e));function CM(e){const r=ke({props:e,name:"MuiCssBaseline"}),{children:i,enableColorScheme:o=!1}=r;return E.jsxs(R.Fragment,{children:[kp&&E.jsx(xM,{enableColorScheme:o}),!kp&&!o&&E.jsx("span",{className:Hc,style:{display:"none"}}),i]})}function EM(e){return $e("MuiDivider",e)}Ge("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const wM=e=>{const{absolute:r,children:i,classes:o,flexItem:s,light:c,orientation:f,textAlign:p,variant:h}=e;return Ue({root:["root",r&&"absolute",h,c&&"light",f==="vertical"&&"vertical",s&&"flexItem",i&&"withChildren",i&&f==="vertical"&&"withChildrenVertical",p==="right"&&f!=="vertical"&&"textAlignRight",p==="left"&&f!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",f==="vertical"&&"wrapperVertical"]},EM,o)},TM=he("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.root,i.absolute&&r.absolute,r[i.variant],i.light&&r.light,i.orientation==="vertical"&&r.vertical,i.flexItem&&r.flexItem,i.children&&r.withChildren,i.children&&i.orientation==="vertical"&&r.withChildrenVertical,i.textAlign==="right"&&i.orientation!=="vertical"&&r.textAlignRight,i.textAlign==="left"&&i.orientation!=="vertical"&&r.textAlignLeft]}})(Le(({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.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Ve(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:r})=>!!r.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:r})=>r.children&&r.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:r})=>r.orientation==="vertical"&&r.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:r})=>r.textAlign==="right"&&r.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:r})=>r.textAlign==="left"&&r.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),RM=he("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.wrapper,i.orientation==="vertical"&&r.wrapperVertical]}})(Le(({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)`}}]}))),oa=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiDivider"}),{absolute:s=!1,children:c,className:f,orientation:p="horizontal",component:h=c||p==="vertical"?"div":"hr",flexItem:m=!1,light:g=!1,role:v=h!=="hr"?"separator":void 0,textAlign:y="center",variant:T="fullWidth",...S}=o,w={...o,absolute:s,component:h,flexItem:m,light:g,orientation:p,role:v,textAlign:y,variant:T},j=wM(w);return E.jsx(TM,{as:h,className:ve(j.root,f),role:v,ref:i,ownerState:w,"aria-orientation":v==="separator"&&(h!=="hr"||p==="vertical")?p:void 0,...S,children:c?E.jsx(RM,{className:j.wrapper,ownerState:w,children:c}):null})});oa&&(oa.muiSkipListHighlight=!0);const O0=MT({createStyledComponent:he("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.root,i.container&&r.container]}}),componentName:"MuiGrid",useThemeProps:e=>ke({props:e,name:"MuiGrid"}),useTheme:wu});function AM(e){return $e("MuiLinearProgress",e)}Ge("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const $p=4,Bp=ca` 0% { left: -35%; right: 100%; } 60% { left: 100%; right: -90%; } 100% { left: 100%; right: -90%; } `,MM=typeof Bp!="string"?oo` animation: ${Bp} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; `:null,Pp=ca` 0% { left: -200%; right: 100%; } 60% { left: 107%; right: -8%; } 100% { left: 107%; right: -8%; } `,OM=typeof Pp!="string"?oo` animation: ${Pp} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; `:null,Lp=ca` 0% { opacity: 1; background-position: 0 -23px; } 60% { opacity: 0; background-position: 0 -23px; } 100% { opacity: 1; background-position: -200px -23px; } `,jM=typeof Lp!="string"?oo` animation: ${Lp} 3s infinite linear; `:null,_M=e=>{const{classes:r,variant:i,color:o}=e,s={root:["root",`color${ue(o)}`,i],dashed:["dashed",`dashedColor${ue(o)}`],bar1:["bar","bar1",`barColor${ue(o)}`,(i==="indeterminate"||i==="query")&&"bar1Indeterminate",i==="determinate"&&"bar1Determinate",i==="buffer"&&"bar1Buffer"],bar2:["bar","bar2",i!=="buffer"&&`barColor${ue(o)}`,i==="buffer"&&`color${ue(o)}`,(i==="indeterminate"||i==="query")&&"bar2Indeterminate",i==="buffer"&&"bar2Buffer"]};return Ue(s,AM,r)},Eh=(e,r)=>e.vars?e.vars.palette.LinearProgress[`${r}Bg`]:e.palette.mode==="light"?Va(e.palette[r].main,.62):Fa(e.palette[r].main,.5),zM=he("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.root,r[`color${ue(i.color)}`],r[i.variant]]}})(Le(({theme:e})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(e.palette).filter(zt()).map(([r])=>({props:{color:r},style:{backgroundColor:Eh(e,r)}})),{props:({ownerState:r})=>r.color==="inherit"&&r.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)"}}]}))),DM=he("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.dashed,r[`dashedColor${ue(i.color)}`]]}})(Le(({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(zt()).map(([r])=>{const i=Eh(e,r);return{props:{color:r},style:{backgroundImage:`radial-gradient(${i} 0%, ${i} 16%, transparent 42%)`}}})]})),jM||{animation:`${Lp} 3s infinite linear`}),NM=he("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.bar,r.bar1,r[`barColor${ue(i.color)}`],(i.variant==="indeterminate"||i.variant==="query")&&r.bar1Indeterminate,i.variant==="determinate"&&r.bar1Determinate,i.variant==="buffer"&&r.bar1Buffer]}})(Le(({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(zt()).map(([r])=>({props:{color:r},style:{backgroundColor:(e.vars||e).palette[r].main}})),{props:{variant:"determinate"},style:{transition:`transform .${$p}s linear`}},{props:{variant:"buffer"},style:{zIndex:1,transition:`transform .${$p}s linear`}},{props:({ownerState:r})=>r.variant==="indeterminate"||r.variant==="query",style:{width:"auto"}},{props:({ownerState:r})=>r.variant==="indeterminate"||r.variant==="query",style:MM||{animation:`${Bp} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),kM=he("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.bar,r.bar2,r[`barColor${ue(i.color)}`],(i.variant==="indeterminate"||i.variant==="query")&&r.bar2Indeterminate,i.variant==="buffer"&&r.bar2Buffer]}})(Le(({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(zt()).map(([r])=>({props:{color:r},style:{"--LinearProgressBar2-barColor":(e.vars||e).palette[r].main}})),{props:({ownerState:r})=>r.variant!=="buffer"&&r.color!=="inherit",style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:({ownerState:r})=>r.variant!=="buffer"&&r.color==="inherit",style:{backgroundColor:"currentColor"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(e.palette).filter(zt()).map(([r])=>({props:{color:r,variant:"buffer"},style:{backgroundColor:Eh(e,r),transition:`transform .${$p}s linear`}})),{props:({ownerState:r})=>r.variant==="indeterminate"||r.variant==="query",style:{width:"auto"}},{props:({ownerState:r})=>r.variant==="indeterminate"||r.variant==="query",style:OM||{animation:`${Pp} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),$M=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiLinearProgress"}),{className:s,color:c="primary",value:f,valueBuffer:p,variant:h="indeterminate",...m}=o,g={...o,color:c,variant:h},v=_M(g),y=Cu(),T={},S={bar1:{},bar2:{}};if((h==="determinate"||h==="buffer")&&f!==void 0){T["aria-valuenow"]=Math.round(f),T["aria-valuemin"]=0,T["aria-valuemax"]=100;let w=f-100;y&&(w=-w),S.bar1.transform=`translateX(${w}%)`}if(h==="buffer"&&p!==void 0){let w=(p||0)-100;y&&(w=-w),S.bar2.transform=`translateX(${w}%)`}return E.jsxs(zM,{className:ve(v.root,s),ownerState:g,role:"progressbar",...T,ref:i,...m,children:[h==="buffer"?E.jsx(DM,{className:v.dashed,ownerState:g}):null,E.jsx(NM,{className:v.bar1,ownerState:g,style:S.bar1}),h==="determinate"?null:E.jsx(kM,{className:v.bar2,ownerState:g,style:S.bar2})]})});function BM(e){return $e("MuiPagination",e)}Ge("MuiPagination",["root","ul","outlined","text"]);function PM(e={}){const{boundaryCount:r=1,componentName:i="usePagination",count:o=1,defaultPage:s=1,disabled:c=!1,hideNextButton:f=!1,hidePrevButton:p=!1,onChange:h,page:m,showFirstButton:g=!1,showLastButton:v=!1,siblingCount:y=1,...T}=e,[S,w]=T1({controlled:m,default:s,name:i,state:"page"}),j=($,b)=>{m||w(b),h&&h($,b)},C=($,b)=>{const z=b-$+1;return Array.from({length:z},(P,q)=>$+q)},D=C(1,Math.min(r,o)),O=C(Math.max(o-r+1,r+1),o),A=Math.max(Math.min(S-y,o-r-y*2-1),r+2),M=Math.min(Math.max(S+y,r+y*2+2),o-r-1),k=[...g?["first"]:[],...p?[]:["previous"],...D,...A>r+2?["start-ellipsis"]:r+1r?[o-r]:[],...O,...f?[]:["next"],...v?["last"]:[]],B=$=>{switch($){case"first":return 1;case"previous":return S-1;case"next":return S+1;case"last":return o;default:return null}};return{items:k.map($=>typeof $=="number"?{onClick:b=>{j(b,$)},type:"page",page:$,selected:$===S,disabled:c,"aria-current":$===S?"page":void 0}:{onClick:b=>{j(b,B($))},type:$,page:B($),selected:!1,disabled:c||!$.includes("ellipsis")&&($==="next"||$==="last"?S>=o:S<=1)}),...T}}function LM(e){return $e("MuiPaginationItem",e)}const Wt=Ge("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]),UM=it(E.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"})),HM=it(E.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"})),qM=it(E.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),IM=it(E.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),$1=(e,r)=>{const{ownerState:i}=e;return[r.root,r[i.variant],r[`size${ue(i.size)}`],i.variant==="text"&&r[`text${ue(i.color)}`],i.variant==="outlined"&&r[`outlined${ue(i.color)}`],i.shape==="rounded"&&r.rounded,i.type==="page"&&r.page,(i.type==="start-ellipsis"||i.type==="end-ellipsis")&&r.ellipsis,(i.type==="previous"||i.type==="next")&&r.previousNext,(i.type==="first"||i.type==="last")&&r.firstLast]},FM=e=>{const{classes:r,color:i,disabled:o,selected:s,size:c,shape:f,type:p,variant:h}=e,m={root:["root",`size${ue(c)}`,h,f,i!=="standard"&&`color${ue(i)}`,i!=="standard"&&`${h}${ue(i)}`,o&&"disabled",s&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[p]],icon:["icon"]};return Ue(m,LM,r)},VM=he("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:$1})(Le(({theme:e})=>({...e.typography.body2,borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${Wt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:{size:"small"},style:{minWidth:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)}}]}))),GM=he(ia,{name:"MuiPaginationItem",slot:"Root",overridesResolver:$1})(Le(({theme:e})=>({...e.typography.body2,borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${Wt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Wt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Wt.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ve(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Wt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ve(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},[`&.${Wt.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}},variants:[{props:{size:"small"},style:{minWidth:26,height:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,height:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)}},{props:{shape:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"outlined"},style:{border:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${Wt.selected}`]:{[`&.${Wt.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}}}},{props:{variant:"text"},style:{[`&.${Wt.selected}`]:{[`&.${Wt.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}},...Object.entries(e.palette).filter(zt(["dark","contrastText"])).map(([r])=>({props:{variant:"text",color:r},style:{[`&.${Wt.selected}`]:{color:(e.vars||e).palette[r].contrastText,backgroundColor:(e.vars||e).palette[r].main,"&:hover":{backgroundColor:(e.vars||e).palette[r].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[r].main}},[`&.${Wt.focusVisible}`]:{backgroundColor:(e.vars||e).palette[r].dark},[`&.${Wt.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}})),...Object.entries(e.palette).filter(zt(["light"])).map(([r])=>({props:{variant:"outlined",color:r},style:{[`&.${Wt.selected}`]:{color:(e.vars||e).palette[r].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[r].mainChannel} / 0.5)`:Ve(e.palette[r].main,.5)}`,backgroundColor:e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.activatedOpacity})`:Ve(e.palette[r].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[r].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ve(e.palette[r].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Wt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[r].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ve(e.palette[r].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}}}}))]}))),QM=he("div",{name:"MuiPaginationItem",slot:"Icon"})(Le(({theme:e})=>({fontSize:e.typography.pxToRem(20),margin:"0 -8px",variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(22)}}]}))),B1=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiPaginationItem"}),{className:s,color:c="standard",component:f,components:p={},disabled:h=!1,page:m,selected:g=!1,shape:v="circular",size:y="medium",slots:T={},slotProps:S={},type:w="page",variant:j="text",...C}=o,D={...o,color:c,disabled:h,selected:g,shape:v,size:y,type:w,variant:j},O=Cu(),A=FM(D),M={slots:{previous:T.previous??p.previous,next:T.next??p.next,first:T.first??p.first,last:T.last??p.last},slotProps:S},[k,B]=pt("previous",{elementType:qM,externalForwardedProps:M,ownerState:D}),[H,$]=pt("next",{elementType:IM,externalForwardedProps:M,ownerState:D}),[b,z]=pt("first",{elementType:UM,externalForwardedProps:M,ownerState:D}),[P,q]=pt("last",{elementType:HM,externalForwardedProps:M,ownerState:D}),V=O?{previous:"next",next:"previous",first:"last",last:"first"}[w]:w,te={previous:k,next:H,first:b,last:P}[V],U={previous:B,next:$,first:z,last:q}[V];return w==="start-ellipsis"||w==="end-ellipsis"?E.jsx(VM,{ref:i,ownerState:D,className:ve(A.root,s),children:"…"}):E.jsxs(GM,{ref:i,ownerState:D,component:f,disabled:h,className:ve(A.root,s),...C,children:[w==="page"&&m,te?E.jsx(QM,{...U,className:A.icon,as:te}):null]})}),YM=e=>{const{classes:r,variant:i}=e;return Ue({root:["root",i],ul:["ul"]},BM,r)},KM=he("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.root,r[i.variant]]}})({}),XM=he("ul",{name:"MuiPagination",slot:"Ul"})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function WM(e,r,i){return e==="page"?`${i?"":"Go to "}page ${r}`:`Go to ${e} page`}const ZM=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiPagination"}),{boundaryCount:s=1,className:c,color:f="standard",count:p=1,defaultPage:h=1,disabled:m=!1,getItemAriaLabel:g=WM,hideNextButton:v=!1,hidePrevButton:y=!1,onChange:T,page:S,renderItem:w=b=>E.jsx(B1,{...b}),shape:j="circular",showFirstButton:C=!1,showLastButton:D=!1,siblingCount:O=1,size:A="medium",variant:M="text",...k}=o,{items:B}=PM({...o,componentName:"Pagination"}),H={...o,boundaryCount:s,color:f,count:p,defaultPage:h,disabled:m,getItemAriaLabel:g,hideNextButton:v,hidePrevButton:y,renderItem:w,shape:j,showFirstButton:C,showLastButton:D,siblingCount:O,size:A,variant:M},$=YM(H);return E.jsx(KM,{"aria-label":"pagination navigation",className:ve($.root,c),ownerState:H,ref:i,...k,children:E.jsx(XM,{className:$.ul,ownerState:H,children:B.map((b,z)=>E.jsx("li",{children:w({...b,color:f,"aria-label":g(b.type,b.page,b.selected),shape:j,size:A,variant:M})},z))})})}),Rr=kT({createStyledComponent:he("div",{name:"MuiStack",slot:"Root"}),useThemeProps:e=>ke({props:e,name:"MuiStack"})});function JM(e){return $e("MuiTab",e)}const Mn=Ge("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]),e4=e=>{const{classes:r,textColor:i,fullWidth:o,wrapped:s,icon:c,label:f,selected:p,disabled:h}=e,m={root:["root",c&&f&&"labelIcon",`textColor${ue(i)}`,o&&"fullWidth",s&&"wrapped",p&&"selected",h&&"disabled"],icon:["iconWrapper","icon"]};return Ue(m,JM,r)},t4=he(ia,{name:"MuiTab",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.root,i.label&&i.icon&&r.labelIcon,r[`textColor${ue(i.textColor)}`],i.fullWidth&&r.fullWidth,i.wrapped&&r.wrapped,{[`& .${Mn.iconWrapper}`]:r.iconWrapper},{[`& .${Mn.icon}`]:r.icon}]}})(Le(({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:r})=>r.label&&(r.iconPosition==="top"||r.iconPosition==="bottom"),style:{flexDirection:"column"}},{props:({ownerState:r})=>r.label&&r.iconPosition!=="top"&&r.iconPosition!=="bottom",style:{flexDirection:"row"}},{props:({ownerState:r})=>r.icon&&r.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:r,iconPosition:i})=>r.icon&&r.label&&i==="top",style:{[`& > .${Mn.icon}`]:{marginBottom:6}}},{props:({ownerState:r,iconPosition:i})=>r.icon&&r.label&&i==="bottom",style:{[`& > .${Mn.icon}`]:{marginTop:6}}},{props:({ownerState:r,iconPosition:i})=>r.icon&&r.label&&i==="start",style:{[`& > .${Mn.icon}`]:{marginRight:e.spacing(1)}}},{props:({ownerState:r,iconPosition:i})=>r.icon&&r.label&&i==="end",style:{[`& > .${Mn.icon}`]:{marginLeft:e.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${Mn.selected}`]:{opacity:1},[`&.${Mn.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${Mn.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${Mn.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${Mn.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${Mn.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:({ownerState:r})=>r.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:r})=>r.wrapped,style:{fontSize:e.typography.pxToRem(12)}}]}))),n4=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiTab"}),{className:s,disabled:c=!1,disableFocusRipple:f=!1,fullWidth:p,icon:h,iconPosition:m="top",indicator:g,label:v,onChange:y,onClick:T,onFocus:S,selected:w,selectionFollowsFocus:j,textColor:C="inherit",value:D,wrapped:O=!1,...A}=o,M={...o,disabled:c,disableFocusRipple:f,selected:w,icon:!!h,iconPosition:m,label:!!v,fullWidth:p,textColor:C,wrapped:O},k=e4(M),B=h&&v&&R.isValidElement(h)?R.cloneElement(h,{className:ve(k.icon,h.props.className)}):h,H=b=>{!w&&y&&y(b,D),T&&T(b)},$=b=>{j&&!w&&y&&y(b,D),S&&S(b)};return E.jsxs(t4,{focusRipple:!f,className:ve(k.root,s),ref:i,role:"tab","aria-selected":w,disabled:c,onClick:H,onFocus:$,ownerState:M,tabIndex:w?0:-1,...A,children:[m==="top"||m==="start"?E.jsxs(R.Fragment,{children:[B,v]}):E.jsxs(R.Fragment,{children:[v,B]}),g]})}),P1=R.createContext();function r4(e){return $e("MuiTable",e)}Ge("MuiTable",["root","stickyHeader"]);const a4=e=>{const{classes:r,stickyHeader:i}=e;return Ue({root:["root",i&&"stickyHeader"]},r4,r)},i4=he("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.root,i.stickyHeader&&r.stickyHeader]}})(Le(({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:r})=>r.stickyHeader,style:{borderCollapse:"separate"}}]}))),j0="table",o4=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiTable"}),{className:s,component:c=j0,padding:f="normal",size:p="medium",stickyHeader:h=!1,...m}=o,g={...o,component:c,padding:f,size:p,stickyHeader:h},v=a4(g),y=R.useMemo(()=>({padding:f,size:p,stickyHeader:h}),[f,p,h]);return E.jsx(P1.Provider,{value:y,children:E.jsx(i4,{as:c,role:c===j0?null:"table",ref:i,className:ve(v.root,s),ownerState:g,...m})})}),Tu=R.createContext();function l4(e){return $e("MuiTableBody",e)}Ge("MuiTableBody",["root"]);const s4=e=>{const{classes:r}=e;return Ue({root:["root"]},l4,r)},c4=he("tbody",{name:"MuiTableBody",slot:"Root"})({display:"table-row-group"}),u4={variant:"body"},_0="tbody",f4=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiTableBody"}),{className:s,component:c=_0,...f}=o,p={...o,component:c},h=s4(p);return E.jsx(Tu.Provider,{value:u4,children:E.jsx(c4,{className:ve(h.root,s),as:c,ref:i,role:c===_0?null:"rowgroup",ownerState:p,...f})})});function d4(e){return $e("MuiTableCell",e)}const p4=Ge("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),h4=e=>{const{classes:r,variant:i,align:o,padding:s,size:c,stickyHeader:f}=e,p={root:["root",i,f&&"stickyHeader",o!=="inherit"&&`align${ue(o)}`,s!=="normal"&&`padding${ue(s)}`,`size${ue(c)}`]};return Ue(p,d4,r)},m4=he("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.root,r[i.variant],r[`size${ue(i.size)}`],i.padding!=="normal"&&r[`padding${ue(i.padding)}`],i.align!=="inherit"&&r[`align${ue(i.align)}`],i.stickyHeader&&r.stickyHeader]}})(Le(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid ${e.palette.mode==="light"?Va(Ve(e.palette.divider,1),.88):Fa(Ve(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",[`&.${p4.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:r})=>r.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),pl=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiTableCell"}),{align:s="inherit",className:c,component:f,padding:p,scope:h,size:m,sortDirection:g,variant:v,...y}=o,T=R.useContext(P1),S=R.useContext(Tu),w=S&&S.variant==="head";let j;f?j=f:j=w?"th":"td";let C=h;j==="td"?C=void 0:!C&&w&&(C="col");const D=v||S&&S.variant,O={...o,align:s,component:j,padding:p||(T&&T.padding?T.padding:"normal"),size:m||(T&&T.size?T.size:"medium"),sortDirection:g,stickyHeader:D==="head"&&T&&T.stickyHeader,variant:D},A=h4(O);let M=null;return g&&(M=g==="asc"?"ascending":"descending"),E.jsx(m4,{as:j,ref:i,className:ve(A.root,c),"aria-sort":M,scope:C,ownerState:O,...y})});function g4(e){return $e("MuiTableContainer",e)}Ge("MuiTableContainer",["root"]);const y4=e=>{const{classes:r}=e;return Ue({root:["root"]},g4,r)},v4=he("div",{name:"MuiTableContainer",slot:"Root"})({width:"100%",overflowX:"auto"}),b4=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiTableContainer"}),{className:s,component:c="div",...f}=o,p={...o,component:c},h=y4(p);return E.jsx(v4,{ref:i,as:c,className:ve(h.root,s),ownerState:p,...f})});function S4(e){return $e("MuiTableHead",e)}Ge("MuiTableHead",["root"]);const x4=e=>{const{classes:r}=e;return Ue({root:["root"]},S4,r)},C4=he("thead",{name:"MuiTableHead",slot:"Root"})({display:"table-header-group"}),E4={variant:"head"},z0="thead",w4=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiTableHead"}),{className:s,component:c=z0,...f}=o,p={...o,component:c},h=x4(p);return E.jsx(Tu.Provider,{value:E4,children:E.jsx(C4,{as:c,className:ve(h.root,s),ref:i,role:c===z0?null:"rowgroup",ownerState:p,...f})})}),T4=it(E.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"})),R4=it(E.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}));function A4(e){return $e("MuiTableRow",e)}const D0=Ge("MuiTableRow",["root","selected","hover","head","footer"]),M4=e=>{const{classes:r,selected:i,hover:o,head:s,footer:c}=e;return Ue({root:["root",i&&"selected",o&&"hover",s&&"head",c&&"footer"]},A4,r)},O4=he("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.root,i.head&&r.head,i.footer&&r.footer]}})(Le(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${D0.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${D0.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ve(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ve(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),N0="tr",k0=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiTableRow"}),{className:s,component:c=N0,hover:f=!1,selected:p=!1,...h}=o,m=R.useContext(Tu),g={...o,component:c,hover:f,selected:p,head:m&&m.variant==="head",footer:m&&m.variant==="footer"},v=M4(g);return E.jsx(O4,{as:c,ref:i,className:ve(v.root,s),role:c===N0?null:"row",ownerState:g,...h})});function j4(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function _4(e,r,i,o={},s=()=>{}){const{ease:c=j4,duration:f=300}=o;let p=null;const h=r[e];let m=!1;const g=()=>{m=!0},v=y=>{if(m){s(new Error("Animation cancelled"));return}p===null&&(p=y);const T=Math.min(1,(y-p)/f);if(r[e]=c(T)*(i-h)+h,T>=1){requestAnimationFrame(()=>{s(null)});return}requestAnimationFrame(v)};return h===i?(s(new Error("Element already at target position")),g):(requestAnimationFrame(v),g)}const z4={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function D4(e){const{onChange:r,...i}=e,o=R.useRef(),s=R.useRef(null),c=()=>{o.current=s.current.offsetHeight-s.current.clientHeight};return dh(()=>{const f=x1(()=>{const h=o.current;c(),h!==o.current&&r(o.current)}),p=E1(s.current);return p.addEventListener("resize",f),()=>{f.clear(),p.removeEventListener("resize",f)}},[r]),R.useEffect(()=>{c(),r(o.current)},[r]),E.jsx("div",{style:z4,...i,ref:s})}function N4(e){return $e("MuiTabScrollButton",e)}const k4=Ge("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),$4=e=>{const{classes:r,orientation:i,disabled:o}=e;return Ue({root:["root",i,o&&"disabled"]},N4,r)},B4=he(ia,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.root,i.orientation&&r[i.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${k4.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),P4=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiTabScrollButton"}),{className:s,slots:c={},slotProps:f={},direction:p,orientation:h,disabled:m,...g}=o,v=Cu(),y={isRtl:v,...o},T=$4(y),S=c.StartScrollButtonIcon??T4,w=c.EndScrollButtonIcon??R4,j=Zc({elementType:S,externalSlotProps:f.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:y}),C=Zc({elementType:w,externalSlotProps:f.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:y});return E.jsx(B4,{component:"div",className:ve(T.root,s),ref:i,role:null,ownerState:y,tabIndex:null,...g,style:{...g.style,...h==="vertical"&&{"--TabScrollButton-svgRotate":`rotate(${v?-90:90}deg)`}},children:p==="left"?E.jsx(S,{...j}):E.jsx(w,{...C})})});function L4(e){return $e("MuiTabs",e)}const op=Ge("MuiTabs",["root","vertical","list","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),$0=(e,r)=>e===r?e.firstChild:r&&r.nextElementSibling?r.nextElementSibling:e.firstChild,B0=(e,r)=>e===r?e.lastChild:r&&r.previousElementSibling?r.previousElementSibling:e.lastChild,Rc=(e,r,i)=>{let o=!1,s=i(e,r);for(;s;){if(s===e.firstChild){if(o)return;o=!0}const c=s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||c)s=i(e,s);else{s.focus();return}}},U4=e=>{const{vertical:r,fixed:i,hideScrollbar:o,scrollableX:s,scrollableY:c,centered:f,scrollButtonsHideMobile:p,classes:h}=e;return Ue({root:["root",r&&"vertical"],scroller:["scroller",i&&"fixed",o&&"hideScrollbar",s&&"scrollableX",c&&"scrollableY"],list:["list","flexContainer",r&&"flexContainerVertical",r&&"vertical",f&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",p&&"scrollButtonsHideMobile"],scrollableX:[s&&"scrollableX"],hideScrollbar:[o&&"hideScrollbar"]},L4,h)},H4=he("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[{[`& .${op.scrollButtons}`]:r.scrollButtons},{[`& .${op.scrollButtons}`]:i.scrollButtonsHideMobile&&r.scrollButtonsHideMobile},r.root,i.vertical&&r.vertical]}})(Le(({theme:e})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:r})=>r.vertical,style:{flexDirection:"column"}},{props:({ownerState:r})=>r.scrollButtonsHideMobile,style:{[`& .${op.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}}}]}))),q4=he("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.scroller,i.fixed&&r.fixed,i.hideScrollbar&&r.hideScrollbar,i.scrollableX&&r.scrollableX,i.scrollableY&&r.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"}}]}),I4=he("div",{name:"MuiTabs",slot:"List",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.list,r.flexContainer,i.vertical&&r.flexContainerVertical,i.centered&&r.centered]}})({display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.centered,style:{justifyContent:"center"}}]}),F4=he("span",{name:"MuiTabs",slot:"Indicator"})(Le(({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:r})=>r.vertical,style:{height:"100%",width:2,right:0}}]}))),V4=he(D4)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),P0={},G4=R.forwardRef(function(r,i){const o=ke({props:r,name:"MuiTabs"}),s=wu(),c=Cu(),{"aria-label":f,"aria-labelledby":p,action:h,centered:m=!1,children:g,className:v,component:y="div",allowScrollButtonsMobile:T=!1,indicatorColor:S="primary",onChange:w,orientation:j="horizontal",ScrollButtonComponent:C,scrollButtons:D="auto",selectionFollowsFocus:O,slots:A={},slotProps:M={},TabIndicatorProps:k={},TabScrollButtonProps:B={},textColor:H="primary",value:$,variant:b="standard",visibleScrollbar:z=!1,...P}=o,q=b==="scrollable",V=j==="vertical",te=V?"scrollTop":"scrollLeft",U=V?"top":"left",Y=V?"bottom":"right",J=V?"clientHeight":"clientWidth",ae=V?"height":"width",N={...o,component:y,allowScrollButtonsMobile:T,indicatorColor:S,orientation:j,vertical:V,scrollButtons:D,textColor:H,variant:b,visibleScrollbar:z,fixed:!q,hideScrollbar:q&&!z,scrollableX:q&&!V,scrollableY:q&&V,centered:m&&!q,scrollButtonsHideMobile:!T},G=U4(N),oe=Zc({elementType:A.StartScrollButtonIcon,externalSlotProps:M.startScrollButtonIcon,ownerState:N}),ne=Zc({elementType:A.EndScrollButtonIcon,externalSlotProps:M.endScrollButtonIcon,ownerState:N}),[se,ce]=R.useState(!1),[Z,ge]=R.useState(P0),[fe,Ce]=R.useState(!1),[He,wt]=R.useState(!1),[Tt,Bt]=R.useState(!1),[ct,Pt]=R.useState({overflow:"hidden",scrollbarWidth:0}),Jt=new Map,Be=R.useRef(null),St=R.useRef(null),ot={slots:A,slotProps:{indicator:k,scrollButton:B,...M}},Kt=()=>{const de=Be.current;let me;if(de){const Te=de.getBoundingClientRect();me={clientWidth:de.clientWidth,scrollLeft:de.scrollLeft,scrollTop:de.scrollTop,scrollWidth:de.scrollWidth,top:Te.top,bottom:Te.bottom,left:Te.left,right:Te.right}}let we;if(de&&$!==!1){const Te=St.current.children;if(Te.length>0){const tt=Te[Jt.get($)];we=tt?tt.getBoundingClientRect():null}}return{tabsMeta:me,tabMeta:we}},Vt=Ha(()=>{const{tabsMeta:de,tabMeta:me}=Kt();let we=0,Te;V?(Te="top",me&&de&&(we=me.top-de.top+de.scrollTop)):(Te=c?"right":"left",me&&de&&(we=(c?-1:1)*(me[Te]-de[Te]+de.scrollLeft)));const tt={[Te]:we,[ae]:me?me[ae]:0};if(typeof Z[Te]!="number"||typeof Z[ae]!="number")ge(tt);else{const en=Math.abs(Z[Te]-tt[Te]),ar=Math.abs(Z[ae]-tt[ae]);(en>=1||ar>=1)&&ge(tt)}}),be=(de,{animation:me=!0}={})=>{me?_4(te,Be.current,de,{duration:s.transitions.duration.standard}):Be.current[te]=de},fa=de=>{let me=Be.current[te];V?me+=de:me+=de*(c?-1:1),be(me)},da=()=>{const de=Be.current[J];let me=0;const we=Array.from(St.current.children);for(let Te=0;Tede){Te===0&&(me=de);break}me+=tt[J]}return me},ei=()=>{fa(-1*da())},Rt=()=>{fa(da())},[Oe,{onChange:ut,...lt}]=pt("scrollbar",{className:ve(G.scrollableX,G.hideScrollbar),elementType:V4,shouldForwardComponentProp:!0,externalForwardedProps:ot,ownerState:N}),pa=R.useCallback(de=>{ut?.(de),Pt({overflow:null,scrollbarWidth:de})},[ut]),[ti,as]=pt("scrollButtons",{className:ve(G.scrollButtons,B.className),elementType:P4,externalForwardedProps:ot,ownerState:N,additionalProps:{orientation:j,slots:{StartScrollButtonIcon:A.startScrollButtonIcon||A.StartScrollButtonIcon,EndScrollButtonIcon:A.endScrollButtonIcon||A.EndScrollButtonIcon},slotProps:{startScrollButtonIcon:oe,endScrollButtonIcon:ne}}}),ni=()=>{const de={};de.scrollbarSizeListener=q?E.jsx(Oe,{...lt,onChange:pa}):null;const we=q&&(D==="auto"&&(fe||He)||D===!0);return de.scrollButtonStart=we?E.jsx(ti,{direction:c?"right":"left",onClick:ei,disabled:!fe,...as}):null,de.scrollButtonEnd=we?E.jsx(ti,{direction:c?"left":"right",onClick:Rt,disabled:!He,...as}):null,de},ha=Ha(de=>{const{tabsMeta:me,tabMeta:we}=Kt();if(!(!we||!me)){if(we[U]me[Y]){const Te=me[te]+(we[Y]-me[Y]);be(Te,{animation:de})}}}),vn=Ha(()=>{q&&D!==!1&&Bt(!Tt)});R.useEffect(()=>{const de=x1(()=>{Be.current&&Vt()});let me;const we=en=>{en.forEach(ar=>{ar.removedNodes.forEach(ya=>{me?.unobserve(ya)}),ar.addedNodes.forEach(ya=>{me?.observe(ya)})}),de(),vn()},Te=E1(Be.current);Te.addEventListener("resize",de);let tt;return typeof ResizeObserver<"u"&&(me=new ResizeObserver(de),Array.from(St.current.children).forEach(en=>{me.observe(en)})),typeof MutationObserver<"u"&&(tt=new MutationObserver(we),tt.observe(St.current,{childList:!0})),()=>{de.clear(),Te.removeEventListener("resize",de),tt?.disconnect(),me?.disconnect()}},[Vt,vn]),R.useEffect(()=>{const de=Array.from(St.current.children),me=de.length;if(typeof IntersectionObserver<"u"&&me>0&&q&&D!==!1){const we=de[0],Te=de[me-1],tt={root:Be.current,threshold:.99},en=ir=>{Ce(!ir[0].isIntersecting)},ar=new IntersectionObserver(en,tt);ar.observe(we);const ya=ir=>{wt(!ir[0].isIntersecting)},mo=new IntersectionObserver(ya,tt);return mo.observe(Te),()=>{ar.disconnect(),mo.disconnect()}}},[q,D,Tt,g?.length]),R.useEffect(()=>{ce(!0)},[]),R.useEffect(()=>{Vt()}),R.useEffect(()=>{ha(P0!==Z)},[ha,Z]),R.useImperativeHandle(h,()=>({updateIndicator:Vt,updateScrollButtons:vn}),[Vt,vn]);const[ri,ma]=pt("indicator",{className:ve(G.indicator,k.className),elementType:F4,externalForwardedProps:ot,ownerState:N,additionalProps:{style:Z}}),is=E.jsx(ri,{...ma});let ga=0;const os=R.Children.map(g,de=>{if(!R.isValidElement(de))return null;const me=de.props.value===void 0?ga:de.props.value;Jt.set(me,ga);const we=me===$;return ga+=1,R.cloneElement(de,{fullWidth:b==="fullWidth",indicator:we&&!se&&is,selected:we,selectionFollowsFocus:O,onChange:w,textColor:H,value:me,...ga===1&&$===!1&&!de.props.tabIndex?{tabIndex:0}:{}})}),fo=de=>{if(de.altKey||de.shiftKey||de.ctrlKey||de.metaKey)return;const me=St.current,we=C1(me).activeElement;if(we.getAttribute("role")!=="tab")return;let tt=j==="horizontal"?"ArrowLeft":"ArrowUp",en=j==="horizontal"?"ArrowRight":"ArrowDown";switch(j==="horizontal"&&c&&(tt="ArrowRight",en="ArrowLeft"),de.key){case tt:de.preventDefault(),Rc(me,we,B0);break;case en:de.preventDefault(),Rc(me,we,$0);break;case"Home":de.preventDefault(),Rc(me,null,$0);break;case"End":de.preventDefault(),Rc(me,null,B0);break}},rr=ni(),[Du,ls]=pt("root",{ref:i,className:ve(G.root,v),elementType:H4,externalForwardedProps:{...ot,...P,component:y},ownerState:N}),[ss,po]=pt("scroller",{ref:Be,className:G.scroller,elementType:q4,externalForwardedProps:ot,ownerState:N,additionalProps:{style:{overflow:ct.overflow,[V?`margin${c?"Left":"Right"}`:"marginBottom"]:z?void 0:-ct.scrollbarWidth}}}),[ho,cs]=pt("list",{ref:St,className:ve(G.list,G.flexContainer),elementType:I4,externalForwardedProps:ot,ownerState:N,getSlotProps:de=>({...de,onKeyDown:me=>{fo(me),de.onKeyDown?.(me)}})});return E.jsxs(Du,{...ls,children:[rr.scrollButtonStart,rr.scrollbarSizeListener,E.jsxs(ss,{...po,children:[E.jsx(ho,{"aria-label":f,"aria-labelledby":p,"aria-orientation":j==="vertical"?"vertical":null,role:"tablist",...cs,children:os}),se&&is]}),rr.scrollButtonEnd]})});var hl={},L0;function Q4(){if(L0)return hl;L0=1,Object.defineProperty(hl,"__esModule",{value:!0}),hl.parse=f,hl.serialize=m;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,r=/^[\u0021-\u003A\u003C-\u007E]*$/,i=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,o=/^[\u0020-\u003A\u003D-\u007E]*$/,s=Object.prototype.toString,c=(()=>{const y=function(){};return y.prototype=Object.create(null),y})();function f(y,T){const S=new c,w=y.length;if(w<2)return S;const j=T?.decode||g;let C=0;do{const D=y.indexOf("=",C);if(D===-1)break;const O=y.indexOf(";",C),A=O===-1?w:O;if(D>A){C=y.lastIndexOf(";",D-1)+1;continue}const M=p(y,C,D),k=h(y,D,M),B=y.slice(M,k);if(S[B]===void 0){let H=p(y,D+1,A),$=h(y,A,H);const b=j(y.slice(H,$));S[B]=b}C=A+1}while(CS;){const w=y.charCodeAt(--T);if(w!==32&&w!==9)return T+1}return S}function m(y,T,S){const w=S?.encode||encodeURIComponent;if(!e.test(y))throw new TypeError(`argument name is invalid: ${y}`);const j=w(T);if(!r.test(j))throw new TypeError(`argument val is invalid: ${T}`);let C=y+"="+j;if(!S)return C;if(S.maxAge!==void 0){if(!Number.isInteger(S.maxAge))throw new TypeError(`option maxAge is invalid: ${S.maxAge}`);C+="; Max-Age="+S.maxAge}if(S.domain){if(!i.test(S.domain))throw new TypeError(`option domain is invalid: ${S.domain}`);C+="; Domain="+S.domain}if(S.path){if(!o.test(S.path))throw new TypeError(`option path is invalid: ${S.path}`);C+="; Path="+S.path}if(S.expires){if(!v(S.expires)||!Number.isFinite(S.expires.valueOf()))throw new TypeError(`option expires is invalid: ${S.expires}`);C+="; Expires="+S.expires.toUTCString()}if(S.httpOnly&&(C+="; HttpOnly"),S.secure&&(C+="; Secure"),S.partitioned&&(C+="; Partitioned"),S.priority)switch(typeof S.priority=="string"?S.priority.toLowerCase():void 0){case"low":C+="; Priority=Low";break;case"medium":C+="; Priority=Medium";break;case"high":C+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${S.priority}`)}if(S.sameSite)switch(typeof S.sameSite=="string"?S.sameSite.toLowerCase():S.sameSite){case!0:case"strict":C+="; SameSite=Strict";break;case"lax":C+="; SameSite=Lax";break;case"none":C+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${S.sameSite}`)}return C}function g(y){if(y.indexOf("%")===-1)return y;try{return decodeURIComponent(y)}catch{return y}}function v(y){return s.call(y)==="[object Date]"}return hl}Q4();var U0="popstate";function Y4(e={}){function r(s,c){let{pathname:f="/",search:p="",hash:h=""}=Ja(s.location.hash.substring(1));return!f.startsWith("/")&&!f.startsWith(".")&&(f="/"+f),Up("",{pathname:f,search:p,hash:h},c.state&&c.state.usr||null,c.state&&c.state.key||"default")}function i(s,c){let f=s.document.querySelector("base"),p="";if(f&&f.getAttribute("href")){let h=s.location.href,m=h.indexOf("#");p=m===-1?h:h.slice(0,m)}return p+"#"+(typeof c=="string"?c:Dl(c))}function o(s,c){Ln(s.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(c)})`)}return X4(r,i,o,e)}function mt(e,r){if(e===!1||e===null||typeof e>"u")throw new Error(r)}function Ln(e,r){if(!e){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function K4(){return Math.random().toString(36).substring(2,10)}function H0(e,r){return{usr:e.state,key:e.key,idx:r}}function Up(e,r,i=null,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof r=="string"?Ja(r):r,state:i,key:r&&r.key||o||K4()}}function Dl({pathname:e="/",search:r="",hash:i=""}){return r&&r!=="?"&&(e+=r.charAt(0)==="?"?r:"?"+r),i&&i!=="#"&&(e+=i.charAt(0)==="#"?i:"#"+i),e}function Ja(e){let r={};if(e){let i=e.indexOf("#");i>=0&&(r.hash=e.substring(i),e=e.substring(0,i));let o=e.indexOf("?");o>=0&&(r.search=e.substring(o),e=e.substring(0,o)),e&&(r.pathname=e)}return r}function X4(e,r,i,o={}){let{window:s=document.defaultView,v5Compat:c=!1}=o,f=s.history,p="POP",h=null,m=g();m==null&&(m=0,f.replaceState({...f.state,idx:m},""));function g(){return(f.state||{idx:null}).idx}function v(){p="POP";let j=g(),C=j==null?null:j-m;m=j,h&&h({action:p,location:w.location,delta:C})}function y(j,C){p="PUSH";let D=Up(w.location,j,C);i&&i(D,j),m=g()+1;let O=H0(D,m),A=w.createHref(D);try{f.pushState(O,"",A)}catch(M){if(M instanceof DOMException&&M.name==="DataCloneError")throw M;s.location.assign(A)}c&&h&&h({action:p,location:w.location,delta:1})}function T(j,C){p="REPLACE";let D=Up(w.location,j,C);i&&i(D,j),m=g();let O=H0(D,m),A=w.createHref(D);f.replaceState(O,"",A),c&&h&&h({action:p,location:w.location,delta:0})}function S(j){return W4(j)}let w={get action(){return p},get location(){return e(s,f)},listen(j){if(h)throw new Error("A history only accepts one active listener");return s.addEventListener(U0,v),h=j,()=>{s.removeEventListener(U0,v),h=null}},createHref(j){return r(s,j)},createURL:S,encodeLocation(j){let C=S(j);return{pathname:C.pathname,search:C.search,hash:C.hash}},push:y,replace:T,go(j){return f.go(j)}};return w}function W4(e,r=!1){let i="http://localhost";typeof window<"u"&&(i=window.location.origin!=="null"?window.location.origin:window.location.href),mt(i,"No window.location.(origin|href) available to create URL");let o=typeof e=="string"?e:Dl(e);return o=o.replace(/ $/,"%20"),!r&&o.startsWith("//")&&(o=i+o),new URL(o,i)}function L1(e,r,i="/"){return Z4(e,r,i,!1)}function Z4(e,r,i,o){let s=typeof r=="string"?Ja(r):r,c=Mr(s.pathname||"/",i);if(c==null)return null;let f=U1(e);J4(f);let p=null;for(let h=0;p==null&&h{let h={relativePath:p===void 0?c.path||"":p,caseSensitive:c.caseSensitive===!0,childrenIndex:f,route:c};h.relativePath.startsWith("/")&&(mt(h.relativePath.startsWith(o),`Absolute route path "${h.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),h.relativePath=h.relativePath.slice(o.length));let m=Ar([o,h.relativePath]),g=i.concat(h);c.children&&c.children.length>0&&(mt(c.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),U1(c.children,r,g,m)),!(c.path==null&&!c.index)&&r.push({path:m,score:o3(m,c.index),routesMeta:g})};return e.forEach((c,f)=>{if(c.path===""||!c.path?.includes("?"))s(c,f);else for(let p of H1(c.path))s(c,f,p)}),r}function H1(e){let r=e.split("/");if(r.length===0)return[];let[i,...o]=r,s=i.endsWith("?"),c=i.replace(/\?$/,"");if(o.length===0)return s?[c,""]:[c];let f=H1(o.join("/")),p=[];return p.push(...f.map(h=>h===""?c:[c,h].join("/"))),s&&p.push(...f),p.map(h=>e.startsWith("/")&&h===""?"/":h)}function J4(e){e.sort((r,i)=>r.score!==i.score?i.score-r.score:l3(r.routesMeta.map(o=>o.childrenIndex),i.routesMeta.map(o=>o.childrenIndex)))}var e3=/^:[\w-]+$/,t3=3,n3=2,r3=1,a3=10,i3=-2,q0=e=>e==="*";function o3(e,r){let i=e.split("/"),o=i.length;return i.some(q0)&&(o+=i3),r&&(o+=n3),i.filter(s=>!q0(s)).reduce((s,c)=>s+(e3.test(c)?t3:c===""?r3:a3),o)}function l3(e,r){return e.length===r.length&&e.slice(0,-1).every((o,s)=>o===r[s])?e[e.length-1]-r[r.length-1]:0}function s3(e,r,i=!1){let{routesMeta:o}=e,s={},c="/",f=[];for(let p=0;p{if(g==="*"){let S=p[y]||"";f=c.slice(0,c.length-S.length).replace(/(.)\/+$/,"$1")}const T=p[y];return v&&!T?m[g]=void 0:m[g]=(T||"").replace(/%2F/g,"/"),m},{}),pathname:c,pathnameBase:f,pattern:e}}function c3(e,r=!1,i=!0){Ln(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 o=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\").replace(/\/:([\w-]+)(\?)?/g,(f,p,h)=>(o.push({paramName:p,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(o.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,r?void 0:"i"),o]}function u3(e){try{return e.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return Ln(!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 (${r}).`),e}}function Mr(e,r){if(r==="/")return e;if(!e.toLowerCase().startsWith(r.toLowerCase()))return null;let i=r.endsWith("/")?r.length-1:r.length,o=e.charAt(i);return o&&o!=="/"?null:e.slice(i)||"/"}function f3(e,r="/"){let{pathname:i,search:o="",hash:s=""}=typeof e=="string"?Ja(e):e;return{pathname:i?i.startsWith("/")?i:d3(i,r):r,search:m3(o),hash:g3(s)}}function d3(e,r){let i=r.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?i.length>1&&i.pop():s!=="."&&i.push(s)}),i.length>1?i.join("/"):"/"}function lp(e,r,i,o){return`Cannot include a '${e}' character in a manually specified \`to.${r}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function p3(e){return e.filter((r,i)=>i===0||r.route.path&&r.route.path.length>0)}function q1(e){let r=p3(e);return r.map((i,o)=>o===r.length-1?i.pathname:i.pathnameBase)}function I1(e,r,i,o=!1){let s;typeof e=="string"?s=Ja(e):(s={...e},mt(!s.pathname||!s.pathname.includes("?"),lp("?","pathname","search",s)),mt(!s.pathname||!s.pathname.includes("#"),lp("#","pathname","hash",s)),mt(!s.search||!s.search.includes("#"),lp("#","search","hash",s)));let c=e===""||s.pathname==="",f=c?"/":s.pathname,p;if(f==null)p=i;else{let v=r.length-1;if(!o&&f.startsWith("..")){let y=f.split("/");for(;y[0]==="..";)y.shift(),v-=1;s.pathname=y.join("/")}p=v>=0?r[v]:"/"}let h=f3(s,p),m=f&&f!=="/"&&f.endsWith("/"),g=(c||f===".")&&i.endsWith("/");return!h.pathname.endsWith("/")&&(m||g)&&(h.pathname+="/"),h}var Ar=e=>e.join("/").replace(/\/\/+/g,"/"),h3=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),m3=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,g3=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function y3(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var F1=["POST","PUT","PATCH","DELETE"];new Set(F1);var v3=["GET",...F1];new Set(v3);var co=R.createContext(null);co.displayName="DataRouter";var Ru=R.createContext(null);Ru.displayName="DataRouterState";var V1=R.createContext({isTransitioning:!1});V1.displayName="ViewTransition";var b3=R.createContext(new Map);b3.displayName="Fetchers";var S3=R.createContext(null);S3.displayName="Await";var nr=R.createContext(null);nr.displayName="Navigation";var Yl=R.createContext(null);Yl.displayName="Location";var _r=R.createContext({outlet:null,matches:[],isDataRoute:!1});_r.displayName="Route";var wh=R.createContext(null);wh.displayName="RouteError";function x3(e,{relative:r}={}){mt(Kl(),"useHref() may be used only in the context of a component.");let{basename:i,navigator:o}=R.useContext(nr),{hash:s,pathname:c,search:f}=Wl(e,{relative:r}),p=c;return i!=="/"&&(p=c==="/"?i:Ar([i,c])),o.createHref({pathname:p,search:f,hash:s})}function Kl(){return R.useContext(Yl)!=null}function ua(){return mt(Kl(),"useLocation() may be used only in the context of a component."),R.useContext(Yl).location}var G1="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Q1(e){R.useContext(nr).static||R.useLayoutEffect(e)}function Xl(){let{isDataRoute:e}=R.useContext(_r);return e?N3():C3()}function C3(){mt(Kl(),"useNavigate() may be used only in the context of a component.");let e=R.useContext(co),{basename:r,navigator:i}=R.useContext(nr),{matches:o}=R.useContext(_r),{pathname:s}=ua(),c=JSON.stringify(q1(o)),f=R.useRef(!1);return Q1(()=>{f.current=!0}),R.useCallback((h,m={})=>{if(Ln(f.current,G1),!f.current)return;if(typeof h=="number"){i.go(h);return}let g=I1(h,JSON.parse(c),s,m.relative==="path");e==null&&r!=="/"&&(g.pathname=g.pathname==="/"?r:Ar([r,g.pathname])),(m.replace?i.replace:i.push)(g,m.state,m)},[r,i,c,s,e])}R.createContext(null);function Wl(e,{relative:r}={}){let{matches:i}=R.useContext(_r),{pathname:o}=ua(),s=JSON.stringify(q1(i));return R.useMemo(()=>I1(e,JSON.parse(s),o,r==="path"),[e,s,o,r])}function E3(e,r){return Y1(e,r)}function Y1(e,r,i,o){mt(Kl(),"useRoutes() may be used only in the context of a component.");let{navigator:s}=R.useContext(nr),{matches:c}=R.useContext(_r),f=c[c.length-1],p=f?f.params:{},h=f?f.pathname:"/",m=f?f.pathnameBase:"/",g=f&&f.route;{let C=g&&g.path||"";K1(h,!g||C.endsWith("*")||C.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${h}" (under ) 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. Please change the parent to .`)}let v=ua(),y;if(r){let C=typeof r=="string"?Ja(r):r;mt(m==="/"||C.pathname?.startsWith(m),`When overriding the location using \`\` 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 "${m}" but pathname "${C.pathname}" was given in the \`location\` prop.`),y=C}else y=v;let T=y.pathname||"/",S=T;if(m!=="/"){let C=m.replace(/^\//,"").split("/");S="/"+T.replace(/^\//,"").split("/").slice(C.length).join("/")}let w=L1(e,{pathname:S});Ln(g||w!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),Ln(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.length-1].route.lazy!==void 0,`Matched leaf route at location "${y.pathname}${y.search}${y.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let j=M3(w&&w.map(C=>Object.assign({},C,{params:Object.assign({},p,C.params),pathname:Ar([m,s.encodeLocation?s.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?m:Ar([m,s.encodeLocation?s.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),c,i,o);return r&&j?R.createElement(Yl.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...y},navigationType:"POP"}},j):j}function w3(){let e=D3(),r=y3(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),i=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:o},c={padding:"2px 4px",backgroundColor:o},f=null;return console.error("Error handled by React Router default ErrorBoundary:",e),f=R.createElement(R.Fragment,null,R.createElement("p",null,"💿 Hey developer 👋"),R.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",R.createElement("code",{style:c},"ErrorBoundary")," or"," ",R.createElement("code",{style:c},"errorElement")," prop on your route.")),R.createElement(R.Fragment,null,R.createElement("h2",null,"Unexpected Application Error!"),R.createElement("h3",{style:{fontStyle:"italic"}},r),i?R.createElement("pre",{style:s},i):null,f)}var T3=R.createElement(w3,null),R3=class extends R.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,r){return r.location!==e.location||r.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:r.error,location:r.location,revalidation:e.revalidation||r.revalidation}}componentDidCatch(e,r){console.error("React Router caught the following error during render",e,r)}render(){return this.state.error!==void 0?R.createElement(_r.Provider,{value:this.props.routeContext},R.createElement(wh.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function A3({routeContext:e,match:r,children:i}){let o=R.useContext(co);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),R.createElement(_r.Provider,{value:e},i)}function M3(e,r=[],i=null,o=null){if(e==null){if(!i)return null;if(i.errors)e=i.matches;else if(r.length===0&&!i.initialized&&i.matches.length>0)e=i.matches;else return null}let s=e,c=i?.errors;if(c!=null){let h=s.findIndex(m=>m.route.id&&c?.[m.route.id]!==void 0);mt(h>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),s=s.slice(0,Math.min(s.length,h+1))}let f=!1,p=-1;if(i)for(let h=0;h=0?s=s.slice(0,p+1):s=[s[0]];break}}}return s.reduceRight((h,m,g)=>{let v,y=!1,T=null,S=null;i&&(v=c&&m.route.id?c[m.route.id]:void 0,T=m.route.errorElement||T3,f&&(p<0&&g===0?(K1("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),y=!0,S=null):p===g&&(y=!0,S=m.route.hydrateFallbackElement||null)));let w=r.concat(s.slice(0,g+1)),j=()=>{let C;return v?C=T:y?C=S:m.route.Component?C=R.createElement(m.route.Component,null):m.route.element?C=m.route.element:C=h,R.createElement(A3,{match:m,routeContext:{outlet:h,matches:w,isDataRoute:i!=null},children:C})};return i&&(m.route.ErrorBoundary||m.route.errorElement||g===0)?R.createElement(R3,{location:i.location,revalidation:i.revalidation,component:T,error:v,children:j(),routeContext:{outlet:null,matches:w,isDataRoute:!0}}):j()},null)}function Th(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function O3(e){let r=R.useContext(co);return mt(r,Th(e)),r}function j3(e){let r=R.useContext(Ru);return mt(r,Th(e)),r}function _3(e){let r=R.useContext(_r);return mt(r,Th(e)),r}function Rh(e){let r=_3(e),i=r.matches[r.matches.length-1];return mt(i.route.id,`${e} can only be used on routes that contain a unique "id"`),i.route.id}function z3(){return Rh("useRouteId")}function D3(){let e=R.useContext(wh),r=j3("useRouteError"),i=Rh("useRouteError");return e!==void 0?e:r.errors?.[i]}function N3(){let{router:e}=O3("useNavigate"),r=Rh("useNavigate"),i=R.useRef(!1);return Q1(()=>{i.current=!0}),R.useCallback(async(s,c={})=>{Ln(i.current,G1),i.current&&(typeof s=="number"?e.navigate(s):await e.navigate(s,{fromRouteId:r,...c}))},[e,r])}var I0={};function K1(e,r,i){!r&&!I0[e]&&(I0[e]=!0,Ln(!1,i))}R.memo(k3);function k3({routes:e,future:r,state:i}){return Y1(e,void 0,i,r)}function Tr(e){mt(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function $3({basename:e="/",children:r=null,location:i,navigationType:o="POP",navigator:s,static:c=!1}){mt(!Kl(),"You cannot render a inside another . You should never have more than one in your app.");let f=e.replace(/^\/*/,"/"),p=R.useMemo(()=>({basename:f,navigator:s,static:c,future:{}}),[f,s,c]);typeof i=="string"&&(i=Ja(i));let{pathname:h="/",search:m="",hash:g="",state:v=null,key:y="default"}=i,T=R.useMemo(()=>{let S=Mr(h,f);return S==null?null:{location:{pathname:S,search:m,hash:g,state:v,key:y},navigationType:o}},[f,h,m,g,v,y,o]);return Ln(T!=null,` is not able to match the URL "${h}${m}${g}" because it does not start with the basename, so the won't render anything.`),T==null?null:R.createElement(nr.Provider,{value:p},R.createElement(Yl.Provider,{children:r,value:T}))}function B3({children:e,location:r}){return E3(Hp(e),r)}function Hp(e,r=[]){let i=[];return R.Children.forEach(e,(o,s)=>{if(!R.isValidElement(o))return;let c=[...r,s];if(o.type===R.Fragment){i.push.apply(i,Hp(o.props.children,c));return}mt(o.type===Tr,`[${typeof o.type=="string"?o.type:o.type.name}] is not a component. All component children of must be a or `),mt(!o.props.index||!o.props.children,"An index route cannot have child routes.");let f={id:o.props.id||c.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(f.children=Hp(o.props.children,c)),i.push(f)}),i}var qc="get",Ic="application/x-www-form-urlencoded";function Au(e){return e!=null&&typeof e.tagName=="string"}function P3(e){return Au(e)&&e.tagName.toLowerCase()==="button"}function L3(e){return Au(e)&&e.tagName.toLowerCase()==="form"}function U3(e){return Au(e)&&e.tagName.toLowerCase()==="input"}function H3(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function q3(e,r){return e.button===0&&(!r||r==="_self")&&!H3(e)}var Ac=null;function I3(){if(Ac===null)try{new FormData(document.createElement("form"),0),Ac=!1}catch{Ac=!0}return Ac}var F3=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function sp(e){return e!=null&&!F3.has(e)?(Ln(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Ic}"`),null):e}function V3(e,r){let i,o,s,c,f;if(L3(e)){let p=e.getAttribute("action");o=p?Mr(p,r):null,i=e.getAttribute("method")||qc,s=sp(e.getAttribute("enctype"))||Ic,c=new FormData(e)}else if(P3(e)||U3(e)&&(e.type==="submit"||e.type==="image")){let p=e.form;if(p==null)throw new Error('Cannot submit a