diff --git a/ui/client/bundle/assets/index-CgXTaMYk.js b/ui/client/bundle/assets/index-CgXTaMYk.js new file mode 100644 index 00000000..08970cee --- /dev/null +++ b/ui/client/bundle/assets/index-CgXTaMYk.js @@ -0,0 +1,395 @@ +function hM(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Kf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var nx={exports:{}},Fd={},rx={exports:{}},Yt={};var $1;function mM(){if($1)return Yt;$1=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=Symbol.iterator;function v(F){return F===null||typeof F!="object"?null:(F=g&&F[g]||F["@@iterator"],typeof F=="function"?F:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,T={};function E(F,G,ue){this.props=F,this.context=G,this.refs=T,this.updater=ue||b}E.prototype.isReactComponent={},E.prototype.setState=function(F,G){if(typeof F!="object"&&typeof F!="function"&&F!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,F,G,"setState")},E.prototype.forceUpdate=function(F){this.updater.enqueueForceUpdate(this,F,"forceUpdate")};function R(){}R.prototype=E.prototype;function O(F,G,ue){this.props=F,this.context=G,this.refs=T,this.updater=ue||b}var C=O.prototype=new R;C.constructor=O,w(C,E.prototype),C.isPureReactComponent=!0;var k=Array.isArray,M=Object.prototype.hasOwnProperty,D={current:null},N={key:!0,ref:!0,__self:!0,__source:!0};function z(F,G,ue){var le,ne={},te=null,pe=null;if(G!=null)for(le in G.ref!==void 0&&(pe=G.ref),G.key!==void 0&&(te=""+G.key),G)M.call(G,le)&&!N.hasOwnProperty(le)&&(ne[le]=G[le]);var re=arguments.length-2;if(re===1)ne.children=ue;else if(1n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}const Di="$$material";function Fe(){return Fe=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?zr(Hu,--To):0,wu--,mr===10&&(wu=1,Ng--),mr}function Ho(){return mr=To2||Rf(mr)>3?"":" "}function OM(e,t){for(;--t&&Ho()&&!(mr<48||mr>102||mr>57&&mr<65||mr>70&&mr<97););return Jf(e,Rm()+(t<6&&ds()==32&&Ho()==32))}function c0(e){for(;Ho();)switch(mr){case e:return To;case 34:case 39:e!==34&&e!==39&&c0(mr);break;case 40:e===41&&c0(e);break;case 92:Ho();break}return To}function MM(e,t){for(;Ho()&&e+mr!==57;)if(e+mr===84&&ds()===47)break;return"/*"+Jf(t,To-1)+"*"+Ag(e===47?e:Ho())}function AM(e){for(;!Rf(ds());)Ho();return Jf(e,To)}function NM(e){return nR(Im("",null,null,null,[""],e=tR(e),0,[0],e))}function Im(e,t,n,r,o,i,a,u,d){for(var h=0,p=0,g=a,v=0,b=0,w=0,T=1,E=1,R=1,O=0,C="",k=o,M=i,D=r,N=C;E;)switch(w=O,O=Ho()){case 40:if(w!=108&&zr(N,g-1)==58){l0(N+=cn(km(O),"&","&\f"),"&\f")!=-1&&(R=-1);break}case 34:case 39:case 91:N+=km(O);break;case 9:case 10:case 13:case 32:N+=PM(w);break;case 92:N+=OM(Rm()-1,7);continue;case 47:switch(ds()){case 42:case 47:Vh(DM(MM(Ho(),Rm()),t,n),d);break;default:N+="/"}break;case 123*T:u[h++]=ss(N)*R;case 125*T:case 59:case 0:switch(O){case 0:case 125:E=0;case 59+p:R==-1&&(N=cn(N,/\f/g,"")),b>0&&ss(N)-g&&Vh(b>32?V1(N+";",r,n,g-1):V1(cn(N," ","")+";",r,n,g-2),d);break;case 59:N+=";";default:if(Vh(D=U1(N,t,n,h,p,o,u,C,k=[],M=[],g),i),O===123)if(p===0)Im(N,t,D,D,k,i,g,u,M);else switch(v===99&&zr(N,3)===110?100:v){case 100:case 108:case 109:case 115:Im(e,D,D,r&&Vh(U1(e,D,D,0,0,o,u,C,o,k=[],g),M),o,M,g,u,r?k:M);break;default:Im(N,D,D,D,[""],M,0,u,M)}}h=p=b=0,T=R=1,C=N="",g=a;break;case 58:g=1+ss(N),b=w;default:if(T<1){if(O==123)--T;else if(O==125&&T++==0&&LM()==125)continue}switch(N+=Ag(O),O*T){case 38:R=p>0?1:(N+="\f",-1);break;case 44:u[h++]=(ss(N)-1)*R,R=1;break;case 64:ds()===45&&(N+=km(Ho())),v=ds(),p=g=ss(C=N+=AM(Rm())),O++;break;case 45:w===45&&ss(N)==2&&(T=0)}}return i}function U1(e,t,n,r,o,i,a,u,d,h,p){for(var g=o-1,v=o===0?i:[""],b=Tb(v),w=0,T=0,E=0;w0?v[R]+" "+O:cn(O,/&\f/g,v[R])))&&(d[E++]=C);return Dg(e,t,n,o===0?wb:u,d,h,p)}function DM(e,t,n){return Dg(e,t,n,qC,Ag(IM()),Cf(e,2,-2),0)}function V1(e,t,n,r){return Dg(e,t,n,Sb,Cf(e,0,r),Cf(e,r+1,-1),r)}function hu(e,t){for(var n="",r=Tb(e),o=0;o6)switch(zr(e,t+1)){case 109:if(zr(e,t+4)!==45)break;case 102:return cn(e,/(.+:)(.+)-([^]+)/,"$1"+ln+"$2-$3$1"+qm+(zr(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~l0(e,"stretch")?oR(cn(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(zr(e,t+1)!==115)break;case 6444:switch(zr(e,ss(e)-3-(~l0(e,"!important")&&10))){case 107:return cn(e,":",":"+ln)+e;case 101:return cn(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ln+(zr(e,14)===45?"inline-":"")+"box$3$1"+ln+"$2$3$1"+qr+"$2box$3")+e}break;case 5936:switch(zr(e,t+11)){case 114:return ln+e+qr+cn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ln+e+qr+cn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ln+e+qr+cn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ln+e+qr+e+e}return e}var VM=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Sb:t.return=oR(t.value,t.length);break;case JC:return hu([Wd(t,{value:cn(t.value,"@","@"+ln)})],o);case wb:if(t.length)return kM(t.props,function(i){switch(RM(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return hu([Wd(t,{props:[cn(i,/:(read-\w+)/,":"+qm+"$1")]})],o);case"::placeholder":return hu([Wd(t,{props:[cn(i,/:(plac\w+)/,":"+ln+"input-$1")]}),Wd(t,{props:[cn(i,/:(plac\w+)/,":"+qm+"$1")]}),Wd(t,{props:[cn(i,/:(plac\w+)/,qr+"input-$1")]})],o)}return""})}},YM=[VM],XM=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(T){var E=T.getAttribute("data-emotion");E.indexOf(" ")!==-1&&(document.head.appendChild(T),T.setAttribute("data-s",""))})}var o=t.stylisPlugins||YM,i={},a,u=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(T){for(var E=T.getAttribute("data-emotion").split(" "),R=1;R=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var QM={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},e2=/[A-Z]|^ms/g,t2=/_EMO_([^_]+?)_([^]*?)_EMO_/g,sR=function(t){return t.charCodeAt(1)===45},K1=function(t){return t!=null&&typeof t!="boolean"},sx=rR(function(e){return sR(e)?e:e.replace(e2,"-$&").toLowerCase()}),q1=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(t2,function(r,o,i){return as={name:o,styles:i,next:as},o})}return QM[t]!==1&&!sR(t)&&typeof n=="number"&&n!==0?n+"px":n};function kf(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return as={name:o.name,styles:o.styles,next:as},o.name;var i=n;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)as={name:a.name,styles:a.styles,next:as},a=a.next;var u=i.styles+";";return u}return n2(e,t,n)}case"function":{if(e!==void 0){var d=as,h=n(e);return as=d,kf(e,t,h)}break}}var p=n;if(t==null)return p;var g=t[p];return g!==void 0?g:p}function n2(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?d2:f2},nS=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},p2=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return Eb(n,r,o),lR(function(){return Cb(n,r,o)}),null},h2=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,a;n!==void 0&&(i=n.label,a=n.target);var u=nS(t,n,r),d=u||tS(o),h=!d("as");return function(){var p=arguments,g=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&g.push("label:"+i+";"),p[0]==null||p[0].raw===void 0)g.push.apply(g,p);else{var v=p[0];g.push(v[0]);for(var b=p.length,w=1;wt(g2(o)?n:o):t;return y.jsx(l2,{styles:r})}function dR(e,t){return d0(e,t)}function y2(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const rS=[];function Va(e){return rS[0]=e,Qf(rS)}var ax={exports:{}},Sn={};var oS;function v2(){if(oS)return Sn;oS=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),v=Symbol.for("react.view_transition"),b=Symbol.for("react.client.reference");function w(T){if(typeof T=="object"&&T!==null){var E=T.$$typeof;switch(E){case e:switch(T=T.type,T){case n:case o:case r:case d:case h:case v:return T;default:switch(T=T&&T.$$typeof,T){case a:case u:case g:case p:return T;case i:return T;default:return E}}case t:return E}}}return Sn.ContextConsumer=i,Sn.ContextProvider=a,Sn.Element=e,Sn.ForwardRef=u,Sn.Fragment=n,Sn.Lazy=g,Sn.Memo=p,Sn.Portal=t,Sn.Profiler=o,Sn.StrictMode=r,Sn.Suspense=d,Sn.SuspenseList=h,Sn.isContextConsumer=function(T){return w(T)===i},Sn.isContextProvider=function(T){return w(T)===a},Sn.isElement=function(T){return typeof T=="object"&&T!==null&&T.$$typeof===e},Sn.isForwardRef=function(T){return w(T)===u},Sn.isFragment=function(T){return w(T)===n},Sn.isLazy=function(T){return w(T)===g},Sn.isMemo=function(T){return w(T)===p},Sn.isPortal=function(T){return w(T)===t},Sn.isProfiler=function(T){return w(T)===o},Sn.isStrictMode=function(T){return w(T)===r},Sn.isSuspense=function(T){return w(T)===d},Sn.isSuspenseList=function(T){return w(T)===h},Sn.isValidElementType=function(T){return typeof T=="string"||typeof T=="function"||T===n||T===o||T===r||T===d||T===h||typeof T=="object"&&T!==null&&(T.$$typeof===g||T.$$typeof===p||T.$$typeof===a||T.$$typeof===i||T.$$typeof===u||T.$$typeof===b||T.getModuleId!==void 0)},Sn.typeOf=w,Sn}var iS;function x2(){return iS||(iS=1,ax.exports=v2()),ax.exports}var fR=x2();function cs(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function pR(e){if(x.isValidElement(e)||fR.isValidElementType(e)||!cs(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=pR(e[n])}),t}function Or(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return cs(e)&&cs(t)&&Object.keys(t).forEach(o=>{x.isValidElement(t[o])||fR.isValidElementType(t[o])?r[o]=t[o]:cs(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&cs(e[o])?r[o]=Or(e[o],t[o],n):n.clone?r[o]=cs(t[o])?pR(t[o]):t[o]:r[o]=t[o]}),r}const b2=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function _2(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=b2(t),a=Object.keys(i);function u(v){return`@media (min-width:${typeof t[v]=="number"?t[v]:v}${n})`}function d(v){return`@media (max-width:${(typeof t[v]=="number"?t[v]:v)-r/100}${n})`}function h(v,b){const w=a.indexOf(b);return`@media (min-width:${typeof t[v]=="number"?t[v]:v}${n}) and (max-width:${(w!==-1&&typeof t[a[w]]=="number"?t[a[w]]:b)-r/100}${n})`}function p(v){return a.indexOf(v)+1r.startsWith("@container")).sort((r,o)=>{const i=/min-width:\s*([0-9.]+)/;return+(r.match(i)?.[1]||0)-+(o.match(i)?.[1]||0)});return n.length?n.reduce((r,o)=>{const i=t[o];return delete r[o],r[o]=i,r},{...t}):t}function w2(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function S2(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,o]=n,i=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(i)}function T2(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function n(i,a){i.up=(...u)=>t(e.breakpoints.up(...u),a),i.down=(...u)=>t(e.breakpoints.down(...u),a),i.between=(...u)=>t(e.breakpoints.between(...u),a),i.only=(...u)=>t(e.breakpoints.only(...u),a),i.not=(...u)=>{const d=t(e.breakpoints.not(...u),a);return d.includes("not all and")?d.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):d}}const r={},o=i=>(n(r,i),r);return n(o),{...e,containerQueries:o}}const E2={borderRadius:4};function ff(e,t){return t?Or(e,t,{clone:!1}):e}const jg={xs:0,sm:600,md:900,lg:1200,xl:1536},aS={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${jg[e]}px)`},C2={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:jg[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function ji(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||aS;return t.reduce((a,u,d)=>(a[i.up(i.keys[d])]=n(t[d]),a),{})}if(typeof t=="object"){const i=r.breakpoints||aS;return Object.keys(t).reduce((a,u)=>{if(w2(i.keys,u)){const d=S2(r.containerQueries?r:C2,u);d&&(a[d]=n(t[u],u))}else if(Object.keys(i.values||jg).includes(u)){const d=i.up(u);a[d]=n(t[u],u)}else{const d=u;a[d]=t[d]}return a},{})}return n(t)}function hR(e={}){return e.keys?.reduce((n,r)=>{const o=e.up(r);return n[o]={},n},{})||{}}function f0(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function R2(e,...t){const n=hR(e),r=[n,...t].reduce((o,i)=>Or(o,i),{});return f0(Object.keys(n),r)}function k2(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((o,i)=>{i{e[o]!=null&&(n[o]=!0)}),n}function lx({values:e,breakpoints:t,base:n}){const r=n||k2(e,t),o=Object.keys(r);if(o.length===0)return e;let i;return o.reduce((a,u,d)=>(Array.isArray(e)?(a[u]=e[d]!=null?e[d]:e[i],i=d):typeof e=="object"?(a[u]=e[u]!=null?e[u]:e[i],i=u):a[u]=e,a),{})}function ke(e){if(typeof e!="string")throw new Error(na(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Bg(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Jm(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Bg(e,n)||r,t&&(o=t(o,r,e)),o}function ur(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=a=>{if(a[t]==null)return null;const u=a[t],d=a.theme,h=Bg(d,r)||{};return ji(a,u,g=>{let v=Jm(h,o,g);return g===v&&typeof g=="string"&&(v=Jm(h,o,`${t}${g==="default"?"":ke(g)}`,g)),n===!1?v:{[n]:v}})};return i.propTypes={},i.filterProps=[t],i}function I2(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const L2={m:"margin",p:"padding"},P2={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},lS={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},O2=I2(e=>{if(e.length>2)if(lS[e])e=lS[e];else return[e];const[t,n]=e.split(""),r=L2[t],o=P2[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),Lb=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Pb=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Lb,...Pb];function tp(e,t,n,r){const o=Bg(e,t,!0)??n;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:typeof o=="string"?o.startsWith("var(")&&i===0?0:o.startsWith("var(")&&i===1?o:`calc(${i} * ${o})`:o*i:Array.isArray(o)?i=>{if(typeof i=="string")return i;const a=Math.abs(i),u=o[a];return i>=0?u:typeof u=="number"?-u:typeof u=="string"&&u.startsWith("var(")?`calc(-1 * ${u})`:`-${u}`}:typeof o=="function"?o:()=>{}}function zg(e){return tp(e,"spacing",8)}function Gl(e,t){return typeof t=="string"||t==null?t:e(t)}function M2(e,t){return n=>e.reduce((r,o)=>(r[o]=Gl(t,n),r),{})}function A2(e,t,n,r){if(!t.includes(n))return null;const o=O2(n),i=M2(o,r),a=e[n];return ji(e,a,i)}function mR(e,t){const n=zg(e.theme);return Object.keys(e).map(r=>A2(e,t,r,n)).reduce(ff,{})}function nr(e){return mR(e,Lb)}nr.propTypes={};nr.filterProps=Lb;function rr(e){return mR(e,Pb)}rr.propTypes={};rr.filterProps=Pb;function gR(e=8,t=zg({spacing:e})){if(e.mui)return e;const n=(...r)=>(r.length===0?[1]:r).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" ");return n.mui=!0,n}function $g(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?ff(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function di(e){return typeof e!="number"?e:`${e}px solid`}function yi(e,t){return ur({prop:e,themeKey:"borders",transform:t})}const N2=yi("border",di),D2=yi("borderTop",di),j2=yi("borderRight",di),B2=yi("borderBottom",di),z2=yi("borderLeft",di),$2=yi("borderColor"),F2=yi("borderTopColor"),H2=yi("borderRightColor"),W2=yi("borderBottomColor"),U2=yi("borderLeftColor"),V2=yi("outline",di),Y2=yi("outlineColor"),Fg=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=tp(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Gl(t,r)});return ji(e,e.borderRadius,n)}return null};Fg.propTypes={};Fg.filterProps=["borderRadius"];$g(N2,D2,j2,B2,z2,$2,F2,H2,W2,U2,Fg,V2,Y2);const Hg=e=>{if(e.gap!==void 0&&e.gap!==null){const t=tp(e.theme,"spacing",8),n=r=>({gap:Gl(t,r)});return ji(e,e.gap,n)}return null};Hg.propTypes={};Hg.filterProps=["gap"];const Wg=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=tp(e.theme,"spacing",8),n=r=>({columnGap:Gl(t,r)});return ji(e,e.columnGap,n)}return null};Wg.propTypes={};Wg.filterProps=["columnGap"];const Ug=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=tp(e.theme,"spacing",8),n=r=>({rowGap:Gl(t,r)});return ji(e,e.rowGap,n)}return null};Ug.propTypes={};Ug.filterProps=["rowGap"];const X2=ur({prop:"gridColumn"}),Z2=ur({prop:"gridRow"}),G2=ur({prop:"gridAutoFlow"}),K2=ur({prop:"gridAutoColumns"}),q2=ur({prop:"gridAutoRows"}),J2=ur({prop:"gridTemplateColumns"}),Q2=ur({prop:"gridTemplateRows"}),eA=ur({prop:"gridTemplateAreas"}),tA=ur({prop:"gridArea"});$g(Hg,Wg,Ug,X2,Z2,G2,K2,q2,J2,Q2,eA,tA);function mu(e,t){return t==="grey"?t:e}const nA=ur({prop:"color",themeKey:"palette",transform:mu}),rA=ur({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:mu}),oA=ur({prop:"backgroundColor",themeKey:"palette",transform:mu});$g(nA,rA,oA);function zo(e){return e<=1&&e!==0?`${e*100}%`:e}const iA=ur({prop:"width",transform:zo}),Ob=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{const r=e.theme?.breakpoints?.values?.[n]||jg[n];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:zo(n)}};return ji(e,e.maxWidth,t)}return null};Ob.filterProps=["maxWidth"];const sA=ur({prop:"minWidth",transform:zo}),aA=ur({prop:"height",transform:zo}),lA=ur({prop:"maxHeight",transform:zo}),cA=ur({prop:"minHeight",transform:zo});ur({prop:"size",cssProperty:"width",transform:zo});ur({prop:"size",cssProperty:"height",transform:zo});const uA=ur({prop:"boxSizing"});$g(iA,Ob,sA,aA,lA,cA,uA);const np={border:{themeKey:"borders",transform:di},borderTop:{themeKey:"borders",transform:di},borderRight:{themeKey:"borders",transform:di},borderBottom:{themeKey:"borders",transform:di},borderLeft:{themeKey:"borders",transform:di},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:di},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Fg},color:{themeKey:"palette",transform:mu},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:mu},backgroundColor:{themeKey:"palette",transform:mu},p:{style:rr},pt:{style:rr},pr:{style:rr},pb:{style:rr},pl:{style:rr},px:{style:rr},py:{style:rr},padding:{style:rr},paddingTop:{style:rr},paddingRight:{style:rr},paddingBottom:{style:rr},paddingLeft:{style:rr},paddingX:{style:rr},paddingY:{style:rr},paddingInline:{style:rr},paddingInlineStart:{style:rr},paddingInlineEnd:{style:rr},paddingBlock:{style:rr},paddingBlockStart:{style:rr},paddingBlockEnd:{style:rr},m:{style:nr},mt:{style:nr},mr:{style:nr},mb:{style:nr},ml:{style:nr},mx:{style:nr},my:{style:nr},margin:{style:nr},marginTop:{style:nr},marginRight:{style:nr},marginBottom:{style:nr},marginLeft:{style:nr},marginX:{style:nr},marginY:{style:nr},marginInline:{style:nr},marginInlineStart:{style:nr},marginInlineEnd:{style:nr},marginBlock:{style:nr},marginBlockStart:{style:nr},marginBlockEnd:{style:nr},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:Hg},rowGap:{style:Ug},columnGap:{style:Wg},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:zo},maxWidth:{style:Ob},minWidth:{transform:zo},height:{transform:zo},maxHeight:{transform:zo},minHeight:{transform:zo},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 dA(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function fA(e,t){return typeof e=="function"?e(t):e}function pA(){function e(n,r,o,i){const a={[n]:r,theme:o},u=i[n];if(!u)return{[n]:r};const{cssProperty:d=n,themeKey:h,transform:p,style:g}=u;if(r==null)return null;if(h==="typography"&&r==="inherit")return{[n]:r};const v=Bg(o,h)||{};return g?g(a):ji(a,r,w=>{let T=Jm(v,p,w);return w===T&&typeof w=="string"&&(T=Jm(v,p,`${n}${w==="default"?"":ke(w)}`,w)),d===!1?T:{[d]:T}})}function t(n){const{sx:r,theme:o={},nested:i}=n||{};if(!r)return null;const a=o.unstable_sxConfig??np;function u(d){let h=d;if(typeof d=="function")h=d(o);else if(typeof d!="object")return d;if(!h)return null;const p=hR(o.breakpoints),g=Object.keys(p);let v=p;return Object.keys(h).forEach(b=>{const w=fA(h[b],o);if(w!=null)if(typeof w=="object")if(a[b])v=ff(v,e(b,w,o,a));else{const T=ji({theme:o},w,E=>({[b]:E}));dA(T,w)?v[b]=t({sx:w,theme:o,nested:!0}):v=ff(v,T)}else v=ff(v,e(b,w,o,a))}),!i&&o.modularCssLayers?{"@layer sx":sS(o,f0(g,v))}:sS(o,f0(g,v))}return Array.isArray(r)?r.map(u):u(r)}return t}const Ga=pA();Ga.filterProps=["sx"];function hA(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!="function")return{};let r=n.getColorSchemeSelector(e);return r==="&"?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function rp(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...a}=e,u=_2(n),d=gR(o);let h=Or({breakpoints:u,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:d,shape:{...E2,...i}},a);return h=T2(h),h.applyStyles=hA,h=t.reduce((p,g)=>Or(p,g),h),h.unstable_sxConfig={...np,...a?.unstable_sxConfig},h.unstable_sx=function(g){return Ga({sx:g,theme:this})},h}function mA(e){return Object.keys(e).length===0}function Mb(e=null){const t=x.useContext(ep);return!t||mA(t)?e:t}const gA=rp();function op(e=gA){return Mb(e)}function cx(e){const t=Va(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function yR({styles:e,themeId:t,defaultTheme:n={}}){const r=op(n),o=t&&r[t]||r;let i=typeof e=="function"?e(o):e;return o.modularCssLayers&&(Array.isArray(i)?i=i.map(a=>cx(typeof a=="function"?a(o):a)):i=cx(i)),y.jsx(uR,{styles:i})}const yA=e=>{const t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??np;return Object.keys(e).forEach(r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]}),t};function Vg(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=yA(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...a)=>{const u=t(...a);return cs(u)?{...r,...u}:r}:i={...r,...t},{...o,sx:i}}const cS=e=>e,vA=()=>{let e=cS;return{configure(t){e=t},generate(t){return e(t)},reset(){e=cS}}},vR=vA();function xR(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;tu!=="theme"&&u!=="sx"&&u!=="as"})(Ga);return x.forwardRef(function(d,h){const p=op(n),{className:g,component:v="div",...b}=Vg(d);return y.jsx(i,{as:v,ref:h,className:$e(g,o?o(r):r),theme:t&&p[t]||p,...b})})}const bA={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 pt(e,t,n="Mui"){const r=bA[t];return r?`${n}-${r}`:`${vR.generate(e)}-${t}`}function ft(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=pt(e,o,n)}),r}function bR(e){const{variants:t,...n}=e,r={variants:t,style:Va(n),isProcessed:!0};return r.style===n||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=Va(o.style))}),r}const _A=rp();function gu(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function jl(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function wA(e){return e?(t,n)=>n[e]:null}function SA(e,t,n){e.theme=EA(e.theme)?n:e.theme[t]||e.theme}function Lm(e,t,n){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(o=>Lm(e,o,n));if(Array.isArray(r?.variants)){let o;if(r.isProcessed)o=n?jl(r.style,n):r.style;else{const{variants:i,...a}=r;o=n?jl(Va(a),n):a}return _R(e,r.variants,[o],n)}return r?.isProcessed?n?jl(Va(r.style),n):r.style:n?jl(Va(r),n):r}function _R(e,t,n=[],r=void 0){let o;e:for(let i=0;i{y2(u,D=>D.filter(N=>N!==Ga));const{name:h,slot:p,skipVariantsResolver:g,skipSx:v,overridesResolver:b=wA(RA(p)),...w}=d,T=h&&h.startsWith("Mui")||p?"components":"custom",E=g!==void 0?g:p&&p!=="Root"&&p!=="root"||!1,R=v||!1;let O=gu;p==="Root"||p==="root"?O=r:p?O=o:CA(u)&&(O=void 0);const C=dR(u,{shouldForwardProp:O,label:TA(),...w}),k=D=>{if(D.__emotion_real===D)return D;if(typeof D=="function")return function(z){return Lm(z,D,z.theme.modularCssLayers?T:void 0)};if(cs(D)){const N=bR(D);return function($){return N.variants?Lm($,N,$.theme.modularCssLayers?T:void 0):$.theme.modularCssLayers?jl(N.style,T):N.style}}return D},M=(...D)=>{const N=[],z=D.map(k),$=[];if(N.push(i),h&&b&&$.push(function(q){const Y=q.theme.components?.[h]?.styleOverrides;if(!Y)return null;const W={};for(const J in Y)W[J]=Lm(q,Y[J],q.theme.modularCssLayers?"theme":void 0);return b(q,W)}),h&&!E&&$.push(function(q){const Y=q.theme?.components?.[h]?.variants;return Y?_R(q,Y,[],q.theme.modularCssLayers?"theme":void 0):null}),R||$.push(Ga),Array.isArray(z[0])){const j=z.shift(),q=new Array(N.length).fill(""),H=new Array($.length).fill("");let Y;Y=[...q,...j,...H],Y.raw=[...q,...j.raw,...H],N.unshift(Y)}const X=[...N,...z,...$],U=C(...X);return u.muiName&&(U.muiName=u.muiName),U};return C.withConfig&&(M.withConfig=C.withConfig),M}}function TA(e,t){return void 0}function EA(e){for(const t in e)return!1;return!0}function CA(e){return typeof e=="string"&&e.charCodeAt(0)>96}function RA(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const SR=wR();function Su(e,t,n=!1){const r={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if(i==="components"||i==="slots")r[i]={...e[i],...r[i]};else if(i==="componentsProps"||i==="slotProps"){const a=e[i],u=t[i];if(!u)r[i]=a||{};else if(!a)r[i]=u;else{r[i]={...u};for(const d in a)if(Object.prototype.hasOwnProperty.call(a,d)){const h=d;r[i][h]=Su(a[h],u[h],n)}}}else i==="className"&&n&&t.className?r.className=$e(e?.className,t?.className):i==="style"&&n&&t.style?r.style={...e?.style,...t?.style}:r[i]===void 0&&(r[i]=e[i])}return r}function kA(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Su(t.components[n].defaultProps,r)}function Ab({props:e,name:t,defaultTheme:n,themeId:r}){let o=op(n);return r&&(o=o[r]||o),kA({theme:o,name:t,props:e})}const Sr=typeof window<"u"?x.useLayoutEffect:x.useEffect;function iu(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function Nb(e,t=0,n=1){return iu(e,t,n)}function IA(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Ka(e){if(e.type)return e;if(e.charAt(0)==="#")return Ka(IA(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(na(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(na(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const LA=e=>{const t=Ka(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},rf=(e,t)=>{try{return LA(e)}catch{return e}};function Yg(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function TR(e){e=Ka(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(h,p=(h+n/30)%12)=>o-i*Math.max(Math.min(p-3,9-p,1),-1);let u="rgb";const d=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(u+="a",d.push(t[3])),Yg({type:u,values:d})}function p0(e){e=Ka(e);let t=e.type==="hsl"||e.type==="hsla"?Ka(TR(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function PA(e,t){const n=p0(e),r=p0(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function qs(e,t){return e=Ka(e),t=Nb(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Yg(e)}function Il(e,t,n){try{return qs(e,t)}catch{return e}}function Xg(e,t){if(e=Ka(e),t=Nb(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Yg(e)}function gn(e,t,n){try{return Xg(e,t)}catch{return e}}function Zg(e,t){if(e=Ka(e),t=Nb(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Yg(e)}function yn(e,t,n){try{return Zg(e,t)}catch{return e}}function OA(e,t=.15){return p0(e)>.5?Xg(e,t):Zg(e,t)}function Yh(e,t,n){try{return OA(e,t)}catch{return e}}const ER=x.createContext(null);function Db(){return x.useContext(ER)}const MA=typeof Symbol=="function"&&Symbol.for,AA=MA?Symbol.for("mui.nested"):"__THEME_NESTED__";function NA(e,t){return typeof t=="function"?t(e):{...e,...t}}function DA(e){const{children:t,theme:n}=e,r=Db(),o=x.useMemo(()=>{const i=r===null?{...n}:NA(r,n);return i!=null&&(i[AA]=r!==null),i},[n,r]);return y.jsx(ER.Provider,{value:o,children:t})}const CR=x.createContext();function jA({value:e,...t}){return y.jsx(CR.Provider,{value:e??!0,...t})}const ip=()=>x.useContext(CR)??!1,RR=x.createContext(void 0);function BA({value:e,children:t}){return y.jsx(RR.Provider,{value:e,children:t})}function zA(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Su(o.defaultProps,r,t.components.mergeClassNameAndStyle):!o.styleOverrides&&!o.variants?Su(o,r,t.components.mergeClassNameAndStyle):r}function $A({props:e,name:t}){const n=x.useContext(RR);return zA({props:e,name:t,theme:{components:n}})}let uS=0;function FA(e){const[t,n]=x.useState(e),r=e||t;return x.useEffect(()=>{t==null&&(uS+=1,n(`mui-${uS}`))},[t]),r}const HA={...a0},dS=HA.useId;function el(e){if(dS!==void 0){const t=dS();return e??t}return FA(e)}function WA(e){const t=Mb(),n=el()||"",{modularCssLayers:r}=e;let o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!r||t!==null?o="":typeof r=="string"?o=r.replace(/mui(?!\.)/g,o):o=`@layer ${o};`,Sr(()=>{const i=document.querySelector("head");if(!i)return;const a=i.firstChild;if(o){if(a&&a.hasAttribute?.("data-mui-layer-order")&&a.getAttribute("data-mui-layer-order")===n)return;const u=document.createElement("style");u.setAttribute("data-mui-layer-order",n),u.textContent=o,i.prepend(u)}else i.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[o,n]),o?y.jsx(yR,{styles:o}):null}const fS={};function pS(e,t,n,r=!1){return x.useMemo(()=>{const o=e&&t[e]||t;if(typeof n=="function"){const i=n(o),a=e?{...t,[e]:i}:i;return r?()=>a:a}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function kR(e){const{children:t,theme:n,themeId:r}=e,o=Mb(fS),i=Db()||fS,a=pS(r,o,n),u=pS(r,i,n,!0),d=(r?a[r]:a).direction==="rtl",h=WA(a);return y.jsx(DA,{theme:u,children:y.jsx(ep.Provider,{value:a,children:y.jsx(jA,{value:d,children:y.jsxs(BA,{value:r?a[r].components:a.components,children:[h,t]})})})})}const hS={theme:void 0};function UA(e){let t,n;return function(o){let i=t;return(i===void 0||o.theme!==n)&&(hS.theme=o.theme,i=bR(e(hS)),t=i,n=o.theme),i}}const jb="mode",Bb="color-scheme",VA="data-color-scheme";function YA(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:o=jb,colorSchemeStorageKey:i=Bb,attribute:a=VA,colorSchemeNode:u="document.documentElement",nonce:d}=e||{};let h="",p=a;if(a==="class"&&(p=".%s"),a==="data"&&(p="[data-%s]"),p.startsWith(".")){const v=p.substring(1);h+=`${u}.classList.remove('${v}'.replace('%s', light), '${v}'.replace('%s', dark)); + ${u}.classList.add('${v}'.replace('%s', colorScheme));`}const g=p.match(/\[([^[\]]+)\]/);if(g){const[v,b]=g[1].split("=");b||(h+=`${u}.removeAttribute('${v}'.replace('%s', light)); + ${u}.removeAttribute('${v}'.replace('%s', dark));`),h+=` + ${u}.setAttribute('${v}'.replace('%s', colorScheme), ${b?`${b}.replace('%s', colorScheme)`:'""'});`}else h+=`${u}.setAttribute('${p}', colorScheme);`;return y.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?d:"",dangerouslySetInnerHTML:{__html:`(function() { +try { + let colorScheme = ''; + const mode = localStorage.getItem('${o}') || '${t}'; + const dark = localStorage.getItem('${i}-dark') || '${r}'; + const light = localStorage.getItem('${i}-light') || '${n}'; + 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) { + ${h} + } +} catch(e){}})();`}},"mui-color-scheme-init")}function XA(){}const ZA=({key:e,storageWindow:t})=>(!t&&typeof window<"u"&&(t=window),{get(n){if(typeof window>"u")return;if(!t)return n;let r;try{r=t.localStorage.getItem(e)}catch{}return r||n},set:n=>{if(t)try{t.localStorage.setItem(e,n)}catch{}},subscribe:n=>{if(!t)return XA;const r=o=>{const i=o.newValue;o.key===e&&n(i)};return t.addEventListener("storage",r),()=>{t.removeEventListener("storage",r)}}});function ux(){}function mS(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function IR(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function GA(e){return IR(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function KA(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:o=[],modeStorageKey:i=jb,colorSchemeStorageKey:a=Bb,storageWindow:u=typeof window>"u"?void 0:window,storageManager:d=ZA,noSsr:h=!1}=e,p=o.join(","),g=o.length>1,v=x.useMemo(()=>d?.({key:i,storageWindow:u}),[d,i,u]),b=x.useMemo(()=>d?.({key:`${a}-light`,storageWindow:u}),[d,a,u]),w=x.useMemo(()=>d?.({key:`${a}-dark`,storageWindow:u}),[d,a,u]),[T,E]=x.useState(()=>{const z=v?.get(t)||t,$=b?.get(n)||n,X=w?.get(r)||r;return{mode:z,systemMode:mS(z),lightColorScheme:$,darkColorScheme:X}}),[R,O]=x.useState(h||!g);x.useEffect(()=>{O(!0)},[]);const C=GA(T),k=x.useCallback(z=>{E($=>{if(z===$.mode)return $;const X=z??t;return v?.set(X),{...$,mode:X,systemMode:mS(X)}})},[v,t]),M=x.useCallback(z=>{z?typeof z=="string"?z&&!p.includes(z)?console.error(`\`${z}\` does not exist in \`theme.colorSchemes\`.`):E($=>{const X={...$};return IR($,U=>{U==="light"&&(b?.set(z),X.lightColorScheme=z),U==="dark"&&(w?.set(z),X.darkColorScheme=z)}),X}):E($=>{const X={...$},U=z.light===null?n:z.light,j=z.dark===null?r:z.dark;return U&&(p.includes(U)?(X.lightColorScheme=U,b?.set(U)):console.error(`\`${U}\` does not exist in \`theme.colorSchemes\`.`)),j&&(p.includes(j)?(X.darkColorScheme=j,w?.set(j)):console.error(`\`${j}\` does not exist in \`theme.colorSchemes\`.`)),X}):E($=>(b?.set(n),w?.set(r),{...$,lightColorScheme:n,darkColorScheme:r}))},[p,b,w,n,r]),D=x.useCallback(z=>{T.mode==="system"&&E($=>{const X=z?.matches?"dark":"light";return $.systemMode===X?$:{...$,systemMode:X}})},[T.mode]),N=x.useRef(D);return N.current=D,x.useEffect(()=>{if(typeof window.matchMedia!="function"||!g)return;const z=(...X)=>N.current(...X),$=window.matchMedia("(prefers-color-scheme: dark)");return $.addListener(z),z($),()=>{$.removeListener(z)}},[g]),x.useEffect(()=>{if(g){const z=v?.subscribe(U=>{(!U||["light","dark","system"].includes(U))&&k(U||t)})||ux,$=b?.subscribe(U=>{(!U||p.match(U))&&M({light:U})})||ux,X=w?.subscribe(U=>{(!U||p.match(U))&&M({dark:U})})||ux;return()=>{z(),$(),X()}}},[M,k,p,t,u,g,v,b,w]),{...T,mode:R?T.mode:void 0,systemMode:R?T.systemMode:void 0,colorScheme:R?C:void 0,setMode:k,setColorScheme:M}}const qA="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function JA(e){const{themeId:t,theme:n={},modeStorageKey:r=jb,colorSchemeStorageKey:o=Bb,disableTransitionOnChange:i=!1,defaultColorScheme:a,resolveTheme:u}=e,d={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},h=x.createContext(void 0),p=()=>x.useContext(h)||d,g={},v={};function b(R){const{children:O,theme:C,modeStorageKey:k=r,colorSchemeStorageKey:M=o,disableTransitionOnChange:D=i,storageManager:N,storageWindow:z=typeof window>"u"?void 0:window,documentNode:$=typeof document>"u"?void 0:document,colorSchemeNode:X=typeof document>"u"?void 0:document.documentElement,disableNestedContext:U=!1,disableStyleSheetGeneration:j=!1,defaultMode:q="system",forceThemeRerender:H=!1,noSsr:Y}=R,W=x.useRef(!1),J=Db(),Z=x.useContext(h),Q=!!Z&&!U,ee=x.useMemo(()=>C||(typeof n=="function"?n():n),[C]),F=ee[t],G=F||ee,{colorSchemes:ue=g,components:le=v,cssVarPrefix:ne}=G,te=Object.keys(ue).filter(Re=>!!ue[Re]).join(","),pe=x.useMemo(()=>te.split(","),[te]),re=typeof a=="string"?a:a.light,se=typeof a=="string"?a:a.dark,ie=ue[re]&&ue[se]?q:ue[G.defaultColorScheme]?.palette?.mode||G.palette?.mode,{mode:ce,setMode:fe,systemMode:ye,lightColorScheme:Ee,darkColorScheme:Me,colorScheme:Ue,setColorScheme:Ve}=KA({supportedColorSchemes:pe,defaultLightColorScheme:re,defaultDarkColorScheme:se,modeStorageKey:k,colorSchemeStorageKey:M,defaultMode:ie,storageManager:N,storageWindow:z,noSsr:Y});let Le=ce,at=Ue;Q&&(Le=Z.mode,at=Z.colorScheme);let Be=at||G.defaultColorScheme;G.vars&&!H&&(Be=G.defaultColorScheme);const et=x.useMemo(()=>{const Re=G.generateThemeVars?.()||G.vars,Ne={...G,components:le,colorSchemes:ue,cssVarPrefix:ne,vars:Re};if(typeof Ne.generateSpacing=="function"&&(Ne.spacing=Ne.generateSpacing()),Be){const Ye=ue[Be];Ye&&typeof Ye=="object"&&Object.keys(Ye).forEach(Ze=>{Ye[Ze]&&typeof Ye[Ze]=="object"?Ne[Ze]={...Ne[Ze],...Ye[Ze]}:Ne[Ze]=Ye[Ze]})}return u?u(Ne):Ne},[G,Be,le,ue,ne]),He=G.colorSchemeSelector;Sr(()=>{if(at&&X&&He&&He!=="media"){const Re=He;let Ne=He;if(Re==="class"&&(Ne=".%s"),Re==="data"&&(Ne="[data-%s]"),Re?.startsWith("data-")&&!Re.includes("%s")&&(Ne=`[${Re}="%s"]`),Ne.startsWith("."))X.classList.remove(...pe.map(Ye=>Ne.substring(1).replace("%s",Ye))),X.classList.add(Ne.substring(1).replace("%s",at));else{const Ye=Ne.replace("%s",at).match(/\[([^\]]+)\]/);if(Ye){const[Ze,Xe]=Ye[1].split("=");Xe||pe.forEach(je=>{X.removeAttribute(Ze.replace(at,je))}),X.setAttribute(Ze,Xe?Xe.replace(/"|'/g,""):"")}else X.setAttribute(Ne,at)}}},[at,He,X,pe]),x.useEffect(()=>{let Re;if(D&&W.current&&$){const Ne=$.createElement("style");Ne.appendChild($.createTextNode(qA)),$.head.appendChild(Ne),window.getComputedStyle($.body),Re=setTimeout(()=>{$.head.removeChild(Ne)},1)}return()=>{clearTimeout(Re)}},[at,D,$]),x.useEffect(()=>(W.current=!0,()=>{W.current=!1}),[]);const jt=x.useMemo(()=>({allColorSchemes:pe,colorScheme:at,darkColorScheme:Me,lightColorScheme:Ee,mode:Le,setColorScheme:Ve,setMode:fe,systemMode:ye}),[pe,at,Me,Ee,Le,Ve,fe,ye,et.colorSchemeSelector]);let vt=!0;(j||G.cssVariables===!1||Q&&J?.cssVarPrefix===ne)&&(vt=!1);const Ie=y.jsxs(x.Fragment,{children:[y.jsx(kR,{themeId:F?t:void 0,theme:et,children:O}),vt&&y.jsx(uR,{styles:et.generateStyleSheets?.()||[]})]});return Q?Ie:y.jsx(h.Provider,{value:jt,children:Ie})}const w=typeof a=="string"?a:a.light,T=typeof a=="string"?a:a.dark;return{CssVarsProvider:b,useColorScheme:p,getInitColorSchemeScript:R=>YA({colorSchemeStorageKey:o,defaultLightColorScheme:w,defaultDarkColorScheme:T,modeStorageKey:r,...R})}}function QA(e=""){function t(...r){if(!r.length)return"";const o=r[0];return typeof o=="string"&&!o.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}-`:""}${o}${t(...r.slice(1))})`:`, ${o}`}return(r,...o)=>`var(--${e?`${e}-`:""}${r}${t(...o)})`}const gS=(e,t,n,r=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=n:o&&typeof o=="object"&&(o[i]=n):o&&typeof o=="object"&&(o[i]||(o[i]=r.includes(i)?[]:{}),o=o[i])})},eN=(e,t,n)=>{function r(o,i=[],a=[]){Object.entries(o).forEach(([u,d])=>{(!n||n&&!n([...i,u]))&&d!=null&&(typeof d=="object"&&Object.keys(d).length>0?r(d,[...i,u],Array.isArray(d)?[...a,u]:a):t([...i,u],d,a))})}r(e)},tN=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function dx(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};return eN(e,(u,d,h)=>{if((typeof d=="string"||typeof d=="number")&&(!r||!r(u,d))){const p=`--${n?`${n}-`:""}${u.join("-")}`,g=tN(u,d);Object.assign(o,{[p]:g}),gS(i,u,`var(${p})`,h),gS(a,u,`var(${p}, ${g})`,h)}},u=>u[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function nN(e,t={}){const{getSelector:n=R,disableCssColorScheme:r,colorSchemeSelector:o,enableContrastVars:i}=t,{colorSchemes:a={},components:u,defaultColorScheme:d="light",...h}=e,{vars:p,css:g,varsWithDefaults:v}=dx(h,t);let b=v;const w={},{[d]:T,...E}=a;if(Object.entries(E||{}).forEach(([k,M])=>{const{vars:D,css:N,varsWithDefaults:z}=dx(M,t);b=Or(b,z),w[k]={css:N,vars:D}}),T){const{css:k,vars:M,varsWithDefaults:D}=dx(T,t);b=Or(b,D),w[d]={css:k,vars:M}}function R(k,M){let D=o;if(o==="class"&&(D=".%s"),o==="data"&&(D="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(D=`[${o}="%s"]`),k){if(D==="media")return e.defaultColorScheme===k?":root":{[`@media (prefers-color-scheme: ${a[k]?.palette?.mode||k})`]:{":root":M}};if(D)return e.defaultColorScheme===k?`:root, ${D.replace("%s",String(k))}`:D.replace("%s",String(k))}return":root"}return{vars:b,generateThemeVars:()=>{let k={...p};return Object.entries(w).forEach(([,{vars:M}])=>{k=Or(k,M)}),k},generateStyleSheets:()=>{const k=[],M=e.defaultColorScheme||"light";function D($,X){Object.keys(X).length&&k.push(typeof $=="string"?{[$]:{...X}}:$)}D(n(void 0,{...g}),g);const{[M]:N,...z}=w;if(N){const{css:$}=N,X=a[M]?.palette?.mode,U=!r&&X?{colorScheme:X,...$}:{...$};D(n(M,{...U}),U)}return Object.entries(z).forEach(([$,{css:X}])=>{const U=a[$]?.palette?.mode,j=!r&&U?{colorScheme:U,...X}:{...X};D(n($,{...j}),j)}),i&&k.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),k}}}function rN(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}function ht(e,t,n=void 0){const r={};for(const o in e){const i=e[o];let a="",u=!0;for(let d=0;de.filter(n=>t.includes(n)),Uu=(e,t,n)=>{const r=e.keys[0];Array.isArray(t)?t.forEach((o,i)=>{n((a,u)=>{i<=e.keys.length-1&&(i===0?Object.assign(a,u):a[e.up(e.keys[i])]=u)},o)}):t&&typeof t=="object"?(Object.keys(t).length>e.keys.length?e.keys:oN(e.keys,Object.keys(t))).forEach(i=>{if(e.keys.includes(i)){const a=t[i];a!==void 0&&n((u,d)=>{r===i?Object.assign(u,d):u[e.up(i)]=d},a)}}):(typeof t=="number"||typeof t=="string")&&n((o,i)=>{Object.assign(o,i)},t)};function Qm(e){return`--Grid-${e}Spacing`}function Gg(e){return`--Grid-parent-${e}Spacing`}const yS="--Grid-columns",yu="--Grid-parent-columns",iN=({theme:e,ownerState:t})=>{const n={};return Uu(e.breakpoints,t.size,(r,o)=>{let i={};o==="grow"&&(i={flexBasis:0,flexGrow:1,maxWidth:"100%"}),o==="auto"&&(i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof o=="number"&&(i={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${o} / var(${yu}) - (var(${yu}) - ${o}) * (var(${Gg("column")}) / var(${yu})))`}),r(n,i)}),n},sN=({theme:e,ownerState:t})=>{const n={};return Uu(e.breakpoints,t.offset,(r,o)=>{let i={};o==="auto"&&(i={marginLeft:"auto"}),typeof o=="number"&&(i={marginLeft:o===0?"0px":`calc(100% * ${o} / var(${yu}) + var(${Gg("column")}) * ${o} / var(${yu}))`}),r(n,i)}),n},aN=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={[yS]:12};return Uu(e.breakpoints,t.columns,(r,o)=>{const i=o??12;r(n,{[yS]:i,"> *":{[yu]:i}})}),n},lN=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return Uu(e.breakpoints,t.rowSpacing,(r,o)=>{const i=typeof o=="string"?o:e.spacing?.(o);r(n,{[Qm("row")]:i,"> *":{[Gg("row")]:i}})}),n},cN=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return Uu(e.breakpoints,t.columnSpacing,(r,o)=>{const i=typeof o=="string"?o:e.spacing?.(o);r(n,{[Qm("column")]:i,"> *":{[Gg("column")]:i}})}),n},uN=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return Uu(e.breakpoints,t.direction,(r,o)=>{r(n,{flexDirection:o})}),n},dN=({ownerState:e})=>({minWidth:0,boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",...e.wrap&&e.wrap!=="wrap"&&{flexWrap:e.wrap},gap:`var(${Qm("row")}) var(${Qm("column")})`}}),fN=e=>{const t=[];return Object.entries(e).forEach(([n,r])=>{r!==!1&&r!==void 0&&t.push(`grid-${n}-${String(r)}`)}),t},pN=(e,t="xs")=>{function n(r){return r===void 0?!1:typeof r=="string"&&!Number.isNaN(Number(r))||typeof r=="number"&&r>0}if(n(e))return[`spacing-${t}-${String(e)}`];if(typeof e=="object"&&!Array.isArray(e)){const r=[];return Object.entries(e).forEach(([o,i])=>{n(i)&&r.push(`spacing-${o}-${String(i)}`)}),r}return[]},hN=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([t,n])=>`direction-${t}-${n}`):[`direction-xs-${String(e)}`];function mN(e,t){e.item!==void 0&&delete e.item,e.zeroMinWidth!==void 0&&delete e.zeroMinWidth,t.keys.forEach(n=>{e[n]!==void 0&&delete e[n]})}const gN=rp(),yN=SR("div",{name:"MuiGrid",slot:"Root"});function vN(e){return Ab({props:e,name:"MuiGrid",defaultTheme:gN})}function xN(e={}){const{createStyledComponent:t=yN,useThemeProps:n=vN,useTheme:r=op,componentName:o="MuiGrid"}=e,i=(h,p)=>{const{container:g,direction:v,spacing:b,wrap:w,size:T}=h,E={root:["root",g&&"container",w!=="wrap"&&`wrap-xs-${String(w)}`,...hN(v),...fN(T),...g?pN(b,p.breakpoints.keys[0]):[]]};return ht(E,R=>pt(o,R),{})};function a(h,p,g=()=>!0){const v={};return h===null||(Array.isArray(h)?h.forEach((b,w)=>{b!==null&&g(b)&&p.keys[w]&&(v[p.keys[w]]=b)}):typeof h=="object"?Object.keys(h).forEach(b=>{const w=h[b];w!=null&&g(w)&&(v[b]=w)}):v[p.keys[0]]=h),v}const u=t(aN,cN,lN,iN,uN,dN,sN),d=x.forwardRef(function(p,g){const v=r(),b=n(p),w=Vg(b);mN(w,v.breakpoints);const{className:T,children:E,columns:R=12,container:O=!1,component:C="div",direction:k="row",wrap:M="wrap",size:D={},offset:N={},spacing:z=0,rowSpacing:$=z,columnSpacing:X=z,unstable_level:U=0,...j}=w,q=a(D,v.breakpoints,F=>F!==!1),H=a(N,v.breakpoints),Y=p.columns??(U?void 0:R),W=p.spacing??(U?void 0:z),J=p.rowSpacing??p.spacing??(U?void 0:$),Z=p.columnSpacing??p.spacing??(U?void 0:X),Q={...w,level:U,columns:Y,container:O,direction:k,wrap:M,spacing:W,rowSpacing:J,columnSpacing:Z,size:q,offset:H},ee=i(Q,v);return y.jsx(u,{ref:g,as:C,ownerState:Q,className:$e(ee.root,T),...j,children:x.Children.map(E,F=>x.isValidElement(F)&&Pm(F,["Grid"])&&O&&F.props.container?x.cloneElement(F,{unstable_level:F.props?.unstable_level??U+1}):F)})});return d.muiName="Grid",d}const bN=rp(),_N=SR("div",{name:"MuiStack",slot:"Root"});function wN(e){return Ab({props:e,name:"MuiStack",defaultTheme:bN})}function SN(e,t){const n=x.Children.toArray(e).filter(Boolean);return n.reduce((r,o,i)=>(r.push(o),i({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],EN=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...ji({theme:t},lx({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){const r=zg(t),o=Object.keys(t.breakpoints.values).reduce((d,h)=>((typeof e.spacing=="object"&&e.spacing[h]!=null||typeof e.direction=="object"&&e.direction[h]!=null)&&(d[h]=!0),d),{}),i=lx({values:e.direction,base:o}),a=lx({values:e.spacing,base:o});typeof i=="object"&&Object.keys(i).forEach((d,h,p)=>{if(!i[d]){const v=h>0?i[p[h-1]]:"column";i[d]=v}}),n=Or(n,ji({theme:t},a,(d,h)=>e.useFlexGap?{gap:Gl(r,d)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${TN(h?i[h]:e.direction)}`]:Gl(r,d)}}))}return n=R2(t.breakpoints,n),n};function CN(e={}){const{createStyledComponent:t=_N,useThemeProps:n=wN,componentName:r="MuiStack"}=e,o=()=>ht({root:["root"]},d=>pt(r,d),{}),i=t(EN);return x.forwardRef(function(d,h){const p=n(d),g=Vg(p),{component:v="div",direction:b="column",spacing:w=0,divider:T,children:E,className:R,useFlexGap:O=!1,...C}=g,k={direction:b,spacing:w,useFlexGap:O},M=o();return y.jsx(i,{as:v,ownerState:k,ref:h,className:$e(M.root,R),...C,children:T?SN(E,T):E})})}function LR(){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:Ef.white,default:Ef.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 PR=LR();function OR(){return{text:{primary:Ef.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:Ef.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 h0=OR();function vS(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Zg(e.main,o):t==="dark"&&(e.dark=Xg(e.main,i)))}function xS(e,t,n,r,o){const i=o.light||o,a=o.dark||o*1.5;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:n==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(i*100).toFixed(0)}%)`:n==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(a*100).toFixed(0)}%)`))}function RN(e="light"){return e==="dark"?{main:Xc[200],light:Xc[50],dark:Xc[400]}:{main:Xc[700],light:Xc[400],dark:Xc[800]}}function kN(e="light"){return e==="dark"?{main:Yc[200],light:Yc[50],dark:Yc[400]}:{main:Yc[500],light:Yc[300],dark:Yc[700]}}function IN(e="light"){return e==="dark"?{main:Vc[500],light:Vc[300],dark:Vc[700]}:{main:Vc[700],light:Vc[400],dark:Vc[800]}}function LN(e="light"){return e==="dark"?{main:Zc[400],light:Zc[300],dark:Zc[700]}:{main:Zc[700],light:Zc[500],dark:Zc[900]}}function PN(e="light"){return e==="dark"?{main:Gc[400],light:Gc[300],dark:Gc[700]}:{main:Gc[800],light:Gc[500],dark:Gc[900]}}function ON(e="light"){return e==="dark"?{main:Hd[400],light:Hd[300],dark:Hd[700]}:{main:"#ed6c02",light:Hd[500],dark:Hd[900]}}function MN(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function zb(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:o,...i}=e,a=e.primary||RN(t),u=e.secondary||kN(t),d=e.error||IN(t),h=e.info||LN(t),p=e.success||PN(t),g=e.warning||ON(t);function v(E){return o?MN(E):PA(E,h0.text.primary)>=n?h0.text.primary:PR.text.primary}const b=({color:E,name:R,mainShade:O=500,lightShade:C=300,darkShade:k=700})=>{if(E={...E},!E.main&&E[O]&&(E.main=E[O]),!E.hasOwnProperty("main"))throw new Error(na(11,R?` (${R})`:"",O));if(typeof E.main!="string")throw new Error(na(12,R?` (${R})`:"",JSON.stringify(E.main)));return o?(xS(o,E,"light",C,r),xS(o,E,"dark",k,r)):(vS(E,"light",C,r),vS(E,"dark",k,r)),E.contrastText||(E.contrastText=v(E.main)),E};let w;return t==="light"?w=LR():t==="dark"&&(w=OR()),Or({common:{...Ef},mode:t,primary:b({color:a,name:"primary"}),secondary:b({color:u,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:b({color:d,name:"error"}),warning:b({color:g,name:"warning"}),info:b({color:h,name:"info"}),success:b({color:p,name:"success"}),grey:vM,contrastThreshold:n,getContrastText:v,augmentColor:b,tonalOffset:r,...w},i)}function AN(e){const t={};return Object.entries(e).forEach(r=>{const[o,i]=r;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function NN(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function DN(e){return Math.round(e*1e5)/1e5}const bS={textTransform:"uppercase"},_S='"Roboto", "Helvetica", "Arial", sans-serif';function MR(e,t){const{fontFamily:n=_S,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:u=700,htmlFontSize:d=16,allVariants:h,pxToRem:p,...g}=typeof t=="function"?t(e):t,v=r/14,b=p||(E=>`${E/d*v}rem`),w=(E,R,O,C,k)=>({fontFamily:n,fontWeight:E,fontSize:b(R),lineHeight:O,...n===_S?{letterSpacing:`${DN(C/R)}em`}:{},...k,...h}),T={h1:w(o,96,1.167,-1.5),h2:w(o,60,1.2,-.5),h3:w(i,48,1.167,0),h4:w(i,34,1.235,.25),h5:w(i,24,1.334,0),h6:w(a,20,1.6,.15),subtitle1:w(i,16,1.75,.15),subtitle2:w(a,14,1.57,.1),body1:w(i,16,1.5,.15),body2:w(i,14,1.43,.15),button:w(a,14,1.75,.4,bS),caption:w(i,12,1.66,.4),overline:w(i,12,2.66,1,bS),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Or({htmlFontSize:d,pxToRem:b,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:u,...T},g,{clone:!1})}const jN=.2,BN=.14,zN=.12;function $n(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${jN})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${BN})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${zN})`].join(",")}const $N=["none",$n(0,2,1,-1,0,1,1,0,0,1,3,0),$n(0,3,1,-2,0,2,2,0,0,1,5,0),$n(0,3,3,-2,0,3,4,0,0,1,8,0),$n(0,2,4,-1,0,4,5,0,0,1,10,0),$n(0,3,5,-1,0,5,8,0,0,1,14,0),$n(0,3,5,-1,0,6,10,0,0,1,18,0),$n(0,4,5,-2,0,7,10,1,0,2,16,1),$n(0,5,5,-3,0,8,10,1,0,3,14,2),$n(0,5,6,-3,0,9,12,1,0,3,16,2),$n(0,6,6,-3,0,10,14,1,0,4,18,3),$n(0,6,7,-4,0,11,15,1,0,4,20,3),$n(0,7,8,-4,0,12,17,2,0,5,22,4),$n(0,7,8,-4,0,13,19,2,0,5,24,4),$n(0,7,9,-4,0,14,21,2,0,5,26,4),$n(0,8,9,-5,0,15,22,2,0,6,28,5),$n(0,8,10,-5,0,16,24,2,0,6,30,5),$n(0,8,11,-5,0,17,26,2,0,6,32,5),$n(0,9,11,-5,0,18,28,2,0,7,34,6),$n(0,9,12,-6,0,19,29,2,0,7,36,6),$n(0,10,13,-6,0,20,31,3,0,8,38,7),$n(0,10,13,-6,0,21,33,3,0,8,40,7),$n(0,10,14,-6,0,22,35,3,0,8,42,7),$n(0,11,14,-7,0,23,36,3,0,9,44,8),$n(0,11,15,-7,0,24,38,3,0,9,46,8)],FN={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)"},AR={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function wS(e){return`${Math.round(e)}ms`}function HN(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function WN(e){const t={...FN,...e.easing},n={...AR,...e.duration};return{getAutoHeightDuration:HN,create:(o=["all"],i={})=>{const{duration:a=n.standard,easing:u=t.easeInOut,delay:d=0,...h}=i;return(Array.isArray(o)?o:[o]).map(p=>`${p} ${typeof a=="string"?a:wS(a)} ${u} ${typeof d=="string"?d:wS(d)}`).join(",")},...e,easing:t,duration:n}}const UN={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function VN(e){return cs(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function NR(e={}){const t={...e};function n(r){const o=Object.entries(r);for(let i=0;i{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let r=0;rOr(w,T),b),b.unstable_sxConfig={...np,...p?.unstable_sxConfig},b.unstable_sx=function(T){return Ga({sx:T,theme:this})},b.toRuntimeSource=NR,XN(b),b}function g0(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const ZN=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=g0(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function DR(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function jR(e){return e==="dark"?ZN:[]}function GN(e){const{palette:t={mode:"light"},opacity:n,overlays:r,colorSpace:o,...i}=e,a=zb({...t,colorSpace:o});return{palette:a,opacity:{...DR(a.mode),...n},overlays:r||jR(a.mode),...i}}function KN(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const qN=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],JN=e=>(t,n)=>{const r=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const a={};return qN(e.cssVarPrefix).forEach(u=>{a[u]=n[u],delete n[u]}),i==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:a}}:i?{[i.replace("%s",t)]:a,[`${r}, ${i.replace("%s",t)}`]:n}:{[r]:{...n,...a}}}if(i&&i!=="media")return`${r}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(i)return i.replace("%s",String(t))}return r};function QN(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function Ce(e,t,n){!e[t]&&n&&(e[t]=n)}function of(e){return typeof e!="string"||!e.startsWith("hsl")?e:TR(e)}function Hs(e,t){`${t}Channel`in e||(e[`${t}Channel`]=rf(of(e[t])))}function eD(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const rs=e=>{try{return e()}catch{}},tD=(e="mui")=>QA(e);function fx(e,t,n,r,o){if(!n)return;n=n===!0?{}:n;const i=o==="dark"?"dark":"light";if(!r){t[o]=GN({...n,palette:{mode:i,...n?.palette},colorSpace:e});return}const{palette:a,...u}=m0({...r,palette:{mode:i,...n?.palette},colorSpace:e});return t[o]={...n,palette:a,opacity:{...DR(i),...n?.opacity},overlays:n?.overlays||jR(i)},u}function nD(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:a=!1,shouldSkipGeneratingVar:u=KN,colorSchemeSelector:d=n.light&&n.dark?"media":void 0,rootSelector:h=":root",...p}=e,g=Object.keys(n)[0],v=r||(n.light&&g!=="light"?"light":g),b=tD(i),{[v]:w,light:T,dark:E,...R}=n,O={...R};let C=w;if((v==="dark"&&!("dark"in n)||v==="light"&&!("light"in n))&&(C=!0),!C)throw new Error(na(21,v));let k;a&&(k="oklch");const M=fx(k,O,C,p,v);T&&!O.light&&fx(k,O,T,void 0,"light"),E&&!O.dark&&fx(k,O,E,void 0,"dark");let D={defaultColorScheme:v,...M,cssVarPrefix:i,colorSchemeSelector:d,rootSelector:h,getCssVar:b,colorSchemes:O,font:{...AN(M.typography),...M.font},spacing:eD(p.spacing)};Object.keys(D.colorSchemes).forEach(U=>{const j=D.colorSchemes[U].palette,q=Y=>{const W=Y.split("-"),J=W[1],Z=W[2];return b(Y,j[J][Z])};j.mode==="light"&&(Ce(j.common,"background","#fff"),Ce(j.common,"onBackground","#000")),j.mode==="dark"&&(Ce(j.common,"background","#000"),Ce(j.common,"onBackground","#fff"));function H(Y,W,J){if(k){let Z;return Y===Il&&(Z=`transparent ${((1-J)*100).toFixed(0)}%`),Y===gn&&(Z=`#000 ${(J*100).toFixed(0)}%`),Y===yn&&(Z=`#fff ${(J*100).toFixed(0)}%`),`color-mix(in ${k}, ${W}, ${Z})`}return Y(W,J)}if(QN(j,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),j.mode==="light"){Ce(j.Alert,"errorColor",H(gn,j.error.light,.6)),Ce(j.Alert,"infoColor",H(gn,j.info.light,.6)),Ce(j.Alert,"successColor",H(gn,j.success.light,.6)),Ce(j.Alert,"warningColor",H(gn,j.warning.light,.6)),Ce(j.Alert,"errorFilledBg",q("palette-error-main")),Ce(j.Alert,"infoFilledBg",q("palette-info-main")),Ce(j.Alert,"successFilledBg",q("palette-success-main")),Ce(j.Alert,"warningFilledBg",q("palette-warning-main")),Ce(j.Alert,"errorFilledColor",rs(()=>j.getContrastText(j.error.main))),Ce(j.Alert,"infoFilledColor",rs(()=>j.getContrastText(j.info.main))),Ce(j.Alert,"successFilledColor",rs(()=>j.getContrastText(j.success.main))),Ce(j.Alert,"warningFilledColor",rs(()=>j.getContrastText(j.warning.main))),Ce(j.Alert,"errorStandardBg",H(yn,j.error.light,.9)),Ce(j.Alert,"infoStandardBg",H(yn,j.info.light,.9)),Ce(j.Alert,"successStandardBg",H(yn,j.success.light,.9)),Ce(j.Alert,"warningStandardBg",H(yn,j.warning.light,.9)),Ce(j.Alert,"errorIconColor",q("palette-error-main")),Ce(j.Alert,"infoIconColor",q("palette-info-main")),Ce(j.Alert,"successIconColor",q("palette-success-main")),Ce(j.Alert,"warningIconColor",q("palette-warning-main")),Ce(j.AppBar,"defaultBg",q("palette-grey-100")),Ce(j.Avatar,"defaultBg",q("palette-grey-400")),Ce(j.Button,"inheritContainedBg",q("palette-grey-300")),Ce(j.Button,"inheritContainedHoverBg",q("palette-grey-A100")),Ce(j.Chip,"defaultBorder",q("palette-grey-400")),Ce(j.Chip,"defaultAvatarColor",q("palette-grey-700")),Ce(j.Chip,"defaultIconColor",q("palette-grey-700")),Ce(j.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Ce(j.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Ce(j.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Ce(j.LinearProgress,"primaryBg",H(yn,j.primary.main,.62)),Ce(j.LinearProgress,"secondaryBg",H(yn,j.secondary.main,.62)),Ce(j.LinearProgress,"errorBg",H(yn,j.error.main,.62)),Ce(j.LinearProgress,"infoBg",H(yn,j.info.main,.62)),Ce(j.LinearProgress,"successBg",H(yn,j.success.main,.62)),Ce(j.LinearProgress,"warningBg",H(yn,j.warning.main,.62)),Ce(j.Skeleton,"bg",k?H(Il,j.text.primary,.11):`rgba(${q("palette-text-primaryChannel")} / 0.11)`),Ce(j.Slider,"primaryTrack",H(yn,j.primary.main,.62)),Ce(j.Slider,"secondaryTrack",H(yn,j.secondary.main,.62)),Ce(j.Slider,"errorTrack",H(yn,j.error.main,.62)),Ce(j.Slider,"infoTrack",H(yn,j.info.main,.62)),Ce(j.Slider,"successTrack",H(yn,j.success.main,.62)),Ce(j.Slider,"warningTrack",H(yn,j.warning.main,.62));const Y=k?H(gn,j.background.default,.6825):Yh(j.background.default,.8);Ce(j.SnackbarContent,"bg",Y),Ce(j.SnackbarContent,"color",rs(()=>k?h0.text.primary:j.getContrastText(Y))),Ce(j.SpeedDialAction,"fabHoverBg",Yh(j.background.paper,.15)),Ce(j.StepConnector,"border",q("palette-grey-400")),Ce(j.StepContent,"border",q("palette-grey-400")),Ce(j.Switch,"defaultColor",q("palette-common-white")),Ce(j.Switch,"defaultDisabledColor",q("palette-grey-100")),Ce(j.Switch,"primaryDisabledColor",H(yn,j.primary.main,.62)),Ce(j.Switch,"secondaryDisabledColor",H(yn,j.secondary.main,.62)),Ce(j.Switch,"errorDisabledColor",H(yn,j.error.main,.62)),Ce(j.Switch,"infoDisabledColor",H(yn,j.info.main,.62)),Ce(j.Switch,"successDisabledColor",H(yn,j.success.main,.62)),Ce(j.Switch,"warningDisabledColor",H(yn,j.warning.main,.62)),Ce(j.TableCell,"border",H(yn,H(Il,j.divider,1),.88)),Ce(j.Tooltip,"bg",H(Il,j.grey[700],.92))}if(j.mode==="dark"){Ce(j.Alert,"errorColor",H(yn,j.error.light,.6)),Ce(j.Alert,"infoColor",H(yn,j.info.light,.6)),Ce(j.Alert,"successColor",H(yn,j.success.light,.6)),Ce(j.Alert,"warningColor",H(yn,j.warning.light,.6)),Ce(j.Alert,"errorFilledBg",q("palette-error-dark")),Ce(j.Alert,"infoFilledBg",q("palette-info-dark")),Ce(j.Alert,"successFilledBg",q("palette-success-dark")),Ce(j.Alert,"warningFilledBg",q("palette-warning-dark")),Ce(j.Alert,"errorFilledColor",rs(()=>j.getContrastText(j.error.dark))),Ce(j.Alert,"infoFilledColor",rs(()=>j.getContrastText(j.info.dark))),Ce(j.Alert,"successFilledColor",rs(()=>j.getContrastText(j.success.dark))),Ce(j.Alert,"warningFilledColor",rs(()=>j.getContrastText(j.warning.dark))),Ce(j.Alert,"errorStandardBg",H(gn,j.error.light,.9)),Ce(j.Alert,"infoStandardBg",H(gn,j.info.light,.9)),Ce(j.Alert,"successStandardBg",H(gn,j.success.light,.9)),Ce(j.Alert,"warningStandardBg",H(gn,j.warning.light,.9)),Ce(j.Alert,"errorIconColor",q("palette-error-main")),Ce(j.Alert,"infoIconColor",q("palette-info-main")),Ce(j.Alert,"successIconColor",q("palette-success-main")),Ce(j.Alert,"warningIconColor",q("palette-warning-main")),Ce(j.AppBar,"defaultBg",q("palette-grey-900")),Ce(j.AppBar,"darkBg",q("palette-background-paper")),Ce(j.AppBar,"darkColor",q("palette-text-primary")),Ce(j.Avatar,"defaultBg",q("palette-grey-600")),Ce(j.Button,"inheritContainedBg",q("palette-grey-800")),Ce(j.Button,"inheritContainedHoverBg",q("palette-grey-700")),Ce(j.Chip,"defaultBorder",q("palette-grey-700")),Ce(j.Chip,"defaultAvatarColor",q("palette-grey-300")),Ce(j.Chip,"defaultIconColor",q("palette-grey-300")),Ce(j.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Ce(j.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Ce(j.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Ce(j.LinearProgress,"primaryBg",H(gn,j.primary.main,.5)),Ce(j.LinearProgress,"secondaryBg",H(gn,j.secondary.main,.5)),Ce(j.LinearProgress,"errorBg",H(gn,j.error.main,.5)),Ce(j.LinearProgress,"infoBg",H(gn,j.info.main,.5)),Ce(j.LinearProgress,"successBg",H(gn,j.success.main,.5)),Ce(j.LinearProgress,"warningBg",H(gn,j.warning.main,.5)),Ce(j.Skeleton,"bg",k?H(Il,j.text.primary,.13):`rgba(${q("palette-text-primaryChannel")} / 0.13)`),Ce(j.Slider,"primaryTrack",H(gn,j.primary.main,.5)),Ce(j.Slider,"secondaryTrack",H(gn,j.secondary.main,.5)),Ce(j.Slider,"errorTrack",H(gn,j.error.main,.5)),Ce(j.Slider,"infoTrack",H(gn,j.info.main,.5)),Ce(j.Slider,"successTrack",H(gn,j.success.main,.5)),Ce(j.Slider,"warningTrack",H(gn,j.warning.main,.5));const Y=k?H(yn,j.background.default,.985):Yh(j.background.default,.98);Ce(j.SnackbarContent,"bg",Y),Ce(j.SnackbarContent,"color",rs(()=>k?PR.text.primary:j.getContrastText(Y))),Ce(j.SpeedDialAction,"fabHoverBg",Yh(j.background.paper,.15)),Ce(j.StepConnector,"border",q("palette-grey-600")),Ce(j.StepContent,"border",q("palette-grey-600")),Ce(j.Switch,"defaultColor",q("palette-grey-300")),Ce(j.Switch,"defaultDisabledColor",q("palette-grey-600")),Ce(j.Switch,"primaryDisabledColor",H(gn,j.primary.main,.55)),Ce(j.Switch,"secondaryDisabledColor",H(gn,j.secondary.main,.55)),Ce(j.Switch,"errorDisabledColor",H(gn,j.error.main,.55)),Ce(j.Switch,"infoDisabledColor",H(gn,j.info.main,.55)),Ce(j.Switch,"successDisabledColor",H(gn,j.success.main,.55)),Ce(j.Switch,"warningDisabledColor",H(gn,j.warning.main,.55)),Ce(j.TableCell,"border",H(gn,H(Il,j.divider,1),.68)),Ce(j.Tooltip,"bg",H(Il,j.grey[700],.92))}Hs(j.background,"default"),Hs(j.background,"paper"),Hs(j.common,"background"),Hs(j.common,"onBackground"),Hs(j,"divider"),Object.keys(j).forEach(Y=>{const W=j[Y];Y!=="tonalOffset"&&W&&typeof W=="object"&&(W.main&&Ce(j[Y],"mainChannel",rf(of(W.main))),W.light&&Ce(j[Y],"lightChannel",rf(of(W.light))),W.dark&&Ce(j[Y],"darkChannel",rf(of(W.dark))),W.contrastText&&Ce(j[Y],"contrastTextChannel",rf(of(W.contrastText))),Y==="text"&&(Hs(j[Y],"primary"),Hs(j[Y],"secondary")),Y==="action"&&(W.active&&Hs(j[Y],"active"),W.selected&&Hs(j[Y],"selected")))})}),D=t.reduce((U,j)=>Or(U,j),D);const N={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:u,getSelector:JN(D),enableContrastVars:a},{vars:z,generateThemeVars:$,generateStyleSheets:X}=nN(D,N);return D.vars=z,Object.entries(D.colorSchemes[D.defaultColorScheme]).forEach(([U,j])=>{D[U]=j}),D.generateThemeVars=$,D.generateStyleSheets=X,D.generateSpacing=function(){return gR(p.spacing,zg(this))},D.getColorSchemeSelector=rN(d),D.spacing=D.generateSpacing(),D.shouldSkipGeneratingVar=u,D.unstable_sxConfig={...np,...p?.unstable_sxConfig},D.unstable_sx=function(j){return Ga({sx:j,theme:this})},D.toRuntimeSource=NR,D}function TS(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:zb({...n===!0?{}:n.palette,mode:t})})}function tl(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=n?void 0:{light:!0},defaultColorScheme:i=n?.mode,...a}=e,u=i||"light",d=o?.[u],h={...o,...n?{[u]:{...typeof d!="boolean"&&d,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return m0(e,...t);let p=n;"palette"in e||h[u]&&(h[u]!==!0?p=h[u].palette:u==="dark"&&(p={mode:"dark"}));const g=m0({...e,palette:p},...t);return g.defaultColorScheme=u,g.colorSchemes=h,g.palette.mode==="light"&&(g.colorSchemes.light={...h.light!==!0&&h.light,palette:g.palette},TS(g,"dark",h.dark)),g.palette.mode==="dark"&&(g.colorSchemes.dark={...h.dark!==!0&&h.dark,palette:g.palette},TS(g,"light",h.light)),g}return!n&&!("light"in h)&&u==="light"&&(h.light=!0),nD({...a,colorSchemes:h,defaultColorScheme:u,...typeof r!="boolean"&&r},...t)}const Kg=tl();function oc(){const e=op(Kg);return e[Di]||e}function rD({props:e,name:t}){return Ab({props:e,name:t,defaultTheme:Kg,themeId:Di})}function qg(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const co=e=>qg(e)&&e!=="classes",Te=wR({themeId:Di,defaultTheme:Kg,rootShouldForwardProp:co});function oD({theme:e,...t}){const n=Di in e?e[Di]:void 0;return y.jsx(kR,{...t,themeId:n?Di:void 0,theme:n||e})}const Xh={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:iD}=JA({themeId:Di,theme:()=>tl({cssVariables:!0}),colorSchemeStorageKey:Xh.colorSchemeStorageKey,modeStorageKey:Xh.modeStorageKey,defaultColorScheme:{light:Xh.defaultLightColorScheme,dark:Xh.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:MR(e.palette,e.typography)};return t.unstable_sx=function(r){return Ga({sx:r,theme:this})},t}}),sD=iD;function sp({theme:e,...t}){const n=x.useMemo(()=>{if(typeof e=="function")return e;const r=Di in e?e[Di]:e;return"colorSchemes"in r?null:"vars"in r?e:{...e,vars:null}},[e]);return n?y.jsx(oD,{theme:n,...t}):y.jsx(sD,{theme:e,...t})}function ES(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function aD(e){return y.jsx(yR,{...e,defaultTheme:Kg,themeId:Di})}function $b(e){return function(n){return y.jsx(aD,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function lD(){return Vg}const st=UA;function yt(e){return $A(e)}function cD(e){return pt("MuiSvgIcon",e)}ft("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const uD=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${ke(t)}`,`fontSize${ke(n)}`]};return ht(o,cD,r)},dD=Te("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ke(n.color)}`],t[`fontSize${ke(n.fontSize)}`]]}})(st(({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:t=>!t.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(([,t])=>t&&t.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.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}}]}))),y0=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:u="svg",fontSize:d="medium",htmlColor:h,inheritViewBox:p=!1,titleAccess:g,viewBox:v="0 0 24 24",...b}=r,w=x.isValidElement(o)&&o.type==="svg",T={...r,color:a,component:u,fontSize:d,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:v,hasSvgAsChild:w},E={};p||(E.viewBox=v);const R=uD(T);return y.jsxs(dD,{as:u,className:$e(R.root,i),focusable:"false",color:h,"aria-hidden":g?void 0:!0,role:g?"img":void 0,ref:n,...E,...b,...w&&o.props,ownerState:T,children:[w?o.props.children:o,g?y.jsx("title",{children:g}):null]})});y0.muiName="SvgIcon";function kt(e,t){function n(r,o){return y.jsx(y0,{"data-testid":void 0,ref:o,...r,children:e})}return n.muiName=y0.muiName,x.memo(x.forwardRef(n))}function BR(e,t=166){let n;function r(...o){const i=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(i,t)}return r.clear=()=>{clearTimeout(n)},r}function Hr(e){return e&&e.ownerDocument||document}function ra(e){return Hr(e).defaultView||window}function v0(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function ea(e){const{controlled:t,default:n,name:r,state:o="value"}=e,{current:i}=x.useRef(t!==void 0),[a,u]=x.useState(n),d=i?t:a,h=x.useCallback(p=>{i||u(p)},[]);return[d,h]}function pn(e){const t=x.useRef(e);return Sr(()=>{t.current=e}),x.useRef((...n)=>(0,t.current)(...n)).current}function jn(...e){const t=x.useRef(void 0),n=x.useCallback(r=>{const o=e.map(i=>{if(i==null)return null;if(typeof i=="function"){const a=i,u=a(r);return typeof u=="function"?u:()=>{a(null)}}return i.current=r,()=>{i.current=null}});return()=>{o.forEach(i=>i?.())}},e);return x.useMemo(()=>e.every(r=>r==null)?null:r=>{t.current&&(t.current(),t.current=void 0),r!=null&&(t.current=n(r))},e)}function fD(e,t){const n=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&n>=65&&n<=90&&typeof t=="function"}function zR(e,t){if(!e)return t;function n(a,u){const d={};return Object.keys(u).forEach(h=>{fD(h,u[h])&&typeof a[h]=="function"&&(d[h]=(...p)=>{a[h](...p),u[h](...p)})}),d}if(typeof e=="function"||typeof t=="function")return a=>{const u=typeof t=="function"?t(a):t,d=typeof e=="function"?e({...a,...u}):e,h=$e(a?.className,u?.className,d?.className),p=n(d,u);return{...u,...d,...p,...!!h&&{className:h},...u?.style&&d?.style&&{style:{...u.style,...d.style}},...u?.sx&&d?.sx&&{sx:[...Array.isArray(u.sx)?u.sx:[u.sx],...Array.isArray(d.sx)?d.sx:[d.sx]]}}};const r=t,o=n(e,r),i=$e(r?.className,e?.className);return{...t,...e,...o,...!!i&&{className:i},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function Vu(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function x0(e,t){return x0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},x0(e,t)}function $R(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,x0(e,t)}var px={exports:{}},bo={},hx={exports:{}},mx={};var CS;function pD(){return CS||(CS=1,(function(e){function t(Z,Q){var ee=Z.length;Z.push(Q);e:for(;0>>1,G=Z[F];if(0>>1;Fo(ne,ee))teo(pe,ne)?(Z[F]=pe,Z[te]=ee,F=te):(Z[F]=ne,Z[le]=ee,F=le);else if(teo(pe,ee))Z[F]=pe,Z[te]=ee,F=te;else break e}}return Q}function o(Z,Q){var ee=Z.sortIndex-Q.sortIndex;return ee!==0?ee:Z.id-Q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,u=a.now();e.unstable_now=function(){return a.now()-u}}var d=[],h=[],p=1,g=null,v=3,b=!1,w=!1,T=!1,E=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(Z){for(var Q=n(h);Q!==null;){if(Q.callback===null)r(h);else if(Q.startTime<=Z)r(h),Q.sortIndex=Q.expirationTime,t(d,Q);else break;Q=n(h)}}function k(Z){if(T=!1,C(Z),!w)if(n(d)!==null)w=!0,W(M);else{var Q=n(h);Q!==null&&J(k,Q.startTime-Z)}}function M(Z,Q){w=!1,T&&(T=!1,R(z),z=-1),b=!0;var ee=v;try{for(C(Q),g=n(d);g!==null&&(!(g.expirationTime>Q)||Z&&!U());){var F=g.callback;if(typeof F=="function"){g.callback=null,v=g.priorityLevel;var G=F(g.expirationTime<=Q);Q=e.unstable_now(),typeof G=="function"?g.callback=G:g===n(d)&&r(d),C(Q)}else r(d);g=n(d)}if(g!==null)var ue=!0;else{var le=n(h);le!==null&&J(k,le.startTime-Q),ue=!1}return ue}finally{g=null,v=ee,b=!1}}var D=!1,N=null,z=-1,$=5,X=-1;function U(){return!(e.unstable_now()-X<$)}function j(){if(N!==null){var Z=e.unstable_now();X=Z;var Q=!0;try{Q=N(!0,Z)}finally{Q?q():(D=!1,N=null)}}else D=!1}var q;if(typeof O=="function")q=function(){O(j)};else if(typeof MessageChannel<"u"){var H=new MessageChannel,Y=H.port2;H.port1.onmessage=j,q=function(){Y.postMessage(null)}}else q=function(){E(j,0)};function W(Z){N=Z,D||(D=!0,q())}function J(Z,Q){z=E(function(){Z(e.unstable_now())},Q)}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(Z){Z.callback=null},e.unstable_continueExecution=function(){w||b||(w=!0,W(M))},e.unstable_forceFrameRate=function(Z){0>Z||125F?(Z.sortIndex=ee,t(h,Z),n(d)===null&&Z===n(h)&&(T?(R(z),z=-1):T=!0,J(k,ee-F))):(Z.sortIndex=G,t(d,Z),w||b||(w=!0,W(M))),Z},e.unstable_shouldYield=U,e.unstable_wrapCallback=function(Z){var Q=v;return function(){var ee=v;v=Q;try{return Z.apply(this,arguments)}finally{v=ee}}}})(mx)),mx}var RS;function hD(){return RS||(RS=1,hx.exports=pD()),hx.exports}var kS;function mD(){if(kS)return bo;kS=1;var e=qf(),t=hD();function n(s){for(var c="https://reactjs.org/docs/error-decoder.html?invariant="+s,m=1;m"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),d=Object.prototype.hasOwnProperty,h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},g={};function v(s){return d.call(g,s)?!0:d.call(p,s)?!1:h.test(s)?g[s]=!0:(p[s]=!0,!1)}function b(s,c,m,S){if(m!==null&&m.type===0)return!1;switch(typeof c){case"function":case"symbol":return!0;case"boolean":return S?!1:m!==null?!m.acceptsBooleans:(s=s.toLowerCase().slice(0,5),s!=="data-"&&s!=="aria-");default:return!1}}function w(s,c,m,S){if(c===null||typeof c>"u"||b(s,c,m,S))return!0;if(S)return!1;if(m!==null)switch(m.type){case 3:return!c;case 4:return c===!1;case 5:return isNaN(c);case 6:return isNaN(c)||1>c}return!1}function T(s,c,m,S,P,A,V){this.acceptsBooleans=c===2||c===3||c===4,this.attributeName=S,this.attributeNamespace=P,this.mustUseProperty=m,this.propertyName=s,this.type=c,this.sanitizeURL=A,this.removeEmptyString=V}var E={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(s){E[s]=new T(s,0,!1,s,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(s){var c=s[0];E[c]=new T(c,1,!1,s[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){E[s]=new T(s,2,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){E[s]=new T(s,2,!1,s,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(s){E[s]=new T(s,3,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){E[s]=new T(s,3,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){E[s]=new T(s,4,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){E[s]=new T(s,6,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){E[s]=new T(s,5,!1,s.toLowerCase(),null,!1,!1)});var R=/[\-:]([a-z])/g;function O(s){return s[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(s){var c=s.replace(R,O);E[c]=new T(c,1,!1,s,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(s){var c=s.replace(R,O);E[c]=new T(c,1,!1,s,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(s){var c=s.replace(R,O);E[c]=new T(c,1,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){E[s]=new T(s,1,!1,s.toLowerCase(),null,!1,!1)}),E.xlinkHref=new T("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){E[s]=new T(s,1,!1,s.toLowerCase(),null,!0,!0)});function C(s,c,m,S){var P=E.hasOwnProperty(c)?E[c]:null;(P!==null?P.type!==0:S||!(2oe||P[V]!==A[oe]){var de=` +`+P[V].replace(" at new "," at ");return s.displayName&&de.includes("")&&(de=de.replace("",s.displayName)),de}while(1<=V&&0<=oe);break}}}finally{ue=!1,Error.prepareStackTrace=m}return(s=s?s.displayName||s.name:"")?G(s):""}function ne(s){switch(s.tag){case 5:return G(s.type);case 16:return G("Lazy");case 13:return G("Suspense");case 19:return G("SuspenseList");case 0:case 2:case 15:return s=le(s.type,!1),s;case 11:return s=le(s.type.render,!1),s;case 1:return s=le(s.type,!0),s;default:return""}}function te(s){if(s==null)return null;if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case N:return"Fragment";case D:return"Portal";case $:return"Profiler";case z:return"StrictMode";case q:return"Suspense";case H:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case U:return(s.displayName||"Context")+".Consumer";case X:return(s._context.displayName||"Context")+".Provider";case j:var c=s.render;return s=s.displayName,s||(s=c.displayName||c.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case Y:return c=s.displayName||null,c!==null?c:te(s.type)||"Memo";case W:c=s._payload,s=s._init;try{return te(s(c))}catch{}}return null}function pe(s){var c=s.type;switch(s.tag){case 24:return"Cache";case 9:return(c.displayName||"Context")+".Consumer";case 10:return(c._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return s=c.render,s=s.displayName||s.name||"",c.displayName||(s!==""?"ForwardRef("+s+")":"ForwardRef");case 7:return"Fragment";case 5:return c;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return te(c);case 8:return c===z?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c}return null}function re(s){switch(typeof s){case"boolean":case"number":case"string":case"undefined":return s;case"object":return s;default:return""}}function se(s){var c=s.type;return(s=s.nodeName)&&s.toLowerCase()==="input"&&(c==="checkbox"||c==="radio")}function ie(s){var c=se(s)?"checked":"value",m=Object.getOwnPropertyDescriptor(s.constructor.prototype,c),S=""+s[c];if(!s.hasOwnProperty(c)&&typeof m<"u"&&typeof m.get=="function"&&typeof m.set=="function"){var P=m.get,A=m.set;return Object.defineProperty(s,c,{configurable:!0,get:function(){return P.call(this)},set:function(V){S=""+V,A.call(this,V)}}),Object.defineProperty(s,c,{enumerable:m.enumerable}),{getValue:function(){return S},setValue:function(V){S=""+V},stopTracking:function(){s._valueTracker=null,delete s[c]}}}}function ce(s){s._valueTracker||(s._valueTracker=ie(s))}function fe(s){if(!s)return!1;var c=s._valueTracker;if(!c)return!0;var m=c.getValue(),S="";return s&&(S=se(s)?s.checked?"true":"false":s.value),s=S,s!==m?(c.setValue(s),!0):!1}function ye(s){if(s=s||(typeof document<"u"?document:void 0),typeof s>"u")return null;try{return s.activeElement||s.body}catch{return s.body}}function Ee(s,c){var m=c.checked;return ee({},c,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:m??s._wrapperState.initialChecked})}function Me(s,c){var m=c.defaultValue==null?"":c.defaultValue,S=c.checked!=null?c.checked:c.defaultChecked;m=re(c.value!=null?c.value:m),s._wrapperState={initialChecked:S,initialValue:m,controlled:c.type==="checkbox"||c.type==="radio"?c.checked!=null:c.value!=null}}function Ue(s,c){c=c.checked,c!=null&&C(s,"checked",c,!1)}function Ve(s,c){Ue(s,c);var m=re(c.value),S=c.type;if(m!=null)S==="number"?(m===0&&s.value===""||s.value!=m)&&(s.value=""+m):s.value!==""+m&&(s.value=""+m);else if(S==="submit"||S==="reset"){s.removeAttribute("value");return}c.hasOwnProperty("value")?at(s,c.type,m):c.hasOwnProperty("defaultValue")&&at(s,c.type,re(c.defaultValue)),c.checked==null&&c.defaultChecked!=null&&(s.defaultChecked=!!c.defaultChecked)}function Le(s,c,m){if(c.hasOwnProperty("value")||c.hasOwnProperty("defaultValue")){var S=c.type;if(!(S!=="submit"&&S!=="reset"||c.value!==void 0&&c.value!==null))return;c=""+s._wrapperState.initialValue,m||c===s.value||(s.value=c),s.defaultValue=c}m=s.name,m!==""&&(s.name=""),s.defaultChecked=!!s._wrapperState.initialChecked,m!==""&&(s.name=m)}function at(s,c,m){(c!=="number"||ye(s.ownerDocument)!==s)&&(m==null?s.defaultValue=""+s._wrapperState.initialValue:s.defaultValue!==""+m&&(s.defaultValue=""+m))}var Be=Array.isArray;function et(s,c,m,S){if(s=s.options,c){c={};for(var P=0;P"+c.valueOf().toString()+"",c=Ye.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;c.firstChild;)s.appendChild(c.firstChild)}});function Xe(s,c){if(c){var m=s.firstChild;if(m&&m===s.lastChild&&m.nodeType===3){m.nodeValue=c;return}}s.textContent=c}var je={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Nt=["Webkit","ms","Moz","O"];Object.keys(je).forEach(function(s){Nt.forEach(function(c){c=c+s.charAt(0).toUpperCase()+s.substring(1),je[c]=je[s]})});function Ot(s,c,m){return c==null||typeof c=="boolean"||c===""?"":m||typeof c!="number"||c===0||je.hasOwnProperty(s)&&je[s]?(""+c).trim():c+"px"}function $t(s,c){s=s.style;for(var m in c)if(c.hasOwnProperty(m)){var S=m.indexOf("--")===0,P=Ot(m,c[m],S);m==="float"&&(m="cssFloat"),S?s.setProperty(m,P):s[m]=P}}var Je=ee({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function bt(s,c){if(c){if(Je[s]&&(c.children!=null||c.dangerouslySetInnerHTML!=null))throw Error(n(137,s));if(c.dangerouslySetInnerHTML!=null){if(c.children!=null)throw Error(n(60));if(typeof c.dangerouslySetInnerHTML!="object"||!("__html"in c.dangerouslySetInnerHTML))throw Error(n(61))}if(c.style!=null&&typeof c.style!="object")throw Error(n(62))}}function Rt(s,c){if(s.indexOf("-")===-1)return typeof c.is=="string";switch(s){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var hn=null;function qn(s){return s=s.target||s.srcElement||window,s.correspondingUseElement&&(s=s.correspondingUseElement),s.nodeType===3?s.parentNode:s}var Jn=null,kn=null,ct=null;function It(s){if(s=Ms(s)){if(typeof Jn!="function")throw Error(n(280));var c=s.stateNode;c&&(c=Lc(c),Jn(s.stateNode,s.type,c))}}function Gt(s){kn?ct?ct.push(s):ct=[s]:kn=s}function on(){if(kn){var s=kn,c=ct;if(ct=kn=null,It(s),c)for(s=0;s>>=0,s===0?32:31-(Cn(s)/ca|0)|0}var Co=64,Vi=4194304;function Lt(s){switch(s&-s){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: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 s&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return s&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return s}}function mn(s,c){var m=s.pendingLanes;if(m===0)return 0;var S=0,P=s.suspendedLanes,A=s.pingedLanes,V=m&268435455;if(V!==0){var oe=V&~P;oe!==0?S=Lt(oe):(A&=V,A!==0&&(S=Lt(A)))}else V=m&~P,V!==0?S=Lt(V):A!==0&&(S=Lt(A));if(S===0)return 0;if(c!==0&&c!==S&&(c&P)===0&&(P=S&-S,A=c&-c,P>=A||P===16&&(A&4194240)!==0))return c;if((S&4)!==0&&(S|=m&16),c=s.entangledLanes,c!==0)for(s=s.entanglements,c&=S;0m;m++)c.push(s);return c}function no(s,c,m){s.pendingLanes|=c,c!==536870912&&(s.suspendedLanes=0,s.pingedLanes=0),s=s.eventTimes,c=31-Dt(c),s[c]=m}function Bn(s,c){var m=s.pendingLanes&~c;s.pendingLanes=c,s.suspendedLanes=0,s.pingedLanes=0,s.expiredLanes&=c,s.mutableReadLanes&=c,s.entangledLanes&=c,c=s.entanglements;var S=s.eventTimes;for(s=s.expirationTimes;0=fl),Is=" ",Gp=!1;function ma(s,c){switch(s){case"keyup":return Lo.indexOf(c.keyCode)!==-1;case"keydown":return c.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function md(s){return s=s.detail,typeof s=="object"&&"data"in s?s.data:null}var wi=!1;function Xy(s,c){switch(s){case"compositionend":return md(c);case"keypress":return c.which!==32?null:(Gp=!0,Is);case"textInput":return s=c.data,s===Is&&Gp?null:s;default:return null}}function Gi(s,c){if(wi)return s==="compositionend"||!Zi&&ma(s,c)?(s=sd(),Xi=ro=Yi=null,wi=!1,s):null;switch(s){case"paste":return null;case"keypress":if(!(c.ctrlKey||c.altKey||c.metaKey)||c.ctrlKey&&c.altKey){if(c.char&&1=c)return{node:m,offset:c-s};s=S}e:{for(;m;){if(m.nextSibling){m=m.nextSibling;break e}m=m.parentNode}m=void 0}m=Jp(m)}}function Qp(s,c){return s&&c?s===c?!0:s&&s.nodeType===3?!1:c&&c.nodeType===3?Qp(s,c.parentNode):"contains"in s?s.contains(c):s.compareDocumentPosition?!!(s.compareDocumentPosition(c)&16):!1:!1}function vd(){for(var s=window,c=ye();c instanceof s.HTMLIFrameElement;){try{var m=typeof c.contentWindow.location.href=="string"}catch{m=!1}if(m)s=c.contentWindow;else break;c=ye(s.document)}return c}function xd(s){var c=s&&s.nodeName&&s.nodeName.toLowerCase();return c&&(c==="input"&&(s.type==="text"||s.type==="search"||s.type==="tel"||s.type==="url"||s.type==="password")||c==="textarea"||s.contentEditable==="true")}function Jo(s){var c=vd(),m=s.focusedElem,S=s.selectionRange;if(c!==m&&m&&m.ownerDocument&&Qp(m.ownerDocument.documentElement,m)){if(S!==null&&xd(m)){if(c=S.start,s=S.end,s===void 0&&(s=c),"selectionStart"in m)m.selectionStart=c,m.selectionEnd=Math.min(s,m.value.length);else if(s=(c=m.ownerDocument||document)&&c.defaultView||window,s.getSelection){s=s.getSelection();var P=m.textContent.length,A=Math.min(S.start,P);S=S.end===void 0?A:Math.min(S.end,P),!s.extend&&A>S&&(P=S,S=A,A=P),P=yd(m,A);var V=yd(m,S);P&&V&&(s.rangeCount!==1||s.anchorNode!==P.node||s.anchorOffset!==P.offset||s.focusNode!==V.node||s.focusOffset!==V.offset)&&(c=c.createRange(),c.setStart(P.node,P.offset),s.removeAllRanges(),A>S?(s.addRange(c),s.extend(V.node,V.offset)):(c.setEnd(V.node,V.offset),s.addRange(c)))}}for(c=[],s=m;s=s.parentNode;)s.nodeType===1&&c.push({element:s,left:s.scrollLeft,top:s.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m=document.documentMode,va=null,xa=null,ml=null,kc=!1;function eh(s,c,m){var S=m.window===m?m.document:m.nodeType===9?m:m.ownerDocument;kc||va==null||va!==ye(S)||(S=va,"selectionStart"in S&&xd(S)?S={start:S.selectionStart,end:S.selectionEnd}:(S=(S.ownerDocument&&S.ownerDocument.defaultView||window).getSelection(),S={anchorNode:S.anchorNode,anchorOffset:S.anchorOffset,focusNode:S.focusNode,focusOffset:S.focusOffset}),ml&&Ki(ml,S)||(ml=S,S=_(xa,"onSelect"),0Pc||(s.current=Qy[Pc],Qy[Pc]=null,Pc--)}function Pn(s,c){Pc++,Qy[Pc]=s.current,s.current=c}var ka={},Xr=Ra(ka),mo=Ra(!1),vl=ka;function Oc(s,c){var m=s.type.contextTypes;if(!m)return ka;var S=s.stateNode;if(S&&S.__reactInternalMemoizedUnmaskedChildContext===c)return S.__reactInternalMemoizedMaskedChildContext;var P={},A;for(A in m)P[A]=c[A];return S&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=c,s.__reactInternalMemoizedMaskedChildContext=P),P}function go(s){return s=s.childContextTypes,s!=null}function ah(){An(mo),An(Xr)}function lw(s,c,m){if(Xr.current!==ka)throw Error(n(168));Pn(Xr,c),Pn(mo,m)}function cw(s,c,m){var S=s.stateNode;if(c=c.childContextTypes,typeof S.getChildContext!="function")return m;S=S.getChildContext();for(var P in S)if(!(P in c))throw Error(n(108,pe(s)||"Unknown",P));return ee({},m,S)}function lh(s){return s=(s=s.stateNode)&&s.__reactInternalMemoizedMergedChildContext||ka,vl=Xr.current,Pn(Xr,s),Pn(mo,mo.current),!0}function uw(s,c,m){var S=s.stateNode;if(!S)throw Error(n(169));m?(s=cw(s,c,vl),S.__reactInternalMemoizedMergedChildContext=s,An(mo),An(Xr),Pn(Xr,s)):An(mo),Pn(mo,m)}var Ns=null,ch=!1,ev=!1;function dw(s){Ns===null?Ns=[s]:Ns.push(s)}function MO(s){ch=!0,dw(s)}function Ia(){if(!ev&&Ns!==null){ev=!0;var s=0,c=Qt;try{var m=Ns;for(Qt=1;s>=V,P-=V,Ds=1<<32-Dt(c)+P|m<At?(Ir=wt,wt=null):Ir=wt.sibling;var sn=Oe(ge,wt,ve[At],We);if(sn===null){wt===null&&(wt=Ir);break}s&&wt&&sn.alternate===null&&c(ge,wt),he=A(sn,he,At),_t===null?ut=sn:_t.sibling=sn,_t=sn,wt=Ir}if(At===ve.length)return m(ge,wt),zn&&bl(ge,At),ut;if(wt===null){for(;AtAt?(Ir=wt,wt=null):Ir=wt.sibling;var Ba=Oe(ge,wt,sn.value,We);if(Ba===null){wt===null&&(wt=Ir);break}s&&wt&&Ba.alternate===null&&c(ge,wt),he=A(Ba,he,At),_t===null?ut=Ba:_t.sibling=Ba,_t=Ba,wt=Ir}if(sn.done)return m(ge,wt),zn&&bl(ge,At),ut;if(wt===null){for(;!sn.done;At++,sn=ve.next())sn=ze(ge,sn.value,We),sn!==null&&(he=A(sn,he,At),_t===null?ut=sn:_t.sibling=sn,_t=sn);return zn&&bl(ge,At),ut}for(wt=S(ge,wt);!sn.done;At++,sn=ve.next())sn=tt(wt,ge,At,sn.value,We),sn!==null&&(s&&sn.alternate!==null&&wt.delete(sn.key===null?At:sn.key),he=A(sn,he,At),_t===null?ut=sn:_t.sibling=sn,_t=sn);return s&&wt.forEach(function(pM){return c(ge,pM)}),zn&&bl(ge,At),ut}function lr(ge,he,ve,We){if(typeof ve=="object"&&ve!==null&&ve.type===N&&ve.key===null&&(ve=ve.props.children),typeof ve=="object"&&ve!==null){switch(ve.$$typeof){case M:e:{for(var ut=ve.key,_t=he;_t!==null;){if(_t.key===ut){if(ut=ve.type,ut===N){if(_t.tag===7){m(ge,_t.sibling),he=P(_t,ve.props.children),he.return=ge,ge=he;break e}}else if(_t.elementType===ut||typeof ut=="object"&&ut!==null&&ut.$$typeof===W&&yw(ut)===_t.type){m(ge,_t.sibling),he=P(_t,ve.props),he.ref=Rd(ge,_t,ve),he.return=ge,ge=he;break e}m(ge,_t);break}else c(ge,_t);_t=_t.sibling}ve.type===N?(he=kl(ve.props.children,ge.mode,We,ve.key),he.return=ge,ge=he):(We=jh(ve.type,ve.key,ve.props,null,ge.mode,We),We.ref=Rd(ge,he,ve),We.return=ge,ge=We)}return V(ge);case D:e:{for(_t=ve.key;he!==null;){if(he.key===_t)if(he.tag===4&&he.stateNode.containerInfo===ve.containerInfo&&he.stateNode.implementation===ve.implementation){m(ge,he.sibling),he=P(he,ve.children||[]),he.return=ge,ge=he;break e}else{m(ge,he);break}else c(ge,he);he=he.sibling}he=qv(ve,ge.mode,We),he.return=ge,ge=he}return V(ge);case W:return _t=ve._init,lr(ge,he,_t(ve._payload),We)}if(Be(ve))return it(ge,he,ve,We);if(Q(ve))return lt(ge,he,ve,We);ph(ge,ve)}return typeof ve=="string"&&ve!==""||typeof ve=="number"?(ve=""+ve,he!==null&&he.tag===6?(m(ge,he.sibling),he=P(he,ve),he.return=ge,ge=he):(m(ge,he),he=Kv(ve,ge.mode,We),he.return=ge,ge=he),V(ge)):m(ge,he)}return lr}var Dc=vw(!0),xw=vw(!1),hh=Ra(null),mh=null,jc=null,sv=null;function av(){sv=jc=mh=null}function lv(s){var c=hh.current;An(hh),s._currentValue=c}function cv(s,c,m){for(;s!==null;){var S=s.alternate;if((s.childLanes&c)!==c?(s.childLanes|=c,S!==null&&(S.childLanes|=c)):S!==null&&(S.childLanes&c)!==c&&(S.childLanes|=c),s===m)break;s=s.return}}function Bc(s,c){mh=s,sv=jc=null,s=s.dependencies,s!==null&&s.firstContext!==null&&((s.lanes&c)!==0&&(yo=!0),s.firstContext=null)}function ri(s){var c=s._currentValue;if(sv!==s)if(s={context:s,memoizedValue:c,next:null},jc===null){if(mh===null)throw Error(n(308));jc=s,mh.dependencies={lanes:0,firstContext:s}}else jc=jc.next=s;return c}var _l=null;function uv(s){_l===null?_l=[s]:_l.push(s)}function bw(s,c,m,S){var P=c.interleaved;return P===null?(m.next=m,uv(c)):(m.next=P.next,P.next=m),c.interleaved=m,Bs(s,S)}function Bs(s,c){s.lanes|=c;var m=s.alternate;for(m!==null&&(m.lanes|=c),m=s,s=s.return;s!==null;)s.childLanes|=c,m=s.alternate,m!==null&&(m.childLanes|=c),m=s,s=s.return;return m.tag===3?m.stateNode:null}var La=!1;function dv(s){s.updateQueue={baseState:s.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function _w(s,c){s=s.updateQueue,c.updateQueue===s&&(c.updateQueue={baseState:s.baseState,firstBaseUpdate:s.firstBaseUpdate,lastBaseUpdate:s.lastBaseUpdate,shared:s.shared,effects:s.effects})}function zs(s,c){return{eventTime:s,lane:c,tag:0,payload:null,callback:null,next:null}}function Pa(s,c,m){var S=s.updateQueue;if(S===null)return null;if(S=S.shared,(nn&2)!==0){var P=S.pending;return P===null?c.next=c:(c.next=P.next,P.next=c),S.pending=c,Bs(s,m)}return P=S.interleaved,P===null?(c.next=c,uv(S)):(c.next=P.next,P.next=c),S.interleaved=c,Bs(s,m)}function gh(s,c,m){if(c=c.updateQueue,c!==null&&(c=c.shared,(m&4194240)!==0)){var S=c.lanes;S&=s.pendingLanes,m|=S,c.lanes=m,fo(s,m)}}function ww(s,c){var m=s.updateQueue,S=s.alternate;if(S!==null&&(S=S.updateQueue,m===S)){var P=null,A=null;if(m=m.firstBaseUpdate,m!==null){do{var V={eventTime:m.eventTime,lane:m.lane,tag:m.tag,payload:m.payload,callback:m.callback,next:null};A===null?P=A=V:A=A.next=V,m=m.next}while(m!==null);A===null?P=A=c:A=A.next=c}else P=A=c;m={baseState:S.baseState,firstBaseUpdate:P,lastBaseUpdate:A,shared:S.shared,effects:S.effects},s.updateQueue=m;return}s=m.lastBaseUpdate,s===null?m.firstBaseUpdate=c:s.next=c,m.lastBaseUpdate=c}function yh(s,c,m,S){var P=s.updateQueue;La=!1;var A=P.firstBaseUpdate,V=P.lastBaseUpdate,oe=P.shared.pending;if(oe!==null){P.shared.pending=null;var de=oe,be=de.next;de.next=null,V===null?A=be:V.next=be,V=de;var Ae=s.alternate;Ae!==null&&(Ae=Ae.updateQueue,oe=Ae.lastBaseUpdate,oe!==V&&(oe===null?Ae.firstBaseUpdate=be:oe.next=be,Ae.lastBaseUpdate=de))}if(A!==null){var ze=P.baseState;V=0,Ae=be=de=null,oe=A;do{var Oe=oe.lane,tt=oe.eventTime;if((S&Oe)===Oe){Ae!==null&&(Ae=Ae.next={eventTime:tt,lane:0,tag:oe.tag,payload:oe.payload,callback:oe.callback,next:null});e:{var it=s,lt=oe;switch(Oe=c,tt=m,lt.tag){case 1:if(it=lt.payload,typeof it=="function"){ze=it.call(tt,ze,Oe);break e}ze=it;break e;case 3:it.flags=it.flags&-65537|128;case 0:if(it=lt.payload,Oe=typeof it=="function"?it.call(tt,ze,Oe):it,Oe==null)break e;ze=ee({},ze,Oe);break e;case 2:La=!0}}oe.callback!==null&&oe.lane!==0&&(s.flags|=64,Oe=P.effects,Oe===null?P.effects=[oe]:Oe.push(oe))}else tt={eventTime:tt,lane:Oe,tag:oe.tag,payload:oe.payload,callback:oe.callback,next:null},Ae===null?(be=Ae=tt,de=ze):Ae=Ae.next=tt,V|=Oe;if(oe=oe.next,oe===null){if(oe=P.shared.pending,oe===null)break;Oe=oe,oe=Oe.next,Oe.next=null,P.lastBaseUpdate=Oe,P.shared.pending=null}}while(!0);if(Ae===null&&(de=ze),P.baseState=de,P.firstBaseUpdate=be,P.lastBaseUpdate=Ae,c=P.shared.interleaved,c!==null){P=c;do V|=P.lane,P=P.next;while(P!==c)}else A===null&&(P.shared.lanes=0);Tl|=V,s.lanes=V,s.memoizedState=ze}}function Sw(s,c,m){if(s=c.effects,c.effects=null,s!==null)for(c=0;cm?m:4,s(!0);var S=gv.transition;gv.transition={};try{s(!1),c()}finally{Qt=m,gv.transition=S}}function Hw(){return oi().memoizedState}function jO(s,c,m){var S=Na(s);if(m={lane:S,action:m,hasEagerState:!1,eagerState:null,next:null},Ww(s))Uw(c,m);else if(m=bw(s,c,m,S),m!==null){var P=ao();ki(m,s,S,P),Vw(m,c,S)}}function BO(s,c,m){var S=Na(s),P={lane:S,action:m,hasEagerState:!1,eagerState:null,next:null};if(Ww(s))Uw(c,P);else{var A=s.alternate;if(s.lanes===0&&(A===null||A.lanes===0)&&(A=c.lastRenderedReducer,A!==null))try{var V=c.lastRenderedState,oe=A(V,m);if(P.hasEagerState=!0,P.eagerState=oe,Po(oe,V)){var de=c.interleaved;de===null?(P.next=P,uv(c)):(P.next=de.next,de.next=P),c.interleaved=P;return}}catch{}finally{}m=bw(s,c,P,S),m!==null&&(P=ao(),ki(m,s,S,P),Vw(m,c,S))}}function Ww(s){var c=s.alternate;return s===Xn||c!==null&&c===Xn}function Uw(s,c){Pd=bh=!0;var m=s.pending;m===null?c.next=c:(c.next=m.next,m.next=c),s.pending=c}function Vw(s,c,m){if((m&4194240)!==0){var S=c.lanes;S&=s.pendingLanes,m|=S,c.lanes=m,fo(s,m)}}var Sh={readContext:ri,useCallback:Zr,useContext:Zr,useEffect:Zr,useImperativeHandle:Zr,useInsertionEffect:Zr,useLayoutEffect:Zr,useMemo:Zr,useReducer:Zr,useRef:Zr,useState:Zr,useDebugValue:Zr,useDeferredValue:Zr,useTransition:Zr,useMutableSource:Zr,useSyncExternalStore:Zr,useId:Zr,unstable_isNewReconciler:!1},zO={readContext:ri,useCallback:function(s,c){return ts().memoizedState=[s,c===void 0?null:c],s},useContext:ri,useEffect:Aw,useImperativeHandle:function(s,c,m){return m=m!=null?m.concat([s]):null,_h(4194308,4,jw.bind(null,c,s),m)},useLayoutEffect:function(s,c){return _h(4194308,4,s,c)},useInsertionEffect:function(s,c){return _h(4,2,s,c)},useMemo:function(s,c){var m=ts();return c=c===void 0?null:c,s=s(),m.memoizedState=[s,c],s},useReducer:function(s,c,m){var S=ts();return c=m!==void 0?m(c):c,S.memoizedState=S.baseState=c,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:c},S.queue=s,s=s.dispatch=jO.bind(null,Xn,s),[S.memoizedState,s]},useRef:function(s){var c=ts();return s={current:s},c.memoizedState=s},useState:Ow,useDebugValue:Sv,useDeferredValue:function(s){return ts().memoizedState=s},useTransition:function(){var s=Ow(!1),c=s[0];return s=DO.bind(null,s[1]),ts().memoizedState=s,[c,s]},useMutableSource:function(){},useSyncExternalStore:function(s,c,m){var S=Xn,P=ts();if(zn){if(m===void 0)throw Error(n(407));m=m()}else{if(m=c(),kr===null)throw Error(n(349));(Sl&30)!==0||Rw(S,c,m)}P.memoizedState=m;var A={value:m,getSnapshot:c};return P.queue=A,Aw(Iw.bind(null,S,A,s),[s]),S.flags|=2048,Ad(9,kw.bind(null,S,A,m,c),void 0,null),m},useId:function(){var s=ts(),c=kr.identifierPrefix;if(zn){var m=js,S=Ds;m=(S&~(1<<32-Dt(S)-1)).toString(32)+m,c=":"+c+"R"+m,m=Od++,0<\/script>",s=s.removeChild(s.firstChild)):typeof S.is=="string"?s=V.createElement(m,{is:S.is}):(s=V.createElement(m),m==="select"&&(V=s,S.multiple?V.multiple=!0:S.size&&(V.size=S.size))):s=V.createElementNS(s,m),s[ei]=c,s[Ea]=S,d1(s,c,!1,!1),c.stateNode=s;e:{switch(V=Rt(m,S),m){case"dialog":wn("cancel",s),wn("close",s),P=S;break;case"iframe":case"object":case"embed":wn("load",s),P=S;break;case"video":case"audio":for(P=0;PWc&&(c.flags|=128,S=!0,Nd(A,!1),c.lanes=4194304)}else{if(!S)if(s=vh(V),s!==null){if(c.flags|=128,S=!0,m=s.updateQueue,m!==null&&(c.updateQueue=m,c.flags|=4),Nd(A,!0),A.tail===null&&A.tailMode==="hidden"&&!V.alternate&&!zn)return Gr(c),null}else 2*Mt()-A.renderingStartTime>Wc&&m!==1073741824&&(c.flags|=128,S=!0,Nd(A,!1),c.lanes=4194304);A.isBackwards?(V.sibling=c.child,c.child=V):(m=A.last,m!==null?m.sibling=V:c.child=V,A.last=V)}return A.tail!==null?(c=A.tail,A.rendering=c,A.tail=c.sibling,A.renderingStartTime=Mt(),c.sibling=null,m=Yn.current,Pn(Yn,S?m&1|2:m&1),c):(Gr(c),null);case 22:case 23:return Xv(),S=c.memoizedState!==null,s!==null&&s.memoizedState!==null!==S&&(c.flags|=8192),S&&(c.mode&1)!==0?(No&1073741824)!==0&&(Gr(c),c.subtreeFlags&6&&(c.flags|=8192)):Gr(c),null;case 24:return null;case 25:return null}throw Error(n(156,c.tag))}function XO(s,c){switch(nv(c),c.tag){case 1:return go(c.type)&&ah(),s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 3:return zc(),An(mo),An(Xr),mv(),s=c.flags,(s&65536)!==0&&(s&128)===0?(c.flags=s&-65537|128,c):null;case 5:return pv(c),null;case 13:if(An(Yn),s=c.memoizedState,s!==null&&s.dehydrated!==null){if(c.alternate===null)throw Error(n(340));Nc()}return s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 19:return An(Yn),null;case 4:return zc(),null;case 10:return lv(c.type._context),null;case 22:case 23:return Xv(),null;case 24:return null;default:return null}}var Rh=!1,Kr=!1,ZO=typeof WeakSet=="function"?WeakSet:Set,nt=null;function Fc(s,c){var m=s.ref;if(m!==null)if(typeof m=="function")try{m(null)}catch(S){tr(s,c,S)}else m.current=null}function Nv(s,c,m){try{m()}catch(S){tr(s,c,S)}}var h1=!1;function GO(s,c){if(Ke=ul,s=vd(),xd(s)){if("selectionStart"in s)var m={start:s.selectionStart,end:s.selectionEnd};else e:{m=(m=s.ownerDocument)&&m.defaultView||window;var S=m.getSelection&&m.getSelection();if(S&&S.rangeCount!==0){m=S.anchorNode;var P=S.anchorOffset,A=S.focusNode;S=S.focusOffset;try{m.nodeType,A.nodeType}catch{m=null;break e}var V=0,oe=-1,de=-1,be=0,Ae=0,ze=s,Oe=null;t:for(;;){for(var tt;ze!==m||P!==0&&ze.nodeType!==3||(oe=V+P),ze!==A||S!==0&&ze.nodeType!==3||(de=V+S),ze.nodeType===3&&(V+=ze.nodeValue.length),(tt=ze.firstChild)!==null;)Oe=ze,ze=tt;for(;;){if(ze===s)break t;if(Oe===m&&++be===P&&(oe=V),Oe===A&&++Ae===S&&(de=V),(tt=ze.nextSibling)!==null)break;ze=Oe,Oe=ze.parentNode}ze=tt}m=oe===-1||de===-1?null:{start:oe,end:de}}else m=null}m=m||{start:0,end:0}}else m=null;for(xt={focusedElem:s,selectionRange:m},ul=!1,nt=c;nt!==null;)if(c=nt,s=c.child,(c.subtreeFlags&1028)!==0&&s!==null)s.return=c,nt=s;else for(;nt!==null;){c=nt;try{var it=c.alternate;if((c.flags&1024)!==0)switch(c.tag){case 0:case 11:case 15:break;case 1:if(it!==null){var lt=it.memoizedProps,lr=it.memoizedState,ge=c.stateNode,he=ge.getSnapshotBeforeUpdate(c.elementType===c.type?lt:Ei(c.type,lt),lr);ge.__reactInternalSnapshotBeforeUpdate=he}break;case 3:var ve=c.stateNode.containerInfo;ve.nodeType===1?ve.textContent="":ve.nodeType===9&&ve.documentElement&&ve.removeChild(ve.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(We){tr(c,c.return,We)}if(s=c.sibling,s!==null){s.return=c.return,nt=s;break}nt=c.return}return it=h1,h1=!1,it}function Dd(s,c,m){var S=c.updateQueue;if(S=S!==null?S.lastEffect:null,S!==null){var P=S=S.next;do{if((P.tag&s)===s){var A=P.destroy;P.destroy=void 0,A!==void 0&&Nv(c,m,A)}P=P.next}while(P!==S)}}function kh(s,c){if(c=c.updateQueue,c=c!==null?c.lastEffect:null,c!==null){var m=c=c.next;do{if((m.tag&s)===s){var S=m.create;m.destroy=S()}m=m.next}while(m!==c)}}function Dv(s){var c=s.ref;if(c!==null){var m=s.stateNode;switch(s.tag){case 5:s=m;break;default:s=m}typeof c=="function"?c(s):c.current=s}}function m1(s){var c=s.alternate;c!==null&&(s.alternate=null,m1(c)),s.child=null,s.deletions=null,s.sibling=null,s.tag===5&&(c=s.stateNode,c!==null&&(delete c[ei],delete c[Ea],delete c[Ca],delete c[qy],delete c[Jy])),s.stateNode=null,s.return=null,s.dependencies=null,s.memoizedProps=null,s.memoizedState=null,s.pendingProps=null,s.stateNode=null,s.updateQueue=null}function g1(s){return s.tag===5||s.tag===3||s.tag===4}function y1(s){e:for(;;){for(;s.sibling===null;){if(s.return===null||g1(s.return))return null;s=s.return}for(s.sibling.return=s.return,s=s.sibling;s.tag!==5&&s.tag!==6&&s.tag!==18;){if(s.flags&2||s.child===null||s.tag===4)continue e;s.child.return=s,s=s.child}if(!(s.flags&2))return s.stateNode}}function jv(s,c,m){var S=s.tag;if(S===5||S===6)s=s.stateNode,c?m.nodeType===8?m.parentNode.insertBefore(s,c):m.insertBefore(s,c):(m.nodeType===8?(c=m.parentNode,c.insertBefore(s,m)):(c=m,c.appendChild(s)),m=m._reactRootContainer,m!=null||c.onclick!==null||(c.onclick=Pe));else if(S!==4&&(s=s.child,s!==null))for(jv(s,c,m),s=s.sibling;s!==null;)jv(s,c,m),s=s.sibling}function Bv(s,c,m){var S=s.tag;if(S===5||S===6)s=s.stateNode,c?m.insertBefore(s,c):m.appendChild(s);else if(S!==4&&(s=s.child,s!==null))for(Bv(s,c,m),s=s.sibling;s!==null;)Bv(s,c,m),s=s.sibling}var Nr=null,Ci=!1;function Oa(s,c,m){for(m=m.child;m!==null;)v1(s,c,m),m=m.sibling}function v1(s,c,m){if(Mn&&typeof Mn.onCommitFiberUnmount=="function")try{Mn.onCommitFiberUnmount(Er,m)}catch{}switch(m.tag){case 5:Kr||Fc(m,c);case 6:var S=Nr,P=Ci;Nr=null,Oa(s,c,m),Nr=S,Ci=P,Nr!==null&&(Ci?(s=Nr,m=m.stateNode,s.nodeType===8?s.parentNode.removeChild(m):s.removeChild(m)):Nr.removeChild(m.stateNode));break;case 18:Nr!==null&&(Ci?(s=Nr,m=m.stateNode,s.nodeType===8?Cd(s.parentNode,m):s.nodeType===1&&Cd(s,m),ko(s)):Cd(Nr,m.stateNode));break;case 4:S=Nr,P=Ci,Nr=m.stateNode.containerInfo,Ci=!0,Oa(s,c,m),Nr=S,Ci=P;break;case 0:case 11:case 14:case 15:if(!Kr&&(S=m.updateQueue,S!==null&&(S=S.lastEffect,S!==null))){P=S=S.next;do{var A=P,V=A.destroy;A=A.tag,V!==void 0&&((A&2)!==0||(A&4)!==0)&&Nv(m,c,V),P=P.next}while(P!==S)}Oa(s,c,m);break;case 1:if(!Kr&&(Fc(m,c),S=m.stateNode,typeof S.componentWillUnmount=="function"))try{S.props=m.memoizedProps,S.state=m.memoizedState,S.componentWillUnmount()}catch(oe){tr(m,c,oe)}Oa(s,c,m);break;case 21:Oa(s,c,m);break;case 22:m.mode&1?(Kr=(S=Kr)||m.memoizedState!==null,Oa(s,c,m),Kr=S):Oa(s,c,m);break;default:Oa(s,c,m)}}function x1(s){var c=s.updateQueue;if(c!==null){s.updateQueue=null;var m=s.stateNode;m===null&&(m=s.stateNode=new ZO),c.forEach(function(S){var P=oM.bind(null,s,S);m.has(S)||(m.add(S),S.then(P,P))})}}function Ri(s,c){var m=c.deletions;if(m!==null)for(var S=0;SP&&(P=V),S&=~A}if(S=P,S=Mt()-S,S=(120>S?120:480>S?480:1080>S?1080:1920>S?1920:3e3>S?3e3:4320>S?4320:1960*qO(S/1960))-S,10s?16:s,Aa===null)var S=!1;else{if(s=Aa,Aa=null,Mh=0,(nn&6)!==0)throw Error(n(331));var P=nn;for(nn|=4,nt=s.current;nt!==null;){var A=nt,V=A.child;if((nt.flags&16)!==0){var oe=A.deletions;if(oe!==null){for(var de=0;deMt()-Fv?Cl(s,0):$v|=m),xo(s,c)}function O1(s,c){c===0&&((s.mode&1)===0?c=1:(c=Vi,Vi<<=1,(Vi&130023424)===0&&(Vi=4194304)));var m=ao();s=Bs(s,c),s!==null&&(no(s,c,m),xo(s,m))}function rM(s){var c=s.memoizedState,m=0;c!==null&&(m=c.retryLane),O1(s,m)}function oM(s,c){var m=0;switch(s.tag){case 13:var S=s.stateNode,P=s.memoizedState;P!==null&&(m=P.retryLane);break;case 19:S=s.stateNode;break;default:throw Error(n(314))}S!==null&&S.delete(c),O1(s,m)}var M1;M1=function(s,c,m){if(s!==null)if(s.memoizedProps!==c.pendingProps||mo.current)yo=!0;else{if((s.lanes&m)===0&&(c.flags&128)===0)return yo=!1,VO(s,c,m);yo=(s.flags&131072)!==0}else yo=!1,zn&&(c.flags&1048576)!==0&&fw(c,dh,c.index);switch(c.lanes=0,c.tag){case 2:var S=c.type;Ch(s,c),s=c.pendingProps;var P=Oc(c,Xr.current);Bc(c,m),P=vv(null,c,S,s,P,m);var A=xv();return c.flags|=1,typeof P=="object"&&P!==null&&typeof P.render=="function"&&P.$$typeof===void 0?(c.tag=1,c.memoizedState=null,c.updateQueue=null,go(S)?(A=!0,lh(c)):A=!1,c.memoizedState=P.state!==null&&P.state!==void 0?P.state:null,dv(c),P.updater=Th,c.stateNode=P,P._reactInternals=c,Ev(c,S,s,m),c=Iv(null,c,S,!0,A,m)):(c.tag=0,zn&&A&&tv(c),so(null,c,P,m),c=c.child),c;case 16:S=c.elementType;e:{switch(Ch(s,c),s=c.pendingProps,P=S._init,S=P(S._payload),c.type=S,P=c.tag=sM(S),s=Ei(S,s),P){case 0:c=kv(null,c,S,s,m);break e;case 1:c=i1(null,c,S,s,m);break e;case 11:c=e1(null,c,S,s,m);break e;case 14:c=t1(null,c,S,Ei(S.type,s),m);break e}throw Error(n(306,S,""))}return c;case 0:return S=c.type,P=c.pendingProps,P=c.elementType===S?P:Ei(S,P),kv(s,c,S,P,m);case 1:return S=c.type,P=c.pendingProps,P=c.elementType===S?P:Ei(S,P),i1(s,c,S,P,m);case 3:e:{if(s1(c),s===null)throw Error(n(387));S=c.pendingProps,A=c.memoizedState,P=A.element,_w(s,c),yh(c,S,null,m);var V=c.memoizedState;if(S=V.element,A.isDehydrated)if(A={element:S,isDehydrated:!1,cache:V.cache,pendingSuspenseBoundaries:V.pendingSuspenseBoundaries,transitions:V.transitions},c.updateQueue.baseState=A,c.memoizedState=A,c.flags&256){P=$c(Error(n(423)),c),c=a1(s,c,S,m,P);break e}else if(S!==P){P=$c(Error(n(424)),c),c=a1(s,c,S,m,P);break e}else for(Ao=Qi(c.stateNode.containerInfo.firstChild),Mo=c,zn=!0,Ti=null,m=xw(c,null,S,m),c.child=m;m;)m.flags=m.flags&-3|4096,m=m.sibling;else{if(Nc(),S===P){c=$s(s,c,m);break e}so(s,c,S,m)}c=c.child}return c;case 5:return Tw(c),s===null&&ov(c),S=c.type,P=c.pendingProps,A=s!==null?s.memoizedProps:null,V=P.children,Ft(S,P)?V=null:A!==null&&Ft(S,A)&&(c.flags|=32),o1(s,c),so(s,c,V,m),c.child;case 6:return s===null&&ov(c),null;case 13:return l1(s,c,m);case 4:return fv(c,c.stateNode.containerInfo),S=c.pendingProps,s===null?c.child=Dc(c,null,S,m):so(s,c,S,m),c.child;case 11:return S=c.type,P=c.pendingProps,P=c.elementType===S?P:Ei(S,P),e1(s,c,S,P,m);case 7:return so(s,c,c.pendingProps,m),c.child;case 8:return so(s,c,c.pendingProps.children,m),c.child;case 12:return so(s,c,c.pendingProps.children,m),c.child;case 10:e:{if(S=c.type._context,P=c.pendingProps,A=c.memoizedProps,V=P.value,Pn(hh,S._currentValue),S._currentValue=V,A!==null)if(Po(A.value,V)){if(A.children===P.children&&!mo.current){c=$s(s,c,m);break e}}else for(A=c.child,A!==null&&(A.return=c);A!==null;){var oe=A.dependencies;if(oe!==null){V=A.child;for(var de=oe.firstContext;de!==null;){if(de.context===S){if(A.tag===1){de=zs(-1,m&-m),de.tag=2;var be=A.updateQueue;if(be!==null){be=be.shared;var Ae=be.pending;Ae===null?de.next=de:(de.next=Ae.next,Ae.next=de),be.pending=de}}A.lanes|=m,de=A.alternate,de!==null&&(de.lanes|=m),cv(A.return,m,c),oe.lanes|=m;break}de=de.next}}else if(A.tag===10)V=A.type===c.type?null:A.child;else if(A.tag===18){if(V=A.return,V===null)throw Error(n(341));V.lanes|=m,oe=V.alternate,oe!==null&&(oe.lanes|=m),cv(V,m,c),V=A.sibling}else V=A.child;if(V!==null)V.return=A;else for(V=A;V!==null;){if(V===c){V=null;break}if(A=V.sibling,A!==null){A.return=V.return,V=A;break}V=V.return}A=V}so(s,c,P.children,m),c=c.child}return c;case 9:return P=c.type,S=c.pendingProps.children,Bc(c,m),P=ri(P),S=S(P),c.flags|=1,so(s,c,S,m),c.child;case 14:return S=c.type,P=Ei(S,c.pendingProps),P=Ei(S.type,P),t1(s,c,S,P,m);case 15:return n1(s,c,c.type,c.pendingProps,m);case 17:return S=c.type,P=c.pendingProps,P=c.elementType===S?P:Ei(S,P),Ch(s,c),c.tag=1,go(S)?(s=!0,lh(c)):s=!1,Bc(c,m),Xw(c,S,P),Ev(c,S,P,m),Iv(null,c,S,!0,s,m);case 19:return u1(s,c,m);case 22:return r1(s,c,m)}throw Error(n(156,c.tag))};function A1(s,c){return Ge(s,c)}function iM(s,c,m,S){this.tag=s,this.key=m,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=c,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=S,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function si(s,c,m,S){return new iM(s,c,m,S)}function Gv(s){return s=s.prototype,!(!s||!s.isReactComponent)}function sM(s){if(typeof s=="function")return Gv(s)?1:0;if(s!=null){if(s=s.$$typeof,s===j)return 11;if(s===Y)return 14}return 2}function ja(s,c){var m=s.alternate;return m===null?(m=si(s.tag,c,s.key,s.mode),m.elementType=s.elementType,m.type=s.type,m.stateNode=s.stateNode,m.alternate=s,s.alternate=m):(m.pendingProps=c,m.type=s.type,m.flags=0,m.subtreeFlags=0,m.deletions=null),m.flags=s.flags&14680064,m.childLanes=s.childLanes,m.lanes=s.lanes,m.child=s.child,m.memoizedProps=s.memoizedProps,m.memoizedState=s.memoizedState,m.updateQueue=s.updateQueue,c=s.dependencies,m.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},m.sibling=s.sibling,m.index=s.index,m.ref=s.ref,m}function jh(s,c,m,S,P,A){var V=2;if(S=s,typeof s=="function")Gv(s)&&(V=1);else if(typeof s=="string")V=5;else e:switch(s){case N:return kl(m.children,P,A,c);case z:V=8,P|=8;break;case $:return s=si(12,m,c,P|2),s.elementType=$,s.lanes=A,s;case q:return s=si(13,m,c,P),s.elementType=q,s.lanes=A,s;case H:return s=si(19,m,c,P),s.elementType=H,s.lanes=A,s;case J:return Bh(m,P,A,c);default:if(typeof s=="object"&&s!==null)switch(s.$$typeof){case X:V=10;break e;case U:V=9;break e;case j:V=11;break e;case Y:V=14;break e;case W:V=16,S=null;break e}throw Error(n(130,s==null?s:typeof s,""))}return c=si(V,m,c,P),c.elementType=s,c.type=S,c.lanes=A,c}function kl(s,c,m,S){return s=si(7,s,S,c),s.lanes=m,s}function Bh(s,c,m,S){return s=si(22,s,S,c),s.elementType=J,s.lanes=m,s.stateNode={isHidden:!1},s}function Kv(s,c,m){return s=si(6,s,null,c),s.lanes=m,s}function qv(s,c,m){return c=si(4,s.children!==null?s.children:[],s.key,c),c.lanes=m,c.stateNode={containerInfo:s.containerInfo,pendingChildren:null,implementation:s.implementation},c}function aM(s,c,m,S,P){this.tag=c,this.containerInfo=s,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Zo(0),this.expirationTimes=Zo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Zo(0),this.identifierPrefix=S,this.onRecoverableError=P,this.mutableSourceEagerHydrationData=null}function Jv(s,c,m,S,P,A,V,oe,de){return s=new aM(s,c,m,oe,de),c===1?(c=1,A===!0&&(c|=8)):c=0,A=si(3,null,null,c),s.current=A,A.stateNode=s,A.memoizedState={element:S,isDehydrated:m,cache:null,transitions:null,pendingSuspenseBoundaries:null},dv(A),s}function lM(s,c,m){var S=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),px.exports=mD(),px.exports}var Fo=FR();const Zh=Kf(Fo),LS={disabled:!1},eg=dt.createContext(null);var gD=function(t){return t.scrollTop},sf="unmounted",Pl="exited",Ol="entering",su="entered",b0="exiting",$i=(function(e){$R(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var a=o,u=a&&!a.isMounting?r.enter:r.appear,d;return i.appearStatus=null,r.in?u?(d=Pl,i.appearStatus=Ol):d=su:r.unmountOnExit||r.mountOnEnter?d=sf:d=Pl,i.state={status:d},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===sf?{status:Pl}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var i=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==Ol&&a!==su&&(i=Ol):(a===Ol||a===su)&&(i=b0)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,a,u;return i=a=u=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,u=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:u}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===Ol){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:Zh.findDOMNode(this);a&&gD(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Pl&&this.setState({status:sf})},n.performEnter=function(o){var i=this,a=this.props.enter,u=this.context?this.context.isMounting:o,d=this.props.nodeRef?[u]:[Zh.findDOMNode(this),u],h=d[0],p=d[1],g=this.getTimeouts(),v=u?g.appear:g.enter;if(!o&&!a||LS.disabled){this.safeSetState({status:su},function(){i.props.onEntered(h)});return}this.props.onEnter(h,p),this.safeSetState({status:Ol},function(){i.props.onEntering(h,p),i.onTransitionEnd(v,function(){i.safeSetState({status:su},function(){i.props.onEntered(h,p)})})})},n.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),u=this.props.nodeRef?void 0:Zh.findDOMNode(this);if(!i||LS.disabled){this.safeSetState({status:Pl},function(){o.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:b0},function(){o.props.onExiting(u),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:Pl},function(){o.props.onExited(u)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,a=!0;return this.nextCallback=function(u){a&&(a=!1,i.nextCallback=null,o(u))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:Zh.findDOMNode(this),u=o==null&&!this.props.addEndListener;if(!a||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var d=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],h=d[0],p=d[1];this.props.addEndListener(h,p)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===sf)return null;var i=this.props,a=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var u=Vu(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return dt.createElement(eg.Provider,{value:null},typeof a=="function"?a(o,u):dt.cloneElement(dt.Children.only(a),u))},t})(dt.Component);$i.contextType=eg;$i.propTypes={};function Kc(){}$i.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Kc,onEntering:Kc,onEntered:Kc,onExit:Kc,onExiting:Kc,onExited:Kc};$i.UNMOUNTED=sf;$i.EXITED=Pl;$i.ENTERING=Ol;$i.ENTERED=su;$i.EXITING=b0;function yD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fb(e,t){var n=function(i){return t&&x.isValidElement(i)?t(i):i},r=Object.create(null);return e&&x.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function vD(e,t){e=e||{},t=t||{};function n(p){return p in t?t[p]:e[p]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var a,u={};for(var d in t){if(r[d])for(a=0;a{this.currentId=null,n()},t)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function zl(){const e=Wb(Jg.create).current;return HR(e.disposeEffect),e}const WR=e=>e.scrollTop;function Tu(e,t){const{timeout:n,easing:r,style:o={}}=e;return{duration:o.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:o.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:o.transitionDelay}}function TD(e){return pt("MuiCollapse",e)}ft("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const ED=e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return ht(r,TD,n)},CD=Te("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.state==="entered"&&t.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&t.hidden]}})(st(({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:t})=>t.state==="exited"&&!t.in&&t.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),RD=Te("div",{name:"MuiCollapse",slot:"Wrapper"})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),kD=Te("div",{name:"MuiCollapse",slot:"WrapperInner"})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),tg=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiCollapse"}),{addEndListener:o,children:i,className:a,collapsedSize:u="0px",component:d,easing:h,in:p,onEnter:g,onEntered:v,onEntering:b,onExit:w,onExited:T,onExiting:E,orientation:R="vertical",style:O,timeout:C=AR.standard,TransitionComponent:k=$i,...M}=r,D={...r,orientation:R,collapsedSize:u},N=ED(D),z=oc(),$=zl(),X=x.useRef(null),U=x.useRef(),j=typeof u=="number"?`${u}px`:u,q=R==="horizontal",H=q?"width":"height",Y=x.useRef(null),W=jn(n,Y),J=te=>pe=>{if(te){const re=Y.current;pe===void 0?te(re):te(re,pe)}},Z=()=>X.current?X.current[q?"clientWidth":"clientHeight"]:0,Q=J((te,pe)=>{X.current&&q&&(X.current.style.position="absolute"),te.style[H]=j,g&&g(te,pe)}),ee=J((te,pe)=>{const re=Z();X.current&&q&&(X.current.style.position="");const{duration:se,easing:ie}=Tu({style:O,timeout:C,easing:h},{mode:"enter"});if(C==="auto"){const ce=z.transitions.getAutoHeightDuration(re);te.style.transitionDuration=`${ce}ms`,U.current=ce}else te.style.transitionDuration=typeof se=="string"?se:`${se}ms`;te.style[H]=`${re}px`,te.style.transitionTimingFunction=ie,b&&b(te,pe)}),F=J((te,pe)=>{te.style[H]="auto",v&&v(te,pe)}),G=J(te=>{te.style[H]=`${Z()}px`,w&&w(te)}),ue=J(T),le=J(te=>{const pe=Z(),{duration:re,easing:se}=Tu({style:O,timeout:C,easing:h},{mode:"exit"});if(C==="auto"){const ie=z.transitions.getAutoHeightDuration(pe);te.style.transitionDuration=`${ie}ms`,U.current=ie}else te.style.transitionDuration=typeof re=="string"?re:`${re}ms`;te.style[H]=j,te.style.transitionTimingFunction=se,E&&E(te)}),ne=te=>{C==="auto"&&$.start(U.current||0,te),o&&o(Y.current,te)};return y.jsx(k,{in:p,onEnter:Q,onEntered:F,onEntering:ee,onExit:G,onExited:ue,onExiting:le,addEndListener:ne,nodeRef:Y,timeout:C==="auto"?null:C,...M,children:(te,{ownerState:pe,...re})=>y.jsx(CD,{as:d,className:$e(N.root,a,{entered:N.entered,exited:!p&&j==="0px"&&N.hidden}[te]),style:{[q?"minWidth":"minHeight"]:j,...O},ref:W,ownerState:{...D,state:te},...re,children:y.jsx(RD,{ownerState:{...D,state:te},className:N.wrapper,ref:X,children:y.jsx(kD,{ownerState:{...D,state:te},className:N.wrapperInner,children:i})})})})});tg&&(tg.muiSupportAuto=!0);function ID(e){return pt("MuiPaper",e)}ft("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 LD=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return ht(i,ID,o)},PD=Te("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(st(({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:t})=>!t.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)"}}]}))),Wo=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiPaper"}),o=oc(),{className:i,component:a="div",elevation:u=1,square:d=!1,variant:h="elevation",...p}=r,g={...r,component:a,elevation:u,square:d,variant:h},v=LD(g);return y.jsx(PD,{as:a,ownerState:g,className:$e(v.root,i),ref:n,...p,style:{...h==="elevation"&&{"--Paper-shadow":(o.vars||o).shadows[u],...o.vars&&{"--Paper-overlay":o.vars.overlays?.[u]},...!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${qs("#fff",g0(u))}, ${qs("#fff",g0(u))})`}},...p.style}})}),UR=x.createContext({});function Ya(e){return typeof e=="string"}function VR(e,t,n){return e===void 0||Ya(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function ng(e,t,n){return typeof e=="function"?e(t,n):e}function Jr(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function OS(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function YR(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const b=$e(n?.className,i,o?.className,r?.className),w={...n?.style,...o?.style,...r?.style},T={...n,...o,...r};return b.length>0&&(T.className=b),Object.keys(w).length>0&&(T.style=w),{props:T,internalRef:void 0}}const a=Jr({...o,...r}),u=OS(r),d=OS(o),h=t(a),p=$e(h?.className,n?.className,i,o?.className,r?.className),g={...h?.style,...n?.style,...o?.style,...r?.style},v={...h,...n,...d,...u};return p.length>0&&(v.className=p),Object.keys(g).length>0&&(v.style=g),{props:v,internalRef:h.ref}}function Ht(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,internalForwardedProps:a,shouldForwardComponentProp:u=!1,...d}=t,{component:h,slots:p={[e]:void 0},slotProps:g={[e]:void 0},...v}=i,b=p[e]||r,w=ng(g[e],o),{props:{component:T,...E},internalRef:R}=YR({className:n,...d,externalForwardedProps:e==="root"?v:void 0,externalSlotProps:w}),O=jn(R,w?.ref,t.ref),C=e==="root"?T||h:T,k=VR(b,{...e==="root"&&!h&&!p[e]&&a,...e!=="root"&&!p[e]&&a,...E,...C&&!u&&{as:C},...C&&u&&{component:C},ref:O},o);return[b,k]}function OD(e){return pt("MuiAccordion",e)}const Gh=ft("MuiAccordion",["root","heading","rounded","expanded","disabled","gutters","region"]),MD=e=>{const{classes:t,square:n,expanded:r,disabled:o,disableGutters:i}=e;return ht({root:["root",!n&&"rounded",r&&"expanded",o&&"disabled",!i&&"gutters"],heading:["heading"],region:["region"]},OD,t)},AD=Te(Wo,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Gh.region}`]:t.region},t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})(st(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),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"],t)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${Gh.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${Gh.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}}),st(({theme:e})=>({variants:[{props:t=>!t.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:t=>!t.disableGutters,style:{[`&.${Gh.expanded}`]:{margin:"16px 0"}}}]}))),ND=Te("h3",{name:"MuiAccordion",slot:"Heading"})({all:"unset"}),DD=Te("div",{name:"MuiAccordion",slot:"Region"})({}),jD=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiAccordion"}),{children:o,className:i,defaultExpanded:a=!1,disabled:u=!1,disableGutters:d=!1,expanded:h,onChange:p,square:g=!1,slots:v={},slotProps:b={},TransitionComponent:w,TransitionProps:T,...E}=r,[R,O]=ea({controlled:h,default:a,name:"Accordion",state:"expanded"}),C=x.useCallback(ee=>{O(!R),p&&p(ee,!R)},[R,p,O]),[k,...M]=x.Children.toArray(o),D=x.useMemo(()=>({expanded:R,disabled:u,disableGutters:d,toggle:C}),[R,u,d,C]),N={...r,square:g,disabled:u,disableGutters:d,expanded:R},z=MD(N),$={transition:w,...v},X={transition:T,...b},U={slots:$,slotProps:X},[j,q]=Ht("root",{elementType:AD,externalForwardedProps:{...U,...E},className:$e(z.root,i),shouldForwardComponentProp:!0,ownerState:N,ref:n,additionalProps:{square:g}}),[H,Y]=Ht("heading",{elementType:ND,externalForwardedProps:U,className:z.heading,ownerState:N}),[W,J]=Ht("transition",{elementType:tg,externalForwardedProps:U,ownerState:N}),[Z,Q]=Ht("region",{elementType:DD,externalForwardedProps:U,ownerState:N,className:z.region,additionalProps:{"aria-labelledby":k.props.id,id:k.props["aria-controls"],role:"region"}});return y.jsxs(j,{...q,children:[y.jsx(H,{...Y,children:y.jsx(UR.Provider,{value:D,children:k})}),y.jsx(W,{in:R,timeout:"auto",...J,children:y.jsx(Z,{...Q,children:M})})]})});function BD(e){return pt("MuiAccordionDetails",e)}ft("MuiAccordionDetails",["root"]);const zD=e=>{const{classes:t}=e;return ht({root:["root"]},BD,t)},$D=Te("div",{name:"MuiAccordionDetails",slot:"Root"})(st(({theme:e})=>({padding:e.spacing(1,2,2)}))),FD=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiAccordionDetails"}),{className:o,...i}=r,a=r,u=zD(a);return y.jsx($D,{className:$e(u.root,o),ref:n,ownerState:a,...i})});function Eu(e){try{return e.matches(":focus-visible")}catch{}return!1}class rg{static create(){return new rg}static use(){const t=Wb(rg.create).current,[n,r]=x.useState(!1);return t.shouldMount=n,t.setShouldMount=r,x.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=WD(),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(...t){this.mount().then(()=>this.ref.current?.start(...t))}stop(...t){this.mount().then(()=>this.ref.current?.stop(...t))}pulsate(...t){this.mount().then(()=>this.ref.current?.pulsate(...t))}}function HD(){return rg.use()}function WD(){let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n}function UD(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:a,in:u,onExited:d,timeout:h}=e,[p,g]=x.useState(!1),v=$e(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),b={width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},w=$e(n.child,p&&n.childLeaving,r&&n.childPulsate);return!u&&!p&&g(!0),x.useEffect(()=>{if(!u&&d!=null){const T=setTimeout(d,h);return()=>{clearTimeout(T)}}},[d,u,h]),y.jsx("span",{className:v,style:b,children:y.jsx("span",{className:w})})}const ci=ft("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),_0=550,VD=80,YD=Wu` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`,XD=Wu` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`,ZD=Wu` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`,GD=Te("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),KD=Te(UD,{name:"MuiTouchRipple",slot:"Ripple"})` + opacity: 0; + position: absolute; + + &.${ci.rippleVisible} { + opacity: 0.3; + transform: scale(1); + animation-name: ${YD}; + animation-duration: ${_0}ms; + animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; + } + + &.${ci.ripplePulsate} { + animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms; + } + + & .${ci.child} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${ci.childLeaving} { + opacity: 0; + animation-name: ${XD}; + animation-duration: ${_0}ms; + animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; + } + + & .${ci.childPulsate} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${ZD}; + animation-duration: 2500ms; + animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`,qD=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a,...u}=r,[d,h]=x.useState([]),p=x.useRef(0),g=x.useRef(null);x.useEffect(()=>{g.current&&(g.current(),g.current=null)},[d]);const v=x.useRef(!1),b=zl(),w=x.useRef(null),T=x.useRef(null),E=x.useCallback(k=>{const{pulsate:M,rippleX:D,rippleY:N,rippleSize:z,cb:$}=k;h(X=>[...X,y.jsx(KD,{classes:{ripple:$e(i.ripple,ci.ripple),rippleVisible:$e(i.rippleVisible,ci.rippleVisible),ripplePulsate:$e(i.ripplePulsate,ci.ripplePulsate),child:$e(i.child,ci.child),childLeaving:$e(i.childLeaving,ci.childLeaving),childPulsate:$e(i.childPulsate,ci.childPulsate)},timeout:_0,pulsate:M,rippleX:D,rippleY:N,rippleSize:z},p.current)]),p.current+=1,g.current=$},[i]),R=x.useCallback((k={},M={},D=()=>{})=>{const{pulsate:N=!1,center:z=o||M.pulsate,fakeElement:$=!1}=M;if(k?.type==="mousedown"&&v.current){v.current=!1;return}k?.type==="touchstart"&&(v.current=!0);const X=$?null:T.current,U=X?X.getBoundingClientRect():{width:0,height:0,left:0,top:0};let j,q,H;if(z||k===void 0||k.clientX===0&&k.clientY===0||!k.clientX&&!k.touches)j=Math.round(U.width/2),q=Math.round(U.height/2);else{const{clientX:Y,clientY:W}=k.touches&&k.touches.length>0?k.touches[0]:k;j=Math.round(Y-U.left),q=Math.round(W-U.top)}if(z)H=Math.sqrt((2*U.width**2+U.height**2)/3),H%2===0&&(H+=1);else{const Y=Math.max(Math.abs((X?X.clientWidth:0)-j),j)*2+2,W=Math.max(Math.abs((X?X.clientHeight:0)-q),q)*2+2;H=Math.sqrt(Y**2+W**2)}k?.touches?w.current===null&&(w.current=()=>{E({pulsate:N,rippleX:j,rippleY:q,rippleSize:H,cb:D})},b.start(VD,()=>{w.current&&(w.current(),w.current=null)})):E({pulsate:N,rippleX:j,rippleY:q,rippleSize:H,cb:D})},[o,E,b]),O=x.useCallback(()=>{R({},{pulsate:!0})},[R]),C=x.useCallback((k,M)=>{if(b.clear(),k?.type==="touchend"&&w.current){w.current(),w.current=null,b.start(0,()=>{C(k,M)});return}w.current=null,h(D=>D.length>0?D.slice(1):D),g.current=M},[b]);return x.useImperativeHandle(n,()=>({pulsate:O,start:R,stop:C}),[O,R,C]),y.jsx(GD,{className:$e(ci.root,i.root,a),ref:T,...u,children:y.jsx(Hb,{component:null,exit:!0,children:d})})});function JD(e){return pt("MuiButtonBase",e)}const QD=ft("MuiButtonBase",["root","disabled","focusVisible"]),ej=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=ht({root:["root",t&&"disabled",n&&"focusVisible"]},JD,o);return n&&r&&(a.root+=` ${r}`),a},tj=Te("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"},[`&.${QD.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),qa=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:u,component:d="button",disabled:h=!1,disableRipple:p=!1,disableTouchRipple:g=!1,focusRipple:v=!1,focusVisibleClassName:b,LinkComponent:w="a",onBlur:T,onClick:E,onContextMenu:R,onDragLeave:O,onFocus:C,onFocusVisible:k,onKeyDown:M,onKeyUp:D,onMouseDown:N,onMouseLeave:z,onMouseUp:$,onTouchEnd:X,onTouchMove:U,onTouchStart:j,tabIndex:q=0,TouchRippleProps:H,touchRippleRef:Y,type:W,...J}=r,Z=x.useRef(null),Q=HD(),ee=jn(Q.ref,Y),[F,G]=x.useState(!1);h&&F&&G(!1),x.useImperativeHandle(o,()=>({focusVisible:()=>{G(!0),Z.current.focus()}}),[]);const ue=Q.shouldMount&&!p&&!h;x.useEffect(()=>{F&&v&&!p&&Q.pulsate()},[p,v,F,Q]);const le=Ws(Q,"start",N,g),ne=Ws(Q,"stop",R,g),te=Ws(Q,"stop",O,g),pe=Ws(Q,"stop",$,g),re=Ws(Q,"stop",He=>{F&&He.preventDefault(),z&&z(He)},g),se=Ws(Q,"start",j,g),ie=Ws(Q,"stop",X,g),ce=Ws(Q,"stop",U,g),fe=Ws(Q,"stop",He=>{Eu(He.target)||G(!1),T&&T(He)},!1),ye=pn(He=>{Z.current||(Z.current=He.currentTarget),Eu(He.target)&&(G(!0),k&&k(He)),C&&C(He)}),Ee=()=>{const He=Z.current;return d&&d!=="button"&&!(He.tagName==="A"&&He.href)},Me=pn(He=>{v&&!He.repeat&&F&&He.key===" "&&Q.stop(He,()=>{Q.start(He)}),He.target===He.currentTarget&&Ee()&&He.key===" "&&He.preventDefault(),M&&M(He),He.target===He.currentTarget&&Ee()&&He.key==="Enter"&&!h&&(He.preventDefault(),E&&E(He))}),Ue=pn(He=>{v&&He.key===" "&&F&&!He.defaultPrevented&&Q.stop(He,()=>{Q.pulsate(He)}),D&&D(He),E&&He.target===He.currentTarget&&Ee()&&He.key===" "&&!He.defaultPrevented&&E(He)});let Ve=d;Ve==="button"&&(J.href||J.to)&&(Ve=w);const Le={};Ve==="button"?(Le.type=W===void 0?"button":W,Le.disabled=h):(!J.href&&!J.to&&(Le.role="button"),h&&(Le["aria-disabled"]=h));const at=jn(n,Z),Be={...r,centerRipple:i,component:d,disabled:h,disableRipple:p,disableTouchRipple:g,focusRipple:v,tabIndex:q,focusVisible:F},et=ej(Be);return y.jsxs(tj,{as:Ve,className:$e(et.root,u),ownerState:Be,onBlur:fe,onClick:E,onContextMenu:ne,onFocus:ye,onKeyDown:Me,onKeyUp:Ue,onMouseDown:le,onMouseLeave:re,onMouseUp:pe,onDragLeave:te,onTouchEnd:ie,onTouchMove:ce,onTouchStart:se,ref:at,tabIndex:h?-1:q,type:W,...Le,...J,children:[a,ue?y.jsx(qD,{ref:ee,center:i,...H}):null]})});function Ws(e,t,n,r=!1){return pn(o=>(n&&n(o),r||e[t](o),!0))}function nj(e){return pt("MuiAccordionSummary",e)}const uu=ft("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),rj=e=>{const{classes:t,expanded:n,disabled:r,disableGutters:o}=e;return ht({root:["root",n&&"expanded",r&&"disabled",!o&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!o&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]},nj,t)},oj=Te(qa,{name:"MuiAccordionSummary",slot:"Root"})(st(({theme:e})=>{const t={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"],t),[`&.${uu.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${uu.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${uu.disabled})`]:{cursor:"pointer"},variants:[{props:n=>!n.disableGutters,style:{[`&.${uu.expanded}`]:{minHeight:64}}}]}})),ij=Te("span",{name:"MuiAccordionSummary",slot:"Content"})(st(({theme:e})=>({display:"flex",textAlign:"start",flexGrow:1,margin:"12px 0",variants:[{props:t=>!t.disableGutters,style:{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${uu.expanded}`]:{margin:"20px 0"}}}]}))),sj=Te("span",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper"})(st(({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${uu.expanded}`]:{transform:"rotate(180deg)"}}))),aj=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiAccordionSummary"}),{children:o,className:i,expandIcon:a,focusVisibleClassName:u,onClick:d,slots:h,slotProps:p,...g}=r,{disabled:v=!1,disableGutters:b,expanded:w,toggle:T}=x.useContext(UR),E=X=>{T&&T(X),d&&d(X)},R={...r,expanded:w,disabled:v,disableGutters:b},O=rj(R),C={slots:h,slotProps:p},[k,M]=Ht("root",{ref:n,shouldForwardComponentProp:!0,className:$e(O.root,i),elementType:oj,externalForwardedProps:{...C,...g},ownerState:R,additionalProps:{focusRipple:!1,disableRipple:!0,disabled:v,"aria-expanded":w,focusVisibleClassName:$e(O.focusVisible,u)},getSlotProps:X=>({...X,onClick:U=>{X.onClick?.(U),E(U)}})}),[D,N]=Ht("content",{className:O.content,elementType:ij,externalForwardedProps:C,ownerState:R}),[z,$]=Ht("expandIconWrapper",{className:O.expandIconWrapper,elementType:sj,externalForwardedProps:C,ownerState:R});return y.jsxs(k,{...M,children:[y.jsx(D,{...N,children:o}),a&&y.jsx(z,{...$,children:a})]})});function lj(e){return typeof e.main=="string"}function cj(e,t=[]){if(!lj(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function gr(e=[]){return([,t])=>t&&cj(t,e)}function uj(e){return pt("MuiCircularProgress",e)}ft("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Ii=44,w0=Wu` + 0% { + transform: rotate(0deg); + } + + 100% { + transform: rotate(360deg); + } +`,S0=Wu` + 0% { + stroke-dasharray: 1px, 200px; + stroke-dashoffset: 0; + } + + 50% { + stroke-dasharray: 100px, 200px; + stroke-dashoffset: -15px; + } + + 100% { + stroke-dasharray: 1px, 200px; + stroke-dashoffset: -126px; + } +`,dj=typeof w0!="string"?Ib` + animation: ${w0} 1.4s linear infinite; + `:null,fj=typeof S0!="string"?Ib` + animation: ${S0} 1.4s ease-in-out infinite; + `:null,pj=e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,`color${ke(r)}`],svg:["svg"],track:["track"],circle:["circle",`circle${ke(n)}`,o&&"circleDisableShrink"]};return ht(i,uj,t)},hj=Te("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${ke(n.color)}`]]}})(st(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:dj||{animation:`${w0} 1.4s linear infinite`}},...Object.entries(e.palette).filter(gr()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),mj=Te("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),gj=Te("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${ke(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(st(({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:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:fj||{animation:`${S0} 1.4s ease-in-out infinite`}}]}))),yj=Te("circle",{name:"MuiCircularProgress",slot:"Track"})(st(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),Yu=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiCircularProgress"}),{className:o,color:i="primary",disableShrink:a=!1,enableTrackSlot:u=!1,size:d=40,style:h,thickness:p=3.6,value:g=0,variant:v="indeterminate",...b}=r,w={...r,color:i,disableShrink:a,size:d,thickness:p,value:g,variant:v,enableTrackSlot:u},T=pj(w),E={},R={},O={};if(v==="determinate"){const C=2*Math.PI*((Ii-p)/2);E.strokeDasharray=C.toFixed(3),O["aria-valuenow"]=Math.round(g),E.strokeDashoffset=`${((100-g)/100*C).toFixed(3)}px`,R.transform="rotate(-90deg)"}return y.jsx(hj,{className:$e(T.root,o),style:{width:d,height:d,...R,...h},ownerState:w,ref:n,role:"progressbar",...O,...b,children:y.jsxs(mj,{className:T.svg,ownerState:w,viewBox:`${Ii/2} ${Ii/2} ${Ii} ${Ii}`,children:[u?y.jsx(yj,{className:T.track,ownerState:w,cx:Ii,cy:Ii,r:(Ii-p)/2,fill:"none",strokeWidth:p,"aria-hidden":"true"}):null,y.jsx(gj,{className:T.circle,style:E,ownerState:w,cx:Ii,cy:Ii,r:(Ii-p)/2,fill:"none",strokeWidth:p})]})})});function vj(e){return pt("MuiIconButton",e)}const MS=ft("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),xj=e=>{const{classes:t,disabled:n,color:r,edge:o,size:i,loading:a}=e,u={root:["root",a&&"loading",n&&"disabled",r!=="default"&&`color${ke(r)}`,o&&`edge${ke(o)}`,`size${ke(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return ht(u,vj,t)},bj=Te(qa,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,n.color!=="default"&&t[`color${ke(n.color)}`],n.edge&&t[`edge${ke(n.edge)}`],t[`size${ke(n.size)}`]]}})(st(({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:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),st(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(gr()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(gr()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${MS.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${MS.loading}`]:{color:"transparent"}}))),_j=Te("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"}}]})),Uo=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:a,color:u="default",disabled:d=!1,disableFocusRipple:h=!1,size:p="medium",id:g,loading:v=null,loadingIndicator:b,...w}=r,T=el(g),E=b??y.jsx(Yu,{"aria-labelledby":T,color:"inherit",size:16}),R={...r,edge:o,color:u,disabled:d,disableFocusRipple:h,loading:v,loadingIndicator:E,size:p},O=xj(R);return y.jsxs(bj,{id:v?T:g,className:$e(O.root,a),centerRipple:!0,focusRipple:!h,disabled:d||v,ref:n,...w,ownerState:R,children:[typeof v=="boolean"&&y.jsx("span",{className:O.loadingWrapper,style:{display:"contents"},children:y.jsx(_j,{className:O.loadingIndicator,ownerState:R,children:v&&E})}),i]})}),wj=kt(y.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"}));function Sj(e){return pt("MuiTypography",e)}ft("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Tj={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Ej=lD(),Cj=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e,u={root:["root",i,e.align!=="inherit"&&`align${ke(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return ht(u,Sj,a)},Rj=Te("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${ke(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(st(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([t,n])=>t!=="inherit"&&n&&typeof n=="object").map(([t,n])=>({props:{variant:t},style:n})),...Object.entries(e.palette).filter(gr()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,t])=>typeof t=="string").map(([t])=>({props:{color:`text${ke(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:t})=>t.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:t})=>t.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:t})=>t.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:t})=>t.paragraph,style:{marginBottom:16}}]}))),AS={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Tt=x.forwardRef(function(t,n){const{color:r,...o}=yt({props:t,name:"MuiTypography"}),i=!Tj[r],a=Ej({...o,...i&&{color:r}}),{align:u="inherit",className:d,component:h,gutterBottom:p=!1,noWrap:g=!1,paragraph:v=!1,variant:b="body1",variantMapping:w=AS,...T}=a,E={...a,align:u,color:r,className:d,component:h,gutterBottom:p,noWrap:g,paragraph:v,variant:b,variantMapping:w},R=h||(v?"p":w[b]||AS[b])||"span",O=Cj(E);return y.jsx(Rj,{as:R,ref:n,className:$e(O.root,d),...T,ownerState:E,style:{...u!=="inherit"&&{"--Typography-textAlign":u},...T.style}})});function kj(e){return pt("MuiAppBar",e)}ft("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const Ij=e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${ke(t)}`,`position${ke(n)}`]};return ht(o,kj,r)},NS=(e,t)=>e?`${e?.replace(")","")}, ${t})`:t,Lj=Te(Wo,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ke(n.position)}`],t[`color${ke(n.color)}`]]}})(st(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(gr(["contrastText"])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}})),{props:t=>t.enableColorOnDark===!0&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:t=>t.enableColorOnDark===!1&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?NS(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?NS(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),Pj=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiAppBar"}),{className:o,color:i="primary",enableColorOnDark:a=!1,position:u="fixed",...d}=r,h={...r,color:i,position:u,enableColorOnDark:a},p=Ij(h);return y.jsx(Lj,{square:!0,component:"header",ownerState:h,elevation:4,className:$e(p.root,o,u==="fixed"&&"mui-fixed"),ref:n,...d})});function Oj(e){const t=x.useRef({});return x.useEffect(()=>{t.current=e}),t.current}function DS({array1:e,array2:t,parser:n=r=>r}){return e&&t&&e.length===t.length&&e.every((r,o)=>n(r)===n(t[o]))}function jS(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function Mj(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:o="any",stringify:i,trim:a=!1}=e;return(u,{inputValue:d,getOptionLabel:h})=>{let p=a?d.trim():d;n&&(p=p.toLowerCase()),t&&(p=jS(p));const g=p?u.filter(v=>{let b=(i||h)(v);return n&&(b=b.toLowerCase()),t&&(b=jS(b)),o==="start"?b.startsWith(p):b.includes(p)}):u;return typeof r=="number"?g.slice(0,r):g}}const Aj=Mj(),BS=5,Nj=e=>e.current!==null&&e.current.parentElement?.contains(document.activeElement),Dj=[];function zS(e,t,n,r){if(t||e==null||r)return"";const o=n(e);return typeof o=="string"?o:""}function jj(e){const{unstable_isActiveElementInListbox:t=Nj,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:o=!1,autoSelect:i=!1,blurOnSelect:a=!1,clearOnBlur:u=!e.freeSolo,clearOnEscape:d=!1,componentName:h="useAutocomplete",defaultValue:p=e.multiple?Dj:null,disableClearable:g=!1,disableCloseOnSelect:v=!1,disabled:b,disabledItemsFocusable:w=!1,disableListWrap:T=!1,filterOptions:E=Aj,filterSelectedOptions:R=!1,freeSolo:O=!1,getOptionDisabled:C,getOptionKey:k,getOptionLabel:M=Se=>Se.label??Se,groupBy:D,handleHomeEndKeys:N=!e.freeSolo,id:z,includeInputInList:$=!1,inputValue:X,isOptionEqualToValue:U=(Se,we)=>Se===we,multiple:j=!1,onChange:q,onClose:H,onHighlightChange:Y,onInputChange:W,onOpen:J,open:Z,openOnFocus:Q=!1,options:ee,readOnly:F=!1,renderValue:G,selectOnFocus:ue=!e.freeSolo,value:le}=e,ne=el(z);let te=M;te=Se=>{const we=M(Se);return typeof we!="string"?String(we):we};const pe=x.useRef(!1),re=x.useRef(!0),se=x.useRef(null),ie=x.useRef(null),[ce,fe]=x.useState(null),[ye,Ee]=x.useState(-1),Me=o?0:-1,Ue=x.useRef(Me),Ve=x.useRef(zS(p??le,j,te)).current,[Le,at]=ea({controlled:le,default:p,name:h}),[Be,et]=ea({controlled:X,default:Ve,name:h,state:"inputValue"}),[He,jt]=x.useState(!1),vt=x.useCallback((Se,we,Ge)=>{if(!(j?Le.length!(R&&(j?Le:[Le]).some(we=>we!==null&&U(Se,we)))),{inputValue:Ze&&Ne?"":Be,getOptionLabel:te}):[],Nt=Oj({filteredOptions:je,value:Le,inputValue:Be});x.useEffect(()=>{const Se=Le!==Nt.value;He&&!Se||O&&!Se||vt(null,Le,"reset")},[Le,vt,He,Nt.value,O]);const Ot=Ie&&je.length>0&&!F,$t=pn(Se=>{if(Se===-1)se.current.focus();else{const we=G?"data-item-index":"data-tag-index";ce.querySelector(`[${we}="${Se}"]`).focus()}});x.useEffect(()=>{j&&ye>Le.length-1&&(Ee(-1),$t(-1))},[Le,j,ye,$t]);function Je(Se,we){if(!ie.current||Se<0||Se>=je.length)return-1;let Ge=Se;for(;;){const mt=ie.current.querySelector(`[data-option-index="${Ge}"]`),Et=w?!1:!mt||mt.disabled||mt.getAttribute("aria-disabled")==="true";if(mt&&mt.hasAttribute("tabindex")&&!Et)return Ge;if(we==="next"?Ge=(Ge+1)%je.length:Ge=(Ge-1+je.length)%je.length,Ge===Se)return-1}}const bt=pn(({event:Se,index:we,reason:Ge})=>{if(Ue.current=we,we===-1?se.current.removeAttribute("aria-activedescendant"):se.current.setAttribute("aria-activedescendant",`${ne}-option-${we}`),Y&&["mouse","keyboard","touch"].includes(Ge)&&Y(Se,we===-1?null:je[we],Ge),!ie.current)return;const mt=ie.current.querySelector(`[role="option"].${n}-focused`);mt&&(mt.classList.remove(`${n}-focused`),mt.classList.remove(`${n}-focusVisible`));let Et=ie.current;if(ie.current.getAttribute("role")!=="listbox"&&(Et=ie.current.parentElement.querySelector('[role="listbox"]')),!Et)return;if(we===-1){Et.scrollTop=0;return}const bn=ie.current.querySelector(`[data-option-index="${we}"]`);if(bn&&(bn.classList.add(`${n}-focused`),Ge==="keyboard"&&bn.classList.add(`${n}-focusVisible`),Et.scrollHeight>Et.clientHeight&&Ge!=="mouse"&&Ge!=="touch")){const Mt=bn,Ar=Et.clientHeight+Et.scrollTop,Xo=Mt.offsetTop+Mt.offsetHeight;Xo>Ar?Et.scrollTop=Xo-Et.clientHeight:Mt.offsetTop-Mt.offsetHeight*(D?1.3:0){if(!Xe)return;const bn=Je((()=>{const Mt=je.length-1;if(we==="reset")return Me;if(we==="start")return 0;if(we==="end")return Mt;const Ar=Ue.current+we;return Ar<0?Ar===-1&&$?-1:T&&Ue.current!==-1||Math.abs(we)>1?0:Mt:Ar>Mt?Ar===Mt+1&&$?-1:T||Math.abs(we)>1?Mt:0:Ar})(),Ge);if(bt({index:bn,reason:mt,event:Se}),r&&we!=="reset")if(bn===-1)se.current.value=Be;else{const Mt=te(je[bn]);se.current.value=Mt,Mt.toLowerCase().indexOf(Be.toLowerCase())===0&&Be.length>0&&se.current.setSelectionRange(Be.length,Mt.length)}}),hn=!DS({array1:Nt.filteredOptions,array2:je,parser:te}),qn=()=>{const Se=(we,Ge)=>{const mt=we?te(we):"",Et=Ge?te(Ge):"";return mt===Et};if(Ue.current!==-1&&!DS({array1:Nt.filteredOptions,array2:je,parser:te})&&Nt.inputValue===Be&&(j?Le.length===Nt.value.length&&Nt.value.every((we,Ge)=>te(Le[Ge])===te(we)):Se(Nt.value,Le))){const we=Nt.filteredOptions[Ue.current];if(we)return je.findIndex(Ge=>te(Ge)===te(we))}return-1},Jn=x.useCallback(()=>{if(!Xe)return;const Se=qn();if(Se!==-1){Ue.current=Se;return}const we=j?Le[0]:Le;if(je.length===0||we==null){Rt({diff:"reset"});return}if(ie.current){if(we!=null){const Ge=je[Ue.current];if(j&&Ge&&Le.findIndex(Et=>U(Ge,Et))!==-1)return;const mt=je.findIndex(Et=>U(Et,we));mt===-1?Rt({diff:"reset"}):bt({index:mt});return}if(Ue.current>=je.length-1){bt({index:je.length-1});return}bt({index:Ue.current})}},[je.length,j?!1:Le,R,Rt,bt,Xe,Be,j]),kn=pn(Se=>{v0(ie,Se),Se&&Jn()});x.useEffect(()=>{(hn||Xe)&&Jn()},[Jn,hn,Xe]);const ct=Se=>{Ie||(Re(!0),Ye(!0),J&&J(Se))},It=(Se,we)=>{Ie&&(Re(!1),H&&H(Se,we))},Gt=(Se,we,Ge,mt)=>{if(j){if(Le.length===we.length&&Le.every((Et,bn)=>Et===we[bn]))return}else if(Le===we)return;q&&q(Se,we,Ge,mt),at(we)},on=x.useRef(!1),Wt=(Se,we,Ge="selectOption",mt="options")=>{let Et=Ge,bn=we;if(j){bn=Array.isArray(Le)?Le.slice():[];const Mt=bn.findIndex(Ar=>U(we,Ar));Mt===-1?bn.push(we):mt!=="freeSolo"&&(bn.splice(Mt,1),Et="removeOption")}vt(Se,bn,Et),Gt(Se,bn,Et,{option:we}),!v&&(!Se||!Se.ctrlKey&&!Se.metaKey)&&It(Se,Et),(a===!0||a==="touch"&&on.current||a==="mouse"&&!on.current)&&se.current.blur()};function ot(Se,we){if(Se===-1)return-1;let Ge=Se;for(;;){if(we==="next"&&Ge===Le.length||we==="previous"&&Ge===-1)return-1;const mt=G?"data-item-index":"data-tag-index",Et=ce.querySelector(`[${mt}="${Ge}"]`);if(!Et||!Et.hasAttribute("tabindex")||Et.disabled||Et.getAttribute("aria-disabled")==="true")Ge+=we==="next"?1:-1;else return Ge}}const Jt=(Se,we)=>{if(!j)return;Be===""&&It(Se,"toggleInput");let Ge=ye;ye===-1?Be===""&&we==="previous"&&(Ge=Le.length-1):(Ge+=we==="next"?1:-1,Ge<0&&(Ge=0),Ge===Le.length&&(Ge=-1)),Ge=ot(Ge,we),Ee(Ge),$t(Ge)},dr=Se=>{pe.current=!0,et(""),W&&W(Se,"","clear"),Gt(Se,j?[]:null,"clear")},an=Se=>we=>{if(Se.onKeyDown&&Se.onKeyDown(we),!we.defaultMuiPrevented&&(ye!==-1&&!["ArrowLeft","ArrowRight"].includes(we.key)&&(Ee(-1),$t(-1)),we.which!==229))switch(we.key){case"Home":Xe&&N&&(we.preventDefault(),Rt({diff:"start",direction:"next",reason:"keyboard",event:we}));break;case"End":Xe&&N&&(we.preventDefault(),Rt({diff:"end",direction:"previous",reason:"keyboard",event:we}));break;case"PageUp":we.preventDefault(),Rt({diff:-BS,direction:"previous",reason:"keyboard",event:we}),ct(we);break;case"PageDown":we.preventDefault(),Rt({diff:BS,direction:"next",reason:"keyboard",event:we}),ct(we);break;case"ArrowDown":we.preventDefault(),Rt({diff:1,direction:"next",reason:"keyboard",event:we}),ct(we);break;case"ArrowUp":we.preventDefault(),Rt({diff:-1,direction:"previous",reason:"keyboard",event:we}),ct(we);break;case"ArrowLeft":!j&&G?$t(0):Jt(we,"previous");break;case"ArrowRight":!j&&G?$t(-1):Jt(we,"next");break;case"Enter":if(Ue.current!==-1&&Xe){const Ge=je[Ue.current],mt=C?C(Ge):!1;if(we.preventDefault(),mt)return;Wt(we,Ge,"selectOption"),r&&se.current.setSelectionRange(se.current.value.length,se.current.value.length)}else O&&Be!==""&&Ze===!1&&(j&&we.preventDefault(),Wt(we,Be,"createOption","freeSolo"));break;case"Escape":Xe?(we.preventDefault(),we.stopPropagation(),It(we,"escape")):d&&(Be!==""||j&&Le.length>0||G)&&(we.preventDefault(),we.stopPropagation(),dr(we));break;case"Backspace":if(j&&!F&&Be===""&&Le.length>0){const Ge=ye===-1?Le.length-1:ye,mt=Le.slice();mt.splice(Ge,1),Gt(we,mt,"removeOption",{option:Le[Ge]})}!j&&G&&!F&&(at(null),$t(-1));break;case"Delete":if(j&&!F&&Be===""&&Le.length>0&&ye!==-1){const Ge=ye,mt=Le.slice();mt.splice(Ge,1),Gt(we,mt,"removeOption",{option:Le[Ge]})}!j&&G&&!F&&(at(null),$t(-1));break}},Un=Se=>{jt(!0),Q&&!pe.current&&ct(Se)},En=Se=>{if(t(ie)){se.current.focus();return}jt(!1),re.current=!0,pe.current=!1,i&&Ue.current!==-1&&Xe?Wt(Se,je[Ue.current],"blur"):i&&O&&Be!==""?Wt(Se,Be,"blur","freeSolo"):u&&vt(Se,Le,"blur"),It(Se,"blur")},ar=Se=>{const we=Se.target.value;Be!==we&&(et(we),Ye(!1),W&&W(Se,we,"input")),we===""?!g&&!j&&Gt(Se,null,"clear"):ct(Se)},xn=Se=>{const we=Number(Se.currentTarget.getAttribute("data-option-index"));Ue.current!==we&&bt({event:Se,index:we,reason:"mouse"})},qe=Se=>{bt({event:Se,index:Number(Se.currentTarget.getAttribute("data-option-index")),reason:"touch"}),on.current=!0},Qn=Se=>{const we=Number(Se.currentTarget.getAttribute("data-option-index"));Wt(Se,je[we],"selectOption"),on.current=!1},Tr=Se=>we=>{const Ge=Le.slice();Ge.splice(Se,1),Gt(we,Ge,"removeOption",{option:Le[Se]})},Wr=Se=>{Gt(Se,null,"removeOption",{option:Le})},In=Se=>{Ie?It(Se,"toggleInput"):ct(Se)},Ln=Se=>{Se.currentTarget.contains(Se.target)&&Se.target.getAttribute("id")!==ne&&Se.preventDefault()},er=Se=>{Se.currentTarget.contains(Se.target)&&(se.current.focus(),ue&&re.current&&se.current.selectionEnd-se.current.selectionStart===0&&se.current.select(),re.current=!1)},Ur=Se=>{!b&&(Be===""||!Ie)&&In(Se)};let uo=O&&Be.length>0;uo=uo||(j?Le.length>0:Le!==null);let Hi=je;return D&&(Hi=je.reduce((Se,we,Ge)=>{const mt=D(we);return Se.length>0&&Se[Se.length-1].group===mt?Se[Se.length-1].options.push(we):Se.push({key:Ge,index:Ge,group:mt,options:[we]}),Se},[])),b&&He&&En(),{getRootProps:(Se={})=>({...Se,onKeyDown:an(Se),onMouseDown:Ln,onClick:er}),getInputLabelProps:()=>({id:`${ne}-label`,htmlFor:ne}),getInputProps:()=>({id:ne,value:Be,onBlur:En,onFocus:Un,onChange:ar,onMouseDown:Ur,"aria-activedescendant":Xe?"":null,"aria-autocomplete":r?"both":"list","aria-controls":Ot?`${ne}-listbox`:void 0,"aria-expanded":Ot,autoComplete:"off",ref:se,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:b}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:dr}),getItemProps:({index:Se=0}={})=>({...j&&{key:Se},...G?{"data-item-index":Se}:{"data-tag-index":Se},tabIndex:-1,...!F&&{onDelete:j?Tr(Se):Wr}}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:In}),getTagProps:({index:Se})=>({key:Se,"data-tag-index":Se,tabIndex:-1,...!F&&{onDelete:Tr(Se)}}),getListboxProps:()=>({role:"listbox",id:`${ne}-listbox`,"aria-labelledby":`${ne}-label`,ref:kn,onMouseDown:Se=>{Se.preventDefault()}}),getOptionProps:({index:Se,option:we})=>{const Ge=(j?Le:[Le]).some(Et=>Et!=null&&U(we,Et)),mt=C?C(we):!1;return{key:k?.(we)??te(we),tabIndex:-1,role:"option",id:`${ne}-option-${Se}`,onMouseMove:xn,onClick:Qn,onTouchStart:qe,"data-option-index":Se,"aria-disabled":mt,"aria-selected":Ge}},id:ne,inputValue:Be,value:Le,dirty:uo,expanded:Xe&&ce,popupOpen:Xe,focused:He||ye!==-1,anchorEl:ce,setAnchorEl:fe,focusedItem:ye,focusedTag:ye,groupedOptions:Hi}}var wo="top",hi="bottom",mi="right",So="left",Ub="auto",ap=[wo,hi,mi,So],Cu="start",If="end",Bj="clippingParents",XR="viewport",Ud="popper",zj="reference",$S=ap.reduce(function(e,t){return e.concat([t+"-"+Cu,t+"-"+If])},[]),ZR=[].concat(ap,[Ub]).reduce(function(e,t){return e.concat([t,t+"-"+Cu,t+"-"+If])},[]),$j="beforeRead",Fj="read",Hj="afterRead",Wj="beforeMain",Uj="main",Vj="afterMain",Yj="beforeWrite",Xj="write",Zj="afterWrite",Gj=[$j,Fj,Hj,Wj,Uj,Vj,Yj,Xj,Zj];function ms(e){return e?(e.nodeName||"").toLowerCase():null}function Vo(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Kl(e){var t=Vo(e).Element;return e instanceof t||e instanceof Element}function pi(e){var t=Vo(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Vb(e){if(typeof ShadowRoot>"u")return!1;var t=Vo(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Kj(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!pi(i)||!ms(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var u=o[a];u===!1?i.removeAttribute(a):i.setAttribute(a,u===!0?"":u)}))})}function qj(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],i=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),u=a.reduce(function(d,h){return d[h]="",d},{});!pi(o)||!ms(o)||(Object.assign(o.style,u),Object.keys(i).forEach(function(d){o.removeAttribute(d)}))})}}const Jj={name:"applyStyles",enabled:!0,phase:"write",fn:Kj,effect:qj,requires:["computeStyles"]};function fs(e){return e.split("-")[0]}var Wl=Math.max,og=Math.min,Ru=Math.round;function T0(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function GR(){return!/^((?!chrome|android).)*safari/i.test(T0())}function ku(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&pi(e)&&(o=e.offsetWidth>0&&Ru(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Ru(r.height)/e.offsetHeight||1);var a=Kl(e)?Vo(e):window,u=a.visualViewport,d=!GR()&&n,h=(r.left+(d&&u?u.offsetLeft:0))/o,p=(r.top+(d&&u?u.offsetTop:0))/i,g=r.width/o,v=r.height/i;return{width:g,height:v,top:p,right:h+g,bottom:p+v,left:h,x:h,y:p}}function Yb(e){var t=ku(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function KR(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Vb(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function oa(e){return Vo(e).getComputedStyle(e)}function Qj(e){return["table","td","th"].indexOf(ms(e))>=0}function nl(e){return((Kl(e)?e.ownerDocument:e.document)||window.document).documentElement}function Qg(e){return ms(e)==="html"?e:e.assignedSlot||e.parentNode||(Vb(e)?e.host:null)||nl(e)}function FS(e){return!pi(e)||oa(e).position==="fixed"?null:e.offsetParent}function eB(e){var t=/firefox/i.test(T0()),n=/Trident/i.test(T0());if(n&&pi(e)){var r=oa(e);if(r.position==="fixed")return null}var o=Qg(e);for(Vb(o)&&(o=o.host);pi(o)&&["html","body"].indexOf(ms(o))<0;){var i=oa(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function lp(e){for(var t=Vo(e),n=FS(e);n&&Qj(n)&&oa(n).position==="static";)n=FS(n);return n&&(ms(n)==="html"||ms(n)==="body"&&oa(n).position==="static")?t:n||eB(e)||t}function Xb(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function pf(e,t,n){return Wl(e,og(t,n))}function tB(e,t,n){var r=pf(e,t,n);return r>n?n:r}function qR(){return{top:0,right:0,bottom:0,left:0}}function JR(e){return Object.assign({},qR(),e)}function QR(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var nB=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,JR(typeof t!="number"?t:QR(t,ap))};function rB(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,u=fs(n.placement),d=Xb(u),h=[So,mi].indexOf(u)>=0,p=h?"height":"width";if(!(!i||!a)){var g=nB(o.padding,n),v=Yb(i),b=d==="y"?wo:So,w=d==="y"?hi:mi,T=n.rects.reference[p]+n.rects.reference[d]-a[d]-n.rects.popper[p],E=a[d]-n.rects.reference[d],R=lp(i),O=R?d==="y"?R.clientHeight||0:R.clientWidth||0:0,C=T/2-E/2,k=g[b],M=O-v[p]-g[w],D=O/2-v[p]/2+C,N=pf(k,D,M),z=d;n.modifiersData[r]=(t={},t[z]=N,t.centerOffset=N-D,t)}}function oB(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||KR(t.elements.popper,o)&&(t.elements.arrow=o))}const iB={name:"arrow",enabled:!0,phase:"main",fn:rB,effect:oB,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Iu(e){return e.split("-")[1]}var sB={top:"auto",right:"auto",bottom:"auto",left:"auto"};function aB(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Ru(n*o)/o||0,y:Ru(r*o)/o||0}}function HS(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,u=e.position,d=e.gpuAcceleration,h=e.adaptive,p=e.roundOffsets,g=e.isFixed,v=a.x,b=v===void 0?0:v,w=a.y,T=w===void 0?0:w,E=typeof p=="function"?p({x:b,y:T}):{x:b,y:T};b=E.x,T=E.y;var R=a.hasOwnProperty("x"),O=a.hasOwnProperty("y"),C=So,k=wo,M=window;if(h){var D=lp(n),N="clientHeight",z="clientWidth";if(D===Vo(n)&&(D=nl(n),oa(D).position!=="static"&&u==="absolute"&&(N="scrollHeight",z="scrollWidth")),D=D,o===wo||(o===So||o===mi)&&i===If){k=hi;var $=g&&D===M&&M.visualViewport?M.visualViewport.height:D[N];T-=$-r.height,T*=d?1:-1}if(o===So||(o===wo||o===hi)&&i===If){C=mi;var X=g&&D===M&&M.visualViewport?M.visualViewport.width:D[z];b-=X-r.width,b*=d?1:-1}}var U=Object.assign({position:u},h&&sB),j=p===!0?aB({x:b,y:T},Vo(n)):{x:b,y:T};if(b=j.x,T=j.y,d){var q;return Object.assign({},U,(q={},q[k]=O?"0":"",q[C]=R?"0":"",q.transform=(M.devicePixelRatio||1)<=1?"translate("+b+"px, "+T+"px)":"translate3d("+b+"px, "+T+"px, 0)",q))}return Object.assign({},U,(t={},t[k]=O?T+"px":"",t[C]=R?b+"px":"",t.transform="",t))}function lB(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,u=n.roundOffsets,d=u===void 0?!0:u,h={placement:fs(t.placement),variation:Iu(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,HS(Object.assign({},h,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:d})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,HS(Object.assign({},h,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const cB={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:lB,data:{}};var Kh={passive:!0};function uB(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,u=a===void 0?!0:a,d=Vo(t.elements.popper),h=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&h.forEach(function(p){p.addEventListener("scroll",n.update,Kh)}),u&&d.addEventListener("resize",n.update,Kh),function(){i&&h.forEach(function(p){p.removeEventListener("scroll",n.update,Kh)}),u&&d.removeEventListener("resize",n.update,Kh)}}const dB={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:uB,data:{}};var fB={left:"right",right:"left",bottom:"top",top:"bottom"};function Om(e){return e.replace(/left|right|bottom|top/g,function(t){return fB[t]})}var pB={start:"end",end:"start"};function WS(e){return e.replace(/start|end/g,function(t){return pB[t]})}function Zb(e){var t=Vo(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Gb(e){return ku(nl(e)).left+Zb(e).scrollLeft}function hB(e,t){var n=Vo(e),r=nl(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,u=0,d=0;if(o){i=o.width,a=o.height;var h=GR();(h||!h&&t==="fixed")&&(u=o.offsetLeft,d=o.offsetTop)}return{width:i,height:a,x:u+Gb(e),y:d}}function mB(e){var t,n=nl(e),r=Zb(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Wl(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Wl(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+Gb(e),d=-r.scrollTop;return oa(o||n).direction==="rtl"&&(u+=Wl(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:d}}function Kb(e){var t=oa(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function ek(e){return["html","body","#document"].indexOf(ms(e))>=0?e.ownerDocument.body:pi(e)&&Kb(e)?e:ek(Qg(e))}function hf(e,t){var n;t===void 0&&(t=[]);var r=ek(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=Vo(r),a=o?[i].concat(i.visualViewport||[],Kb(r)?r:[]):r,u=t.concat(a);return o?u:u.concat(hf(Qg(a)))}function E0(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function gB(e,t){var n=ku(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function US(e,t,n){return t===XR?E0(hB(e,n)):Kl(t)?gB(t,n):E0(mB(nl(e)))}function yB(e){var t=hf(Qg(e)),n=["absolute","fixed"].indexOf(oa(e).position)>=0,r=n&&pi(e)?lp(e):e;return Kl(r)?t.filter(function(o){return Kl(o)&&KR(o,r)&&ms(o)!=="body"}):[]}function vB(e,t,n,r){var o=t==="clippingParents"?yB(e):[].concat(t),i=[].concat(o,[n]),a=i[0],u=i.reduce(function(d,h){var p=US(e,h,r);return d.top=Wl(p.top,d.top),d.right=og(p.right,d.right),d.bottom=og(p.bottom,d.bottom),d.left=Wl(p.left,d.left),d},US(e,a,r));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function tk(e){var t=e.reference,n=e.element,r=e.placement,o=r?fs(r):null,i=r?Iu(r):null,a=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,d;switch(o){case wo:d={x:a,y:t.y-n.height};break;case hi:d={x:a,y:t.y+t.height};break;case mi:d={x:t.x+t.width,y:u};break;case So:d={x:t.x-n.width,y:u};break;default:d={x:t.x,y:t.y}}var h=o?Xb(o):null;if(h!=null){var p=h==="y"?"height":"width";switch(i){case Cu:d[h]=d[h]-(t[p]/2-n[p]/2);break;case If:d[h]=d[h]+(t[p]/2-n[p]/2);break}}return d}function Lf(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.strategy,a=i===void 0?e.strategy:i,u=n.boundary,d=u===void 0?Bj:u,h=n.rootBoundary,p=h===void 0?XR:h,g=n.elementContext,v=g===void 0?Ud:g,b=n.altBoundary,w=b===void 0?!1:b,T=n.padding,E=T===void 0?0:T,R=JR(typeof E!="number"?E:QR(E,ap)),O=v===Ud?zj:Ud,C=e.rects.popper,k=e.elements[w?O:v],M=vB(Kl(k)?k:k.contextElement||nl(e.elements.popper),d,p,a),D=ku(e.elements.reference),N=tk({reference:D,element:C,placement:o}),z=E0(Object.assign({},C,N)),$=v===Ud?z:D,X={top:M.top-$.top+R.top,bottom:$.bottom-M.bottom+R.bottom,left:M.left-$.left+R.left,right:$.right-M.right+R.right},U=e.modifiersData.offset;if(v===Ud&&U){var j=U[o];Object.keys(X).forEach(function(q){var H=[mi,hi].indexOf(q)>=0?1:-1,Y=[wo,hi].indexOf(q)>=0?"y":"x";X[q]+=j[Y]*H})}return X}function xB(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,u=n.flipVariations,d=n.allowedAutoPlacements,h=d===void 0?ZR:d,p=Iu(r),g=p?u?$S:$S.filter(function(w){return Iu(w)===p}):ap,v=g.filter(function(w){return h.indexOf(w)>=0});v.length===0&&(v=g);var b=v.reduce(function(w,T){return w[T]=Lf(e,{placement:T,boundary:o,rootBoundary:i,padding:a})[fs(T)],w},{});return Object.keys(b).sort(function(w,T){return b[w]-b[T]})}function bB(e){if(fs(e)===Ub)return[];var t=Om(e);return[WS(e),t,WS(t)]}function _B(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,u=a===void 0?!0:a,d=n.fallbackPlacements,h=n.padding,p=n.boundary,g=n.rootBoundary,v=n.altBoundary,b=n.flipVariations,w=b===void 0?!0:b,T=n.allowedAutoPlacements,E=t.options.placement,R=fs(E),O=R===E,C=d||(O||!w?[Om(E)]:bB(E)),k=[E].concat(C).reduce(function(le,ne){return le.concat(fs(ne)===Ub?xB(t,{placement:ne,boundary:p,rootBoundary:g,padding:h,flipVariations:w,allowedAutoPlacements:T}):ne)},[]),M=t.rects.reference,D=t.rects.popper,N=new Map,z=!0,$=k[0],X=0;X=0,Y=H?"width":"height",W=Lf(t,{placement:U,boundary:p,rootBoundary:g,altBoundary:v,padding:h}),J=H?q?mi:So:q?hi:wo;M[Y]>D[Y]&&(J=Om(J));var Z=Om(J),Q=[];if(i&&Q.push(W[j]<=0),u&&Q.push(W[J]<=0,W[Z]<=0),Q.every(function(le){return le})){$=U,z=!1;break}N.set(U,Q)}if(z)for(var ee=w?3:1,F=function(ne){var te=k.find(function(pe){var re=N.get(pe);if(re)return re.slice(0,ne).every(function(se){return se})});if(te)return $=te,"break"},G=ee;G>0;G--){var ue=F(G);if(ue==="break")break}t.placement!==$&&(t.modifiersData[r]._skip=!0,t.placement=$,t.reset=!0)}}const wB={name:"flip",enabled:!0,phase:"main",fn:_B,requiresIfExists:["offset"],data:{_skip:!1}};function VS(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function YS(e){return[wo,mi,hi,So].some(function(t){return e[t]>=0})}function SB(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Lf(t,{elementContext:"reference"}),u=Lf(t,{altBoundary:!0}),d=VS(a,r),h=VS(u,o,i),p=YS(d),g=YS(h);t.modifiersData[n]={referenceClippingOffsets:d,popperEscapeOffsets:h,isReferenceHidden:p,hasPopperEscaped:g},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":g})}const TB={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:SB};function EB(e,t,n){var r=fs(e),o=[So,wo].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=i[0],u=i[1];return a=a||0,u=(u||0)*o,[So,mi].indexOf(r)>=0?{x:u,y:a}:{x:a,y:u}}function CB(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,a=ZR.reduce(function(p,g){return p[g]=EB(g,t.rects,i),p},{}),u=a[t.placement],d=u.x,h=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=h),t.modifiersData[r]=a}const RB={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:CB};function kB(e){var t=e.state,n=e.name;t.modifiersData[n]=tk({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const IB={name:"popperOffsets",enabled:!0,phase:"read",fn:kB,data:{}};function LB(e){return e==="x"?"y":"x"}function PB(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,u=a===void 0?!1:a,d=n.boundary,h=n.rootBoundary,p=n.altBoundary,g=n.padding,v=n.tether,b=v===void 0?!0:v,w=n.tetherOffset,T=w===void 0?0:w,E=Lf(t,{boundary:d,rootBoundary:h,padding:g,altBoundary:p}),R=fs(t.placement),O=Iu(t.placement),C=!O,k=Xb(R),M=LB(k),D=t.modifiersData.popperOffsets,N=t.rects.reference,z=t.rects.popper,$=typeof T=="function"?T(Object.assign({},t.rects,{placement:t.placement})):T,X=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),U=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(D){if(i){var q,H=k==="y"?wo:So,Y=k==="y"?hi:mi,W=k==="y"?"height":"width",J=D[k],Z=J+E[H],Q=J-E[Y],ee=b?-z[W]/2:0,F=O===Cu?N[W]:z[W],G=O===Cu?-z[W]:-N[W],ue=t.elements.arrow,le=b&&ue?Yb(ue):{width:0,height:0},ne=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:qR(),te=ne[H],pe=ne[Y],re=pf(0,N[W],le[W]),se=C?N[W]/2-ee-re-te-X.mainAxis:F-re-te-X.mainAxis,ie=C?-N[W]/2+ee+re+pe+X.mainAxis:G+re+pe+X.mainAxis,ce=t.elements.arrow&&lp(t.elements.arrow),fe=ce?k==="y"?ce.clientTop||0:ce.clientLeft||0:0,ye=(q=U?.[k])!=null?q:0,Ee=J+se-ye-fe,Me=J+ie-ye,Ue=pf(b?og(Z,Ee):Z,J,b?Wl(Q,Me):Q);D[k]=Ue,j[k]=Ue-J}if(u){var Ve,Le=k==="x"?wo:So,at=k==="x"?hi:mi,Be=D[M],et=M==="y"?"height":"width",He=Be+E[Le],jt=Be-E[at],vt=[wo,So].indexOf(R)!==-1,Ie=(Ve=U?.[M])!=null?Ve:0,Re=vt?He:Be-N[et]-z[et]-Ie+X.altAxis,Ne=vt?Be+N[et]+z[et]-Ie-X.altAxis:jt,Ye=b&&vt?tB(Re,Be,Ne):pf(b?Re:He,Be,b?Ne:jt);D[M]=Ye,j[M]=Ye-Be}t.modifiersData[r]=j}}const OB={name:"preventOverflow",enabled:!0,phase:"main",fn:PB,requiresIfExists:["offset"]};function MB(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function AB(e){return e===Vo(e)||!pi(e)?Zb(e):MB(e)}function NB(e){var t=e.getBoundingClientRect(),n=Ru(t.width)/e.offsetWidth||1,r=Ru(t.height)/e.offsetHeight||1;return n!==1||r!==1}function DB(e,t,n){n===void 0&&(n=!1);var r=pi(t),o=pi(t)&&NB(t),i=nl(t),a=ku(e,o,n),u={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(r||!r&&!n)&&((ms(t)!=="body"||Kb(i))&&(u=AB(t)),pi(t)?(d=ku(t,!0),d.x+=t.clientLeft,d.y+=t.clientTop):i&&(d.x=Gb(i))),{x:a.left+u.scrollLeft-d.x,y:a.top+u.scrollTop-d.y,width:a.width,height:a.height}}function jB(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(u){if(!n.has(u)){var d=t.get(u);d&&o(d)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function BB(e){var t=jB(e);return Gj.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function zB(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function $B(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var XS={placement:"bottom",modifiers:[],strategy:"absolute"};function ZS(){for(var e=arguments.length,t=new Array(e),n=0;n=19?e?.props?.ref||null:e?.ref||null}function UB(e){return typeof e=="function"?e():e}const nk=x.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[a,u]=x.useState(null),d=jn(x.isValidElement(r)?Xu(r):null,n);if(Sr(()=>{i||u(UB(o)||document.body)},[o,i]),Sr(()=>{if(a&&!i)return v0(n,a),()=>{v0(n,null)}},[n,a,i]),i){if(x.isValidElement(r)){const h={ref:d};return x.cloneElement(r,h)}return r}return a&&Fo.createPortal(r,a)});function VB(e){return pt("MuiPopper",e)}ft("MuiPopper",["root"]);function YB(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function C0(e){return typeof e=="function"?e():e}function XB(e){return e.nodeType!==void 0}const ZB=e=>{const{classes:t}=e;return ht({root:["root"]},VB,t)},GB={},KB=x.forwardRef(function(t,n){const{anchorEl:r,children:o,direction:i,disablePortal:a,modifiers:u,open:d,placement:h,popperOptions:p,popperRef:g,slotProps:v={},slots:b={},TransitionProps:w,ownerState:T,...E}=t,R=x.useRef(null),O=jn(R,n),C=x.useRef(null),k=jn(C,g),M=x.useRef(k);Sr(()=>{M.current=k},[k]),x.useImperativeHandle(g,()=>C.current,[]);const D=YB(h,i),[N,z]=x.useState(D),[$,X]=x.useState(C0(r));x.useEffect(()=>{C.current&&C.current.forceUpdate()}),x.useEffect(()=>{r&&X(C0(r))},[r]),Sr(()=>{if(!$||!d)return;const Y=Z=>{z(Z.placement)};let W=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:Z})=>{Y(Z)}}];u!=null&&(W=W.concat(u)),p&&p.modifiers!=null&&(W=W.concat(p.modifiers));const J=WB($,R.current,{placement:D,...p,modifiers:W});return M.current(J),()=>{J.destroy(),M.current(null)}},[$,a,u,d,p,D]);const U={placement:N};w!==null&&(U.TransitionProps=w);const j=ZB(t),q=b.root??"div",H=ir({elementType:q,externalSlotProps:v.root,externalForwardedProps:E,additionalProps:{role:"tooltip",ref:O},ownerState:t,className:j.root});return y.jsx(q,{...H,children:typeof o=="function"?o(U):o})}),qB=x.forwardRef(function(t,n){const{anchorEl:r,children:o,container:i,direction:a="ltr",disablePortal:u=!1,keepMounted:d=!1,modifiers:h,open:p,placement:g="bottom",popperOptions:v=GB,popperRef:b,style:w,transition:T=!1,slotProps:E={},slots:R={},...O}=t,[C,k]=x.useState(!0),M=()=>{k(!1)},D=()=>{k(!0)};if(!d&&!p&&(!T||C))return null;let N;if(i)N=i;else if(r){const X=C0(r);N=X&&XB(X)?Hr(X).body:Hr(null).body}const z=!p&&d&&(!T||C)?"none":void 0,$=T?{in:p,onEnter:M,onExited:D}:void 0;return y.jsx(nk,{disablePortal:u,container:N,children:y.jsx(KB,{anchorEl:r,direction:a,disablePortal:u,modifiers:h,ref:n,open:T?!C:p,placement:g,popperOptions:v,popperRef:b,slotProps:E,slots:R,...O,style:{position:"fixed",top:0,left:0,display:z,...w},TransitionProps:$,children:o})})}),JB=Te(qB,{name:"MuiPopper",slot:"Root"})({}),ey=x.forwardRef(function(t,n){const r=ip(),o=yt({props:t,name:"MuiPopper"}),{anchorEl:i,component:a,components:u,componentsProps:d,container:h,disablePortal:p,keepMounted:g,modifiers:v,open:b,placement:w,popperOptions:T,popperRef:E,transition:R,slots:O,slotProps:C,...k}=o,M=O?.root??u?.Root,D={anchorEl:i,container:h,disablePortal:p,keepMounted:g,modifiers:v,open:b,placement:w,popperOptions:T,popperRef:E,transition:R,...k};return y.jsx(JB,{as:a,direction:r?"rtl":"ltr",slots:{root:M},slotProps:C??d,...D,ref:n})});function QB(e){return pt("MuiListSubheader",e)}ft("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const ez=e=>{const{classes:t,color:n,disableGutters:r,inset:o,disableSticky:i}=e,a={root:["root",n!=="default"&&`color${ke(n)}`,!r&&"gutters",o&&"inset",!i&&"sticky"]};return ht(a,QB,t)},tz=Te("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${ke(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(st(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:72}},{props:({ownerState:t})=>!t.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),R0=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiListSubheader"}),{className:o,color:i="default",component:a="li",disableGutters:u=!1,disableSticky:d=!1,inset:h=!1,...p}=r,g={...r,color:i,component:a,disableGutters:u,disableSticky:d,inset:h},v=ez(g);return y.jsx(tz,{as:a,className:$e(v.root,o),ref:n,ownerState:g,...p})});R0&&(R0.muiSkipListHighlight=!0);const nz=kt(y.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 rz(e){return pt("MuiChip",e)}const Zt=ft("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"]),oz=e=>{const{classes:t,disabled:n,size:r,color:o,iconColor:i,onDelete:a,clickable:u,variant:d}=e,h={root:["root",d,n&&"disabled",`size${ke(r)}`,`color${ke(o)}`,u&&"clickable",u&&`clickableColor${ke(o)}`,a&&"deletable",a&&`deletableColor${ke(o)}`,`${d}${ke(o)}`],label:["label",`label${ke(r)}`],avatar:["avatar",`avatar${ke(r)}`,`avatarColor${ke(o)}`],icon:["icon",`icon${ke(r)}`,`iconColor${ke(i)}`],deleteIcon:["deleteIcon",`deleteIcon${ke(r)}`,`deleteIconColor${ke(o)}`,`deleteIcon${ke(d)}Color${ke(o)}`]};return ht(h,rz,t)},iz=Te("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:o,clickable:i,onDelete:a,size:u,variant:d}=n;return[{[`& .${Zt.avatar}`]:t.avatar},{[`& .${Zt.avatar}`]:t[`avatar${ke(u)}`]},{[`& .${Zt.avatar}`]:t[`avatarColor${ke(r)}`]},{[`& .${Zt.icon}`]:t.icon},{[`& .${Zt.icon}`]:t[`icon${ke(u)}`]},{[`& .${Zt.icon}`]:t[`iconColor${ke(o)}`]},{[`& .${Zt.deleteIcon}`]:t.deleteIcon},{[`& .${Zt.deleteIcon}`]:t[`deleteIcon${ke(u)}`]},{[`& .${Zt.deleteIcon}`]:t[`deleteIconColor${ke(r)}`]},{[`& .${Zt.deleteIcon}`]:t[`deleteIcon${ke(d)}Color${ke(r)}`]},t.root,t[`size${ke(u)}`],t[`color${ke(r)}`],i&&t.clickable,i&&r!=="default"&&t[`clickableColor${ke(r)})`],a&&t.deletable,a&&r!=="default"&&t[`deletableColor${ke(r)}`],t[d],t[`${d}${ke(r)}`]]}})(st(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,lineHeight:1.5,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Zt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Zt.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${Zt.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Zt.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Zt.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Zt.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Zt.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.alpha((e.vars||e).palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.alpha((e.vars||e).palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${Zt.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Zt.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(gr(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${Zt.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${Zt.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${Zt.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Zt.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}},...Object.entries(e.palette).filter(gr(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${Zt.focusVisible}`]:{background:(e.vars||e).palette[n].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)},[`&.${Zt.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(gr(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${Zt.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n].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]}`,[`&.${Zt.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Zt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Zt.avatar}`]:{marginLeft:4},[`& .${Zt.avatarSmall}`]:{marginLeft:2},[`& .${Zt.icon}`]:{marginLeft:4},[`& .${Zt.iconSmall}`]:{marginLeft:2},[`& .${Zt.deleteIcon}`]:{marginRight:5},[`& .${Zt.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(gr()).map(([n])=>({props:{variant:"outlined",color:n},style:{color:(e.vars||e).palette[n].main,border:`1px solid ${e.alpha((e.vars||e).palette[n].main,.7)}`,[`&.${Zt.clickable}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette[n].main,(e.vars||e).palette.action.hoverOpacity)},[`&.${Zt.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[n].main,(e.vars||e).palette.action.focusOpacity)},[`& .${Zt.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),sz=Te("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${ke(r)}`]]}})({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 GS(e){return e.key==="Backspace"||e.key==="Delete"}const Pf=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiChip"}),{avatar:o,className:i,clickable:a,color:u="default",component:d,deleteIcon:h,disabled:p=!1,icon:g,label:v,onClick:b,onDelete:w,onKeyDown:T,onKeyUp:E,size:R="medium",variant:O="filled",tabIndex:C,skipFocusWhenDisabled:k=!1,slots:M={},slotProps:D={},...N}=r,z=x.useRef(null),$=jn(z,n),X=te=>{te.stopPropagation(),w&&w(te)},U=te=>{te.currentTarget===te.target&&GS(te)&&te.preventDefault(),T&&T(te)},j=te=>{te.currentTarget===te.target&&w&&GS(te)&&w(te),E&&E(te)},q=a!==!1&&b?!0:a,H=q||w?qa:d||"div",Y={...r,component:H,disabled:p,size:R,color:u,iconColor:x.isValidElement(g)&&g.props.color||u,onDelete:!!w,clickable:q,variant:O},W=oz(Y),J=H===qa?{component:d||"div",focusVisibleClassName:W.focusVisible,...w&&{disableRipple:!0}}:{};let Z=null;w&&(Z=h&&x.isValidElement(h)?x.cloneElement(h,{className:$e(h.props.className,W.deleteIcon),onClick:X}):y.jsx(nz,{className:W.deleteIcon,onClick:X}));let Q=null;o&&x.isValidElement(o)&&(Q=x.cloneElement(o,{className:$e(W.avatar,o.props.className)}));let ee=null;g&&x.isValidElement(g)&&(ee=x.cloneElement(g,{className:$e(W.icon,g.props.className)}));const F={slots:M,slotProps:D},[G,ue]=Ht("root",{elementType:iz,externalForwardedProps:{...F,...N},ownerState:Y,shouldForwardComponentProp:!0,ref:$,className:$e(W.root,i),additionalProps:{disabled:q&&p?!0:void 0,tabIndex:k&&p?-1:C,...J},getSlotProps:te=>({...te,onClick:pe=>{te.onClick?.(pe),b?.(pe)},onKeyDown:pe=>{te.onKeyDown?.(pe),U(pe)},onKeyUp:pe=>{te.onKeyUp?.(pe),j(pe)}})}),[le,ne]=Ht("label",{elementType:sz,externalForwardedProps:F,ownerState:Y,className:W.label});return y.jsxs(G,{as:H,...ue,children:[Q||ee,y.jsx(le,{...ne,children:v}),Z]})});function qh(e){return parseInt(e,10)||0}const az={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function lz(e){for(const t in e)return!1;return!0}function KS(e){return lz(e)||e.outerHeightStyle===0&&!e.overflowing}const cz=x.forwardRef(function(t,n){const{onChange:r,maxRows:o,minRows:i=1,style:a,value:u,...d}=t,{current:h}=x.useRef(u!=null),p=x.useRef(null),g=jn(n,p),v=x.useRef(null),b=x.useRef(null),w=x.useCallback(()=>{const C=p.current,k=b.current;if(!C||!k)return;const D=ra(C).getComputedStyle(C);if(D.width==="0px")return{outerHeightStyle:0,overflowing:!1};k.style.width=D.width,k.value=C.value||t.placeholder||"x",k.value.slice(-1)===` +`&&(k.value+=" ");const N=D.boxSizing,z=qh(D.paddingBottom)+qh(D.paddingTop),$=qh(D.borderBottomWidth)+qh(D.borderTopWidth),X=k.scrollHeight;k.value="x";const U=k.scrollHeight;let j=X;i&&(j=Math.max(Number(i)*U,j)),o&&(j=Math.min(Number(o)*U,j)),j=Math.max(j,U);const q=j+(N==="border-box"?z+$:0),H=Math.abs(j-X)<=1;return{outerHeightStyle:q,overflowing:H}},[o,i,t.placeholder]),T=pn(()=>{const C=p.current,k=w();if(!C||!k||KS(k))return!1;const M=k.outerHeightStyle;return v.current!=null&&v.current!==M}),E=x.useCallback(()=>{const C=p.current,k=w();if(!C||!k||KS(k))return;const M=k.outerHeightStyle;v.current!==M&&(v.current=M,C.style.height=`${M}px`),C.style.overflow=k.overflowing?"hidden":""},[w]),R=x.useRef(-1);Sr(()=>{const C=BR(E),k=p?.current;if(!k)return;const M=ra(k);M.addEventListener("resize",C);let D;return typeof ResizeObserver<"u"&&(D=new ResizeObserver(()=>{T()&&(D.unobserve(k),cancelAnimationFrame(R.current),E(),R.current=requestAnimationFrame(()=>{D.observe(k)}))}),D.observe(k)),()=>{C.clear(),cancelAnimationFrame(R.current),M.removeEventListener("resize",C),D&&D.disconnect()}},[w,E,T]),Sr(()=>{E()});const O=C=>{h||E();const k=C.target,M=k.value.length,D=k.value.endsWith(` +`),N=k.selectionStart===M;D&&N&&k.setSelectionRange(M,M),r&&r(C)};return y.jsxs(x.Fragment,{children:[y.jsx("textarea",{value:u,onChange:O,ref:g,rows:i,style:a,...d}),y.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:b,tabIndex:-1,style:{...az.shadow,...a,paddingTop:0,paddingBottom:0}})]})});function rl({props:e,states:t,muiFormControl:n}){return t.reduce((r,o)=>(r[o]=e[o],n&&typeof e[o]>"u"&&(r[o]=n[o]),r),{})}const ty=x.createContext(void 0);function vs(){return x.useContext(ty)}function qS(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function ig(e,t=!1){return e&&(qS(e.value)&&e.value!==""||t&&qS(e.defaultValue)&&e.defaultValue!=="")}function uz(e){return e.startAdornment}function dz(e){return pt("MuiInputBase",e)}const jo=ft("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var JS;const ny=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${ke(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},ry=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},fz=e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:u,fullWidth:d,hiddenLabel:h,multiline:p,readOnly:g,size:v,startAdornment:b,type:w}=e,T={root:["root",`color${ke(n)}`,r&&"disabled",o&&"error",d&&"fullWidth",a&&"focused",u&&"formControl",v&&v!=="medium"&&`size${ke(v)}`,p&&"multiline",b&&"adornedStart",i&&"adornedEnd",h&&"hiddenLabel",g&&"readOnly"],input:["input",r&&"disabled",w==="search"&&"inputTypeSearch",p&&"inputMultiline",v==="small"&&"inputSizeSmall",h&&"inputHiddenLabel",b&&"inputAdornedStart",i&&"inputAdornedEnd",g&&"readOnly"]};return ht(T,dz,t)},oy=Te("div",{name:"MuiInputBase",slot:"Root",overridesResolver:ny})(st(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${jo.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),iy=Te("input",{name:"MuiInputBase",slot:"Input",overridesResolver:ry})(st(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${jo.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${jo.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:i})=>!i.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:i})=>i.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),QS=$b({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),sy=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:a,className:u,color:d,components:h={},componentsProps:p={},defaultValue:g,disabled:v,disableInjectingGlobalStyles:b,endAdornment:w,error:T,fullWidth:E=!1,id:R,inputComponent:O="input",inputProps:C={},inputRef:k,margin:M,maxRows:D,minRows:N,multiline:z=!1,name:$,onBlur:X,onChange:U,onClick:j,onFocus:q,onKeyDown:H,onKeyUp:Y,placeholder:W,readOnly:J,renderSuffix:Z,rows:Q,size:ee,slotProps:F={},slots:G={},startAdornment:ue,type:le="text",value:ne,...te}=r,pe=C.value!=null?C.value:ne,{current:re}=x.useRef(pe!=null),se=x.useRef(),ie=x.useCallback(je=>{},[]),ce=jn(se,k,C.ref,ie),[fe,ye]=x.useState(!1),Ee=vs(),Me=rl({props:r,muiFormControl:Ee,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Me.focused=Ee?Ee.focused:fe,x.useEffect(()=>{!Ee&&v&&fe&&(ye(!1),X&&X())},[Ee,v,fe,X]);const Ue=Ee&&Ee.onFilled,Ve=Ee&&Ee.onEmpty,Le=x.useCallback(je=>{ig(je)?Ue&&Ue():Ve&&Ve()},[Ue,Ve]);Sr(()=>{re&&Le({value:pe})},[pe,Le,re]);const at=je=>{q&&q(je),C.onFocus&&C.onFocus(je),Ee&&Ee.onFocus?Ee.onFocus(je):ye(!0)},Be=je=>{X&&X(je),C.onBlur&&C.onBlur(je),Ee&&Ee.onBlur?Ee.onBlur(je):ye(!1)},et=(je,...Nt)=>{if(!re){const Ot=je.target||se.current;if(Ot==null)throw new Error(na(1));Le({value:Ot.value})}C.onChange&&C.onChange(je,...Nt),U&&U(je,...Nt)};x.useEffect(()=>{Le(se.current)},[]);const He=je=>{se.current&&je.currentTarget===je.target&&se.current.focus(),j&&j(je)};let jt=O,vt=C;z&&jt==="input"&&(Q?vt={type:void 0,minRows:Q,maxRows:Q,...vt}:vt={type:void 0,maxRows:D,minRows:N,...vt},jt=cz);const Ie=je=>{Le(je.animationName==="mui-auto-fill-cancel"?se.current:{value:"x"})};x.useEffect(()=>{Ee&&Ee.setAdornedStart(!!ue)},[Ee,ue]);const Re={...r,color:Me.color||"primary",disabled:Me.disabled,endAdornment:w,error:Me.error,focused:Me.focused,formControl:Ee,fullWidth:E,hiddenLabel:Me.hiddenLabel,multiline:z,size:Me.size,startAdornment:ue,type:le},Ne=fz(Re),Ye=G.root||h.Root||oy,Ze=F.root||p.root||{},Xe=G.input||h.Input||iy;return vt={...vt,...F.input??p.input},y.jsxs(x.Fragment,{children:[!b&&typeof QS=="function"&&(JS||(JS=y.jsx(QS,{}))),y.jsxs(Ye,{...Ze,ref:n,onClick:He,...te,...!Ya(Ye)&&{ownerState:{...Re,...Ze.ownerState}},className:$e(Ne.root,Ze.className,u,J&&"MuiInputBase-readOnly"),children:[ue,y.jsx(ty.Provider,{value:null,children:y.jsx(Xe,{"aria-invalid":Me.error,"aria-describedby":o,autoComplete:i,autoFocus:a,defaultValue:g,disabled:Me.disabled,id:R,onAnimationStart:Ie,name:$,placeholder:W,readOnly:J,required:Me.required,rows:Q,value:pe,onKeyDown:H,onKeyUp:Y,type:le,...vt,...!Ya(Xe)&&{as:jt,ownerState:{...Re,...vt.ownerState}},ref:ce,className:$e(Ne.input,vt.className,J&&"MuiInputBase-readOnly"),onBlur:Be,onChange:et,onFocus:at})}),w,Z?Z({...Me,startAdornment:ue}):null]})]})});function pz(e){return pt("MuiInput",e)}const Wa={...jo,...ft("MuiInput",["root","underline","input"])};function hz(e){return pt("MuiOutlinedInput",e)}const li={...jo,...ft("MuiOutlinedInput",["root","notchedOutline","input"])};function mz(e){return pt("MuiFilledInput",e)}const Bo={...jo,...ft("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},rk=kt(y.jsx("path",{d:"M7 10l5 5 5-5z"}));function gz(e){return pt("MuiAutocomplete",e)}const Ut=ft("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var eT,tT;const yz=e=>{const{classes:t,disablePortal:n,expanded:r,focused:o,fullWidth:i,hasClearIcon:a,hasPopupIcon:u,inputFocused:d,popupOpen:h,size:p}=e,g={root:["root",r&&"expanded",o&&"focused",i&&"fullWidth",a&&"hasClearIcon",u&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",d&&"inputFocused"],tag:["tag",`tagSize${ke(p)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",h&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return ht(g,gz,t)},vz=Te("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:o,hasPopupIcon:i,inputFocused:a,size:u}=n;return[{[`& .${Ut.tag}`]:t.tag},{[`& .${Ut.tag}`]:t[`tagSize${ke(u)}`]},{[`& .${Ut.inputRoot}`]:t.inputRoot},{[`& .${Ut.input}`]:t.input},{[`& .${Ut.input}`]:a&&t.inputFocused},t.root,r&&t.fullWidth,i&&t.hasPopupIcon,o&&t.hasClearIcon]}})({[`&.${Ut.focused} .${Ut.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Ut.clearIndicator}`]:{visibility:"visible"}},[`& .${Ut.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Ut.inputRoot}`]:{[`.${Ut.hasPopupIcon}&, .${Ut.hasClearIcon}&`]:{paddingRight:30},[`.${Ut.hasPopupIcon}.${Ut.hasClearIcon}&`]:{paddingRight:56},[`& .${Ut.input}`]:{width:0,minWidth:30}},[`& .${Wa.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Wa.root}.${jo.sizeSmall}`]:{[`& .${Wa.input}`]:{padding:"2px 4px 3px 0"}},[`& .${li.root}`]:{padding:9,[`.${Ut.hasPopupIcon}&, .${Ut.hasClearIcon}&`]:{paddingRight:39},[`.${Ut.hasPopupIcon}.${Ut.hasClearIcon}&`]:{paddingRight:65},[`& .${Ut.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Ut.endAdornment}`]:{right:9}},[`& .${li.root}.${jo.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Ut.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Bo.root}`]:{paddingTop:19,paddingLeft:8,[`.${Ut.hasPopupIcon}&, .${Ut.hasClearIcon}&`]:{paddingRight:39},[`.${Ut.hasPopupIcon}.${Ut.hasClearIcon}&`]:{paddingRight:65},[`& .${Bo.input}`]:{padding:"7px 4px"},[`& .${Ut.endAdornment}`]:{right:9}},[`& .${Bo.root}.${jo.sizeSmall}`]:{paddingBottom:1,[`& .${Bo.input}`]:{padding:"2.5px 4px"}},[`& .${jo.hiddenLabel}`]:{paddingTop:8},[`& .${Bo.root}.${jo.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Ut.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Bo.root}.${jo.hiddenLabel}.${jo.sizeSmall}`]:{[`& .${Ut.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Ut.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Ut.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Ut.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Ut.inputRoot}`]:{flexWrap:"wrap"}}}]}),xz=Te("div",{name:"MuiAutocomplete",slot:"EndAdornment"})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),bz=Te(Uo,{name:"MuiAutocomplete",slot:"ClearIndicator"})({marginRight:-2,padding:4,visibility:"hidden"}),_z=Te(Uo,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popupIndicator,n.popupOpen&&t.popupIndicatorOpen]}})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),wz=Te(ey,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ut.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(st(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),Sz=Te(Wo,{name:"MuiAutocomplete",slot:"Paper"})(st(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),Tz=Te("div",{name:"MuiAutocomplete",slot:"Loading"})(st(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),Ez=Te("div",{name:"MuiAutocomplete",slot:"NoOptions"})(st(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),Cz=Te("ul",{name:"MuiAutocomplete",slot:"Listbox"})(st(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Ut.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${Ut.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Ut.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${Ut.focused}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Ut.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}}}))),Rz=Te(R0,{name:"MuiAutocomplete",slot:"GroupLabel"})(st(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),kz=Te("ul",{name:"MuiAutocomplete",slot:"GroupUl"})({padding:0,[`& .${Ut.option}`]:{paddingLeft:24}}),qb=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiAutocomplete"}),{autoComplete:o=!1,autoHighlight:i=!1,autoSelect:a=!1,blurOnSelect:u=!1,ChipProps:d,className:h,clearIcon:p=eT||(eT=y.jsx(wj,{fontSize:"small"})),clearOnBlur:g=!r.freeSolo,clearOnEscape:v=!1,clearText:b="Clear",closeText:w="Close",componentsProps:T,defaultValue:E=r.multiple?[]:null,disableClearable:R=!1,disableCloseOnSelect:O=!1,disabled:C=!1,disabledItemsFocusable:k=!1,disableListWrap:M=!1,disablePortal:D=!1,filterOptions:N,filterSelectedOptions:z=!1,forcePopupIcon:$="auto",freeSolo:X=!1,fullWidth:U=!1,getLimitTagsText:j=zt=>`+${zt}`,getOptionDisabled:q,getOptionKey:H,getOptionLabel:Y,isOptionEqualToValue:W,groupBy:J,handleHomeEndKeys:Z=!r.freeSolo,id:Q,includeInputInList:ee=!1,inputValue:F,limitTags:G=-1,ListboxComponent:ue,ListboxProps:le,loading:ne=!1,loadingText:te="Loading…",multiple:pe=!1,noOptionsText:re="No options",onChange:se,onClose:ie,onHighlightChange:ce,onInputChange:fe,onOpen:ye,open:Ee,openOnFocus:Me=!1,openText:Ue="Open",options:Ve,PaperComponent:Le,PopperComponent:at,popupIcon:Be=tT||(tT=y.jsx(rk,{})),readOnly:et=!1,renderGroup:He,renderInput:jt,renderOption:vt,renderTags:Ie,renderValue:Re,selectOnFocus:Ne=!r.freeSolo,size:Ye="medium",slots:Ze={},slotProps:Xe={},value:je,...Nt}=r,{getRootProps:Ot,getInputProps:$t,getInputLabelProps:Je,getPopupIndicatorProps:bt,getClearProps:Rt,getItemProps:hn,getListboxProps:qn,getOptionProps:Jn,value:kn,dirty:ct,expanded:It,id:Gt,popupOpen:on,focused:Wt,focusedItem:ot,anchorEl:Jt,setAnchorEl:dr,inputValue:an,groupedOptions:Un}=jj({...r,componentName:"Autocomplete"}),En=!R&&!C&&ct&&!et,ar=(!X||$===!0)&&$!==!1,{onMouseDown:xn}=$t(),{ref:qe,...Qn}=qn(),Wr=Y||(zt=>zt.label??zt),In={...r,disablePortal:D,expanded:It,focused:Wt,fullWidth:U,getOptionLabel:Wr,hasClearIcon:En,hasPopupIcon:ar,inputFocused:ot===-1,popupOpen:on,size:Ye},Ln=yz(In),er={slots:{paper:Le,popper:at,...Ze},slotProps:{chip:d,listbox:le,...T,...Xe}},[Ur,uo]=Ht("listbox",{elementType:Cz,externalForwardedProps:er,ownerState:In,className:Ln.listbox,additionalProps:Qn,ref:qe}),[Hi,Se]=Ht("paper",{elementType:Wo,externalForwardedProps:er,ownerState:In,className:Ln.paper}),[we,Ge]=Ht("popper",{elementType:ey,externalForwardedProps:er,ownerState:In,className:Ln.popper,additionalProps:{disablePortal:D,style:{width:Jt?Jt.clientWidth:null},role:"presentation",anchorEl:Jt,open:on}});let mt;const Et=zt=>({className:Ln.tag,disabled:C,...hn(zt)});if(pe?kn.length>0&&(Ie?mt=Ie(kn,Et,In):Re?mt=Re(kn,Et,In):mt=kn.map((zt,Er)=>{const{key:Mn,...to}=Et({index:Er});return y.jsx(Pf,{label:Wr(zt),size:Ye,...to,...er.slotProps.chip},Mn)})):Re&&kn!=null&&(mt=Re(kn,Et,In)),G>-1&&Array.isArray(mt)){const zt=mt.length-G;!Wt&&zt>0&&(mt=mt.splice(0,G),mt.push(y.jsx("span",{className:Ln.tag,children:j(zt)},mt.length)))}const Mt=He||(zt=>y.jsxs("li",{children:[y.jsx(Rz,{className:Ln.groupLabel,ownerState:In,component:"div",children:zt.group}),y.jsx(kz,{className:Ln.groupUl,ownerState:In,children:zt.children})]},zt.key)),Xo=vt||((zt,Er)=>{const{key:Mn,...to}=zt;return y.jsx("li",{...to,children:Wr(Er)},Mn)}),_s=(zt,Er)=>{const Mn=Jn({option:zt,index:Er});return Xo({...Mn,className:Ln.option},zt,{selected:Mn["aria-selected"],index:Er,inputValue:an},In)},xi=er.slotProps.clearIndicator,Wi=er.slotProps.popupIndicator;return y.jsxs(x.Fragment,{children:[y.jsx(vz,{ref:n,className:$e(Ln.root,h),ownerState:In,...Ot(Nt),children:jt({id:Gt,disabled:C,fullWidth:!0,size:Ye==="small"?"small":void 0,InputLabelProps:Je(),InputProps:{ref:dr,className:Ln.inputRoot,startAdornment:mt,onMouseDown:zt=>{zt.target===zt.currentTarget&&xn(zt)},...(En||ar)&&{endAdornment:y.jsxs(xz,{className:Ln.endAdornment,ownerState:In,children:[En?y.jsx(bz,{...Rt(),"aria-label":b,title:b,ownerState:In,...xi,className:$e(Ln.clearIndicator,xi?.className),children:p}):null,ar?y.jsx(_z,{...bt(),disabled:C,"aria-label":on?w:Ue,title:on?w:Ue,ownerState:In,...Wi,className:$e(Ln.popupIndicator,Wi?.className),children:Be}):null]})}},inputProps:{className:Ln.input,disabled:C,readOnly:et,...$t()}})}),Jt?y.jsx(wz,{as:we,...Ge,children:y.jsxs(Sz,{as:Hi,...Se,children:[ne&&Un.length===0?y.jsx(Tz,{className:Ln.loading,ownerState:In,children:te}):null,Un.length===0&&!X&&!ne?y.jsx(Ez,{className:Ln.noOptions,ownerState:In,role:"presentation",onMouseDown:zt=>{zt.preventDefault()},children:re}):null,Un.length>0?y.jsx(Ur,{as:ue,...uo,children:Un.map((zt,Er)=>J?Mt({key:zt.key,group:zt.group,children:zt.options.map((Mn,to)=>_s(Mn,zt.index+to))}):_s(zt,Er))}):null]})}):null]})}),Iz={entering:{opacity:1},entered:{opacity:1}},k0=x.forwardRef(function(t,n){const r=oc(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:u,easing:d,in:h,onEnter:p,onEntered:g,onEntering:v,onExit:b,onExited:w,onExiting:T,style:E,timeout:R=o,TransitionComponent:O=$i,...C}=t,k=x.useRef(null),M=jn(k,Xu(u),n),D=H=>Y=>{if(H){const W=k.current;Y===void 0?H(W):H(W,Y)}},N=D(v),z=D((H,Y)=>{WR(H);const W=Tu({style:E,timeout:R,easing:d},{mode:"enter"});H.style.webkitTransition=r.transitions.create("opacity",W),H.style.transition=r.transitions.create("opacity",W),p&&p(H,Y)}),$=D(g),X=D(T),U=D(H=>{const Y=Tu({style:E,timeout:R,easing:d},{mode:"exit"});H.style.webkitTransition=r.transitions.create("opacity",Y),H.style.transition=r.transitions.create("opacity",Y),b&&b(H)}),j=D(w),q=H=>{i&&i(k.current,H)};return y.jsx(O,{appear:a,in:h,nodeRef:k,onEnter:z,onEntered:$,onEntering:N,onExit:U,onExited:j,onExiting:X,addEndListener:q,timeout:R,...C,children:(H,{ownerState:Y,...W})=>x.cloneElement(u,{style:{opacity:0,visibility:H==="exited"&&!h?"hidden":void 0,...Iz[H],...E,...u.props.style},ref:M,...W})})});function Lz(e){return pt("MuiBackdrop",e)}ft("MuiBackdrop",["root","invisible"]);const Pz=e=>{const{classes:t,invisible:n}=e;return ht({root:["root",n&&"invisible"]},Lz,t)},Oz=Te("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),ok=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiBackdrop"}),{children:o,className:i,component:a="div",invisible:u=!1,open:d,components:h={},componentsProps:p={},slotProps:g={},slots:v={},TransitionComponent:b,transitionDuration:w,...T}=r,E={...r,component:a,invisible:u},R=Pz(E),O={transition:b,root:h.Root,...v},C={...p,...g},k={component:a,slots:O,slotProps:C},[M,D]=Ht("root",{elementType:Oz,externalForwardedProps:k,className:$e(R.root,i),ownerState:E}),[N,z]=Ht("transition",{elementType:k0,externalForwardedProps:k,ownerState:E});return y.jsx(N,{in:d,timeout:w,...T,...z,children:y.jsx(M,{"aria-hidden":!0,...D,classes:R,ref:n,children:o})})}),Mz=ft("MuiBox",["root"]),Az=tl(),vn=xA({themeId:Di,defaultTheme:Az,defaultClassName:Mz.root,generateClassName:vR.generate});function Nz(e){return pt("MuiButton",e)}const Ll=ft("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"]),Dz=x.createContext({}),jz=x.createContext(void 0),Bz=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,loading:a,loadingPosition:u,classes:d}=e,h={root:["root",a&&"loading",i,`${i}${ke(t)}`,`size${ke(o)}`,`${i}Size${ke(o)}`,`color${ke(t)}`,n&&"disableElevation",r&&"fullWidth",a&&`loadingPosition${ke(u)}`],startIcon:["icon","startIcon",`iconSize${ke(o)}`],endIcon:["icon","endIcon",`iconSize${ke(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},p=ht(h,Nz,d);return{...d,...p}},ik=[{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}}}],zz=Te(qa,{shouldForwardProp:e=>co(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ke(n.color)}`],t[`size${ke(n.size)}`],t[`${n.variant}Size${ke(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(st(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=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"},[`&.${Ll.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]},[`&.${Ll.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Ll.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)",[`&.${Ll.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(gr()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Ll.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Ll.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}),[`&.${Ll.loading}`]:{color:"transparent"}}}]}})),$z=Te("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${ke(n.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}},...ik]})),Fz=Te("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${ke(n.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}},...ik]})),Hz=Te("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}}]})),nT=Te("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),gi=x.forwardRef(function(t,n){const r=x.useContext(Dz),o=x.useContext(jz),i=Su(r,t),a=yt({props:i,name:"MuiButton"}),{children:u,color:d="primary",component:h="button",className:p,disabled:g=!1,disableElevation:v=!1,disableFocusRipple:b=!1,endIcon:w,focusVisibleClassName:T,fullWidth:E=!1,id:R,loading:O=null,loadingIndicator:C,loadingPosition:k="center",size:M="medium",startIcon:D,type:N,variant:z="text",...$}=a,X=el(R),U=C??y.jsx(Yu,{"aria-labelledby":X,color:"inherit",size:16}),j={...a,color:d,component:h,disabled:g,disableElevation:v,disableFocusRipple:b,fullWidth:E,loading:O,loadingIndicator:U,loadingPosition:k,size:M,type:N,variant:z},q=Bz(j),H=(D||O&&k==="start")&&y.jsx($z,{className:q.startIcon,ownerState:j,children:D||y.jsx(nT,{className:q.loadingIconPlaceholder,ownerState:j})}),Y=(w||O&&k==="end")&&y.jsx(Fz,{className:q.endIcon,ownerState:j,children:w||y.jsx(nT,{className:q.loadingIconPlaceholder,ownerState:j})}),W=o||"",J=typeof O=="boolean"?y.jsx("span",{className:q.loadingWrapper,style:{display:"contents"},children:O&&y.jsx(Hz,{className:q.loadingIndicator,ownerState:j,children:U})}):null;return y.jsxs(zz,{ownerState:j,className:$e(r.className,q.root,p,W),component:h,disabled:g||O,focusRipple:!b,focusVisibleClassName:$e(q.focusVisible,T),ref:n,type:N,id:O?X:R,...$,classes:q,children:[H,k!=="end"&&J,u,k==="end"&&J,Y]})});function Wz(e){return x.Children.toArray(e).filter(t=>x.isValidElement(t))}function Uz(e){return pt("PrivateSwitchBase",e)}ft("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const Vz=e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,i={root:["root",n&&"checked",r&&"disabled",o&&`edge${ke(o)}`],input:["input"]};return ht(i,Uz,t)},Yz=Te(qa,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),Xz=Te("input",{name:"MuiSwitchBase",shouldForwardProp:co})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Zz=x.forwardRef(function(t,n){const{autoFocus:r,checked:o,checkedIcon:i,defaultChecked:a,disabled:u,disableFocusRipple:d=!1,edge:h=!1,icon:p,id:g,inputProps:v,inputRef:b,name:w,onBlur:T,onChange:E,onFocus:R,readOnly:O,required:C=!1,tabIndex:k,type:M,value:D,slots:N={},slotProps:z={},...$}=t,[X,U]=ea({controlled:o,default:!!a,name:"SwitchBase",state:"checked"}),j=vs(),q=ne=>{R&&R(ne),j&&j.onFocus&&j.onFocus(ne)},H=ne=>{T&&T(ne),j&&j.onBlur&&j.onBlur(ne)},Y=ne=>{if(ne.nativeEvent.defaultPrevented)return;const te=ne.target.checked;U(te),E&&E(ne,te)};let W=u;j&&typeof W>"u"&&(W=j.disabled);const J=M==="checkbox"||M==="radio",Z={...t,checked:X,disabled:W,disableFocusRipple:d,edge:h},Q=Vz(Z),ee={slots:N,slotProps:{input:v,...z}},[F,G]=Ht("root",{ref:n,elementType:Yz,className:Q.root,shouldForwardComponentProp:!0,externalForwardedProps:{...ee,component:"span",...$},getSlotProps:ne=>({...ne,onFocus:te=>{ne.onFocus?.(te),q(te)},onBlur:te=>{ne.onBlur?.(te),H(te)}}),ownerState:Z,additionalProps:{centerRipple:!0,focusRipple:!d,disabled:W,role:void 0,tabIndex:null}}),[ue,le]=Ht("input",{ref:b,elementType:Xz,className:Q.input,externalForwardedProps:ee,getSlotProps:ne=>({...ne,onChange:te=>{ne.onChange?.(te),Y(te)}}),ownerState:Z,additionalProps:{autoFocus:r,checked:o,defaultChecked:a,disabled:W,id:J?g:void 0,name:w,readOnly:O,required:C,tabIndex:k,type:M,...M==="checkbox"&&D===void 0?{}:{value:D}}});return y.jsxs(F,{...G,children:[y.jsx(ue,{...le}),X?i:p]})}),Gz=kt(y.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"})),Kz=kt(y.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})),qz=kt(y.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}));function Jz(e){return pt("MuiCheckbox",e)}const gx=ft("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Qz=e=>{const{classes:t,indeterminate:n,color:r,size:o}=e,i={root:["root",n&&"indeterminate",`color${ke(r)}`,`size${ke(o)}`]},a=ht(i,Jz,t);return{...t,...a}},e$=Te(Zz,{shouldForwardProp:e=>co(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${ke(n.size)}`],n.color!=="default"&&t[`color${ke(n.color)}`]]}})(st(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(gr()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(gr()).map(([t])=>({props:{color:t},style:{[`&.${gx.checked}, &.${gx.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${gx.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),t$=y.jsx(Kz,{}),n$=y.jsx(Gz,{}),r$=y.jsx(qz,{}),sk=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiCheckbox"}),{checkedIcon:o=t$,color:i="primary",icon:a=n$,indeterminate:u=!1,indeterminateIcon:d=r$,inputProps:h,size:p="medium",disableRipple:g=!1,className:v,slots:b={},slotProps:w={},...T}=r,E=u?d:a,R=u?d:o,O={...r,disableRipple:g,color:i,indeterminate:u,size:p},C=Qz(O),k=w.input??h,[M,D]=Ht("root",{ref:n,elementType:e$,className:$e(C.root,v),shouldForwardComponentProp:!0,externalForwardedProps:{slots:b,slotProps:w,...T},ownerState:O,additionalProps:{type:"checkbox",icon:x.cloneElement(E,{fontSize:E.props.fontSize??p}),checkedIcon:x.cloneElement(R,{fontSize:R.props.fontSize??p}),disableRipple:g,slots:b,slotProps:{input:zR(typeof k=="function"?k(O):k,{"data-indeterminate":u})}}});return y.jsx(M,{...D,classes:C})}),I0=typeof $b({})=="function",o$=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),i$=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}}),ak=(e,t=!1)=>{const n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([i,a])=>{const u=e.getColorSchemeSelector(i);u.startsWith("@")?n[u]={":root":{colorScheme:a.palette?.mode}}:n[u.replace(/\s*&/,"")]={colorScheme:a.palette?.mode}});let r={html:o$(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...i$(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n};const o=e.components?.MuiCssBaseline?.styleOverrides;return o&&(r=[r,o]),r},Mm="mui-ecs",s$=e=>{const t=ak(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${Mm})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([r,o])=>{const i=e.getColorSchemeSelector(r);i.startsWith("@")?n[i]={[`:root:not(:has(.${Mm}))`]:{colorScheme:o.palette?.mode}}:n[i.replace(/\s*&/,"")]={[`&:not(:has(.${Mm}))`]:{colorScheme:o.palette?.mode}}}),t},a$=$b(I0?({theme:e,enableColorScheme:t})=>ak(e,t):({theme:e})=>s$(e));function l$(e){const t=yt({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return y.jsxs(x.Fragment,{children:[I0&&y.jsx(a$,{enableColorScheme:r}),!I0&&!r&&y.jsx("span",{className:Mm,style:{display:"none"}}),n]})}function lk(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function c$(e){const t=Hr(e);return t.body===e?ra(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function mf(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function rT(e){return parseInt(ra(e).getComputedStyle(e).paddingRight,10)||0}function u$(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function oT(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,a=>{const u=!i.includes(a),d=!u$(a);u&&d&&mf(a,o)})}function yx(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function d$(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(c$(r)){const a=lk(ra(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${rT(r)+a}px`;const u=Hr(r).querySelectorAll(".mui-fixed");[].forEach.call(u,d=>{n.push({value:d.style.paddingRight,property:"padding-right",el:d}),d.style.paddingRight=`${rT(d)+a}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=Hr(r).body;else{const a=r.parentElement,u=ra(r);i=a?.nodeName==="HTML"&&u.getComputedStyle(a).overflowY==="scroll"?a:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:a,property:u})=>{i?a.style.setProperty(u,i):a.style.removeProperty(u)})}}function f$(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class p${constructor(){this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&mf(t.modalRef,!1);const o=f$(n);oT(n,t.mount,t.modalRef,o,!0);const i=yx(this.containers,a=>a.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=yx(this.containers,i=>i.modals.includes(t)),o=this.containers[r];o.restore||(o.restore=d$(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=yx(this.containers,a=>a.modals.includes(t)),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&mf(t.modalRef,n),oT(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const a=i.modals[i.modals.length-1];a.modalRef&&mf(a.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const h$=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function m$(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function g$(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function y$(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||g$(e))}function v$(e){const t=[],n=[];return Array.from(e.querySelectorAll(h$)).forEach((r,o)=>{const i=m$(r);i===-1||!y$(r)||(i===0?t.push(r):n.push({documentOrder:o,tabIndex:i,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function x$(){return!0}function b$(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=v$,isEnabled:a=x$,open:u}=e,d=x.useRef(!1),h=x.useRef(null),p=x.useRef(null),g=x.useRef(null),v=x.useRef(null),b=x.useRef(!1),w=x.useRef(null),T=jn(Xu(t),w),E=x.useRef(null);x.useEffect(()=>{!u||!w.current||(b.current=!n)},[n,u]),x.useEffect(()=>{if(!u||!w.current)return;const C=Hr(w.current);return w.current.contains(C.activeElement)||(w.current.hasAttribute("tabIndex")||w.current.setAttribute("tabIndex","-1"),b.current&&w.current.focus()),()=>{o||(g.current&&g.current.focus&&(d.current=!0,g.current.focus()),g.current=null)}},[u]),x.useEffect(()=>{if(!u||!w.current)return;const C=Hr(w.current),k=N=>{E.current=N,!(r||!a()||N.key!=="Tab")&&C.activeElement===w.current&&N.shiftKey&&(d.current=!0,p.current&&p.current.focus())},M=()=>{const N=w.current;if(N===null)return;if(!C.hasFocus()||!a()||d.current){d.current=!1;return}if(N.contains(C.activeElement)||r&&C.activeElement!==h.current&&C.activeElement!==p.current)return;if(C.activeElement!==v.current)v.current=null;else if(v.current!==null)return;if(!b.current)return;let z=[];if((C.activeElement===h.current||C.activeElement===p.current)&&(z=i(w.current)),z.length>0){const $=!!(E.current?.shiftKey&&E.current?.key==="Tab"),X=z[0],U=z[z.length-1];typeof X!="string"&&typeof U!="string"&&($?U.focus():X.focus())}else N.focus()};C.addEventListener("focusin",M),C.addEventListener("keydown",k,!0);const D=setInterval(()=>{C.activeElement&&C.activeElement.tagName==="BODY"&&M()},50);return()=>{clearInterval(D),C.removeEventListener("focusin",M),C.removeEventListener("keydown",k,!0)}},[n,r,o,a,u,i]);const R=C=>{g.current===null&&(g.current=C.relatedTarget),b.current=!0,v.current=C.target;const k=t.props.onFocus;k&&k(C)},O=C=>{g.current===null&&(g.current=C.relatedTarget),b.current=!0};return y.jsxs(x.Fragment,{children:[y.jsx("div",{tabIndex:u?0:-1,onFocus:O,ref:h,"data-testid":"sentinelStart"}),x.cloneElement(t,{ref:T,onFocus:R}),y.jsx("div",{tabIndex:u?0:-1,onFocus:O,ref:p,"data-testid":"sentinelEnd"})]})}function _$(e){return typeof e=="function"?e():e}function w$(e){return e?e.props.hasOwnProperty("in"):!1}const iT=()=>{},Jh=new p$;function S$(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:o=!1,onTransitionEnter:i,onTransitionExited:a,children:u,onClose:d,open:h,rootRef:p}=e,g=x.useRef({}),v=x.useRef(null),b=x.useRef(null),w=jn(b,p),[T,E]=x.useState(!h),R=w$(u);let O=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(O=!1);const C=()=>Hr(v.current),k=()=>(g.current.modalRef=b.current,g.current.mount=v.current,g.current),M=()=>{Jh.mount(k(),{disableScrollLock:r}),b.current&&(b.current.scrollTop=0)},D=pn(()=>{const Y=_$(t)||C().body;Jh.add(k(),Y),b.current&&M()}),N=()=>Jh.isTopModal(k()),z=pn(Y=>{v.current=Y,Y&&(h&&N()?M():b.current&&mf(b.current,O))}),$=x.useCallback(()=>{Jh.remove(k(),O)},[O]);x.useEffect(()=>()=>{$()},[$]),x.useEffect(()=>{h?D():(!R||!o)&&$()},[h,$,R,o,D]);const X=Y=>W=>{Y.onKeyDown?.(W),!(W.key!=="Escape"||W.which===229||!N())&&(n||(W.stopPropagation(),d&&d(W,"escapeKeyDown")))},U=Y=>W=>{Y.onClick?.(W),W.target===W.currentTarget&&d&&d(W,"backdropClick")};return{getRootProps:(Y={})=>{const W=Jr(e);delete W.onTransitionEnter,delete W.onTransitionExited;const J={...W,...Y};return{role:"presentation",...J,onKeyDown:X(J),ref:w}},getBackdropProps:(Y={})=>{const W=Y;return{"aria-hidden":!0,...W,onClick:U(W),open:h}},getTransitionProps:()=>{const Y=()=>{E(!1),i&&i()},W=()=>{E(!0),a&&a(),o&&$()};return{onEnter:ES(Y,u?.props.onEnter??iT),onExited:ES(W,u?.props.onExited??iT)}},rootRef:w,portalRef:z,isTopModal:N,exited:T,hasTransition:R}}function T$(e){return pt("MuiModal",e)}ft("MuiModal",["root","hidden","backdrop"]);const E$=e=>{const{open:t,exited:n,classes:r}=e;return ht({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},T$,r)},C$=Te("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(st(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),R$=Te(ok,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),ck=x.forwardRef(function(t,n){const r=yt({name:"MuiModal",props:t}),{BackdropComponent:o=R$,BackdropProps:i,classes:a,className:u,closeAfterTransition:d=!1,children:h,container:p,component:g,components:v={},componentsProps:b={},disableAutoFocus:w=!1,disableEnforceFocus:T=!1,disableEscapeKeyDown:E=!1,disablePortal:R=!1,disableRestoreFocus:O=!1,disableScrollLock:C=!1,hideBackdrop:k=!1,keepMounted:M=!1,onClose:D,onTransitionEnter:N,onTransitionExited:z,open:$,slotProps:X={},slots:U={},theme:j,...q}=r,H={...r,closeAfterTransition:d,disableAutoFocus:w,disableEnforceFocus:T,disableEscapeKeyDown:E,disablePortal:R,disableRestoreFocus:O,disableScrollLock:C,hideBackdrop:k,keepMounted:M},{getRootProps:Y,getBackdropProps:W,getTransitionProps:J,portalRef:Z,isTopModal:Q,exited:ee,hasTransition:F}=S$({...H,rootRef:n}),G={...H,exited:ee},ue=E$(G),le={};if(h.props.tabIndex===void 0&&(le.tabIndex="-1"),F){const{onEnter:ie,onExited:ce}=J();le.onEnter=ie,le.onExited=ce}const ne={slots:{root:v.Root,backdrop:v.Backdrop,...U},slotProps:{...b,...X}},[te,pe]=Ht("root",{ref:n,elementType:C$,externalForwardedProps:{...ne,...q,component:g},getSlotProps:Y,ownerState:G,className:$e(u,ue?.root,!G.open&&G.exited&&ue?.hidden)}),[re,se]=Ht("backdrop",{ref:i?.ref,elementType:o,externalForwardedProps:ne,shouldForwardComponentProp:!0,additionalProps:i,getSlotProps:ie=>W({...ie,onClick:ce=>{ie?.onClick&&ie.onClick(ce)}}),className:$e(i?.className,ue?.backdrop),ownerState:G});return!M&&!$&&(!F||ee)?null:y.jsx(nk,{ref:Z,container:p,disablePortal:R,children:y.jsxs(te,{...pe,children:[!k&&o?y.jsx(re,{...se}):null,y.jsx(b$,{disableEnforceFocus:T,disableAutoFocus:w,disableRestoreFocus:O,isEnabled:Q,open:$,children:x.cloneElement(h,le)})]})})});function k$(e){return pt("MuiDialog",e)}const vx=ft("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),uk=x.createContext({}),I$=Te(ok,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),L$=e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:o,fullScreen:i}=e,a={root:["root"],container:["container",`scroll${ke(n)}`],paper:["paper",`paperScroll${ke(n)}`,`paperWidth${ke(String(r))}`,o&&"paperFullWidth",i&&"paperFullScreen"]};return ht(a,k$,t)},P$=Te(ck,{name:"MuiDialog",slot:"Root"})({"@media print":{position:"absolute !important"}}),O$=Te("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${ke(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),M$=Te(Wo,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${ke(n.scroll)}`],t[`paperWidth${ke(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(st(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:t})=>!t.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${vx.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(t=>t!=="xs").map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${vx.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:t})=>t.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:t})=>t.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${vx.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),cp=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiDialog"}),o=oc(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":u,"aria-modal":d=!0,BackdropComponent:h,BackdropProps:p,children:g,className:v,disableEscapeKeyDown:b=!1,fullScreen:w=!1,fullWidth:T=!1,maxWidth:E="sm",onClick:R,onClose:O,open:C,PaperComponent:k=Wo,PaperProps:M={},scroll:D="paper",slots:N={},slotProps:z={},TransitionComponent:$=k0,transitionDuration:X=i,TransitionProps:U,...j}=r,q={...r,disableEscapeKeyDown:b,fullScreen:w,fullWidth:T,maxWidth:E,scroll:D},H=L$(q),Y=x.useRef(),W=ye=>{Y.current=ye.target===ye.currentTarget},J=ye=>{R&&R(ye),Y.current&&(Y.current=null,O&&O(ye,"backdropClick"))},Z=el(u),Q=x.useMemo(()=>({titleId:Z}),[Z]),ee={transition:$,...N},F={transition:U,paper:M,backdrop:p,...z},G={slots:ee,slotProps:F},[ue,le]=Ht("root",{elementType:P$,shouldForwardComponentProp:!0,externalForwardedProps:G,ownerState:q,className:$e(H.root,v),ref:n}),[ne,te]=Ht("backdrop",{elementType:I$,shouldForwardComponentProp:!0,externalForwardedProps:G,ownerState:q}),[pe,re]=Ht("paper",{elementType:M$,shouldForwardComponentProp:!0,externalForwardedProps:G,ownerState:q,className:$e(H.paper,M.className)}),[se,ie]=Ht("container",{elementType:O$,externalForwardedProps:G,ownerState:q,className:H.container}),[ce,fe]=Ht("transition",{elementType:k0,externalForwardedProps:G,ownerState:q,additionalProps:{appear:!0,in:C,timeout:X,role:"presentation"}});return y.jsx(ue,{closeAfterTransition:!0,slots:{backdrop:ne},slotProps:{backdrop:{transitionDuration:X,as:h,...te}},disableEscapeKeyDown:b,onClose:O,open:C,onClick:J,...le,...j,children:y.jsx(ce,{...fe,children:y.jsx(se,{onMouseDown:W,...ie,children:y.jsx(pe,{as:k,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":Z,"aria-modal":d,...re,children:y.jsx(uk.Provider,{value:Q,children:g})})})})})});function A$(e){return pt("MuiDialogActions",e)}ft("MuiDialogActions",["root","spacing"]);const N$=e=>{const{classes:t,disableSpacing:n}=e;return ht({root:["root",!n&&"spacing"]},A$,t)},D$=Te("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),up=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiDialogActions"}),{className:o,disableSpacing:i=!1,...a}=r,u={...r,disableSpacing:i},d=N$(u);return y.jsx(D$,{className:$e(d.root,o),ownerState:u,ref:n,...a})});function j$(e){return pt("MuiDialogContent",e)}ft("MuiDialogContent",["root","dividers"]);function B$(e){return pt("MuiDialogTitle",e)}const z$=ft("MuiDialogTitle",["root"]),$$=e=>{const{classes:t,dividers:n}=e;return ht({root:["root",n&&"dividers"]},j$,t)},F$=Te("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(st(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:t})=>t.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>!t.dividers,style:{[`.${z$.root} + &`]:{paddingTop:0}}}]}))),Zu=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiDialogContent"}),{className:o,dividers:i=!1,...a}=r,u={...r,dividers:i},d=$$(u);return y.jsx(F$,{className:$e(d.root,o),ownerState:u,ref:n,...a})});function H$(e){return pt("MuiDialogContentText",e)}ft("MuiDialogContentText",["root"]);const W$=e=>{const{classes:t}=e,r=ht({root:["root"]},H$,t);return{...t,...r}},U$=Te(Tt,{shouldForwardProp:e=>co(e)||e==="classes",name:"MuiDialogContentText",slot:"Root"})({}),dk=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiDialogContentText"}),{children:o,className:i,...a}=r,u=W$(a);return y.jsx(U$,{component:"p",variant:"body1",color:"textSecondary",ref:n,ownerState:a,className:$e(u.root,i),...r,classes:u})}),V$=e=>{const{classes:t}=e;return ht({root:["root"]},B$,t)},Y$=Te(Tt,{name:"MuiDialogTitle",slot:"Root"})({padding:"16px 24px",flex:"0 0 auto"}),Gu=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiDialogTitle"}),{className:o,id:i,...a}=r,u=r,d=V$(u),{titleId:h=i}=x.useContext(uk);return y.jsx(Y$,{component:"h2",className:$e(d.root,o),ownerState:u,ref:n,variant:"h6",id:i??h,...a})});function X$(e){return pt("MuiDivider",e)}const sT=ft("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Z$=e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:a,textAlign:u,variant:d}=e;return ht({root:["root",t&&"absolute",d,i&&"light",a==="vertical"&&"vertical",o&&"flexItem",n&&"withChildren",n&&a==="vertical"&&"withChildrenVertical",u==="right"&&a!=="vertical"&&"textAlignRight",u==="left"&&a!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",a==="vertical"&&"wrapperVertical"]},X$,r)},G$=Te("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(st(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.alpha((e.vars||e).palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),K$=Te("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(st(({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)`}}]}))),ql=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiDivider"}),{absolute:o=!1,children:i,className:a,orientation:u="horizontal",component:d=i||u==="vertical"?"div":"hr",flexItem:h=!1,light:p=!1,role:g=d!=="hr"?"separator":void 0,textAlign:v="center",variant:b="fullWidth",...w}=r,T={...r,absolute:o,component:d,flexItem:h,light:p,orientation:u,role:g,textAlign:v,variant:b},E=Z$(T);return y.jsx(G$,{as:d,className:$e(E.root,a),role:g,ref:n,ownerState:T,"aria-orientation":g==="separator"&&(d!=="hr"||u==="vertical")?u:void 0,...w,children:i?y.jsx(K$,{className:E.wrapper,ownerState:T,children:i}):null})});ql&&(ql.muiSkipListHighlight=!0);const q$=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:o,size:i,hiddenLabel:a,multiline:u}=e,d={root:["root",!n&&"underline",r&&"adornedStart",o&&"adornedEnd",i==="small"&&`size${ke(i)}`,a&&"hiddenLabel",u&&"multiline"],input:["input"]},h=ht(d,mz,t);return{...t,...h}},J$=Te(oy,{shouldForwardProp:e=>co(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...ny(e,t),!n.disableUnderline&&t.underline]}})(st(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",o=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",i=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:o,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Bo.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Bo.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:i},variants:[{props:({ownerState:a})=>!a.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Bo.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Bo.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline):n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Bo.disabled}, .${Bo.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Bo.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(gr()).map(([a])=>({props:{disableUnderline:!1,color:a},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[a]?.main}`}}})),{props:({ownerState:a})=>a.startAdornment,style:{paddingLeft:12}},{props:({ownerState:a})=>a.endAdornment,style:{paddingRight:12}},{props:({ownerState:a})=>a.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:a,size:u})=>a.multiline&&u==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:a})=>a.multiline&&a.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:a})=>a.multiline&&a.hiddenLabel&&a.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),Q$=Te(iy,{name:"MuiFilledInput",slot:"Input",overridesResolver:ry})(st(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),Jb=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiFilledInput"}),{disableUnderline:o=!1,components:i={},componentsProps:a,fullWidth:u=!1,hiddenLabel:d,inputComponent:h="input",multiline:p=!1,slotProps:g,slots:v={},type:b="text",...w}=r,T={...r,disableUnderline:o,fullWidth:u,inputComponent:h,multiline:p,type:b},E=q$(r),R={root:{ownerState:T},input:{ownerState:T}},O=g??a?Or(R,g??a):R,C=v.root??i.Root??J$,k=v.input??i.Input??Q$;return y.jsx(sy,{slots:{root:C,input:k},slotProps:O,fullWidth:u,inputComponent:h,multiline:p,ref:n,type:b,...w,classes:E})});Jb.muiName="Input";function eF(e){return pt("MuiFormControl",e)}ft("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const tF=e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root",n!=="none"&&`margin${ke(n)}`,r&&"fullWidth"]};return ht(o,eF,t)},nF=Te("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`margin${ke(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),ay=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiFormControl"}),{children:o,className:i,color:a="primary",component:u="div",disabled:d=!1,error:h=!1,focused:p,fullWidth:g=!1,hiddenLabel:v=!1,margin:b="none",required:w=!1,size:T="medium",variant:E="outlined",...R}=r,O={...r,color:a,component:u,disabled:d,error:h,fullWidth:g,hiddenLabel:v,margin:b,required:w,size:T,variant:E},C=tF(O),[k,M]=x.useState(()=>{let Y=!1;return o&&x.Children.forEach(o,W=>{if(!Pm(W,["Input","Select"]))return;const J=Pm(W,["Select"])?W.props.input:W;J&&uz(J.props)&&(Y=!0)}),Y}),[D,N]=x.useState(()=>{let Y=!1;return o&&x.Children.forEach(o,W=>{Pm(W,["Input","Select"])&&(ig(W.props,!0)||ig(W.props.inputProps,!0))&&(Y=!0)}),Y}),[z,$]=x.useState(!1);d&&z&&$(!1);const X=p!==void 0&&!d?p:z;let U;x.useRef(!1);const j=x.useCallback(()=>{N(!0)},[]),q=x.useCallback(()=>{N(!1)},[]),H=x.useMemo(()=>({adornedStart:k,setAdornedStart:M,color:a,disabled:d,error:h,filled:D,focused:X,fullWidth:g,hiddenLabel:v,size:T,onBlur:()=>{$(!1)},onFocus:()=>{$(!0)},onEmpty:q,onFilled:j,registerEffect:U,required:w,variant:E}),[k,a,d,h,D,X,g,v,U,q,j,w,T,E]);return y.jsx(ty.Provider,{value:H,children:y.jsx(nF,{as:u,ownerState:O,className:$e(C.root,i),ref:n,...R,children:o})})});function rF(e){return pt("MuiFormControlLabel",e)}const af=ft("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),oF=e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:i}=e,a={root:["root",n&&"disabled",`labelPlacement${ke(r)}`,o&&"error",i&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return ht(a,rF,t)},iF=Te("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${af.label}`]:t.label},t.root,t[`labelPlacement${ke(n.labelPlacement)}`]]}})(st(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${af.disabled}`]:{cursor:"default"},[`& .${af.label}`]:{[`&.${af.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:t})=>t==="start"||t==="top"||t==="bottom",style:{marginLeft:16}}]}))),sF=Te("span",{name:"MuiFormControlLabel",slot:"Asterisk"})(st(({theme:e})=>({[`&.${af.error}`]:{color:(e.vars||e).palette.error.main}}))),aF=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiFormControlLabel"}),{checked:o,className:i,componentsProps:a={},control:u,disabled:d,disableTypography:h,inputRef:p,label:g,labelPlacement:v="end",name:b,onChange:w,required:T,slots:E={},slotProps:R={},value:O,...C}=r,k=vs(),M=d??u.props.disabled??k?.disabled,D=T??u.props.required,N={disabled:M,required:D};["checked","name","onChange","value","inputRef"].forEach(Y=>{typeof u.props[Y]>"u"&&typeof r[Y]<"u"&&(N[Y]=r[Y])});const z=rl({props:r,muiFormControl:k,states:["error"]}),$={...r,disabled:M,labelPlacement:v,required:D,error:z.error},X=oF($),U={slots:E,slotProps:{...a,...R}},[j,q]=Ht("typography",{elementType:Tt,externalForwardedProps:U,ownerState:$});let H=g;return H!=null&&H.type!==Tt&&!h&&(H=y.jsx(j,{component:"span",...q,className:$e(X.label,q?.className),children:H})),y.jsxs(iF,{className:$e(X.root,i),ownerState:$,ref:n,...C,children:[x.cloneElement(u,N),D?y.jsxs("div",{children:[H,y.jsxs(sF,{ownerState:$,"aria-hidden":!0,className:X.asterisk,children:[" ","*"]})]}):H]})});function lF(e){return pt("MuiFormGroup",e)}ft("MuiFormGroup",["root","row","error"]);const cF=e=>{const{classes:t,row:n,error:r}=e;return ht({root:["root",n&&"row",r&&"error"]},lF,t)},uF=Te("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),dF=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiFormGroup"}),{className:o,row:i=!1,...a}=r,u=vs(),d=rl({props:r,muiFormControl:u,states:["error"]}),h={...r,row:i,error:d.error},p=cF(h);return y.jsx(uF,{className:$e(p.root,o),ownerState:h,ref:n,...a})});function fF(e){return pt("MuiFormHelperText",e)}const aT=ft("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var lT;const pF=e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:a,focused:u,required:d}=e,h={root:["root",o&&"disabled",i&&"error",r&&`size${ke(r)}`,n&&"contained",u&&"focused",a&&"filled",d&&"required"]};return ht(h,fF,t)},hF=Te("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${ke(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(st(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${aT.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${aT.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),mF=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiFormHelperText"}),{children:o,className:i,component:a="p",disabled:u,error:d,filled:h,focused:p,margin:g,required:v,variant:b,...w}=r,T=vs(),E=rl({props:r,muiFormControl:T,states:["variant","size","disabled","error","filled","focused","required"]}),R={...r,component:a,contained:E.variant==="filled"||E.variant==="outlined",variant:E.variant,size:E.size,disabled:E.disabled,error:E.error,filled:E.filled,focused:E.focused,required:E.required};delete R.ownerState;const O=pF(R);return y.jsx(hF,{as:a,className:$e(O.root,i),ref:n,...w,ownerState:R,children:o===" "?lT||(lT=y.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):o})});function gF(e){return pt("MuiFormLabel",e)}const gf=ft("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),yF=e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:a,required:u}=e,d={root:["root",`color${ke(n)}`,o&&"disabled",i&&"error",a&&"filled",r&&"focused",u&&"required"],asterisk:["asterisk",i&&"error"]};return ht(d,gF,t)},vF=Te("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color==="secondary"&&t.colorSecondary,n.filled&&t.filled]}})(st(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(gr()).map(([t])=>({props:{color:t},style:{[`&.${gf.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${gf.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${gf.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),xF=Te("span",{name:"MuiFormLabel",slot:"Asterisk"})(st(({theme:e})=>({[`&.${gf.error}`]:{color:(e.vars||e).palette.error.main}}))),bF=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiFormLabel"}),{children:o,className:i,color:a,component:u="label",disabled:d,error:h,filled:p,focused:g,required:v,...b}=r,w=vs(),T=rl({props:r,muiFormControl:w,states:["color","required","focused","disabled","error","filled"]}),E={...r,color:T.color||"primary",component:u,disabled:T.disabled,error:T.error,filled:T.filled,focused:T.focused,required:T.required},R=yF(E);return y.jsxs(vF,{as:u,ownerState:E,className:$e(R.root,i),ref:n,...b,children:[o,T.required&&y.jsxs(xF,{ownerState:E,"aria-hidden":!0,className:R.asterisk,children:[" ","*"]})]})}),Li=xN({createStyledComponent:Te("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.container&&t.container]}}),componentName:"MuiGrid",useThemeProps:e=>yt({props:e,name:"MuiGrid"}),useTheme:oc});function L0(e){return`scale(${e}, ${e**2})`}const _F={entering:{opacity:1,transform:L0(1)},entered:{opacity:1,transform:"none"}},xx=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),sg=x.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:a,in:u,onEnter:d,onEntered:h,onEntering:p,onExit:g,onExited:v,onExiting:b,style:w,timeout:T="auto",TransitionComponent:E=$i,...R}=t,O=zl(),C=x.useRef(),k=oc(),M=x.useRef(null),D=jn(M,Xu(i),n),N=Y=>W=>{if(Y){const J=M.current;W===void 0?Y(J):Y(J,W)}},z=N(p),$=N((Y,W)=>{WR(Y);const{duration:J,delay:Z,easing:Q}=Tu({style:w,timeout:T,easing:a},{mode:"enter"});let ee;T==="auto"?(ee=k.transitions.getAutoHeightDuration(Y.clientHeight),C.current=ee):ee=J,Y.style.transition=[k.transitions.create("opacity",{duration:ee,delay:Z}),k.transitions.create("transform",{duration:xx?ee:ee*.666,delay:Z,easing:Q})].join(","),d&&d(Y,W)}),X=N(h),U=N(b),j=N(Y=>{const{duration:W,delay:J,easing:Z}=Tu({style:w,timeout:T,easing:a},{mode:"exit"});let Q;T==="auto"?(Q=k.transitions.getAutoHeightDuration(Y.clientHeight),C.current=Q):Q=W,Y.style.transition=[k.transitions.create("opacity",{duration:Q,delay:J}),k.transitions.create("transform",{duration:xx?Q:Q*.666,delay:xx?J:J||Q*.333,easing:Z})].join(","),Y.style.opacity=0,Y.style.transform=L0(.75),g&&g(Y)}),q=N(v),H=Y=>{T==="auto"&&O.start(C.current||0,Y),r&&r(M.current,Y)};return y.jsx(E,{appear:o,in:u,nodeRef:M,onEnter:$,onEntered:X,onEntering:z,onExit:j,onExited:q,onExiting:U,addEndListener:H,timeout:T==="auto"?null:T,...R,children:(Y,{ownerState:W,...J})=>x.cloneElement(i,{style:{opacity:0,transform:L0(.75),visibility:Y==="exited"&&!u?"hidden":void 0,..._F[Y],...w,...i.props.style},ref:D,...J})})});sg&&(sg.muiSupportAuto=!0);const wF=e=>{const{classes:t,disableUnderline:n}=e,o=ht({root:["root",!n&&"underline"],input:["input"]},pz,t);return{...t,...o}},SF=Te(oy,{shouldForwardProp:e=>co(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...ny(e,t),!n.disableUnderline&&t.underline]}})(st(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Wa.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Wa.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Wa.disabled}, .${Wa.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Wa.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(gr()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),TF=Te(iy,{name:"MuiInput",slot:"Input",overridesResolver:ry})({}),Qb=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiInput"}),{disableUnderline:o=!1,components:i={},componentsProps:a,fullWidth:u=!1,inputComponent:d="input",multiline:h=!1,slotProps:p,slots:g={},type:v="text",...b}=r,w=wF(r),E={root:{ownerState:{disableUnderline:o}}},R=p??a?Or(p??a,E):E,O=g.root??i.Root??SF,C=g.input??i.Input??TF;return y.jsx(sy,{slots:{root:O,input:C},slotProps:R,fullWidth:u,inputComponent:d,multiline:h,ref:n,type:v,...b,classes:w})});Qb.muiName="Input";function EF(e){return pt("MuiInputAdornment",e)}const cT=ft("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var uT;const CF=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ke(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},RF=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:i,variant:a}=e,u={root:["root",n&&"disablePointerEvents",o&&`position${ke(o)}`,a,r&&"hiddenLabel",i&&`size${ke(i)}`]};return ht(u,EF,t)},kF=Te("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:CF})(st(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${cT.positionStart}&:not(.${cT.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),dT=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiInputAdornment"}),{children:o,className:i,component:a="div",disablePointerEvents:u=!1,disableTypography:d=!1,position:h,variant:p,...g}=r,v=vs()||{};let b=p;p&&v.variant,v&&!b&&(b=v.variant);const w={...r,hiddenLabel:v.hiddenLabel,size:v.size,disablePointerEvents:u,position:h,variant:b},T=RF(w);return y.jsx(ty.Provider,{value:null,children:y.jsx(kF,{as:a,ownerState:w,className:$e(T.root,i),ref:n,...g,children:typeof o=="string"&&!d?y.jsx(Tt,{color:"textSecondary",children:o}):y.jsxs(x.Fragment,{children:[h==="start"?uT||(uT=y.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,o]})})})});function IF(e){return pt("MuiInputLabel",e)}ft("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const LF=e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:i,variant:a,required:u}=e,d={root:["root",n&&"formControl",!i&&"animated",o&&"shrink",r&&r!=="medium"&&`size${ke(r)}`,a],asterisk:[u&&"asterisk"]},h=ht(d,IF,t);return{...t,...h}},PF=Te(bF,{shouldForwardProp:e=>co(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${gf.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(st(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:r})=>t==="filled"&&n.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),ly=x.forwardRef(function(t,n){const r=yt({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,margin:i,shrink:a,variant:u,className:d,...h}=r,p=vs();let g=a;typeof g>"u"&&p&&(g=p.filled||p.focused||p.adornedStart);const v=rl({props:r,muiFormControl:p,states:["size","variant","required","focused"]}),b={...r,disableAnimation:o,formControl:p,shrink:g,size:v.size,variant:v.variant,required:v.required,focused:v.focused},w=LF(b);return y.jsx(PF,{"data-shrink":g,ref:n,className:$e(w.root,d),...h,ownerState:b,classes:w})}),P0=x.createContext({});function OF(e){return pt("MuiList",e)}ft("MuiList",["root","padding","dense","subheader"]);const MF=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return ht({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},OF,t)},AF=Te("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),NF=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiList"}),{children:o,className:i,component:a="ul",dense:u=!1,disablePadding:d=!1,subheader:h,...p}=r,g=x.useMemo(()=>({dense:u}),[u]),v={...r,component:a,dense:u,disablePadding:d},b=MF(v);return y.jsx(P0.Provider,{value:g,children:y.jsxs(AF,{as:a,className:$e(b.root,i),ref:n,ownerState:v,...p,children:[h,o]})})}),fT=ft("MuiListItemIcon",["root","alignItemsFlexStart"]),pT=ft("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function bx(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function hT(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function fk(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function Vd(e,t,n,r,o,i){let a=!1,u=o(e,t,t?n:!1);for(;u;){if(u===e.firstChild){if(a)return!1;a=!0}const d=r?!1:u.disabled||u.getAttribute("aria-disabled")==="true";if(!u.hasAttribute("tabindex")||!fk(u,i)||d)u=o(e,u,n);else return u.focus(),!0}return!1}const DF=x.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:a,className:u,disabledItemsFocusable:d=!1,disableListWrap:h=!1,onKeyDown:p,variant:g="selectedMenu",...v}=t,b=x.useRef(null),w=x.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Sr(()=>{o&&b.current.focus()},[o]),x.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(C,{direction:k})=>{const M=!b.current.style.width;if(C.clientHeight{const k=b.current,M=C.key;if(C.ctrlKey||C.metaKey||C.altKey){p&&p(C);return}const N=Hr(k).activeElement;if(M==="ArrowDown")C.preventDefault(),Vd(k,N,h,d,bx);else if(M==="ArrowUp")C.preventDefault(),Vd(k,N,h,d,hT);else if(M==="Home")C.preventDefault(),Vd(k,null,h,d,bx);else if(M==="End")C.preventDefault(),Vd(k,null,h,d,hT);else if(M.length===1){const z=w.current,$=M.toLowerCase(),X=performance.now();z.keys.length>0&&(X-z.lastTime>500?(z.keys=[],z.repeating=!0,z.previousKeyMatched=!0):z.repeating&&$!==z.keys[0]&&(z.repeating=!1)),z.lastTime=X,z.keys.push($);const U=N&&!z.repeating&&fk(N,z);z.previousKeyMatched&&(U||Vd(k,N,!1,d,bx,z))?C.preventDefault():z.previousKeyMatched=!1}p&&p(C)},E=jn(b,n);let R=-1;x.Children.forEach(a,(C,k)=>{if(!x.isValidElement(C)){R===k&&(R+=1,R>=a.length&&(R=-1));return}C.props.disabled||(g==="selectedMenu"&&C.props.selected||R===-1)&&(R=k),R===k&&(C.props.disabled||C.props.muiSkipListHighlight||C.type.muiSkipListHighlight)&&(R+=1,R>=a.length&&(R=-1))});const O=x.Children.map(a,(C,k)=>{if(k===R){const M={};return i&&(M.autoFocus=!0),C.props.tabIndex===void 0&&g==="selectedMenu"&&(M.tabIndex=0),x.cloneElement(C,M)}return C});return y.jsx(NF,{role:"menu",ref:E,className:u,onKeyDown:T,tabIndex:o?0:-1,...v,children:O})});function jF(e){return pt("MuiPopover",e)}ft("MuiPopover",["root","paper"]);function mT(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function gT(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function yT(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Qh(e){return typeof e=="function"?e():e}const BF=e=>{const{classes:t}=e;return ht({root:["root"],paper:["paper"]},jF,t)},zF=Te(ck,{name:"MuiPopover",slot:"Root"})({}),pk=Te(Wo,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),hk=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiPopover"}),{action:o,anchorEl:i,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:d="anchorEl",children:h,className:p,container:g,elevation:v=8,marginThreshold:b=16,open:w,PaperProps:T={},slots:E={},slotProps:R={},transformOrigin:O={vertical:"top",horizontal:"left"},TransitionComponent:C,transitionDuration:k="auto",TransitionProps:M={},disableScrollLock:D=!1,...N}=r,z=x.useRef(),$={...r,anchorOrigin:a,anchorReference:d,elevation:v,marginThreshold:b,transformOrigin:O,TransitionComponent:C,transitionDuration:k,TransitionProps:M},X=BF($),U=x.useCallback(()=>{if(d==="anchorPosition")return u;const ie=Qh(i),fe=(ie&&ie.nodeType===1?ie:Hr(z.current).body).getBoundingClientRect();return{top:fe.top+mT(fe,a.vertical),left:fe.left+gT(fe,a.horizontal)}},[i,a.horizontal,a.vertical,u,d]),j=x.useCallback(ie=>({vertical:mT(ie,O.vertical),horizontal:gT(ie,O.horizontal)}),[O.horizontal,O.vertical]),q=x.useCallback(ie=>{const ce={width:ie.offsetWidth,height:ie.offsetHeight},fe=j(ce);if(d==="none")return{top:null,left:null,transformOrigin:yT(fe)};const ye=U();let Ee=ye.top-fe.vertical,Me=ye.left-fe.horizontal;const Ue=Ee+ce.height,Ve=Me+ce.width,Le=ra(Qh(i)),at=Le.innerHeight-b,Be=Le.innerWidth-b;if(b!==null&&Eeat){const et=Ue-at;Ee-=et,fe.vertical+=et}if(b!==null&&MeBe){const et=Ve-Be;Me-=et,fe.horizontal+=et}return{top:`${Math.round(Ee)}px`,left:`${Math.round(Me)}px`,transformOrigin:yT(fe)}},[i,d,U,j,b]),[H,Y]=x.useState(w),W=x.useCallback(()=>{const ie=z.current;if(!ie)return;const ce=q(ie);ce.top!==null&&ie.style.setProperty("top",ce.top),ce.left!==null&&(ie.style.left=ce.left),ie.style.transformOrigin=ce.transformOrigin,Y(!0)},[q]);x.useEffect(()=>(D&&window.addEventListener("scroll",W),()=>window.removeEventListener("scroll",W)),[i,D,W]);const J=()=>{W()},Z=()=>{Y(!1)};x.useEffect(()=>{w&&W()}),x.useImperativeHandle(o,()=>w?{updatePosition:()=>{W()}}:null,[w,W]),x.useEffect(()=>{if(!w)return;const ie=BR(()=>{W()}),ce=ra(Qh(i));return ce.addEventListener("resize",ie),()=>{ie.clear(),ce.removeEventListener("resize",ie)}},[i,w,W]);let Q=k;const ee={slots:{transition:C,...E},slotProps:{transition:M,paper:T,...R}},[F,G]=Ht("transition",{elementType:sg,externalForwardedProps:ee,ownerState:$,getSlotProps:ie=>({...ie,onEntering:(ce,fe)=>{ie.onEntering?.(ce,fe),J()},onExited:ce=>{ie.onExited?.(ce),Z()}}),additionalProps:{appear:!0,in:w}});k==="auto"&&!F.muiSupportAuto&&(Q=void 0);const ue=g||(i?Hr(Qh(i)).body:void 0),[le,{slots:ne,slotProps:te,...pe}]=Ht("root",{ref:n,elementType:zF,externalForwardedProps:{...ee,...N},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:E.backdrop},slotProps:{backdrop:zR(typeof R.backdrop=="function"?R.backdrop($):R.backdrop,{invisible:!0})},container:ue,open:w},ownerState:$,className:$e(X.root,p)}),[re,se]=Ht("paper",{ref:z,className:X.paper,elementType:pk,externalForwardedProps:ee,shouldForwardComponentProp:!0,additionalProps:{elevation:v,style:H?void 0:{opacity:0}},ownerState:$});return y.jsx(le,{...pe,...!Ya(le)&&{slots:ne,slotProps:te,disableScrollLock:D},children:y.jsx(F,{...G,timeout:Q,children:y.jsx(re,{...se,children:h})})})});function $F(e){return pt("MuiMenu",e)}ft("MuiMenu",["root","paper","list"]);const FF={vertical:"top",horizontal:"right"},HF={vertical:"top",horizontal:"left"},WF=e=>{const{classes:t}=e;return ht({root:["root"],paper:["paper"],list:["list"]},$F,t)},UF=Te(hk,{shouldForwardProp:e=>co(e)||e==="classes",name:"MuiMenu",slot:"Root"})({}),VF=Te(pk,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),YF=Te(DF,{name:"MuiMenu",slot:"List"})({outline:0}),e_=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:i,className:a,disableAutoFocusItem:u=!1,MenuListProps:d={},onClose:h,open:p,PaperProps:g={},PopoverClasses:v,transitionDuration:b="auto",TransitionProps:{onEntering:w,...T}={},variant:E="selectedMenu",slots:R={},slotProps:O={},...C}=r,k=ip(),M={...r,autoFocus:o,disableAutoFocusItem:u,MenuListProps:d,onEntering:w,PaperProps:g,transitionDuration:b,TransitionProps:T,variant:E},D=WF(M),N=o&&!u&&p,z=x.useRef(null),$=(Q,ee)=>{z.current&&z.current.adjustStyleForScrollbar(Q,{direction:k?"rtl":"ltr"}),w&&w(Q,ee)},X=Q=>{Q.key==="Tab"&&(Q.preventDefault(),h&&h(Q,"tabKeyDown"))};let U=-1;x.Children.map(i,(Q,ee)=>{x.isValidElement(Q)&&(Q.props.disabled||(E==="selectedMenu"&&Q.props.selected||U===-1)&&(U=ee))});const j={slots:R,slotProps:{list:d,transition:T,paper:g,...O}},q=ir({elementType:R.root,externalSlotProps:O.root,ownerState:M,className:[D.root,a]}),[H,Y]=Ht("paper",{className:D.paper,elementType:VF,externalForwardedProps:j,shouldForwardComponentProp:!0,ownerState:M}),[W,J]=Ht("list",{className:$e(D.list,d.className),elementType:YF,shouldForwardComponentProp:!0,externalForwardedProps:j,getSlotProps:Q=>({...Q,onKeyDown:ee=>{X(ee),Q.onKeyDown?.(ee)}}),ownerState:M}),Z=typeof j.slotProps.transition=="function"?j.slotProps.transition(M):j.slotProps.transition;return y.jsx(UF,{onClose:h,anchorOrigin:{vertical:"bottom",horizontal:k?"right":"left"},transformOrigin:k?FF:HF,slots:{root:R.root,paper:H,backdrop:R.backdrop,...R.transition&&{transition:R.transition}},slotProps:{root:q,paper:Y,backdrop:typeof O.backdrop=="function"?O.backdrop(M):O.backdrop,transition:{...Z,onEntering:(...Q)=>{$(...Q),Z?.onEntering?.(...Q)}}},open:p,ref:n,transitionDuration:b,ownerState:M,...C,classes:v,children:y.jsx(W,{actions:z,autoFocus:o&&(U===-1||u),autoFocusItem:N,variant:E,...J,children:i})})});function XF(e){return pt("MuiMenuItem",e)}const Yd=ft("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),ZF=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},GF=e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e,d=ht({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},XF,a);return{...a,...d}},KF=Te(qa,{shouldForwardProp:e=>co(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:ZF})(st(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Yd.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${Yd.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${Yd.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}},[`&.${Yd.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Yd.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${sT.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${sT.inset}`]:{marginLeft:52},[`& .${pT.root}`]:{marginTop:0,marginBottom:0},[`& .${pT.inset}`]:{paddingLeft:36},[`& .${fT.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${fT.root} svg`]:{fontSize:"1.25rem"}}}]}))),Jl=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:a=!1,divider:u=!1,disableGutters:d=!1,focusVisibleClassName:h,role:p="menuitem",tabIndex:g,className:v,...b}=r,w=x.useContext(P0),T=x.useMemo(()=>({dense:a||w.dense||!1,disableGutters:d}),[w.dense,a,d]),E=x.useRef(null);Sr(()=>{o&&E.current&&E.current.focus()},[o]);const R={...r,dense:T.dense,divider:u,disableGutters:d},O=GF(r),C=jn(E,n);let k;return r.disabled||(k=g!==void 0?g:-1),y.jsx(P0.Provider,{value:T,children:y.jsx(KF,{ref:C,role:p,tabIndex:k,component:i,focusVisibleClassName:$e(O.focusVisible,h),className:$e(O.root,v),...b,ownerState:R,classes:O})})});function qF(e){return pt("MuiNativeSelect",e)}const t_=ft("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),JF=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,u={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${ke(n)}`,i&&"iconOpen",r&&"disabled"]};return ht(u,qF,t)},mk=Te("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${t_.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),QF=Te(mk,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:co,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${t_.multiple}`]:t.multiple}]}})({}),gk=Te("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${t_.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),e5=Te(gk,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ke(n.variant)}`],n.open&&t.iconOpen]}})({}),t5=x.forwardRef(function(t,n){const{className:r,disabled:o,error:i,IconComponent:a,inputRef:u,variant:d="standard",...h}=t,p={...t,disabled:o,variant:d,error:i},g=JF(p);return y.jsxs(x.Fragment,{children:[y.jsx(QF,{ownerState:p,className:$e(g.select,r),disabled:o,ref:u||n,...h}),t.multiple?null:y.jsx(e5,{as:a,ownerState:p,className:g.icon})]})});var vT;const n5=Te("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:co})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),r5=Te("legend",{name:"MuiNotchedOutlined",shouldForwardProp:co})(st(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function o5(e){const{children:t,classes:n,className:r,label:o,notched:i,...a}=e,u=o!=null&&o!=="",d={...e,notched:i,withLabel:u};return y.jsx(n5,{"aria-hidden":!0,className:r,ownerState:d,...a,children:y.jsx(r5,{ownerState:d,children:u?y.jsx("span",{children:o}):vT||(vT=y.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}const i5=e=>{const{classes:t}=e,r=ht({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},hz,t);return{...t,...r}},s5=Te(oy,{shouldForwardProp:e=>co(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:ny})(st(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${li.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${li.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${li.focused} .${li.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(gr()).map(([n])=>({props:{color:n},style:{[`&.${li.focused} .${li.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${li.error} .${li.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${li.disabled} .${li.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),a5=Te(o5,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(st(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),l5=Te(iy,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:ry})(st(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),n_=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiOutlinedInput"}),{components:o={},fullWidth:i=!1,inputComponent:a="input",label:u,multiline:d=!1,notched:h,slots:p={},slotProps:g={},type:v="text",...b}=r,w=i5(r),T=vs(),E=rl({props:r,muiFormControl:T,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),R={...r,color:E.color||"primary",disabled:E.disabled,error:E.error,focused:E.focused,formControl:T,fullWidth:i,hiddenLabel:E.hiddenLabel,multiline:d,size:E.size,type:v},O=p.root??o.Root??s5,C=p.input??o.Input??l5,[k,M]=Ht("notchedOutline",{elementType:a5,className:w.notchedOutline,shouldForwardComponentProp:!0,ownerState:R,externalForwardedProps:{slots:p,slotProps:g},additionalProps:{label:u!=null&&u!==""&&E.required?y.jsxs(x.Fragment,{children:[u," ","*"]}):u}});return y.jsx(sy,{slots:{root:O,input:C},slotProps:g,renderSuffix:D=>y.jsx(k,{...M,notched:typeof h<"u"?h:!!(D.startAdornment||D.filled||D.focused)}),fullWidth:i,inputComponent:a,multiline:d,ref:n,type:v,...b,classes:{...w,notchedOutline:null}})});n_.muiName="Input";const c5={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function yk(e){return pt("MuiSelect",e)}const Xd=ft("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var xT;const u5=Te(mk,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Xd.select}`]:t.select},{[`&.${Xd.select}`]:t[n.variant]},{[`&.${Xd.error}`]:t.error},{[`&.${Xd.multiple}`]:t.multiple}]}})({[`&.${Xd.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),d5=Te(gk,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ke(n.variant)}`],n.open&&t.iconOpen]}})({}),f5=Te("input",{shouldForwardProp:e=>qg(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function bT(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function p5(e){return e==null||typeof e=="string"&&!e.trim()}const h5=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,u={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${ke(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return ht(u,yk,t)},m5=x.forwardRef(function(t,n){const{"aria-describedby":r,"aria-label":o,autoFocus:i,autoWidth:a,children:u,className:d,defaultOpen:h,defaultValue:p,disabled:g,displayEmpty:v,error:b=!1,IconComponent:w,inputRef:T,labelId:E,MenuProps:R={},multiple:O,name:C,onBlur:k,onChange:M,onClose:D,onFocus:N,onOpen:z,open:$,readOnly:X,renderValue:U,required:j,SelectDisplayProps:q={},tabIndex:H,type:Y,value:W,variant:J="standard",...Z}=t,[Q,ee]=ea({controlled:W,default:p,name:"Select"}),[F,G]=ea({controlled:$,default:h,name:"Select"}),ue=x.useRef(null),le=x.useRef(null),[ne,te]=x.useState(null),{current:pe}=x.useRef($!=null),[re,se]=x.useState(),ie=jn(n,T),ce=x.useCallback(Je=>{le.current=Je,Je&&te(Je)},[]),fe=ne?.parentNode;x.useImperativeHandle(ie,()=>({focus:()=>{le.current.focus()},node:ue.current,value:Q}),[Q]),x.useEffect(()=>{h&&F&&ne&&!pe&&(se(a?null:fe.clientWidth),le.current.focus())},[ne,a]),x.useEffect(()=>{i&&le.current.focus()},[i]),x.useEffect(()=>{if(!E)return;const Je=Hr(le.current).getElementById(E);if(Je){const bt=()=>{getSelection().isCollapsed&&le.current.focus()};return Je.addEventListener("click",bt),()=>{Je.removeEventListener("click",bt)}}},[E]);const ye=(Je,bt)=>{Je?z&&z(bt):D&&D(bt),pe||(se(a?null:fe.clientWidth),G(Je))},Ee=Je=>{Je.button===0&&(Je.preventDefault(),le.current.focus(),ye(!0,Je))},Me=Je=>{ye(!1,Je)},Ue=x.Children.toArray(u),Ve=Je=>{const bt=Ue.find(Rt=>Rt.props.value===Je.target.value);bt!==void 0&&(ee(bt.props.value),M&&M(Je,bt))},Le=Je=>bt=>{let Rt;if(bt.currentTarget.hasAttribute("tabindex")){if(O){Rt=Array.isArray(Q)?Q.slice():[];const hn=Q.indexOf(Je.props.value);hn===-1?Rt.push(Je.props.value):Rt.splice(hn,1)}else Rt=Je.props.value;if(Je.props.onClick&&Je.props.onClick(bt),Q!==Rt&&(ee(Rt),M)){const hn=bt.nativeEvent||bt,qn=new hn.constructor(hn.type,hn);Object.defineProperty(qn,"target",{writable:!0,value:{value:Rt,name:C}}),M(qn,Je)}O||ye(!1,bt)}},at=Je=>{X||[" ","ArrowUp","ArrowDown","Enter"].includes(Je.key)&&(Je.preventDefault(),ye(!0,Je))},Be=ne!==null&&F,et=Je=>{!Be&&k&&(Object.defineProperty(Je,"target",{writable:!0,value:{value:Q,name:C}}),k(Je))};delete Z["aria-invalid"];let He,jt;const vt=[];let Ie=!1;(ig({value:Q})||v)&&(U?He=U(Q):Ie=!0);const Re=Ue.map(Je=>{if(!x.isValidElement(Je))return null;let bt;if(O){if(!Array.isArray(Q))throw new Error(na(2));bt=Q.some(Rt=>bT(Rt,Je.props.value)),bt&&Ie&&vt.push(Je.props.children)}else bt=bT(Q,Je.props.value),bt&&Ie&&(jt=Je.props.children);return x.cloneElement(Je,{"aria-selected":bt?"true":"false",onClick:Le(Je),onKeyUp:Rt=>{Rt.key===" "&&Rt.preventDefault(),Je.props.onKeyUp&&Je.props.onKeyUp(Rt)},role:"option",selected:bt,value:void 0,"data-value":Je.props.value})});Ie&&(O?vt.length===0?He=null:He=vt.reduce((Je,bt,Rt)=>(Je.push(bt),Rt{const{classes:t}=e,r=ht({root:["root"]},yk,t);return{...t,...r}},r_={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>co(e)&&e!=="variant"},y5=Te(Qb,r_)(""),v5=Te(n_,r_)(""),x5=Te(Jb,r_)(""),dp=x.forwardRef(function(t,n){const r=yt({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:i,classes:a={},className:u,defaultOpen:d=!1,displayEmpty:h=!1,IconComponent:p=rk,id:g,input:v,inputProps:b,label:w,labelId:T,MenuProps:E,multiple:R=!1,native:O=!1,onClose:C,onOpen:k,open:M,renderValue:D,SelectDisplayProps:N,variant:z="outlined",...$}=r,X=O?t5:m5,U=vs(),j=rl({props:r,muiFormControl:U,states:["variant","error"]}),q=j.variant||z,H={...r,variant:q,classes:a},Y=g5(H),{root:W,...J}=Y,Z=v||{standard:y.jsx(y5,{ownerState:H}),outlined:y.jsx(v5,{label:w,ownerState:H}),filled:y.jsx(x5,{ownerState:H})}[q],Q=jn(n,Xu(Z));return y.jsx(x.Fragment,{children:x.cloneElement(Z,{inputComponent:X,inputProps:{children:i,error:j.error,IconComponent:p,variant:q,type:void 0,multiple:R,...O?{id:g}:{autoWidth:o,defaultOpen:d,displayEmpty:h,labelId:T,MenuProps:E,onClose:C,onOpen:k,open:M,renderValue:D,SelectDisplayProps:{id:g,...N}},...b,classes:b?Or(J,b.classes):J,...v?v.props.inputProps:{}},...(R&&O||h)&&q==="outlined"?{notched:!0}:{},ref:Q,className:$e(Z.props.className,u,Y.root),...!v&&{variant:q},...$})})});dp.muiName="Select";function b5(e,t,n=(r,o)=>r===o){return e.length===t.length&&e.every((r,o)=>n(r,t[o]))}const _5=2;function qc(e,t,n,r,o){return n===1?Math.min(e+t,o):Math.max(e-t,r)}function vk(e,t){return e-t}function _T(e,t){const{index:n}=e.reduce((r,o,i)=>{const a=Math.abs(t-o);return r===null||a({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},C5=e=>e;let rm;function ST(){return rm===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?rm=CSS.supports("touch-action","none"):rm=!0),rm}function R5(e){const{"aria-labelledby":t,defaultValue:n,disabled:r=!1,disableSwap:o=!1,isRtl:i=!1,marks:a=!1,max:u=100,min:d=0,name:h,onChange:p,onChangeCommitted:g,orientation:v="horizontal",rootRef:b,scale:w=C5,step:T=1,shiftStep:E=10,tabIndex:R,value:O}=e,C=x.useRef(void 0),[k,M]=x.useState(-1),[D,N]=x.useState(-1),[z,$]=x.useState(!1),X=x.useRef(0),U=x.useRef(null),[j,q]=ea({controlled:O,default:n??d,name:"Slider"}),H=p&&((Ie,Re,Ne)=>{const Ye=Ie.nativeEvent||Ie,Ze=new Ye.constructor(Ye.type,Ye);Object.defineProperty(Ze,"target",{writable:!0,value:{value:Re,name:h}}),U.current=Re,p(Ze,Re,Ne)}),Y=Array.isArray(j);let W=Y?j.slice().sort(vk):[j];W=W.map(Ie=>Ie==null?d:iu(Ie,d,u));const J=a===!0&&T!==null?[...Array(Math.floor((u-d)/T)+1)].map((Ie,Re)=>({value:d+T*Re})):a||[],Z=J.map(Ie=>Ie.value),[Q,ee]=x.useState(-1),F=x.useRef(null),G=jn(b,F),ue=Ie=>Re=>{const Ne=Number(Re.currentTarget.getAttribute("data-index"));Eu(Re.target)&&ee(Ne),N(Ne),Ie?.onFocus?.(Re)},le=Ie=>Re=>{Eu(Re.target)||ee(-1),N(-1),Ie?.onBlur?.(Re)},ne=(Ie,Re)=>{const Ne=Number(Ie.currentTarget.getAttribute("data-index")),Ye=W[Ne],Ze=Z.indexOf(Ye);let Xe=Re;if(J&&T==null){const je=Z[Z.length-1];Xe>=je?Xe=je:Xe<=Z[0]?Xe=Z[0]:Xe=XeRe=>{if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"].includes(Re.key)){Re.preventDefault();const Ne=Number(Re.currentTarget.getAttribute("data-index")),Ye=W[Ne];let Ze=null;if(T!=null){const Xe=Re.shiftKey?E:T;switch(Re.key){case"ArrowUp":Ze=qc(Ye,Xe,1,d,u);break;case"ArrowRight":Ze=qc(Ye,Xe,i?-1:1,d,u);break;case"ArrowDown":Ze=qc(Ye,Xe,-1,d,u);break;case"ArrowLeft":Ze=qc(Ye,Xe,i?1:-1,d,u);break;case"PageUp":Ze=qc(Ye,E,1,d,u);break;case"PageDown":Ze=qc(Ye,E,-1,d,u);break;case"Home":Ze=d;break;case"End":Ze=u;break}}else if(J){const Xe=Z[Z.length-1],je=Z.indexOf(Ye),Nt=[i?"ArrowRight":"ArrowLeft","ArrowDown","PageDown","Home"],Ot=[i?"ArrowLeft":"ArrowRight","ArrowUp","PageUp","End"];Nt.includes(Re.key)?je===0?Ze=Z[0]:Ze=Z[je-1]:Ot.includes(Re.key)&&(je===Z.length-1?Ze=Xe:Ze=Z[je+1])}Ze!=null&&ne(Re,Ze)}Ie?.onKeyDown?.(Re)};Sr(()=>{r&&F.current.contains(document.activeElement)&&document.activeElement?.blur()},[r]),r&&k!==-1&&M(-1),r&&Q!==-1&&ee(-1);const pe=Ie=>Re=>{Ie.onChange?.(Re),ne(Re,Re.target.valueAsNumber)},re=x.useRef(void 0);let se=v;i&&v==="horizontal"&&(se+="-reverse");const ie=({finger:Ie,move:Re=!1})=>{const{current:Ne}=F,{width:Ye,height:Ze,bottom:Xe,left:je}=Ne.getBoundingClientRect();let Nt;se.startsWith("vertical")?Nt=(Xe-Ie.y)/Ze:Nt=(Ie.x-je)/Ye,se.includes("-reverse")&&(Nt=1-Nt);let Ot;if(Ot=w5(Nt,d,u),T)Ot=T5(Ot,T,d);else{const Je=_T(Z,Ot);Ot=Z[Je]}Ot=iu(Ot,d,u);let $t=0;if(Y){Re?$t=re.current:$t=_T(W,Ot),o&&(Ot=iu(Ot,W[$t-1]||-1/0,W[$t+1]||1/0));const Je=Ot;Ot=wT({values:W,newValue:Ot,index:$t}),o&&Re||($t=Ot.indexOf(Je),re.current=$t)}return{newValue:Ot,activeIndex:$t}},ce=pn(Ie=>{const Re=em(Ie,C);if(!Re)return;if(X.current+=1,Ie.type==="mousemove"&&Ie.buttons===0){fe(Ie);return}const{newValue:Ne,activeIndex:Ye}=ie({finger:Re,move:!0});tm({sliderRef:F,activeIndex:Ye,setActive:M}),q(Ne),!z&&X.current>_5&&$(!0),H&&!nm(Ne,j)&&H(Ie,Ne,Ye)}),fe=pn(Ie=>{const Re=em(Ie,C);if($(!1),!Re)return;const{newValue:Ne}=ie({finger:Re,move:!0});M(-1),Ie.type==="touchend"&&N(-1),g&&g(Ie,U.current??Ne),C.current=void 0,Ee()}),ye=pn(Ie=>{if(r)return;ST()||Ie.preventDefault();const Re=Ie.changedTouches[0];Re!=null&&(C.current=Re.identifier);const Ne=em(Ie,C);if(Ne!==!1){const{newValue:Ze,activeIndex:Xe}=ie({finger:Ne});tm({sliderRef:F,activeIndex:Xe,setActive:M}),q(Ze),H&&!nm(Ze,j)&&H(Ie,Ze,Xe)}X.current=0;const Ye=Hr(F.current);Ye.addEventListener("touchmove",ce,{passive:!0}),Ye.addEventListener("touchend",fe,{passive:!0})}),Ee=x.useCallback(()=>{const Ie=Hr(F.current);Ie.removeEventListener("mousemove",ce),Ie.removeEventListener("mouseup",fe),Ie.removeEventListener("touchmove",ce),Ie.removeEventListener("touchend",fe)},[fe,ce]);x.useEffect(()=>{const{current:Ie}=F;return Ie.addEventListener("touchstart",ye,{passive:ST()}),()=>{Ie.removeEventListener("touchstart",ye),Ee()}},[Ee,ye]),x.useEffect(()=>{r&&Ee()},[r,Ee]);const Me=Ie=>Re=>{if(Ie.onMouseDown?.(Re),r||Re.defaultPrevented||Re.button!==0)return;Re.preventDefault();const Ne=em(Re,C);if(Ne!==!1){const{newValue:Ze,activeIndex:Xe}=ie({finger:Ne});tm({sliderRef:F,activeIndex:Xe,setActive:M}),q(Ze),H&&!nm(Ze,j)&&H(Re,Ze,Xe)}X.current=0;const Ye=Hr(F.current);Ye.addEventListener("mousemove",ce,{passive:!0}),Ye.addEventListener("mouseup",fe)},Ue=ag(Y?W[0]:d,d,u),Ve=ag(W[W.length-1],d,u)-Ue,Le=(Ie={})=>{const Re=Jr(Ie),Ne={onMouseDown:Me(Re||{})},Ye={...Re,...Ne};return{...Ie,ref:G,...Ye}},at=Ie=>Re=>{Ie.onMouseOver?.(Re);const Ne=Number(Re.currentTarget.getAttribute("data-index"));N(Ne)},Be=Ie=>Re=>{Ie.onMouseLeave?.(Re),N(-1)},et=(Ie={})=>{const Re=Jr(Ie),Ne={onMouseOver:at(Re||{}),onMouseLeave:Be(Re||{})};return{...Ie,...Re,...Ne}},He=Ie=>({pointerEvents:k!==-1&&k!==Ie?"none":void 0});let jt;return v==="vertical"&&(jt=i?"vertical-rl":"vertical-lr"),{active:k,axis:se,axisProps:E5,dragging:z,focusedThumbIndex:Q,getHiddenInputProps:(Ie={})=>{const Re=Jr(Ie),Ne={onChange:pe(Re||{}),onFocus:ue(Re||{}),onBlur:le(Re||{}),onKeyDown:te(Re||{})},Ye={...Re,...Ne};return{tabIndex:R,"aria-labelledby":t,"aria-orientation":v,"aria-valuemax":w(u),"aria-valuemin":w(d),name:h,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":e.step??void 0,disabled:r,...Ie,...Ye,style:{...c5,direction:i?"rtl":"ltr",width:"100%",height:"100%",writingMode:jt}}},getRootProps:Le,getThumbProps:et,marks:J,open:D,range:Y,rootRef:G,trackLeap:Ve,trackOffset:Ue,values:W,getThumbStyle:He}}const k5=e=>!e||!Ya(e);function I5(e){return pt("MuiSlider",e)}const fi=ft("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),L5=e=>{const{open:t}=e;return{offset:$e(t&&fi.valueLabelOpen),circle:fi.valueLabelCircle,label:fi.valueLabelLabel}};function P5(e){const{children:t,className:n,value:r}=e,o=L5(e);return t?x.cloneElement(t,{className:t.props.className},y.jsxs(x.Fragment,{children:[t.props.children,y.jsx("span",{className:$e(o.offset,n),"aria-hidden":!0,children:y.jsx("span",{className:o.circle,children:y.jsx("span",{className:o.label,children:r})})})]})):null}function TT(e){return e}const O5=Te("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${ke(n.color)}`],n.size!=="medium"&&t[`size${ke(n.size)}`],n.marked&&t.marked,n.orientation==="vertical"&&t.vertical,n.track==="inverted"&&t.trackInverted,n.track===!1&&t.trackFalse]}})(st(({theme:e})=>({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${fi.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${fi.dragging}`]:{[`& .${fi.thumb}, & .${fi.track}`]:{transition:"none"}},variants:[...Object.entries(e.palette).filter(gr()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}))),M5=Te("span",{name:"MuiSlider",slot:"Rail"})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),A5=Te("span",{name:"MuiSlider",slot:"Track"})(st(({theme:e})=>({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.entries(e.palette).filter(gr()).map(([t])=>({props:{color:t,track:"inverted"},style:{...e.vars?{backgroundColor:e.vars.palette.Slider[`${t}Track`],borderColor:e.vars.palette.Slider[`${t}Track`]}:{backgroundColor:e.lighten(e.palette[t].main,.62),borderColor:e.lighten(e.palette[t].main,.62),...e.applyStyles("dark",{backgroundColor:e.darken(e.palette[t].main,.5)}),...e.applyStyles("dark",{borderColor:e.darken(e.palette[t].main,.5)})}}}))]}))),N5=Te("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${ke(n.color)}`],n.size!=="medium"&&t[`thumbSize${ke(n.size)}`]]}})(st(({theme:e})=>({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${fi.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.entries(e.palette).filter(gr()).map(([t])=>({props:{color:t},style:{[`&:hover, &.${fi.focusVisible}`]:{boxShadow:`0px 0px 0px 8px ${e.alpha((e.vars||e).palette[t].main,.16)}`,"@media (hover: none)":{boxShadow:"none"}},[`&.${fi.active}`]:{boxShadow:`0px 0px 0px 14px ${e.alpha((e.vars||e).palette[t].main,.16)}`}}}))]}))),D5=Te(P5,{name:"MuiSlider",slot:"ValueLabel"})(st(({theme:e})=>({zIndex:1,whiteSpace:"nowrap",...e.typography.body2,fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${fi.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${fi.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]}))),j5=Te("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>qg(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:n}=e;return[t.mark,n&&t.markActive]}})(st(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]}))),B5=Te("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>qg(e)&&e!=="markLabelActive"})(st(({theme:e})=>({...e.typography.body2,color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]}))),z5=e=>{const{disabled:t,dragging:n,marked:r,orientation:o,track:i,classes:a,color:u,size:d}=e,h={root:["root",t&&"disabled",n&&"dragging",r&&"marked",o==="vertical"&&"vertical",i==="inverted"&&"trackInverted",i===!1&&"trackFalse",u&&`color${ke(u)}`,d&&`size${ke(d)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",d&&`thumbSize${ke(d)}`,u&&`thumbColor${ke(u)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return ht(h,I5,a)},$5=({children:e})=>e,F5=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiSlider"}),o=ip(),{"aria-label":i,"aria-valuetext":a,"aria-labelledby":u,component:d="span",components:h={},componentsProps:p={},color:g="primary",classes:v,className:b,disableSwap:w=!1,disabled:T=!1,getAriaLabel:E,getAriaValueText:R,marks:O=!1,max:C=100,min:k=0,name:M,onChange:D,onChangeCommitted:N,orientation:z="horizontal",shiftStep:$=10,size:X="medium",step:U=1,scale:j=TT,slotProps:q,slots:H,tabIndex:Y,track:W="normal",value:J,valueLabelDisplay:Z="off",valueLabelFormat:Q=TT,...ee}=r,F={...r,isRtl:o,max:C,min:k,classes:v,disabled:T,disableSwap:w,orientation:z,marks:O,color:g,size:X,step:U,shiftStep:$,scale:j,track:W,valueLabelDisplay:Z,valueLabelFormat:Q},{axisProps:G,getRootProps:ue,getHiddenInputProps:le,getThumbProps:ne,open:te,active:pe,axis:re,focusedThumbIndex:se,range:ie,dragging:ce,marks:fe,values:ye,trackOffset:Ee,trackLeap:Me,getThumbStyle:Ue}=R5({...F,rootRef:n});F.marked=fe.length>0&&fe.some(ct=>ct.label),F.dragging=ce,F.focusedThumbIndex=se;const Ve=z5(F),Le=H?.root??h.Root??O5,at=H?.rail??h.Rail??M5,Be=H?.track??h.Track??A5,et=H?.thumb??h.Thumb??N5,He=H?.valueLabel??h.ValueLabel??D5,jt=H?.mark??h.Mark??j5,vt=H?.markLabel??h.MarkLabel??B5,Ie=H?.input??h.Input??"input",Re=q?.root??p.root,Ne=q?.rail??p.rail,Ye=q?.track??p.track,Ze=q?.thumb??p.thumb,Xe=q?.valueLabel??p.valueLabel,je=q?.mark??p.mark,Nt=q?.markLabel??p.markLabel,Ot=q?.input??p.input,$t=ir({elementType:Le,getSlotProps:ue,externalSlotProps:Re,externalForwardedProps:ee,additionalProps:{...k5(Le)&&{as:d}},ownerState:{...F,...Re?.ownerState},className:[Ve.root,b]}),Je=ir({elementType:at,externalSlotProps:Ne,ownerState:F,className:Ve.rail}),bt=ir({elementType:Be,externalSlotProps:Ye,additionalProps:{style:{...G[re].offset(Ee),...G[re].leap(Me)}},ownerState:{...F,...Ye?.ownerState},className:Ve.track}),Rt=ir({elementType:et,getSlotProps:ne,externalSlotProps:Ze,ownerState:{...F,...Ze?.ownerState},className:Ve.thumb}),hn=ir({elementType:He,externalSlotProps:Xe,ownerState:{...F,...Xe?.ownerState},className:Ve.valueLabel}),qn=ir({elementType:jt,externalSlotProps:je,ownerState:F,className:Ve.mark}),Jn=ir({elementType:vt,externalSlotProps:Nt,ownerState:F,className:Ve.markLabel}),kn=ir({elementType:Ie,getSlotProps:le,externalSlotProps:Ot,ownerState:F});return y.jsxs(Le,{...$t,children:[y.jsx(at,{...Je}),y.jsx(Be,{...bt}),fe.filter(ct=>ct.value>=k&&ct.value<=C).map((ct,It)=>{const Gt=ag(ct.value,k,C),on=G[re].offset(Gt);let Wt;return W===!1?Wt=ye.includes(ct.value):Wt=W==="normal"&&(ie?ct.value>=ye[0]&&ct.value<=ye[ye.length-1]:ct.value<=ye[0])||W==="inverted"&&(ie?ct.value<=ye[0]||ct.value>=ye[ye.length-1]:ct.value>=ye[0]),y.jsxs(x.Fragment,{children:[y.jsx(jt,{"data-index":It,...qn,...!Ya(jt)&&{markActive:Wt},style:{...on,...qn.style},className:$e(qn.className,Wt&&Ve.markActive)}),ct.label!=null?y.jsx(vt,{"aria-hidden":!0,"data-index":It,...Jn,...!Ya(vt)&&{markLabelActive:Wt},style:{...on,...Jn.style},className:$e(Ve.markLabel,Jn.className,Wt&&Ve.markLabelActive),children:ct.label}):null]},It)}),ye.map((ct,It)=>{const Gt=ag(ct,k,C),on=G[re].offset(Gt),Wt=Z==="off"?$5:He;return y.jsx(Wt,{...!Ya(Wt)&&{valueLabelFormat:Q,valueLabelDisplay:Z,value:typeof Q=="function"?Q(j(ct),It):Q,index:It,open:te===It||pe===It||Z==="on",disabled:T},...hn,children:y.jsx(et,{"data-index":It,...Rt,className:$e(Ve.thumb,Rt.className,pe===It&&Ve.active,se===It&&Ve.focusVisible),style:{...on,...Ue(It),...Rt.style},children:y.jsx(Ie,{"data-index":It,"aria-label":E?E(It):i,"aria-valuenow":j(ct),"aria-labelledby":u,"aria-valuetext":R?R(j(ct),It):a,value:ye[It],...kn})})},It)})]})});function H5(e){return pt("MuiTooltip",e)}const or=ft("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function W5(e){return Math.round(e*1e5)/1e5}const U5=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${ke(i.split("-")[0])}`],arrow:["arrow"]};return ht(a,H5,t)},V5=Te(ey,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(st(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${or.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${or.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${or.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${or.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${or.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${or.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${or.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${or.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),Y5=Te("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${ke(n.placement.split("-")[0])}`]]}})(st(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${or.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${or.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${or.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${or.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${W5(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${or.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${or.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${or.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${or.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${or.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${or.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${or.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${or.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${or.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${or.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),X5=Te("span",{name:"MuiTooltip",slot:"Arrow"})(st(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let om=!1;const ET=new Jg;let Zd={x:0,y:0};function im(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const $r=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiTooltip"}),{arrow:o=!1,children:i,classes:a,components:u={},componentsProps:d={},describeChild:h=!1,disableFocusListener:p=!1,disableHoverListener:g=!1,disableInteractive:v=!1,disableTouchListener:b=!1,enterDelay:w=100,enterNextDelay:T=0,enterTouchDelay:E=700,followCursor:R=!1,id:O,leaveDelay:C=0,leaveTouchDelay:k=1500,onClose:M,onOpen:D,open:N,placement:z="bottom",PopperComponent:$,PopperProps:X={},slotProps:U={},slots:j={},title:q,TransitionComponent:H,TransitionProps:Y,...W}=r,J=x.isValidElement(i)?i:y.jsx("span",{children:i}),Z=oc(),Q=ip(),[ee,F]=x.useState(),[G,ue]=x.useState(null),le=x.useRef(!1),ne=v||R,te=zl(),pe=zl(),re=zl(),se=zl(),[ie,ce]=ea({controlled:N,default:!1,name:"Tooltip",state:"open"});let fe=ie;const ye=el(O),Ee=x.useRef(),Me=pn(()=>{Ee.current!==void 0&&(document.body.style.WebkitUserSelect=Ee.current,Ee.current=void 0),se.clear()});x.useEffect(()=>Me,[Me]);const Ue=ot=>{ET.clear(),om=!0,ce(!0),D&&!fe&&D(ot)},Ve=pn(ot=>{ET.start(800+C,()=>{om=!1}),ce(!1),M&&fe&&M(ot),te.start(Z.transitions.duration.shortest,()=>{le.current=!1})}),Le=ot=>{le.current&&ot.type!=="touchstart"||(ee&&ee.removeAttribute("title"),pe.clear(),re.clear(),w||om&&T?pe.start(om?T:w,()=>{Ue(ot)}):Ue(ot))},at=ot=>{pe.clear(),re.start(C,()=>{Ve(ot)})},[,Be]=x.useState(!1),et=ot=>{Eu(ot.target)||(Be(!1),at(ot))},He=ot=>{ee||F(ot.currentTarget),Eu(ot.target)&&(Be(!0),Le(ot))},jt=ot=>{le.current=!0;const Jt=J.props;Jt.onTouchStart&&Jt.onTouchStart(ot)},vt=ot=>{jt(ot),re.clear(),te.clear(),Me(),Ee.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",se.start(E,()=>{document.body.style.WebkitUserSelect=Ee.current,Le(ot)})},Ie=ot=>{J.props.onTouchEnd&&J.props.onTouchEnd(ot),Me(),re.start(k,()=>{Ve(ot)})};x.useEffect(()=>{if(!fe)return;function ot(Jt){Jt.key==="Escape"&&Ve(Jt)}return document.addEventListener("keydown",ot),()=>{document.removeEventListener("keydown",ot)}},[Ve,fe]);const Re=jn(Xu(J),F,n);!q&&q!==0&&(fe=!1);const Ne=x.useRef(),Ye=ot=>{const Jt=J.props;Jt.onMouseMove&&Jt.onMouseMove(ot),Zd={x:ot.clientX,y:ot.clientY},Ne.current&&Ne.current.update()},Ze={},Xe=typeof q=="string";h?(Ze.title=!fe&&Xe&&!g?q:null,Ze["aria-describedby"]=fe?ye:null):(Ze["aria-label"]=Xe?q:null,Ze["aria-labelledby"]=fe&&!Xe?ye:null);const je={...Ze,...W,...J.props,className:$e(W.className,J.props.className),onTouchStart:jt,ref:Re,...R?{onMouseMove:Ye}:{}},Nt={};b||(je.onTouchStart=vt,je.onTouchEnd=Ie),g||(je.onMouseOver=im(Le,je.onMouseOver),je.onMouseLeave=im(at,je.onMouseLeave),ne||(Nt.onMouseOver=Le,Nt.onMouseLeave=at)),p||(je.onFocus=im(He,je.onFocus),je.onBlur=im(et,je.onBlur),ne||(Nt.onFocus=He,Nt.onBlur=et));const Ot={...r,isRtl:Q,arrow:o,disableInteractive:ne,placement:z,PopperComponentProp:$,touch:le.current},$t=typeof U.popper=="function"?U.popper(Ot):U.popper,Je=x.useMemo(()=>{let ot=[{name:"arrow",enabled:!!G,options:{element:G,padding:4}}];return X.popperOptions?.modifiers&&(ot=ot.concat(X.popperOptions.modifiers)),$t?.popperOptions?.modifiers&&(ot=ot.concat($t.popperOptions.modifiers)),{...X.popperOptions,...$t?.popperOptions,modifiers:ot}},[G,X.popperOptions,$t?.popperOptions]),bt=U5(Ot),Rt=typeof U.transition=="function"?U.transition(Ot):U.transition,hn={slots:{popper:u.Popper,transition:u.Transition??H,tooltip:u.Tooltip,arrow:u.Arrow,...j},slotProps:{arrow:U.arrow??d.arrow,popper:{...X,...$t??d.popper},tooltip:U.tooltip??d.tooltip,transition:{...Y,...Rt??d.transition}}},[qn,Jn]=Ht("popper",{elementType:V5,externalForwardedProps:hn,ownerState:Ot,className:$e(bt.popper,X?.className)}),[kn,ct]=Ht("transition",{elementType:sg,externalForwardedProps:hn,ownerState:Ot}),[It,Gt]=Ht("tooltip",{elementType:Y5,className:bt.tooltip,externalForwardedProps:hn,ownerState:Ot}),[on,Wt]=Ht("arrow",{elementType:X5,className:bt.arrow,externalForwardedProps:hn,ownerState:Ot,ref:ue});return y.jsxs(x.Fragment,{children:[x.cloneElement(J,je),y.jsx(qn,{as:$??ey,placement:z,anchorEl:R?{getBoundingClientRect:()=>({top:Zd.y,left:Zd.x,right:Zd.x,bottom:Zd.y,width:0,height:0})}:ee,popperRef:Ne,open:ee?fe:!1,id:ye,transition:!0,...Nt,...Jn,popperOptions:Je,children:({TransitionProps:ot})=>y.jsx(kn,{timeout:Z.transitions.duration.shorter,...ot,...ct,children:y.jsxs(It,{...Gt,children:[q,o?y.jsx(on,{...Wt}):null]})})})]})}),Ct=CN({createStyledComponent:Te("div",{name:"MuiStack",slot:"Root"}),useThemeProps:e=>yt({props:e,name:"MuiStack"})}),xk=x.createContext();function Z5(e){return pt("MuiTable",e)}ft("MuiTable",["root","stickyHeader"]);const G5=e=>{const{classes:t,stickyHeader:n}=e;return ht({root:["root",n&&"stickyHeader"]},Z5,t)},K5=Te("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(st(({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:t})=>t.stickyHeader,style:{borderCollapse:"separate"}}]}))),CT="table",q5=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiTable"}),{className:o,component:i=CT,padding:a="normal",size:u="medium",stickyHeader:d=!1,...h}=r,p={...r,component:i,padding:a,size:u,stickyHeader:d},g=G5(p),v=x.useMemo(()=>({padding:a,size:u,stickyHeader:d}),[a,u,d]);return y.jsx(xk.Provider,{value:v,children:y.jsx(K5,{as:i,role:i===CT?null:"table",ref:n,className:$e(g.root,o),ownerState:p,...h})})}),cy=x.createContext();function J5(e){return pt("MuiTableBody",e)}ft("MuiTableBody",["root"]);const Q5=e=>{const{classes:t}=e;return ht({root:["root"]},J5,t)},e3=Te("tbody",{name:"MuiTableBody",slot:"Root"})({display:"table-row-group"}),t3={variant:"body"},RT="tbody",n3=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiTableBody"}),{className:o,component:i=RT,...a}=r,u={...r,component:i},d=Q5(u);return y.jsx(cy.Provider,{value:t3,children:y.jsx(e3,{className:$e(d.root,o),as:i,ref:n,role:i===RT?null:"rowgroup",ownerState:u,...a})})});function r3(e){return pt("MuiTableCell",e)}const o3=ft("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),i3=e=>{const{classes:t,variant:n,align:r,padding:o,size:i,stickyHeader:a}=e,u={root:["root",n,a&&"stickyHeader",r!=="inherit"&&`align${ke(r)}`,o!=="normal"&&`padding${ke(o)}`,`size${ke(i)}`]};return ht(u,r3,t)},s3=Te("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${ke(n.size)}`],n.padding!=="normal"&&t[`padding${ke(n.padding)}`],n.align!=="inherit"&&t[`align${ke(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(st(({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"?e.lighten(e.alpha(e.palette.divider,1),.88):e.darken(e.alpha(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${o3.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:t})=>t.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),Jc=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiTableCell"}),{align:o="inherit",className:i,component:a,padding:u,scope:d,size:h,sortDirection:p,variant:g,...v}=r,b=x.useContext(xk),w=x.useContext(cy),T=w&&w.variant==="head";let E;a?E=a:E=T?"th":"td";let R=d;E==="td"?R=void 0:!R&&T&&(R="col");const O=g||w&&w.variant,C={...r,align:o,component:E,padding:u||(b&&b.padding?b.padding:"normal"),size:h||(b&&b.size?b.size:"medium"),sortDirection:p,stickyHeader:O==="head"&&b&&b.stickyHeader,variant:O},k=i3(C);let M=null;return p&&(M=p==="asc"?"ascending":"descending"),y.jsx(s3,{as:E,ref:n,className:$e(k.root,i),"aria-sort":M,scope:R,ownerState:C,...v})});function a3(e){return pt("MuiTableHead",e)}ft("MuiTableHead",["root"]);const l3=e=>{const{classes:t}=e;return ht({root:["root"]},a3,t)},c3=Te("thead",{name:"MuiTableHead",slot:"Root"})({display:"table-header-group"}),u3={variant:"head"},kT="thead",d3=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiTableHead"}),{className:o,component:i=kT,...a}=r,u={...r,component:i},d=l3(u);return y.jsx(cy.Provider,{value:u3,children:y.jsx(c3,{as:i,className:$e(d.root,o),ref:n,role:i===kT?null:"rowgroup",ownerState:u,...a})})});function f3(e){return pt("MuiToolbar",e)}ft("MuiToolbar",["root","gutters","regular","dense"]);const p3=e=>{const{classes:t,disableGutters:n,variant:r}=e;return ht({root:["root",!n&&"gutters",r]},f3,t)},h3=Te("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(st(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),m3=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiToolbar"}),{className:o,component:i="div",disableGutters:a=!1,variant:u="regular",...d}=r,h={...r,component:i,disableGutters:a,variant:u},p=p3(h);return y.jsx(h3,{as:i,className:$e(p.root,o),ref:n,ownerState:h,...d})});function g3(e){return pt("MuiTableRow",e)}const IT=ft("MuiTableRow",["root","selected","hover","head","footer"]),y3=e=>{const{classes:t,selected:n,hover:r,head:o,footer:i}=e;return ht({root:["root",n&&"selected",r&&"hover",o&&"head",i&&"footer"]},g3,t)},v3=Te("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(st(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${IT.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${IT.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)}}}))),LT="tr",PT=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiTableRow"}),{className:o,component:i=LT,hover:a=!1,selected:u=!1,...d}=r,h=x.useContext(cy),p={...r,component:i,hover:a,selected:u,head:h&&h.variant==="head",footer:h&&h.variant==="footer"},g=y3(p);return y.jsx(v3,{as:i,ref:n,className:$e(g.root,o),role:i===LT?null:"row",ownerState:p,...d})});function x3(e){return pt("MuiTextField",e)}ft("MuiTextField",["root"]);const b3={standard:Qb,filled:Jb,outlined:n_},_3=e=>{const{classes:t}=e;return ht({root:["root"]},x3,t)},w3=Te(ay,{name:"MuiTextField",slot:"Root"})({}),rn=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:i=!1,children:a,className:u,color:d="primary",defaultValue:h,disabled:p=!1,error:g=!1,FormHelperTextProps:v,fullWidth:b=!1,helperText:w,id:T,InputLabelProps:E,inputProps:R,InputProps:O,inputRef:C,label:k,maxRows:M,minRows:D,multiline:N=!1,name:z,onBlur:$,onChange:X,onFocus:U,placeholder:j,required:q=!1,rows:H,select:Y=!1,SelectProps:W,slots:J={},slotProps:Z={},type:Q,value:ee,variant:F="outlined",...G}=r,ue={...r,autoFocus:i,color:d,disabled:p,error:g,fullWidth:b,multiline:N,required:q,select:Y,variant:F},le=_3(ue),ne=el(T),te=w&&ne?`${ne}-helper-text`:void 0,pe=k&&ne?`${ne}-label`:void 0,re=b3[F],se={slots:J,slotProps:{input:O,inputLabel:E,htmlInput:R,formHelperText:v,select:W,...Z}},ie={},ce=se.slotProps.inputLabel;F==="outlined"&&(ce&&typeof ce.shrink<"u"&&(ie.notched=ce.shrink),ie.label=k),Y&&((!W||!W.native)&&(ie.id=void 0),ie["aria-describedby"]=void 0);const[fe,ye]=Ht("root",{elementType:w3,shouldForwardComponentProp:!0,externalForwardedProps:{...se,...G},ownerState:ue,className:$e(le.root,u),ref:n,additionalProps:{disabled:p,error:g,fullWidth:b,required:q,color:d,variant:F}}),[Ee,Me]=Ht("input",{elementType:re,externalForwardedProps:se,additionalProps:ie,ownerState:ue}),[Ue,Ve]=Ht("inputLabel",{elementType:ly,externalForwardedProps:se,ownerState:ue}),[Le,at]=Ht("htmlInput",{elementType:"input",externalForwardedProps:se,ownerState:ue}),[Be,et]=Ht("formHelperText",{elementType:mF,externalForwardedProps:se,ownerState:ue}),[He,jt]=Ht("select",{elementType:dp,externalForwardedProps:se,ownerState:ue}),vt=y.jsx(Ee,{"aria-describedby":te,autoComplete:o,autoFocus:i,defaultValue:h,fullWidth:b,multiline:N,name:z,rows:H,maxRows:M,minRows:D,type:Q,value:ee,id:ne,inputRef:C,onBlur:$,onChange:X,onFocus:U,placeholder:j,inputProps:at,slots:{input:J.htmlInput?Le:void 0},...Me});return y.jsxs(fe,{...ye,children:[k!=null&&k!==""&&y.jsx(Ue,{htmlFor:ne,id:pe,...Ve,children:k}),Y?y.jsx(He,{"aria-describedby":te,id:ne,labelId:pe,value:ee,input:vt,...jt,children:a}):vt,w&&y.jsx(Be,{id:te,...et,children:w})]})});function S3(e){return pt("MuiToggleButton",e)}const $l=ft("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),bk=x.createContext({}),_k=x.createContext(void 0);function T3(e,t){return t===void 0||e===void 0?!1:Array.isArray(t)?t.includes(e):e===t}const E3=e=>{const{classes:t,fullWidth:n,selected:r,disabled:o,size:i,color:a}=e,u={root:["root",r&&"selected",o&&"disabled",n&&"fullWidth",`size${ke(i)}`,a]};return ht(u,S3,t)},C3=Te(qa,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`size${ke(n.size)}`]]}})(st(({theme:e})=>({...e.typography.button,borderRadius:(e.vars||e).shape.borderRadius,padding:11,border:`1px solid ${(e.vars||e).palette.divider}`,color:(e.vars||e).palette.action.active,[`&.${$l.disabled}`]:{color:(e.vars||e).palette.action.disabled,border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[{props:{color:"standard"},style:{[`&.${$l.selected}`]:{color:(e.vars||e).palette.text.primary,backgroundColor:e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.selectedOpacity),"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.text.primary,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.selectedOpacity)}}}}},...Object.entries(e.palette).filter(gr()).map(([t])=>({props:{color:t},style:{[`&.${$l.selected}`]:{color:(e.vars||e).palette[t].main,backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.selectedOpacity),"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.selectedOpacity)}}}}})),{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{padding:7,fontSize:e.typography.pxToRem(13)}},{props:{size:"large"},style:{padding:15,fontSize:e.typography.pxToRem(15)}}]}))),lf=x.forwardRef(function(t,n){const{value:r,...o}=x.useContext(bk),i=x.useContext(_k),a=Su({...o,selected:T3(t.value,r)},t),u=yt({props:a,name:"MuiToggleButton"}),{children:d,className:h,color:p="standard",disabled:g=!1,disableFocusRipple:v=!1,fullWidth:b=!1,onChange:w,onClick:T,selected:E,size:R="medium",value:O,...C}=u,k={...u,color:p,disabled:g,disableFocusRipple:v,fullWidth:b,size:R},M=E3(k),D=z=>{T&&(T(z,O),z.defaultPrevented)||w&&w(z,O)},N=i||"";return y.jsx(C3,{className:$e(o.className,M.root,h,N),disabled:g,focusRipple:!v,ref:n,onClick:D,onChange:w,value:O,ownerState:k,"aria-pressed":E,...C,children:d})});function R3(e){return pt("MuiToggleButtonGroup",e)}const Nn=ft("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]),k3=e=>{const{classes:t,orientation:n,fullWidth:r,disabled:o}=e,i={root:["root",n,r&&"fullWidth"],grouped:["grouped",`grouped${ke(n)}`,o&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return ht(i,R3,t)},I3=Te("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Nn.grouped}`]:t.grouped},{[`& .${Nn.grouped}`]:t[`grouped${ke(n.orientation)}`]},{[`& .${Nn.firstButton}`]:t.firstButton},{[`& .${Nn.lastButton}`]:t.lastButton},{[`& .${Nn.middleButton}`]:t.middleButton},t.root,n.orientation==="vertical"&&t.vertical,n.fullWidth&&t.fullWidth]}})(st(({theme:e})=>({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius,variants:[{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${Nn.grouped}`]:{[`&.${Nn.selected} + .${Nn.grouped}.${Nn.selected}`]:{borderTop:0,marginTop:0}},[`& .${Nn.firstButton},& .${Nn.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${Nn.lastButton},& .${Nn.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},[`& .${Nn.lastButton}.${$l.disabled},& .${Nn.middleButton}.${$l.disabled}`]:{borderTop:"1px solid transparent"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"horizontal"},style:{[`& .${Nn.grouped}`]:{[`&.${Nn.selected} + .${Nn.grouped}.${Nn.selected}`]:{borderLeft:0,marginLeft:0}},[`& .${Nn.firstButton},& .${Nn.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${Nn.lastButton},& .${Nn.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},[`& .${Nn.lastButton}.${$l.disabled},& .${Nn.middleButton}.${$l.disabled}`]:{borderLeft:"1px solid transparent"}}}]}))),wk=x.forwardRef(function(t,n){const r=yt({props:t,name:"MuiToggleButtonGroup"}),{children:o,className:i,color:a="standard",disabled:u=!1,exclusive:d=!1,fullWidth:h=!1,onChange:p,orientation:g="horizontal",size:v="medium",value:b,...w}=r,T={...r,disabled:u,fullWidth:h,orientation:g,size:v},E=k3(T),R=x.useCallback((N,z)=>{if(!p)return;const $=b&&b.indexOf(z);let X;b&&$>=0?(X=b.slice(),X.splice($,1)):X=b?b.concat(z):[z],p(N,X)},[p,b]),O=x.useCallback((N,z)=>{p&&p(N,b===z?null:z)},[p,b]),C=x.useMemo(()=>({className:E.grouped,onChange:d?O:R,value:b,size:v,fullWidth:h,color:a,disabled:u}),[E.grouped,d,O,R,b,v,h,a,u]),k=Wz(o),M=k.length,D=N=>{const z=N===0,$=N===M-1;return z&&$?"":z?E.firstButton:$?E.lastButton:E.middleButton};return y.jsx(I3,{role:"group",className:$e(E.root,i),ref:n,ownerState:T,...w,children:y.jsx(bk.Provider,{value:C,children:k.map((N,z)=>y.jsx(_k.Provider,{value:D(z),children:N},z))})})});var sm={},OT;function L3(){if(OT)return sm;OT=1;var e=FR();return sm.createRoot=e.createRoot,sm.hydrateRoot=e.hydrateRoot,sm}var Sk=L3();const P3=Kf(Sk);var MT="popstate";function AT(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function O3(e={}){function t(r,o){let i=o.state?.masked,{pathname:a,search:u,hash:d}=i||r.location;return O0("",{pathname:a,search:u,hash:d},o.state&&o.state.usr||null,o.state&&o.state.key||"default",i?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function n(r,o){return typeof o=="string"?o:Of(o)}return A3(t,n,null,e)}function Kn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function gs(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function M3(){return Math.random().toString(36).substring(2,10)}function NT(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.unstable_mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function O0(e,t,n=null,r,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Ku(t):t,state:n,key:t&&t.key||r||M3(),unstable_mask:o}}function Of({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Ku(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function A3(e,t,n,r={}){let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,u="POP",d=null,h=p();h==null&&(h=0,a.replaceState({...a.state,idx:h},""));function p(){return(a.state||{idx:null}).idx}function g(){u="POP";let E=p(),R=E==null?null:E-h;h=E,d&&d({action:u,location:T.location,delta:R})}function v(E,R){u="PUSH";let O=AT(E)?E:O0(T.location,E,R);h=p()+1;let C=NT(O,h),k=T.createHref(O.unstable_mask||O);try{a.pushState(C,"",k)}catch(M){if(M instanceof DOMException&&M.name==="DataCloneError")throw M;o.location.assign(k)}i&&d&&d({action:u,location:T.location,delta:1})}function b(E,R){u="REPLACE";let O=AT(E)?E:O0(T.location,E,R);h=p();let C=NT(O,h),k=T.createHref(O.unstable_mask||O);a.replaceState(C,"",k),i&&d&&d({action:u,location:T.location,delta:0})}function w(E){return N3(E)}let T={get action(){return u},get location(){return e(o,a)},listen(E){if(d)throw new Error("A history only accepts one active listener");return o.addEventListener(MT,g),d=E,()=>{o.removeEventListener(MT,g),d=null}},createHref(E){return t(o,E)},createURL:w,encodeLocation(E){let R=w(E);return{pathname:R.pathname,search:R.search,hash:R.hash}},push:v,replace:b,go(E){return a.go(E)}};return T}function N3(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),Kn(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:Of(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function Tk(e,t,n="/"){return D3(e,t,n,!1)}function D3(e,t,n,r){let o=typeof t=="string"?Ku(t):t,i=ia(o.pathname||"/",n);if(i==null)return null;let a=Ek(e);j3(a);let u=null;for(let d=0;u==null&&d{let p={relativePath:h===void 0?a.path||"":h,caseSensitive:a.caseSensitive===!0,childrenIndex:u,route:a};if(p.relativePath.startsWith("/")){if(!p.relativePath.startsWith(r)&&d)return;Kn(p.relativePath.startsWith(r),`Absolute route path "${p.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(r.length)}let g=ps([r,p.relativePath]),v=n.concat(p);a.children&&a.children.length>0&&(Kn(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${g}".`),Ek(a.children,t,v,g,d)),!(a.path==null&&!a.index)&&t.push({path:g,score:U3(g,a.index),routesMeta:v})};return e.forEach((a,u)=>{if(a.path===""||!a.path?.includes("?"))i(a,u);else for(let d of Ck(a.path))i(a,u,!0,d)}),t}function Ck(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let a=Ck(r.join("/")),u=[];return u.push(...a.map(d=>d===""?i:[i,d].join("/"))),o&&u.push(...a),u.map(d=>e.startsWith("/")&&d===""?"/":d)}function j3(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:V3(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var B3=/^:[\w-]+$/,z3=3,$3=2,F3=1,H3=10,W3=-2,DT=e=>e==="*";function U3(e,t){let n=e.split("/"),r=n.length;return n.some(DT)&&(r+=W3),t&&(r+=$3),n.filter(o=>!DT(o)).reduce((o,i)=>o+(B3.test(i)?z3:i===""?F3:H3),r)}function V3(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function Y3(e,t,n=!1){let{routesMeta:r}=e,o={},i="/",a=[];for(let u=0;u{if(p==="*"){let w=u[v]||"";a=i.slice(0,i.length-w.length).replace(/(.)\/+$/,"$1")}const b=u[v];return g&&!b?h[p]=void 0:h[p]=(b||"").replace(/%2F/g,"/"),h},{}),pathname:i,pathnameBase:a,pattern:e}}function X3(e,t=!1,n=!0){gs(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 r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,u,d,h,p)=>{if(r.push({paramName:u,isOptional:d!=null}),d){let g=p.charAt(h+a.length);return g&&g!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function Z3(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return gs(!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 (${t}).`),e}}function ia(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}var G3=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function K3(e,t="/"){let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Ku(e):e,i;return n?(n=n.replace(/\/\/+/g,"/"),n.startsWith("/")?i=jT(n.substring(1),"/"):i=jT(n,t)):i=t,{pathname:i,search:Q3(r),hash:e4(o)}}function jT(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function _x(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function q3(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Rk(e){let t=q3(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function o_(e,t,n,r=!1){let o;typeof e=="string"?o=Ku(e):(o={...e},Kn(!o.pathname||!o.pathname.includes("?"),_x("?","pathname","search",o)),Kn(!o.pathname||!o.pathname.includes("#"),_x("#","pathname","hash",o)),Kn(!o.search||!o.search.includes("#"),_x("#","search","hash",o)));let i=e===""||o.pathname==="",a=i?"/":o.pathname,u;if(a==null)u=n;else{let g=t.length-1;if(!r&&a.startsWith("..")){let v=a.split("/");for(;v[0]==="..";)v.shift(),g-=1;o.pathname=v.join("/")}u=g>=0?t[g]:"/"}let d=K3(o,u),h=a&&a!=="/"&&a.endsWith("/"),p=(i||a===".")&&n.endsWith("/");return!d.pathname.endsWith("/")&&(h||p)&&(d.pathname+="/"),d}var ps=e=>e.join("/").replace(/\/\/+/g,"/"),J3=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Q3=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,e4=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,t4=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function n4(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function r4(e){return e.map(t=>t.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var kk=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Ik(e,t){let n=e;if(typeof n!="string"||!G3.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,o=!1;if(kk)try{let i=new URL(window.location.href),a=n.startsWith("//")?new URL(i.protocol+n):new URL(n),u=ia(a.pathname,t);a.origin===i.origin&&u!=null?n=u+a.search+a.hash:o=!0}catch{gs(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:o,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Lk=["POST","PUT","PATCH","DELETE"];new Set(Lk);var o4=["GET",...Lk];new Set(o4);var qu=x.createContext(null);qu.displayName="DataRouter";var uy=x.createContext(null);uy.displayName="DataRouterState";var i4=x.createContext(!1),Pk=x.createContext({isTransitioning:!1});Pk.displayName="ViewTransition";var s4=x.createContext(new Map);s4.displayName="Fetchers";var a4=x.createContext(null);a4.displayName="Await";var vi=x.createContext(null);vi.displayName="Navigation";var fp=x.createContext(null);fp.displayName="Location";var xs=x.createContext({outlet:null,matches:[],isDataRoute:!1});xs.displayName="Route";var i_=x.createContext(null);i_.displayName="RouteError";var Ok="REACT_ROUTER_ERROR",l4="REDIRECT",c4="ROUTE_ERROR_RESPONSE";function u4(e){if(e.startsWith(`${Ok}:${l4}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function d4(e){if(e.startsWith(`${Ok}:${c4}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new t4(t.status,t.statusText,t.data)}catch{}}function f4(e,{relative:t}={}){Kn(pp(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=x.useContext(vi),{hash:o,pathname:i,search:a}=mp(e,{relative:t}),u=i;return n!=="/"&&(u=i==="/"?n:ps([n,i])),r.createHref({pathname:u,search:a,hash:o})}function pp(){return x.useContext(fp)!=null}function ol(){return Kn(pp(),"useLocation() may be used only in the context of a component."),x.useContext(fp).location}var Mk="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Ak(e){x.useContext(vi).static||x.useLayoutEffect(e)}function hp(){let{isDataRoute:e}=x.useContext(xs);return e?E4():p4()}function p4(){Kn(pp(),"useNavigate() may be used only in the context of a component.");let e=x.useContext(qu),{basename:t,navigator:n}=x.useContext(vi),{matches:r}=x.useContext(xs),{pathname:o}=ol(),i=JSON.stringify(Rk(r)),a=x.useRef(!1);return Ak(()=>{a.current=!0}),x.useCallback((d,h={})=>{if(gs(a.current,Mk),!a.current)return;if(typeof d=="number"){n.go(d);return}let p=o_(d,JSON.parse(i),o,h.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:ps([t,p.pathname])),(h.replace?n.replace:n.push)(p,h.state,h)},[t,n,i,o,e])}x.createContext(null);function Nk(){let{matches:e}=x.useContext(xs),t=e[e.length-1];return t?t.params:{}}function mp(e,{relative:t}={}){let{matches:n}=x.useContext(xs),{pathname:r}=ol(),o=JSON.stringify(Rk(n));return x.useMemo(()=>o_(e,JSON.parse(o),r,t==="path"),[e,o,r,t])}function h4(e,t){return Dk(e,t)}function Dk(e,t,n){Kn(pp(),"useRoutes() may be used only in the context of a component.");let{navigator:r}=x.useContext(vi),{matches:o}=x.useContext(xs),i=o[o.length-1],a=i?i.params:{},u=i?i.pathname:"/",d=i?i.pathnameBase:"/",h=i&&i.route;{let E=h&&h.path||"";Bk(u,!h||E.endsWith("*")||E.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${u}" (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 p=ol(),g;if(t){let E=typeof t=="string"?Ku(t):t;Kn(d==="/"||E.pathname?.startsWith(d),`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 "${d}" but pathname "${E.pathname}" was given in the \`location\` prop.`),g=E}else g=p;let v=g.pathname||"/",b=v;if(d!=="/"){let E=d.replace(/^\//,"").split("/");b="/"+v.replace(/^\//,"").split("/").slice(E.length).join("/")}let w=Tk(e,{pathname:b});gs(h||w!=null,`No routes matched location "${g.pathname}${g.search}${g.hash}" `),gs(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 "${g.pathname}${g.search}${g.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 T=x4(w&&w.map(E=>Object.assign({},E,{params:Object.assign({},a,E.params),pathname:ps([d,r.encodeLocation?r.encodeLocation(E.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?d:ps([d,r.encodeLocation?r.encodeLocation(E.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:E.pathnameBase])})),o,n);return t&&T?x.createElement(fp.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...g},navigationType:"POP"}},T):T}function m4(){let e=T4(),t=n4(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},a=null;return console.error("Error handled by React Router default ErrorBoundary:",e),a=x.createElement(x.Fragment,null,x.createElement("p",null,"💿 Hey developer 👋"),x.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",x.createElement("code",{style:i},"ErrorBoundary")," or"," ",x.createElement("code",{style:i},"errorElement")," prop on your route.")),x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:o},n):null,a)}var g4=x.createElement(m4,null),jk=class extends x.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,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const n=d4(e.digest);n&&(e=n)}let t=e!==void 0?x.createElement(xs.Provider,{value:this.props.routeContext},x.createElement(i_.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?x.createElement(y4,{error:e},t):t}};jk.contextType=i4;var wx=new WeakMap;function y4({children:e,error:t}){let{basename:n}=x.useContext(vi);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=u4(t.digest);if(r){let o=wx.get(t);if(o)throw o;let i=Ik(r.location,n);if(kk&&!wx.get(t))if(i.isExternal||r.reloadDocument)window.location.href=i.absoluteURL||i.to;else{const a=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:r.replace}));throw wx.set(t,a),a}return x.createElement("meta",{httpEquiv:"refresh",content:`0;url=${i.absoluteURL||i.to}`})}}return e}function v4({routeContext:e,match:t,children:n}){let r=x.useContext(qu);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),x.createElement(xs.Provider,{value:e},n)}function x4(e,t=[],n){let r=n?.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let o=e,i=r?.errors;if(i!=null){let p=o.findIndex(g=>g.route.id&&i?.[g.route.id]!==void 0);Kn(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),o=o.slice(0,Math.min(o.length,p+1))}let a=!1,u=-1;if(n&&r){a=r.renderFallback;for(let p=0;p=0?o=o.slice(0,u+1):o=[o[0]];break}}}}let d=n?.onError,h=r&&d?(p,g)=>{d(p,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:r4(r.matches),errorInfo:g})}:void 0;return o.reduceRight((p,g,v)=>{let b,w=!1,T=null,E=null;r&&(b=i&&g.route.id?i[g.route.id]:void 0,T=g.route.errorElement||g4,a&&(u<0&&v===0?(Bk("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),w=!0,E=null):u===v&&(w=!0,E=g.route.hydrateFallbackElement||null)));let R=t.concat(o.slice(0,v+1)),O=()=>{let C;return b?C=T:w?C=E:g.route.Component?C=x.createElement(g.route.Component,null):g.route.element?C=g.route.element:C=p,x.createElement(v4,{match:g,routeContext:{outlet:p,matches:R,isDataRoute:r!=null},children:C})};return r&&(g.route.ErrorBoundary||g.route.errorElement||v===0)?x.createElement(jk,{location:r.location,revalidation:r.revalidation,component:T,error:b,children:O(),routeContext:{outlet:null,matches:R,isDataRoute:!0},onError:h}):O()},null)}function s_(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function b4(e){let t=x.useContext(qu);return Kn(t,s_(e)),t}function _4(e){let t=x.useContext(uy);return Kn(t,s_(e)),t}function w4(e){let t=x.useContext(xs);return Kn(t,s_(e)),t}function a_(e){let t=w4(e),n=t.matches[t.matches.length-1];return Kn(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function S4(){return a_("useRouteId")}function T4(){let e=x.useContext(i_),t=_4("useRouteError"),n=a_("useRouteError");return e!==void 0?e:t.errors?.[n]}function E4(){let{router:e}=b4("useNavigate"),t=a_("useNavigate"),n=x.useRef(!1);return Ak(()=>{n.current=!0}),x.useCallback(async(o,i={})=>{gs(n.current,Mk),n.current&&(typeof o=="number"?await e.navigate(o):await e.navigate(o,{fromRouteId:t,...i}))},[e,t])}var BT={};function Bk(e,t,n){!t&&!BT[e]&&(BT[e]=!0,gs(!1,n))}x.memo(C4);function C4({routes:e,future:t,state:n,isStatic:r,onError:o}){return Dk(e,void 0,{state:n,isStatic:r,onError:o})}function Am(e){Kn(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function R4({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:o,static:i=!1,unstable_useTransitions:a}){Kn(!pp(),"You cannot render a inside another . You should never have more than one in your app.");let u=e.replace(/^\/*/,"/"),d=x.useMemo(()=>({basename:u,navigator:o,static:i,unstable_useTransitions:a,future:{}}),[u,o,i,a]);typeof n=="string"&&(n=Ku(n));let{pathname:h="/",search:p="",hash:g="",state:v=null,key:b="default",unstable_mask:w}=n,T=x.useMemo(()=>{let E=ia(h,u);return E==null?null:{location:{pathname:E,search:p,hash:g,state:v,key:b,unstable_mask:w},navigationType:r}},[u,h,p,g,v,b,r,w]);return gs(T!=null,` is not able to match the URL "${h}${p}${g}" because it does not start with the basename, so the won't render anything.`),T==null?null:x.createElement(vi.Provider,{value:d},x.createElement(fp.Provider,{children:t,value:T}))}function k4({children:e,location:t}){return h4(M0(e),t)}function M0(e,t=[]){let n=[];return x.Children.forEach(e,(r,o)=>{if(!x.isValidElement(r))return;let i=[...t,o];if(r.type===x.Fragment){n.push.apply(n,M0(r.props.children,i));return}Kn(r.type===Am,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),Kn(!r.props.index||!r.props.children,"An index route cannot have child routes.");let a={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(a.children=M0(r.props.children,i)),n.push(a)}),n}var Nm="get",Dm="application/x-www-form-urlencoded";function dy(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function I4(e){return dy(e)&&e.tagName.toLowerCase()==="button"}function L4(e){return dy(e)&&e.tagName.toLowerCase()==="form"}function P4(e){return dy(e)&&e.tagName.toLowerCase()==="input"}function O4(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function M4(e,t){return e.button===0&&(!t||t==="_self")&&!O4(e)}var am=null;function A4(){if(am===null)try{new FormData(document.createElement("form"),0),am=!1}catch{am=!0}return am}var N4=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Sx(e){return e!=null&&!N4.has(e)?(gs(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Dm}"`),null):e}function D4(e,t){let n,r,o,i,a;if(L4(e)){let u=e.getAttribute("action");r=u?ia(u,t):null,n=e.getAttribute("method")||Nm,o=Sx(e.getAttribute("enctype"))||Dm,i=new FormData(e)}else if(I4(e)||P4(e)&&(e.type==="submit"||e.type==="image")){let u=e.form;if(u==null)throw new Error('Cannot submit a