From 5b876279e9a52b674d6b648eadaf65704ebb70e5 Mon Sep 17 00:00:00 2001 From: IvanZemsky Date: Tue, 8 Oct 2024 18:28:20 +0300 Subject: [PATCH] Updates --- assets/{index-BrqDTGSd.js => index-BNikDZNI.js} | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename assets/{index-BrqDTGSd.js => index-BNikDZNI.js} (99%) diff --git a/assets/index-BrqDTGSd.js b/assets/index-BNikDZNI.js similarity index 99% rename from assets/index-BrqDTGSd.js rename to assets/index-BNikDZNI.js index 4a82c27..681bdc6 100644 --- a/assets/index-BrqDTGSd.js +++ b/assets/index-BNikDZNI.js @@ -196,4 +196,4 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann animation: ${Ed} 1.4s linear infinite; `:null,J2=typeof Rd!="string"?Bf` animation: ${Rd} 1.4s ease-in-out infinite; - `:null,eR=e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,`color${te(r)}`],svg:["svg"],circle:["circle",`circle${te(n)}`,o&&"circleDisableShrink"]};return be(i,q2,t)},tR=Q("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${te(n.color)}`]]}})(De(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:Z2||{animation:`${Ed} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Kn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),nR=Q("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),rR=Q("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${te(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(De(({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:J2||{animation:`${Rd} 1.4s ease-in-out infinite`}}]}))),oR=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiCircularProgress"}),{className:o,color:i="primary",disableShrink:a=!1,size:l=40,style:s,thickness:u=3.6,value:c=0,variant:d="indeterminate",...f}=r,y={...r,color:i,disableShrink:a,size:l,thickness:u,value:c,variant:d},v=eR(y),x={},b={},m={};if(d==="determinate"){const h=2*Math.PI*((vr-u)/2);x.strokeDasharray=h.toFixed(3),m["aria-valuenow"]=Math.round(c),x.strokeDashoffset=`${((100-c)/100*h).toFixed(3)}px`,b.transform="rotate(-90deg)"}return M.jsx(tR,{className:ae(v.root,o),style:{width:l,height:l,...b,...s},ownerState:y,ref:n,role:"progressbar",...m,...f,children:M.jsx(nR,{className:v.svg,ownerState:y,viewBox:`${vr/2} ${vr/2} ${vr} ${vr}`,children:M.jsx(rR,{className:v.circle,style:x,ownerState:y,cx:vr,cy:vr,r:(vr-u)/2,fill:"none",strokeWidth:u})})})}),iR=bk({createStyledComponent:Q("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${te(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>ep({props:e,name:"MuiContainer"})});function aR(e){const t=tn(e);return t.body===e?ho(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function ra(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function km(e){return parseInt(ho(e).getComputedStyle(e).paddingRight,10)||0}function lR(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 Em(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,a=>{const l=!i.includes(a),s=!lR(a);l&&s&&ra(a,o)})}function fc(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function sR(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(aR(r)){const a=V0(tn(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${km(r)+a}px`;const l=tn(r).querySelectorAll(".mui-fixed");[].forEach.call(l,s=>{n.push({value:s.style.paddingRight,property:"padding-right",el:s}),s.style.paddingRight=`${km(s)+a}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=tn(r).body;else{const a=r.parentElement,l=ho(r);i=(a==null?void 0:a.nodeName)==="HTML"&&l.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:l})=>{i?a.style.setProperty(l,i):a.style.removeProperty(l)})}}function uR(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class cR{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&&ra(t.modalRef,!1);const o=uR(n);Em(n,t.mount,t.modalRef,o,!0);const i=fc(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=fc(this.containers,i=>i.modals.includes(t)),o=this.containers[r];o.restore||(o.restore=sR(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=fc(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&&ra(t.modalRef,n),Em(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&&ra(a.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const dR=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function fR(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 pR(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 hR(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||pR(e))}function mR(e){const t=[],n=[];return Array.from(e.querySelectorAll(dR)).forEach((r,o)=>{const i=fR(r);i===-1||!hR(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 gR(){return!0}function yR(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=mR,isEnabled:a=gR,open:l}=e,s=S.useRef(!1),u=S.useRef(null),c=S.useRef(null),d=S.useRef(null),f=S.useRef(null),y=S.useRef(!1),v=S.useRef(null),x=Ot(Va(t),v),b=S.useRef(null);S.useEffect(()=>{!l||!v.current||(y.current=!n)},[n,l]),S.useEffect(()=>{if(!l||!v.current)return;const p=tn(v.current);return v.current.contains(p.activeElement)||(v.current.hasAttribute("tabIndex")||v.current.setAttribute("tabIndex","-1"),y.current&&v.current.focus()),()=>{o||(d.current&&d.current.focus&&(s.current=!0,d.current.focus()),d.current=null)}},[l]),S.useEffect(()=>{if(!l||!v.current)return;const p=tn(v.current),C=R=>{b.current=R,!(r||!a()||R.key!=="Tab")&&p.activeElement===v.current&&R.shiftKey&&(s.current=!0,c.current&&c.current.focus())},E=()=>{var g,P;const R=v.current;if(R===null)return;if(!p.hasFocus()||!a()||s.current){s.current=!1;return}if(R.contains(p.activeElement)||r&&p.activeElement!==u.current&&p.activeElement!==c.current)return;if(p.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!y.current)return;let w=[];if((p.activeElement===u.current||p.activeElement===c.current)&&(w=i(v.current)),w.length>0){const N=!!((g=b.current)!=null&&g.shiftKey&&((P=b.current)==null?void 0:P.key)==="Tab"),_=w[0],F=w[w.length-1];typeof _!="string"&&typeof F!="string"&&(N?F.focus():_.focus())}else R.focus()};p.addEventListener("focusin",E),p.addEventListener("keydown",C,!0);const T=setInterval(()=>{p.activeElement&&p.activeElement.tagName==="BODY"&&E()},50);return()=>{clearInterval(T),p.removeEventListener("focusin",E),p.removeEventListener("keydown",C,!0)}},[n,r,o,a,l,i]);const m=p=>{d.current===null&&(d.current=p.relatedTarget),y.current=!0,f.current=p.target;const C=t.props.onFocus;C&&C(p)},h=p=>{d.current===null&&(d.current=p.relatedTarget),y.current=!0};return M.jsxs(S.Fragment,{children:[M.jsx("div",{tabIndex:l?0:-1,onFocus:h,ref:u,"data-testid":"sentinelStart"}),S.cloneElement(t,{ref:x,onFocus:m}),M.jsx("div",{tabIndex:l?0:-1,onFocus:h,ref:c,"data-testid":"sentinelEnd"})]})}function vR(e){return typeof e=="function"?e():e}function xR(e){return e?e.props.hasOwnProperty("in"):!1}const SR=new cR;function wR(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=SR,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:l,children:s,onClose:u,open:c,rootRef:d}=e,f=S.useRef({}),y=S.useRef(null),v=S.useRef(null),x=Ot(v,d),[b,m]=S.useState(!c),h=xR(s);let p=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(p=!1);const C=()=>tn(y.current),E=()=>(f.current.modalRef=v.current,f.current.mount=y.current,f.current),T=()=>{o.mount(E(),{disableScrollLock:r}),v.current&&(v.current.scrollTop=0)},R=Fo(()=>{const j=vR(t)||C().body;o.add(E(),j),v.current&&T()}),w=S.useCallback(()=>o.isTopModal(E()),[o]),g=Fo(j=>{y.current=j,j&&(c&&w()?T():v.current&&ra(v.current,p))}),P=S.useCallback(()=>{o.remove(E(),p)},[p,o]);S.useEffect(()=>()=>{P()},[P]),S.useEffect(()=>{c?R():(!h||!i)&&P()},[c,P,h,i,R]);const N=j=>H=>{var O;(O=j.onKeyDown)==null||O.call(j,H),!(H.key!=="Escape"||H.which===229||!w())&&(n||(H.stopPropagation(),u&&u(H,"escapeKeyDown")))},_=j=>H=>{var O;(O=j.onClick)==null||O.call(j,H),H.target===H.currentTarget&&u&&u(H,"backdropClick")};return{getRootProps:(j={})=>{const H=K0(e);delete H.onTransitionEnter,delete H.onTransitionExited;const O={...H,...j};return{role:"presentation",...O,onKeyDown:N(O),ref:x}},getBackdropProps:(j={})=>{const H=j;return{"aria-hidden":!0,...H,onClick:_(H),open:c}},getTransitionProps:()=>{const j=()=>{m(!1),a&&a()},H=()=>{m(!0),l&&l(),i&&P()};return{onEnter:om(j,s==null?void 0:s.props.onEnter),onExited:om(H,s==null?void 0:s.props.onExited)}},rootRef:x,portalRef:g,isTopModal:w,exited:b,hasTransition:h}}function CR(e){return Se("MuiModal",e)}Ce("MuiModal",["root","hidden","backdrop"]);const bR=e=>{const{open:t,exited:n,classes:r}=e;return be({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},CR,r)},kR=Q("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(De(({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"}}]}))),ER=Q(w2,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),RR=S.forwardRef(function(t,n){const r=Ie({name:"MuiModal",props:t}),{BackdropComponent:o=ER,BackdropProps:i,classes:a,className:l,closeAfterTransition:s=!1,children:u,container:c,component:d,components:f={},componentsProps:y={},disableAutoFocus:v=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:b=!1,disablePortal:m=!1,disableRestoreFocus:h=!1,disableScrollLock:p=!1,hideBackdrop:C=!1,keepMounted:E=!1,onBackdropClick:T,onClose:R,onTransitionEnter:w,onTransitionExited:g,open:P,slotProps:N={},slots:_={},theme:F,...D}=r,U={...r,closeAfterTransition:s,disableAutoFocus:v,disableEnforceFocus:x,disableEscapeKeyDown:b,disablePortal:m,disableRestoreFocus:h,disableScrollLock:p,hideBackdrop:C,keepMounted:E},{getRootProps:j,getBackdropProps:H,getTransitionProps:O,portalRef:A,isTopModal:V,exited:Z,hasTransition:se}=wR({...U,rootRef:n}),ie={...U,exited:Z},re=bR(ie),ke={};if(u.props.tabIndex===void 0&&(ke.tabIndex="-1"),se){const{onEnter:pe,onExited:dt}=O();ke.onEnter=pe,ke.onExited=dt}const he={...D,slots:{root:f.Root,backdrop:f.Backdrop,..._},slotProps:{...y,...N}},[Oe,Ze]=Pn("root",{elementType:kR,externalForwardedProps:he,getSlotProps:j,additionalProps:{ref:n,as:d},ownerState:ie,className:ae(l,re==null?void 0:re.root,!ie.open&&ie.exited&&(re==null?void 0:re.hidden))}),[Ke,ue]=Pn("backdrop",{elementType:o,externalForwardedProps:he,additionalProps:i,getSlotProps:pe=>H({...pe,onClick:dt=>{T&&T(dt),pe!=null&&pe.onClick&&pe.onClick(dt)}}),className:ae(i==null?void 0:i.className,re==null?void 0:re.backdrop),ownerState:ie}),we=Ot(i==null?void 0:i.ref,ue.ref);return!E&&!P&&(!se||Z)?null:M.jsx(o2,{ref:A,container:c,disablePortal:m,children:M.jsxs(Oe,{...Ze,children:[!C&&o?M.jsx(Ke,{...ue,ref:we}):null,M.jsx(yR,{disableEnforceFocus:x,disableAutoFocus:v,disableRestoreFocus:h,isEnabled:V,open:P,children:S.cloneElement(u,ke)})]})})}),PR=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:o,size:i,hiddenLabel:a,multiline:l}=e,s={root:["root",!n&&"underline",r&&"adornedStart",o&&"adornedEnd",i==="small"&&`size${te(i)}`,a&&"hiddenLabel",l&&"multiline"],input:["input"]},u=be(s,p2,t);return{...t,...u}},TR=Q(Pu,{shouldForwardProp:e=>On(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Eu(e,t),!n.disableUnderline&&t.underline]}})(De(({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}},[`&.${Vr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Vr.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"},[`&.${Vr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Vr.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${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(.${Vr.disabled}, .${Vr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Vr.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Kn()).map(([a])=>{var l;return{props:{disableUnderline:!1,color:a},style:{"&::after":{borderBottom:`2px solid ${(l=(e.vars||e).palette[a])==null?void 0:l.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:l})=>a.multiline&&l==="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}}]}})),$R=Q(Tu,{name:"MuiFilledInput",slot:"Input",overridesResolver:Ru})(De(({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}}]}))),ks=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiFilledInput"}),{disableUnderline:o=!1,components:i={},componentsProps:a,fullWidth:l=!1,hiddenLabel:s,inputComponent:u="input",multiline:c=!1,slotProps:d,slots:f={},type:y="text",...v}=r,x={...r,disableUnderline:o,fullWidth:l,inputComponent:u,multiline:c,type:y},b=PR(r),m={root:{ownerState:x},input:{ownerState:x}},h=d??a?Mt(m,d??a):m,p=f.root??i.Root??TR,C=f.input??i.Input??$R;return M.jsx(ap,{slots:{root:p,input:C},componentsProps:h,fullWidth:l,inputComponent:u,multiline:c,ref:n,type:y,...v,classes:b})});ks&&(ks.muiName="Input");function MR(e){return Se("MuiFormControl",e)}Ce("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const IR=e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root",n!=="none"&&`margin${te(n)}`,r&&"fullWidth"]};return be(o,MR,t)},OR=Q("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...t[`margin${te(e.margin)}`],...e.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%"}}]}),LR=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiFormControl"}),{children:o,className:i,color:a="primary",component:l="div",disabled:s=!1,error:u=!1,focused:c,fullWidth:d=!1,hiddenLabel:f=!1,margin:y="none",required:v=!1,size:x="medium",variant:b="outlined",...m}=r,h={...r,color:a,component:l,disabled:s,error:u,fullWidth:d,hiddenLabel:f,margin:y,required:v,size:x,variant:b},p=IR(h),[C,E]=S.useState(()=>{let F=!1;return o&&S.Children.forEach(o,D=>{if(!Fl(D,["Input","Select"]))return;const U=Fl(D,["Select"])?D.props.input:D;U&&s2(U.props)&&(F=!0)}),F}),[T,R]=S.useState(()=>{let F=!1;return o&&S.Children.forEach(o,D=>{Fl(D,["Input","Select"])&&(bs(D.props,!0)||bs(D.props.inputProps,!0))&&(F=!0)}),F}),[w,g]=S.useState(!1);s&&w&&g(!1);const P=c!==void 0&&!s?c:w;let N;S.useRef(!1);const _=S.useMemo(()=>({adornedStart:C,setAdornedStart:E,color:a,disabled:s,error:u,filled:T,focused:P,fullWidth:d,hiddenLabel:f,size:x,onBlur:()=>{g(!1)},onEmpty:()=>{R(!1)},onFilled:()=>{R(!0)},onFocus:()=>{g(!0)},registerEffect:N,required:v,variant:b}),[C,a,s,u,T,P,d,f,N,v,x,b]);return M.jsx(ip.Provider,{value:_,children:M.jsx(OR,{as:l,ownerState:h,className:ae(p.root,i),ref:n,...m,children:o})})});function NR(e){return Se("MuiFormHelperText",e)}const Rm=Ce("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var Pm;const zR=e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:a,focused:l,required:s}=e,u={root:["root",o&&"disabled",i&&"error",r&&`size${te(r)}`,n&&"contained",l&&"focused",a&&"filled",s&&"required"]};return be(u,NR,t)},_R=Q("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${te(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(De(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Rm.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Rm.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}}]}))),AR=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiFormHelperText"}),{children:o,className:i,component:a="p",disabled:l,error:s,filled:u,focused:c,margin:d,required:f,variant:y,...v}=r,x=xi(),b=vi({props:r,muiFormControl:x,states:["variant","size","disabled","error","filled","focused","required"]}),m={...r,component:a,contained:b.variant==="filled"||b.variant==="outlined",variant:b.variant,size:b.size,disabled:b.disabled,error:b.error,filled:b.filled,focused:b.focused,required:b.required};delete m.ownerState;const h=zR(m);return M.jsx(_R,{as:a,className:ae(h.root,i),ref:n,...v,ownerState:m,children:o===" "?Pm||(Pm=M.jsx("span",{className:"notranslate",children:"​"})):o})});function BR(e){return Se("MuiFormLabel",e)}const oa=Ce("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),DR=e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:a,required:l}=e,s={root:["root",`color${te(n)}`,o&&"disabled",i&&"error",a&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]};return be(s,BR,t)},jR=Q("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...e.color==="secondary"&&t.colorSecondary,...e.filled&&t.filled})})(De(({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(Kn()).map(([t])=>({props:{color:t},style:{[`&.${oa.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${oa.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${oa.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),FR=Q("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(De(({theme:e})=>({[`&.${oa.error}`]:{color:(e.vars||e).palette.error.main}}))),UR=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiFormLabel"}),{children:o,className:i,color:a,component:l="label",disabled:s,error:u,filled:c,focused:d,required:f,...y}=r,v=xi(),x=vi({props:r,muiFormControl:v,states:["color","required","focused","disabled","error","filled"]}),b={...r,color:x.color||"primary",component:l,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required},m=DR(b);return M.jsxs(jR,{as:l,ownerState:b,className:ae(m.root,i),ref:n,...y,children:[o,x.required&&M.jsxs(FR,{ownerState:b,"aria-hidden":!0,className:m.asterisk,children:[" ","*"]})]})}),Pd=Dk({createStyledComponent:Q("div",{name:"MuiGrid2",slot:"Root",overridesResolver:(e,t)=>t.root}),componentName:"MuiGrid2",useThemeProps:e=>ep({props:e,name:"MuiGrid2"})});function Td(e){return`scale(${e}, ${e**2})`}const WR={entering:{opacity:1,transform:Td(1)},entered:{opacity:1,transform:"none"}},pc=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),$d=S.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:a,in:l,onEnter:s,onEntered:u,onEntering:c,onExit:d,onExited:f,onExiting:y,style:v,timeout:x="auto",TransitionComponent:b=Gn,...m}=t,h=H0(),p=S.useRef(),C=ku(),E=S.useRef(null),T=Ot(E,Va(i),n),R=U=>j=>{if(U){const H=E.current;j===void 0?U(H):U(H,j)}},w=R(c),g=R((U,j)=>{tv(U);const{duration:H,delay:O,easing:A}=ws({style:v,timeout:x,easing:a},{mode:"enter"});let V;x==="auto"?(V=C.transitions.getAutoHeightDuration(U.clientHeight),p.current=V):V=H,U.style.transition=[C.transitions.create("opacity",{duration:V,delay:O}),C.transitions.create("transform",{duration:pc?V:V*.666,delay:O,easing:A})].join(","),s&&s(U,j)}),P=R(u),N=R(y),_=R(U=>{const{duration:j,delay:H,easing:O}=ws({style:v,timeout:x,easing:a},{mode:"exit"});let A;x==="auto"?(A=C.transitions.getAutoHeightDuration(U.clientHeight),p.current=A):A=j,U.style.transition=[C.transitions.create("opacity",{duration:A,delay:H}),C.transitions.create("transform",{duration:pc?A:A*.666,delay:pc?H:H||A*.333,easing:O})].join(","),U.style.opacity=0,U.style.transform=Td(.75),d&&d(U)}),F=R(f),D=U=>{x==="auto"&&h.start(p.current||0,U),r&&r(E.current,U)};return M.jsx(b,{appear:o,in:l,nodeRef:E,onEnter:g,onEntered:P,onEntering:w,onExit:_,onExited:F,onExiting:N,addEndListener:D,timeout:x==="auto"?null:x,...m,children:(U,j)=>S.cloneElement(i,{style:{opacity:0,transform:Td(.75),visibility:U==="exited"&&!l?"hidden":void 0,...WR[U],...v,...i.props.style},ref:T,...j})})});$d&&($d.muiSupportAuto=!0);const HR=e=>{const{classes:t,disableUnderline:n}=e,o=be({root:["root",!n&&"underline"],input:["input"]},d2,t);return{...t,...o}},VR=Q(Pu,{shouldForwardProp:e=>On(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Eu(e,t),!n.disableUnderline&&t.underline]}})(De(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${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"},[`&.${zi.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${zi.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(.${zi.disabled}, .${zi.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${zi.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Kn()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),GR=Q(Tu,{name:"MuiInput",slot:"Input",overridesResolver:Ru})({}),Es=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiInput"}),{disableUnderline:o=!1,components:i={},componentsProps:a,fullWidth:l=!1,inputComponent:s="input",multiline:u=!1,slotProps:c,slots:d={},type:f="text",...y}=r,v=HR(r),b={root:{ownerState:{disableUnderline:o}}},m=c??a?Mt(c??a,b):b,h=d.root??i.Root??VR,p=d.input??i.Input??GR;return M.jsx(ap,{slots:{root:h,input:p},slotProps:m,fullWidth:l,inputComponent:s,multiline:u,ref:n,type:f,...y,classes:v})});Es&&(Es.muiName="Input");function KR(e){return Se("MuiInputLabel",e)}Ce("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const QR=e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:i,variant:a,required:l}=e,s={root:["root",n&&"formControl",!i&&"animated",o&&"shrink",r&&r!=="normal"&&`size${te(r)}`,a],asterisk:[l&&"asterisk"]},u=be(s,KR,t);return{...t,...u}},YR=Q(UR,{shouldForwardProp:e=>On(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${oa.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]]}})(De(({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)"}}]}))),XR=S.forwardRef(function(t,n){const r=Ie({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,margin:i,shrink:a,variant:l,className:s,...u}=r,c=xi();let d=a;typeof d>"u"&&c&&(d=c.filled||c.focused||c.adornedStart);const f=vi({props:r,muiFormControl:c,states:["size","variant","required","focused"]}),y={...r,disableAnimation:o,formControl:c,shrink:d,size:f.size,variant:f.variant,required:f.required,focused:f.focused},v=QR(y);return M.jsx(YR,{"data-shrink":d,ref:n,className:ae(v.root,s),...u,ownerState:y,classes:v})});function qR(e){return Se("MuiLink",e)}const ZR=Ce("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),JR=({theme:e,ownerState:t})=>{const n=t.color,r=ii(e,`palette.${n}`,!1)||t.color,o=ii(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:mt(r,.4)},Tm={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},eP=e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e,i={root:["root",`underline${te(o)}`,n==="button"&&"button",r&&"focusVisible"]};return be(i,qR,t)},tP=Q(mn,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${te(n.underline)}`],n.component==="button"&&t.button]}})(De(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:t,ownerState:n})=>t==="always"&&n.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(e.palette).filter(Kn()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.4)`:mt(e.palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:mt(e.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.secondaryChannel} / 0.4)`:mt(e.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${ZR.focusVisible}`]:{outline:"auto"}}}]}))),rv=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiLink"}),o=ku(),{className:i,color:a="primary",component:l="a",onBlur:s,onFocus:u,TypographyClasses:c,underline:d="always",variant:f="inherit",sx:y,...v}=r,[x,b]=S.useState(!1),m=E=>{vs(E.target)||b(!1),s&&s(E)},h=E=>{vs(E.target)&&b(!0),u&&u(E)},p={...r,color:a,component:l,focusVisible:x,underline:d,variant:f},C=eP(p);return M.jsx(tP,{color:a,className:ae(C.root,i),classes:c,component:l,onBlur:m,onFocus:h,ref:n,ownerState:p,variant:f,...v,sx:[...Tm[a]===void 0?[{color:a}]:[],...Array.isArray(y)?y:[y]],style:{...v.style,...d==="always"&&a!=="inherit"&&!Tm[a]&&{"--Link-underlineColor":JR({theme:o,ownerState:p})}}})}),nP=S.createContext({});function rP(e){return Se("MuiList",e)}Ce("MuiList",["root","padding","dense","subheader"]);const oP=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return be({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},rP,t)},iP=Q("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}}]}),aP=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiList"}),{children:o,className:i,component:a="ul",dense:l=!1,disablePadding:s=!1,subheader:u,...c}=r,d=S.useMemo(()=>({dense:l}),[l]),f={...r,component:a,dense:l,disablePadding:s},y=oP(f);return M.jsx(nP.Provider,{value:d,children:M.jsxs(iP,{as:a,className:ae(y.root,i),ref:n,ownerState:f,...c,children:[u,o]})})});function hc(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function $m(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function ov(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 _i(e,t,n,r,o,i){let a=!1,l=o(e,t,t?n:!1);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const s=r?!1:l.disabled||l.getAttribute("aria-disabled")==="true";if(!l.hasAttribute("tabindex")||!ov(l,i)||s)l=o(e,l,n);else return l.focus(),!0}return!1}const lP=S.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:a,className:l,disabledItemsFocusable:s=!1,disableListWrap:u=!1,onKeyDown:c,variant:d="selectedMenu",...f}=t,y=S.useRef(null),v=S.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});po(()=>{o&&y.current.focus()},[o]),S.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(p,{direction:C})=>{const E=!y.current.style.width;if(p.clientHeight{const C=y.current,E=p.key;if(p.ctrlKey||p.metaKey||p.altKey){c&&c(p);return}const R=tn(C).activeElement;if(E==="ArrowDown")p.preventDefault(),_i(C,R,u,s,hc);else if(E==="ArrowUp")p.preventDefault(),_i(C,R,u,s,$m);else if(E==="Home")p.preventDefault(),_i(C,null,u,s,hc);else if(E==="End")p.preventDefault(),_i(C,null,u,s,$m);else if(E.length===1){const w=v.current,g=E.toLowerCase(),P=performance.now();w.keys.length>0&&(P-w.lastTime>500?(w.keys=[],w.repeating=!0,w.previousKeyMatched=!0):w.repeating&&g!==w.keys[0]&&(w.repeating=!1)),w.lastTime=P,w.keys.push(g);const N=R&&!w.repeating&&ov(R,w);w.previousKeyMatched&&(N||_i(C,R,!1,s,hc,w))?p.preventDefault():w.previousKeyMatched=!1}c&&c(p)},b=Ot(y,n);let m=-1;S.Children.forEach(a,(p,C)=>{if(!S.isValidElement(p)){m===C&&(m+=1,m>=a.length&&(m=-1));return}p.props.disabled||(d==="selectedMenu"&&p.props.selected||m===-1)&&(m=C),m===C&&(p.props.disabled||p.props.muiSkipListHighlight||p.type.muiSkipListHighlight)&&(m+=1,m>=a.length&&(m=-1))});const h=S.Children.map(a,(p,C)=>{if(C===m){const E={};return i&&(E.autoFocus=!0),p.props.tabIndex===void 0&&d==="selectedMenu"&&(E.tabIndex=0),S.cloneElement(p,E)}return p});return M.jsx(aP,{role:"menu",ref:b,className:l,onKeyDown:x,tabIndex:o?0:-1,...f,children:h})});function sP(e){return Se("MuiPopover",e)}Ce("MuiPopover",["root","paper"]);function Mm(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Im(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Om(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function mc(e){return typeof e=="function"?e():e}const uP=e=>{const{classes:t}=e;return be({root:["root"],paper:["paper"]},sP,t)},cP=Q(RR,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),iv=Q(rp,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),dP=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiPopover"}),{action:o,anchorEl:i,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:s="anchorEl",children:u,className:c,container:d,elevation:f=8,marginThreshold:y=16,open:v,PaperProps:x={},slots:b={},slotProps:m={},transformOrigin:h={vertical:"top",horizontal:"left"},TransitionComponent:p=$d,transitionDuration:C="auto",TransitionProps:{onEntering:E,...T}={},disableScrollLock:R=!1,...w}=r,g=(m==null?void 0:m.paper)??x,P=S.useRef(),N={...r,anchorOrigin:a,anchorReference:s,elevation:f,marginThreshold:y,externalPaperSlotProps:g,transformOrigin:h,TransitionComponent:p,transitionDuration:C,TransitionProps:T},_=uP(N),F=S.useCallback(()=>{if(s==="anchorPosition")return l;const ue=mc(i),pe=(ue&&ue.nodeType===1?ue:tn(P.current).body).getBoundingClientRect();return{top:pe.top+Mm(pe,a.vertical),left:pe.left+Im(pe,a.horizontal)}},[i,a.horizontal,a.vertical,l,s]),D=S.useCallback(ue=>({vertical:Mm(ue,h.vertical),horizontal:Im(ue,h.horizontal)}),[h.horizontal,h.vertical]),U=S.useCallback(ue=>{const we={width:ue.offsetWidth,height:ue.offsetHeight},pe=D(we);if(s==="none")return{top:null,left:null,transformOrigin:Om(pe)};const dt=F();let oe=dt.top-pe.vertical,me=dt.left-pe.horizontal;const Lt=oe+we.height,jt=me+we.width,je=ho(mc(i)),ft=je.innerHeight-y,ln=je.innerWidth-y;if(y!==null&&oeft){const Le=Lt-ft;oe-=Le,pe.vertical+=Le}if(y!==null&&meln){const Le=jt-ln;me-=Le,pe.horizontal+=Le}return{top:`${Math.round(oe)}px`,left:`${Math.round(me)}px`,transformOrigin:Om(pe)}},[i,s,F,D,y]),[j,H]=S.useState(v),O=S.useCallback(()=>{const ue=P.current;if(!ue)return;const we=U(ue);we.top!==null&&ue.style.setProperty("top",we.top),we.left!==null&&(ue.style.left=we.left),ue.style.transformOrigin=we.transformOrigin,H(!0)},[U]);S.useEffect(()=>(R&&window.addEventListener("scroll",O),()=>window.removeEventListener("scroll",O)),[i,R,O]);const A=(ue,we)=>{E&&E(ue,we),O()},V=()=>{H(!1)};S.useEffect(()=>{v&&O()}),S.useImperativeHandle(o,()=>v?{updatePosition:()=>{O()}}:null,[v,O]),S.useEffect(()=>{if(!v)return;const ue=F0(()=>{O()}),we=ho(i);return we.addEventListener("resize",ue),()=>{ue.clear(),we.removeEventListener("resize",ue)}},[i,v,O]);let Z=C;C==="auto"&&!p.muiSupportAuto&&(Z=void 0);const se=d||(i?tn(mc(i)).body:void 0),ie={slots:b,slotProps:{...m,paper:g}},[re,ke]=Pn("paper",{elementType:iv,externalForwardedProps:ie,additionalProps:{elevation:f,className:ae(_.paper,g==null?void 0:g.className),style:j?g.style:{...g.style,opacity:0}},ownerState:N}),[he,{slotProps:Oe,...Ze}]=Pn("root",{elementType:cP,externalForwardedProps:ie,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:se,open:v},ownerState:N,className:ae(_.root,c)}),Ke=Ot(P,ke.ref);return M.jsx(he,{...Ze,...!kd(he)&&{slotProps:Oe,disableScrollLock:R},...w,ref:n,children:M.jsx(p,{appear:!0,in:v,onEntering:A,onExited:V,timeout:Z,...T,children:M.jsx(re,{...ke,ref:Ke,children:u})})})});function fP(e){return Se("MuiMenu",e)}Ce("MuiMenu",["root","paper","list"]);const pP={vertical:"top",horizontal:"right"},hP={vertical:"top",horizontal:"left"},mP=e=>{const{classes:t}=e;return be({root:["root"],paper:["paper"],list:["list"]},fP,t)},gP=Q(dP,{shouldForwardProp:e=>On(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),yP=Q(iv,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),vP=Q(lP,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),xP=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:i,className:a,disableAutoFocusItem:l=!1,MenuListProps:s={},onClose:u,open:c,PaperProps:d={},PopoverClasses:f,transitionDuration:y="auto",TransitionProps:{onEntering:v,...x}={},variant:b="selectedMenu",slots:m={},slotProps:h={},...p}=r,C=ck(),E={...r,autoFocus:o,disableAutoFocusItem:l,MenuListProps:s,onEntering:v,PaperProps:d,transitionDuration:y,TransitionProps:x,variant:b},T=mP(E),R=o&&!l&&c,w=S.useRef(null),g=(j,H)=>{w.current&&w.current.adjustStyleForScrollbar(j,{direction:C?"rtl":"ltr"}),v&&v(j,H)},P=j=>{j.key==="Tab"&&(j.preventDefault(),u&&u(j,"tabKeyDown"))};let N=-1;S.Children.map(i,(j,H)=>{S.isValidElement(j)&&(j.props.disabled||(b==="selectedMenu"&&j.props.selected||N===-1)&&(N=H))});const _=m.paper??yP,F=h.paper??d,D=vd({elementType:m.root,externalSlotProps:h.root,ownerState:E,className:[T.root,a]}),U=vd({elementType:_,externalSlotProps:F,ownerState:E,className:T.paper});return M.jsx(gP,{onClose:u,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?pP:hP,slots:{paper:_,root:m.root},slotProps:{root:D,paper:U},open:c,ref:n,transitionDuration:y,TransitionProps:{onEntering:g,...x},ownerState:E,...p,classes:f,children:M.jsx(vP,{onKeyDown:P,actions:w,autoFocus:o&&(N===-1||l),autoFocusItem:R,variant:b,...s,className:ae(T.list,s.className),children:i})})});function SP(e){return Se("MuiNativeSelect",e)}const lp=Ce("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),wP=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,l={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${te(n)}`,i&&"iconOpen",r&&"disabled"]};return be(l,SP,t)},av=Q("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${lp.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}}}]})),CP=Q(av,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:On,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${lp.multiple}`]:t.multiple}]}})({}),lv=Q("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${lp.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}}]})),bP=Q(lv,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${te(n.variant)}`],n.open&&t.iconOpen]}})({}),kP=S.forwardRef(function(t,n){const{className:r,disabled:o,error:i,IconComponent:a,inputRef:l,variant:s="standard",...u}=t,c={...t,disabled:o,variant:s,error:i},d=wP(c);return M.jsxs(S.Fragment,{children:[M.jsx(CP,{ownerState:c,className:ae(d.select,r),disabled:o,ref:l||n,...u}),t.multiple?null:M.jsx(bP,{as:a,ownerState:c,className:d.icon})]})});var Lm;const EP=Q("fieldset",{shouldForwardProp:On})({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%"}),RP=Q("legend",{shouldForwardProp:On})(De(({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 PP(e){const{children:t,classes:n,className:r,label:o,notched:i,...a}=e,l=o!=null&&o!=="",s={...e,notched:i,withLabel:l};return M.jsx(EP,{"aria-hidden":!0,className:r,ownerState:s,...a,children:M.jsx(RP,{ownerState:s,children:l?M.jsx("span",{children:o}):Lm||(Lm=M.jsx("span",{className:"notranslate",children:"​"}))})})}const TP=e=>{const{classes:t}=e,r=be({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},f2,t);return{...t,...r}},$P=Q(Pu,{shouldForwardProp:e=>On(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Eu})(De(({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 .${_n.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},[`&.${_n.focused} .${_n.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Kn()).map(([n])=>({props:{color:n},style:{[`&.${_n.focused} .${_n.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{"@media (hover: none)":{[`&:hover .${_n.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${_n.error} .${_n.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${_n.disabled} .${_n.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"}}]}})),MP=Q(PP,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(De(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),IP=Q(Tu,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Ru})(De(({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}}]}))),Rs=S.forwardRef(function(t,n){var r;const o=Ie({props:t,name:"MuiOutlinedInput"}),{components:i={},fullWidth:a=!1,inputComponent:l="input",label:s,multiline:u=!1,notched:c,slots:d={},type:f="text",...y}=o,v=TP(o),x=xi(),b=vi({props:o,muiFormControl:x,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),m={...o,color:b.color||"primary",disabled:b.disabled,error:b.error,focused:b.focused,formControl:x,fullWidth:a,hiddenLabel:b.hiddenLabel,multiline:u,size:b.size,type:f},h=d.root??i.Root??$P,p=d.input??i.Input??IP;return M.jsx(ap,{slots:{root:h,input:p},renderSuffix:C=>M.jsx(MP,{ownerState:m,className:v.notchedOutline,label:s!=null&&s!==""&&b.required?r||(r=M.jsxs(S.Fragment,{children:[s," ","*"]})):s,notched:typeof c<"u"?c:!!(C.startAdornment||C.filled||C.focused)}),fullWidth:a,inputComponent:l,multiline:u,ref:n,type:f,...y,classes:{...v,notchedOutline:null}})});Rs&&(Rs.muiName="Input");function OP(e){return Se("MuiSelect",e)}const Ai=Ce("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Nm;const LP=Q(av,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Ai.select}`]:t.select},{[`&.${Ai.select}`]:t[n.variant]},{[`&.${Ai.error}`]:t.error},{[`&.${Ai.multiple}`]:t.multiple}]}})({[`&.${Ai.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),NP=Q(lv,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${te(n.variant)}`],n.open&&t.iconOpen]}})({}),zP=Q("input",{shouldForwardProp:e=>Z0(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function zm(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function _P(e){return e==null||typeof e=="string"&&!e.trim()}const AP=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,l={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${te(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return be(l,OP,t)},BP=S.forwardRef(function(t,n){var Ln;const{"aria-describedby":r,"aria-label":o,autoFocus:i,autoWidth:a,children:l,className:s,defaultOpen:u,defaultValue:c,disabled:d,displayEmpty:f,error:y=!1,IconComponent:v,inputRef:x,labelId:b,MenuProps:m={},multiple:h,name:p,onBlur:C,onChange:E,onClose:T,onFocus:R,onOpen:w,open:g,readOnly:P,renderValue:N,SelectDisplayProps:_={},tabIndex:F,type:D,value:U,variant:j="standard",...H}=t,[O,A]=lm({controlled:U,default:c,name:"Select"}),[V,Z]=lm({controlled:g,default:u,name:"Select"}),se=S.useRef(null),ie=S.useRef(null),[re,ke]=S.useState(null),{current:he}=S.useRef(g!=null),[Oe,Ze]=S.useState(),Ke=Ot(n,x),ue=S.useCallback(ne=>{ie.current=ne,ne&&ke(ne)},[]),we=re==null?void 0:re.parentNode;S.useImperativeHandle(Ke,()=>({focus:()=>{ie.current.focus()},node:se.current,value:O}),[O]),S.useEffect(()=>{u&&V&&re&&!he&&(Ze(a?null:we.clientWidth),ie.current.focus())},[re,a]),S.useEffect(()=>{i&&ie.current.focus()},[i]),S.useEffect(()=>{if(!b)return;const ne=tn(ie.current).getElementById(b);if(ne){const ye=()=>{getSelection().isCollapsed&&ie.current.focus()};return ne.addEventListener("click",ye),()=>{ne.removeEventListener("click",ye)}}},[b]);const pe=(ne,ye)=>{ne?w&&w(ye):T&&T(ye),he||(Ze(a?null:we.clientWidth),Z(ne))},dt=ne=>{ne.button===0&&(ne.preventDefault(),ie.current.focus(),pe(!0,ne))},oe=ne=>{pe(!1,ne)},me=S.Children.toArray(l),Lt=ne=>{const ye=me.find(at=>at.props.value===ne.target.value);ye!==void 0&&(A(ye.props.value),E&&E(ne,ye))},jt=ne=>ye=>{let at;if(ye.currentTarget.hasAttribute("tabindex")){if(h){at=Array.isArray(O)?O.slice():[];const Qn=O.indexOf(ne.props.value);Qn===-1?at.push(ne.props.value):at.splice(Qn,1)}else at=ne.props.value;if(ne.props.onClick&&ne.props.onClick(ye),O!==at&&(A(at),E)){const Qn=ye.nativeEvent||ye,Si=new Qn.constructor(Qn.type,Qn);Object.defineProperty(Si,"target",{writable:!0,value:{value:at,name:p}}),E(Si,ne)}h||pe(!1,ye)}},je=ne=>{P||[" ","ArrowUp","ArrowDown","Enter"].includes(ne.key)&&(ne.preventDefault(),pe(!0,ne))},ft=re!==null&&V,ln=ne=>{!ft&&C&&(Object.defineProperty(ne,"target",{writable:!0,value:{value:O,name:p}}),C(ne))};delete H["aria-invalid"];let Le,wn;const J=[];let pt=!1;(bs({value:O})||f)&&(N?Le=N(O):pt=!0);const Hr=me.map(ne=>{if(!S.isValidElement(ne))return null;let ye;if(h){if(!Array.isArray(O))throw new Error(ur(2));ye=O.some(at=>zm(at,ne.props.value)),ye&&pt&&J.push(ne.props.children)}else ye=zm(O,ne.props.value),ye&&pt&&(wn=ne.props.children);return S.cloneElement(ne,{"aria-selected":ye?"true":"false",onClick:jt(ne),onKeyUp:at=>{at.key===" "&&at.preventDefault(),ne.props.onKeyUp&&ne.props.onKeyUp(at)},role:"option",selected:ye,value:void 0,"data-value":ne.props.value})});pt&&(h?J.length===0?Le=null:Le=J.reduce((ne,ye,at)=>(ne.push(ye),at{const{classes:t}=e;return t},sp={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>On(e)&&e!=="variant",slot:"Root"},jP=Q(Es,sp)(""),FP=Q(Rs,sp)(""),UP=Q(ks,sp)(""),sv=S.forwardRef(function(t,n){const r=ep({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:i,classes:a={},className:l,defaultOpen:s=!1,displayEmpty:u=!1,IconComponent:c=h2,id:d,input:f,inputProps:y,label:v,labelId:x,MenuProps:b,multiple:m=!1,native:h=!1,onClose:p,onOpen:C,open:E,renderValue:T,SelectDisplayProps:R,variant:w="outlined",...g}=r,P=h?kP:BP,N=xi(),_=vi({props:r,muiFormControl:N,states:["variant","error"]}),F=_.variant||w,D={...r,variant:F,classes:a},U=DP(D),{root:j,...H}=U,O=f||{standard:M.jsx(jP,{ownerState:D}),outlined:M.jsx(FP,{label:v,ownerState:D}),filled:M.jsx(UP,{ownerState:D})}[F],A=Ot(n,Va(O));return M.jsx(S.Fragment,{children:S.cloneElement(O,{inputComponent:P,inputProps:{children:i,error:_.error,IconComponent:c,variant:F,type:void 0,multiple:m,...h?{id:d}:{autoWidth:o,defaultOpen:s,displayEmpty:u,labelId:x,MenuProps:b,onClose:p,onOpen:C,open:E,renderValue:T,SelectDisplayProps:{id:d,...R}},...y,classes:y?Mt(H,y.classes):H,...f?f.props.inputProps:{}},...(m&&h||u)&&F==="outlined"?{notched:!0}:{},ref:A,className:ae(O.props.className,l,U.root),...!f&&{variant:F},...g})})});sv.muiName="Select";function WP(e){return Se("MuiToolbar",e)}Ce("MuiToolbar",["root","gutters","regular","dense"]);const HP=e=>{const{classes:t,disableGutters:n,variant:r}=e;return be({root:["root",!n&&"gutters",r]},WP,t)},VP=Q("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(De(({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}]}))),GP=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiToolbar"}),{className:o,component:i="div",disableGutters:a=!1,variant:l="regular",...s}=r,u={...r,component:i,disableGutters:a,variant:l},c=HP(u);return M.jsx(VP,{as:i,className:ae(c.root,o),ref:n,ownerState:u,...s})});function KP(e){return Se("MuiTextField",e)}Ce("MuiTextField",["root"]);const QP={standard:Es,filled:ks,outlined:Rs},YP=e=>{const{classes:t}=e;return be({root:["root"]},KP,t)},XP=Q(LR,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),qP=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:i=!1,children:a,className:l,color:s="primary",defaultValue:u,disabled:c=!1,error:d=!1,FormHelperTextProps:f,fullWidth:y=!1,helperText:v,id:x,InputLabelProps:b,inputProps:m,InputProps:h,inputRef:p,label:C,maxRows:E,minRows:T,multiline:R=!1,name:w,onBlur:g,onChange:P,onFocus:N,placeholder:_,required:F=!1,rows:D,select:U=!1,SelectProps:j,slots:H={},slotProps:O={},type:A,value:V,variant:Z="outlined",...se}=r,ie={...r,autoFocus:i,color:s,disabled:c,error:d,fullWidth:y,multiline:R,required:F,select:U,variant:Z},re=YP(ie),ke=U0(x),he=v&&ke?`${ke}-helper-text`:void 0,Oe=C&&ke?`${ke}-label`:void 0,Ze=QP[Z],Ke={slots:H,slotProps:{input:h,inputLabel:b,htmlInput:m,formHelperText:f,select:j,...O}},ue={},we=Ke.slotProps.inputLabel;Z==="outlined"&&(we&&typeof we.shrink<"u"&&(ue.notched=we.shrink),ue.label=C),U&&((!j||!j.native)&&(ue.id=void 0),ue["aria-describedby"]=void 0);const[pe,dt]=Pn("input",{elementType:Ze,externalForwardedProps:Ke,additionalProps:ue,ownerState:ie}),[oe,me]=Pn("inputLabel",{elementType:XR,externalForwardedProps:Ke,ownerState:ie}),[Lt,jt]=Pn("htmlInput",{elementType:"input",externalForwardedProps:Ke,ownerState:ie}),[je,ft]=Pn("formHelperText",{elementType:AR,externalForwardedProps:Ke,ownerState:ie}),[ln,Le]=Pn("select",{elementType:sv,externalForwardedProps:Ke,ownerState:ie}),wn=M.jsx(pe,{"aria-describedby":he,autoComplete:o,autoFocus:i,defaultValue:u,fullWidth:y,multiline:R,name:w,rows:D,maxRows:E,minRows:T,type:A,value:V,id:ke,inputRef:p,onBlur:g,onChange:P,onFocus:N,placeholder:_,inputProps:jt,slots:{input:H.htmlInput?Lt:void 0},...dt});return M.jsxs(XP,{className:ae(re.root,l),disabled:c,error:d,fullWidth:y,ref:n,required:F,color:s,variant:Z,ownerState:ie,...se,children:[C!=null&&C!==""&&M.jsx(oe,{htmlFor:ke,id:Oe,...me,children:C}),U?M.jsx(ln,{"aria-describedby":he,id:ke,labelId:Oe,value:V,input:wn,...Le,children:a}):wn,v&&M.jsx(je,{id:he,...ft,children:v})]})});function ZP(e){return Se("MuiToggleButton",e)}const no=Ce("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),uv=S.createContext({}),cv=S.createContext(void 0);function JP(e,t){return t===void 0||e===void 0?!1:Array.isArray(t)?t.includes(e):e===t}const eT=e=>{const{classes:t,fullWidth:n,selected:r,disabled:o,size:i,color:a}=e,l={root:["root",r&&"selected",o&&"disabled",n&&"fullWidth",`size${te(i)}`,a]};return be(l,ZP,t)},tT=Q(op,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`size${te(n.size)}`]]}})(De(({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,[`&.${no.disabled}`]:{color:(e.vars||e).palette.action.disabled,border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:mt(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[{props:{color:"standard"},style:{[`&.${no.selected}`]:{color:(e.vars||e).palette.text.primary,backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.selectedOpacity})`:mt(e.palette.text.primary,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:mt(e.palette.text.primary,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.selectedOpacity})`:mt(e.palette.text.primary,e.palette.action.selectedOpacity)}}}}},...Object.entries(e.palette).filter(Kn()).map(([t])=>({props:{color:t},style:{[`&.${no.selected}`]:{color:(e.vars||e).palette[t].main,backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.selectedOpacity})`:mt(e.palette[t].main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:mt(e.palette[t].main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.selectedOpacity})`:mt(e.palette[t].main,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)}}]}))),_m=S.forwardRef(function(t,n){const{value:r,...o}=S.useContext(uv),i=S.useContext(cv),a=ai({...o,selected:JP(t.value,r)},t),l=Ie({props:a,name:"MuiToggleButton"}),{children:s,className:u,color:c="standard",disabled:d=!1,disableFocusRipple:f=!1,fullWidth:y=!1,onChange:v,onClick:x,selected:b,size:m="medium",value:h,...p}=l,C={...l,color:c,disabled:d,disableFocusRipple:f,fullWidth:y,size:m},E=eT(C),T=w=>{x&&(x(w,h),w.defaultPrevented)||v&&v(w,h)},R=i||"";return M.jsx(tT,{className:ae(o.className,E.root,u,R),disabled:d,focusRipple:!f,ref:n,onClick:T,onChange:v,value:h,ownerState:C,"aria-pressed":b,...p,children:s})});function nT(e){return Se("MuiToggleButtonGroup",e)}const Ue=Ce("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]),rT=e=>{const{classes:t,orientation:n,fullWidth:r,disabled:o}=e,i={root:["root",n,r&&"fullWidth"],grouped:["grouped",`grouped${te(n)}`,o&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return be(i,nT,t)},oT=Q("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ue.grouped}`]:t.grouped},{[`& .${Ue.grouped}`]:t[`grouped${te(n.orientation)}`]},{[`& .${Ue.firstButton}`]:t.firstButton},{[`& .${Ue.lastButton}`]:t.lastButton},{[`& .${Ue.middleButton}`]:t.middleButton},t.root,n.orientation==="vertical"&&t.vertical,n.fullWidth&&t.fullWidth]}})(De(({theme:e})=>({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius,variants:[{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${Ue.grouped}`]:{[`&.${Ue.selected} + .${Ue.grouped}.${Ue.selected}`]:{borderTop:0,marginTop:0}},[`& .${Ue.firstButton},& .${Ue.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${Ue.lastButton},& .${Ue.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},[`& .${Ue.lastButton}.${no.disabled},& .${Ue.middleButton}.${no.disabled}`]:{borderTop:"1px solid transparent"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"horizontal"},style:{[`& .${Ue.grouped}`]:{[`&.${Ue.selected} + .${Ue.grouped}.${Ue.selected}`]:{borderLeft:0,marginLeft:0}},[`& .${Ue.firstButton},& .${Ue.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${Ue.lastButton},& .${Ue.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},[`& .${Ue.lastButton}.${no.disabled},& .${Ue.middleButton}.${no.disabled}`]:{borderLeft:"1px solid transparent"}}}]}))),iT=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiToggleButtonGroup"}),{children:o,className:i,color:a="standard",disabled:l=!1,exclusive:s=!1,fullWidth:u=!1,onChange:c,orientation:d="horizontal",size:f="medium",value:y,...v}=r,x={...r,disabled:l,fullWidth:u,orientation:d,size:f},b=rT(x),m=S.useCallback((R,w)=>{if(!c)return;const g=y&&y.indexOf(w);let P;y&&g>=0?(P=y.slice(),P.splice(g,1)):P=y?y.concat(w):[w],c(R,P)},[c,y]),h=S.useCallback((R,w)=>{c&&c(R,y===w?null:w)},[c,y]),p=S.useMemo(()=>({className:b.grouped,onChange:s?h:m,value:y,size:f,fullWidth:u,color:a,disabled:l}),[b.grouped,s,h,m,y,f,u,a,l]),C=lk(o),E=C.length,T=R=>{const w=R===0,g=R===E-1;return w&&g?"":w?b.firstButton:g?b.lastButton:b.middleButton};return M.jsx(oT,{role:"group",className:ae(b.root,i),ref:n,ownerState:x,...v,children:M.jsx(uv.Provider,{value:p,children:C.map((R,w)=>M.jsx(cv.Provider,{value:T(w),children:R},w))})})}),aT=()=>M.jsx(Mn,{children:M.jsx(mn,{variant:"h1",children:"Project management system"})});var pn=(e=>(e.Home="/",e.Projects="projects",e.Executors="executors",e.Create="create",e))(pn||{});const lT=yi(M.jsx("path",{d:"M19 3h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 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-2m-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m2 14H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"}),"Assignment"),sT=yi(M.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"}),"Person"),{Home:MT,Projects:uT,Create:IT,Executors:cT}=pn,dT=[{to:uT,text:"Projects",icon:M.jsx(lT,{})},{to:cT,text:"Executors",icon:M.jsx(sT,{})}],fT=({size:e})=>M.jsx(Mn,{sx:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",flexGrow:1},children:M.jsx(oR,{size:e})}),pT=({children:e,to:t,...n})=>{const o=fi().pathname.includes(t);return M.jsx($u,{component:pi,to:t,color:o?"white":"primary",variant:"contained",size:"large",sx:{justifyContent:"flex-start"},...n,children:e})},hT=()=>M.jsx(Pd,{sx:{display:"flex",flexDirection:"column",gap:1,backgroundColor:Cr[600],padding:2},children:dT.map(e=>M.jsx(pT,{to:e.to,startIcon:e.icon,children:e.text},e.to))}),up=Jf({palette:{secondary:{main:Er[500],light:Er[300],dark:Er[700],contrastText:fd[900]},white:{main:"#ffffff",dark:fd[300],contrastText:Cr[500]}},typography:{h1:{fontSize:"2rem",fontWeight:600},h2:{fontSize:"1.75rem"},h3:{fontSize:"1.5rem"},h4:{fontSize:"1.25rem"},h5:{fontSize:"1rem"},h6:{fontSize:"0.875rem"}}}),mT=()=>M.jsx(n2,{position:"static",children:M.jsx(GP,{variant:"dense",sx:{minHeight:"auto",height:"auto",paddingY:1},children:M.jsx(rv,{component:pi,to:pn.Home,sx:{color:up.palette.white.main,textTransform:"uppercase"},children:"App"})})}),gT=({})=>{const{pathname:e}=fi(),t=e.split("/");return t.splice(0,1),M.jsx(z2,{"aria-label":"breadcrumb",children:t.map((n,r)=>t.length||r===t.length-1?M.jsx(mn,{color:"text.primary",children:n},n+r):M.jsx(rv,{component:pi,underline:"hover",color:"inherit",to:n,children:n},n+r))})},yT=()=>M.jsxs(Mn,{sx:{display:"flex",flexDirection:"column",minHeight:"100vh"},children:[M.jsx(mT,{}),M.jsxs(Pd,{container:!0,size:"grow",children:[M.jsx(hT,{}),M.jsxs(Pd,{sx:{padding:2,paddingTop:1,paddingRight:3,display:"flex",flexDirection:"column",flexGrow:1},children:[M.jsx(gT,{}),M.jsx(S.Suspense,{fallback:M.jsx(fT,{size:50}),children:M.jsx(sw,{})})]})]})]}),dv=(...e)=>e.join("/"),vT=({id:e,name:t,description:n,team:r,lead:o,startDate:i,endDate:a})=>M.jsx(G2,{variant:"outlined",component:pi,to:dv(pn.Projects,e),sx:{textDecoration:"none",":hover":{boxShadow:5}},children:M.jsxs(X2,{sx:{display:"flex",flexDirection:"column",gap:1},children:[M.jsx(mn,{sx:{fontWeight:500,fontSize:20},children:t}),M.jsx(mn,{children:n}),M.jsx(mn,{sx:{backgroundColor:up.palette.secondary.light,paddingY:.5,paddingX:1,borderRadius:1},children:o}),M.jsxs(mn,{children:[i," - ",a]})]})}),xT=yi(M.jsx("path",{d:"M3 14h4v-4H3zm0 5h4v-4H3zM3 9h4V5H3zm5 5h13v-4H8zm0 5h13v-4H8zM8 5v4h13V5z"}),"ViewList"),ST=yi(M.jsx("path",{d:"M14.67 5v6.5H9.33V5zm1 6.5H21V5h-5.33zm-1 7.5v-6.5H9.33V19zm1-6.5V19H21v-6.5zm-7.34 0H3V19h5.33zm0-1V5H3v6.5z"}),"ViewModule"),{Create:wT}=pn,CT=[{id:"1",name:"Project #1",description:"First project",team:[],lead:"Kopytin I.",startDate:"05.10.2024",endDate:"01.12.2024",img:""},{id:"2",name:"Project #2",description:"Second project",team:[],lead:"Kopytin I.",startDate:"05.10.2024",endDate:"01.12.2024",img:""},{id:"3",name:"Project #3",description:"Third project",team:[],lead:"Kopytin I.",startDate:"05.10.2024",endDate:"01.12.2024",img:""},{id:"4",name:"Project #4",description:"Fourth project",team:[],lead:"Kopytin I.",startDate:"05.10.2024",endDate:"01.12.2024",img:""}],bT=()=>{const[e,t]=S.useState("cards"),n=(r,o)=>{t(o)};return M.jsxs(Mn,{children:[M.jsxs(Mn,{sx:{display:"flex",alignItems:"center",gap:1,marginBottom:2},children:[M.jsx(mn,{variant:"h1",children:"Projects"}),M.jsx($u,{component:pi,variant:"contained",to:wT,children:"New"}),M.jsxs(iT,{color:"primary",value:e,exclusive:!0,onChange:n,sx:{height:"38px"},children:[M.jsx(_m,{value:"cards","aria-label":"cards",children:M.jsx(ST,{})}),M.jsx(_m,{value:"table","aria-label":"table",children:M.jsx(xT,{})})]})]}),M.jsx(Mn,{sx:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(300px, 1fr))",gap:2},children:CT.map(r=>M.jsx(vT,{...r},r.id))})]})},kT=()=>M.jsx(Mn,{children:M.jsxs(Mn,{sx:{display:"flex",flexDirection:"column",gap:2,marginBottom:2},children:[M.jsx(mn,{variant:"h1",children:"New project"}),M.jsx(qP,{id:"project-name",label:"Name",variant:"filled",sx:{alignSelf:"flex-start",maxWidth:300,width:"100%"},size:"small"}),M.jsx($u,{variant:"contained",type:"submit",sx:{alignSelf:"flex-start"},children:"Create"})]})}),ET=({})=>M.jsx(iR,{children:M.jsx(mn,{children:"Not found"})}),{Create:RT}=pn,PT=()=>M.jsxs(Mn,{children:[M.jsxs(Mn,{sx:{display:"flex",alignItems:"center",gap:1,marginBottom:2},children:[M.jsx(mn,{variant:"h1",children:"Executors"}),M.jsx($u,{component:pi,variant:"contained",to:RT,children:"New"})]}),M.jsx(Mn,{sx:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(300px, 1fr))",gap:2}})]}),TT=gw([{path:pn.Home,element:M.jsx(yT,{}),errorElement:M.jsx(ET,{}),children:[{path:pn.Home,element:M.jsx(aT,{})},{path:pn.Projects,element:M.jsx(bT,{})},{path:dv(pn.Projects,pn.Create),element:M.jsx(kT,{})},{path:pn.Executors,element:M.jsx(PT,{})}]}]);qy(document.getElementById("root")).render(M.jsx(TC,{theme:up,children:M.jsx(Ew,{router:TT})})); + `:null,eR=e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,`color${te(r)}`],svg:["svg"],circle:["circle",`circle${te(n)}`,o&&"circleDisableShrink"]};return be(i,q2,t)},tR=Q("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${te(n.color)}`]]}})(De(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:Z2||{animation:`${Ed} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Kn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),nR=Q("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),rR=Q("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${te(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(De(({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:J2||{animation:`${Rd} 1.4s ease-in-out infinite`}}]}))),oR=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiCircularProgress"}),{className:o,color:i="primary",disableShrink:a=!1,size:l=40,style:s,thickness:u=3.6,value:c=0,variant:d="indeterminate",...f}=r,y={...r,color:i,disableShrink:a,size:l,thickness:u,value:c,variant:d},v=eR(y),x={},b={},m={};if(d==="determinate"){const h=2*Math.PI*((vr-u)/2);x.strokeDasharray=h.toFixed(3),m["aria-valuenow"]=Math.round(c),x.strokeDashoffset=`${((100-c)/100*h).toFixed(3)}px`,b.transform="rotate(-90deg)"}return M.jsx(tR,{className:ae(v.root,o),style:{width:l,height:l,...b,...s},ownerState:y,ref:n,role:"progressbar",...m,...f,children:M.jsx(nR,{className:v.svg,ownerState:y,viewBox:`${vr/2} ${vr/2} ${vr} ${vr}`,children:M.jsx(rR,{className:v.circle,style:x,ownerState:y,cx:vr,cy:vr,r:(vr-u)/2,fill:"none",strokeWidth:u})})})}),iR=bk({createStyledComponent:Q("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${te(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>ep({props:e,name:"MuiContainer"})});function aR(e){const t=tn(e);return t.body===e?ho(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function ra(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function km(e){return parseInt(ho(e).getComputedStyle(e).paddingRight,10)||0}function lR(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 Em(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,a=>{const l=!i.includes(a),s=!lR(a);l&&s&&ra(a,o)})}function fc(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function sR(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(aR(r)){const a=V0(tn(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${km(r)+a}px`;const l=tn(r).querySelectorAll(".mui-fixed");[].forEach.call(l,s=>{n.push({value:s.style.paddingRight,property:"padding-right",el:s}),s.style.paddingRight=`${km(s)+a}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=tn(r).body;else{const a=r.parentElement,l=ho(r);i=(a==null?void 0:a.nodeName)==="HTML"&&l.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:l})=>{i?a.style.setProperty(l,i):a.style.removeProperty(l)})}}function uR(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class cR{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&&ra(t.modalRef,!1);const o=uR(n);Em(n,t.mount,t.modalRef,o,!0);const i=fc(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=fc(this.containers,i=>i.modals.includes(t)),o=this.containers[r];o.restore||(o.restore=sR(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=fc(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&&ra(t.modalRef,n),Em(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&&ra(a.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const dR=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function fR(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 pR(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 hR(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||pR(e))}function mR(e){const t=[],n=[];return Array.from(e.querySelectorAll(dR)).forEach((r,o)=>{const i=fR(r);i===-1||!hR(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 gR(){return!0}function yR(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=mR,isEnabled:a=gR,open:l}=e,s=S.useRef(!1),u=S.useRef(null),c=S.useRef(null),d=S.useRef(null),f=S.useRef(null),y=S.useRef(!1),v=S.useRef(null),x=Ot(Va(t),v),b=S.useRef(null);S.useEffect(()=>{!l||!v.current||(y.current=!n)},[n,l]),S.useEffect(()=>{if(!l||!v.current)return;const p=tn(v.current);return v.current.contains(p.activeElement)||(v.current.hasAttribute("tabIndex")||v.current.setAttribute("tabIndex","-1"),y.current&&v.current.focus()),()=>{o||(d.current&&d.current.focus&&(s.current=!0,d.current.focus()),d.current=null)}},[l]),S.useEffect(()=>{if(!l||!v.current)return;const p=tn(v.current),C=R=>{b.current=R,!(r||!a()||R.key!=="Tab")&&p.activeElement===v.current&&R.shiftKey&&(s.current=!0,c.current&&c.current.focus())},E=()=>{var g,P;const R=v.current;if(R===null)return;if(!p.hasFocus()||!a()||s.current){s.current=!1;return}if(R.contains(p.activeElement)||r&&p.activeElement!==u.current&&p.activeElement!==c.current)return;if(p.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!y.current)return;let w=[];if((p.activeElement===u.current||p.activeElement===c.current)&&(w=i(v.current)),w.length>0){const N=!!((g=b.current)!=null&&g.shiftKey&&((P=b.current)==null?void 0:P.key)==="Tab"),_=w[0],F=w[w.length-1];typeof _!="string"&&typeof F!="string"&&(N?F.focus():_.focus())}else R.focus()};p.addEventListener("focusin",E),p.addEventListener("keydown",C,!0);const T=setInterval(()=>{p.activeElement&&p.activeElement.tagName==="BODY"&&E()},50);return()=>{clearInterval(T),p.removeEventListener("focusin",E),p.removeEventListener("keydown",C,!0)}},[n,r,o,a,l,i]);const m=p=>{d.current===null&&(d.current=p.relatedTarget),y.current=!0,f.current=p.target;const C=t.props.onFocus;C&&C(p)},h=p=>{d.current===null&&(d.current=p.relatedTarget),y.current=!0};return M.jsxs(S.Fragment,{children:[M.jsx("div",{tabIndex:l?0:-1,onFocus:h,ref:u,"data-testid":"sentinelStart"}),S.cloneElement(t,{ref:x,onFocus:m}),M.jsx("div",{tabIndex:l?0:-1,onFocus:h,ref:c,"data-testid":"sentinelEnd"})]})}function vR(e){return typeof e=="function"?e():e}function xR(e){return e?e.props.hasOwnProperty("in"):!1}const SR=new cR;function wR(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=SR,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:l,children:s,onClose:u,open:c,rootRef:d}=e,f=S.useRef({}),y=S.useRef(null),v=S.useRef(null),x=Ot(v,d),[b,m]=S.useState(!c),h=xR(s);let p=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(p=!1);const C=()=>tn(y.current),E=()=>(f.current.modalRef=v.current,f.current.mount=y.current,f.current),T=()=>{o.mount(E(),{disableScrollLock:r}),v.current&&(v.current.scrollTop=0)},R=Fo(()=>{const j=vR(t)||C().body;o.add(E(),j),v.current&&T()}),w=S.useCallback(()=>o.isTopModal(E()),[o]),g=Fo(j=>{y.current=j,j&&(c&&w()?T():v.current&&ra(v.current,p))}),P=S.useCallback(()=>{o.remove(E(),p)},[p,o]);S.useEffect(()=>()=>{P()},[P]),S.useEffect(()=>{c?R():(!h||!i)&&P()},[c,P,h,i,R]);const N=j=>H=>{var O;(O=j.onKeyDown)==null||O.call(j,H),!(H.key!=="Escape"||H.which===229||!w())&&(n||(H.stopPropagation(),u&&u(H,"escapeKeyDown")))},_=j=>H=>{var O;(O=j.onClick)==null||O.call(j,H),H.target===H.currentTarget&&u&&u(H,"backdropClick")};return{getRootProps:(j={})=>{const H=K0(e);delete H.onTransitionEnter,delete H.onTransitionExited;const O={...H,...j};return{role:"presentation",...O,onKeyDown:N(O),ref:x}},getBackdropProps:(j={})=>{const H=j;return{"aria-hidden":!0,...H,onClick:_(H),open:c}},getTransitionProps:()=>{const j=()=>{m(!1),a&&a()},H=()=>{m(!0),l&&l(),i&&P()};return{onEnter:om(j,s==null?void 0:s.props.onEnter),onExited:om(H,s==null?void 0:s.props.onExited)}},rootRef:x,portalRef:g,isTopModal:w,exited:b,hasTransition:h}}function CR(e){return Se("MuiModal",e)}Ce("MuiModal",["root","hidden","backdrop"]);const bR=e=>{const{open:t,exited:n,classes:r}=e;return be({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},CR,r)},kR=Q("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(De(({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"}}]}))),ER=Q(w2,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),RR=S.forwardRef(function(t,n){const r=Ie({name:"MuiModal",props:t}),{BackdropComponent:o=ER,BackdropProps:i,classes:a,className:l,closeAfterTransition:s=!1,children:u,container:c,component:d,components:f={},componentsProps:y={},disableAutoFocus:v=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:b=!1,disablePortal:m=!1,disableRestoreFocus:h=!1,disableScrollLock:p=!1,hideBackdrop:C=!1,keepMounted:E=!1,onBackdropClick:T,onClose:R,onTransitionEnter:w,onTransitionExited:g,open:P,slotProps:N={},slots:_={},theme:F,...D}=r,U={...r,closeAfterTransition:s,disableAutoFocus:v,disableEnforceFocus:x,disableEscapeKeyDown:b,disablePortal:m,disableRestoreFocus:h,disableScrollLock:p,hideBackdrop:C,keepMounted:E},{getRootProps:j,getBackdropProps:H,getTransitionProps:O,portalRef:A,isTopModal:V,exited:Z,hasTransition:se}=wR({...U,rootRef:n}),ie={...U,exited:Z},re=bR(ie),ke={};if(u.props.tabIndex===void 0&&(ke.tabIndex="-1"),se){const{onEnter:pe,onExited:dt}=O();ke.onEnter=pe,ke.onExited=dt}const he={...D,slots:{root:f.Root,backdrop:f.Backdrop,..._},slotProps:{...y,...N}},[Oe,Ze]=Pn("root",{elementType:kR,externalForwardedProps:he,getSlotProps:j,additionalProps:{ref:n,as:d},ownerState:ie,className:ae(l,re==null?void 0:re.root,!ie.open&&ie.exited&&(re==null?void 0:re.hidden))}),[Ke,ue]=Pn("backdrop",{elementType:o,externalForwardedProps:he,additionalProps:i,getSlotProps:pe=>H({...pe,onClick:dt=>{T&&T(dt),pe!=null&&pe.onClick&&pe.onClick(dt)}}),className:ae(i==null?void 0:i.className,re==null?void 0:re.backdrop),ownerState:ie}),we=Ot(i==null?void 0:i.ref,ue.ref);return!E&&!P&&(!se||Z)?null:M.jsx(o2,{ref:A,container:c,disablePortal:m,children:M.jsxs(Oe,{...Ze,children:[!C&&o?M.jsx(Ke,{...ue,ref:we}):null,M.jsx(yR,{disableEnforceFocus:x,disableAutoFocus:v,disableRestoreFocus:h,isEnabled:V,open:P,children:S.cloneElement(u,ke)})]})})}),PR=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:o,size:i,hiddenLabel:a,multiline:l}=e,s={root:["root",!n&&"underline",r&&"adornedStart",o&&"adornedEnd",i==="small"&&`size${te(i)}`,a&&"hiddenLabel",l&&"multiline"],input:["input"]},u=be(s,p2,t);return{...t,...u}},TR=Q(Pu,{shouldForwardProp:e=>On(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Eu(e,t),!n.disableUnderline&&t.underline]}})(De(({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}},[`&.${Vr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Vr.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"},[`&.${Vr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Vr.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${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(.${Vr.disabled}, .${Vr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Vr.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Kn()).map(([a])=>{var l;return{props:{disableUnderline:!1,color:a},style:{"&::after":{borderBottom:`2px solid ${(l=(e.vars||e).palette[a])==null?void 0:l.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:l})=>a.multiline&&l==="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}}]}})),$R=Q(Tu,{name:"MuiFilledInput",slot:"Input",overridesResolver:Ru})(De(({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}}]}))),ks=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiFilledInput"}),{disableUnderline:o=!1,components:i={},componentsProps:a,fullWidth:l=!1,hiddenLabel:s,inputComponent:u="input",multiline:c=!1,slotProps:d,slots:f={},type:y="text",...v}=r,x={...r,disableUnderline:o,fullWidth:l,inputComponent:u,multiline:c,type:y},b=PR(r),m={root:{ownerState:x},input:{ownerState:x}},h=d??a?Mt(m,d??a):m,p=f.root??i.Root??TR,C=f.input??i.Input??$R;return M.jsx(ap,{slots:{root:p,input:C},componentsProps:h,fullWidth:l,inputComponent:u,multiline:c,ref:n,type:y,...v,classes:b})});ks&&(ks.muiName="Input");function MR(e){return Se("MuiFormControl",e)}Ce("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const IR=e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root",n!=="none"&&`margin${te(n)}`,r&&"fullWidth"]};return be(o,MR,t)},OR=Q("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...t[`margin${te(e.margin)}`],...e.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%"}}]}),LR=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiFormControl"}),{children:o,className:i,color:a="primary",component:l="div",disabled:s=!1,error:u=!1,focused:c,fullWidth:d=!1,hiddenLabel:f=!1,margin:y="none",required:v=!1,size:x="medium",variant:b="outlined",...m}=r,h={...r,color:a,component:l,disabled:s,error:u,fullWidth:d,hiddenLabel:f,margin:y,required:v,size:x,variant:b},p=IR(h),[C,E]=S.useState(()=>{let F=!1;return o&&S.Children.forEach(o,D=>{if(!Fl(D,["Input","Select"]))return;const U=Fl(D,["Select"])?D.props.input:D;U&&s2(U.props)&&(F=!0)}),F}),[T,R]=S.useState(()=>{let F=!1;return o&&S.Children.forEach(o,D=>{Fl(D,["Input","Select"])&&(bs(D.props,!0)||bs(D.props.inputProps,!0))&&(F=!0)}),F}),[w,g]=S.useState(!1);s&&w&&g(!1);const P=c!==void 0&&!s?c:w;let N;S.useRef(!1);const _=S.useMemo(()=>({adornedStart:C,setAdornedStart:E,color:a,disabled:s,error:u,filled:T,focused:P,fullWidth:d,hiddenLabel:f,size:x,onBlur:()=>{g(!1)},onEmpty:()=>{R(!1)},onFilled:()=>{R(!0)},onFocus:()=>{g(!0)},registerEffect:N,required:v,variant:b}),[C,a,s,u,T,P,d,f,N,v,x,b]);return M.jsx(ip.Provider,{value:_,children:M.jsx(OR,{as:l,ownerState:h,className:ae(p.root,i),ref:n,...m,children:o})})});function NR(e){return Se("MuiFormHelperText",e)}const Rm=Ce("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var Pm;const zR=e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:a,focused:l,required:s}=e,u={root:["root",o&&"disabled",i&&"error",r&&`size${te(r)}`,n&&"contained",l&&"focused",a&&"filled",s&&"required"]};return be(u,NR,t)},_R=Q("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${te(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(De(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Rm.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Rm.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}}]}))),AR=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiFormHelperText"}),{children:o,className:i,component:a="p",disabled:l,error:s,filled:u,focused:c,margin:d,required:f,variant:y,...v}=r,x=xi(),b=vi({props:r,muiFormControl:x,states:["variant","size","disabled","error","filled","focused","required"]}),m={...r,component:a,contained:b.variant==="filled"||b.variant==="outlined",variant:b.variant,size:b.size,disabled:b.disabled,error:b.error,filled:b.filled,focused:b.focused,required:b.required};delete m.ownerState;const h=zR(m);return M.jsx(_R,{as:a,className:ae(h.root,i),ref:n,...v,ownerState:m,children:o===" "?Pm||(Pm=M.jsx("span",{className:"notranslate",children:"​"})):o})});function BR(e){return Se("MuiFormLabel",e)}const oa=Ce("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),DR=e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:a,required:l}=e,s={root:["root",`color${te(n)}`,o&&"disabled",i&&"error",a&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]};return be(s,BR,t)},jR=Q("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...e.color==="secondary"&&t.colorSecondary,...e.filled&&t.filled})})(De(({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(Kn()).map(([t])=>({props:{color:t},style:{[`&.${oa.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${oa.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${oa.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),FR=Q("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(De(({theme:e})=>({[`&.${oa.error}`]:{color:(e.vars||e).palette.error.main}}))),UR=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiFormLabel"}),{children:o,className:i,color:a,component:l="label",disabled:s,error:u,filled:c,focused:d,required:f,...y}=r,v=xi(),x=vi({props:r,muiFormControl:v,states:["color","required","focused","disabled","error","filled"]}),b={...r,color:x.color||"primary",component:l,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required},m=DR(b);return M.jsxs(jR,{as:l,ownerState:b,className:ae(m.root,i),ref:n,...y,children:[o,x.required&&M.jsxs(FR,{ownerState:b,"aria-hidden":!0,className:m.asterisk,children:[" ","*"]})]})}),Pd=Dk({createStyledComponent:Q("div",{name:"MuiGrid2",slot:"Root",overridesResolver:(e,t)=>t.root}),componentName:"MuiGrid2",useThemeProps:e=>ep({props:e,name:"MuiGrid2"})});function Td(e){return`scale(${e}, ${e**2})`}const WR={entering:{opacity:1,transform:Td(1)},entered:{opacity:1,transform:"none"}},pc=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),$d=S.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:a,in:l,onEnter:s,onEntered:u,onEntering:c,onExit:d,onExited:f,onExiting:y,style:v,timeout:x="auto",TransitionComponent:b=Gn,...m}=t,h=H0(),p=S.useRef(),C=ku(),E=S.useRef(null),T=Ot(E,Va(i),n),R=U=>j=>{if(U){const H=E.current;j===void 0?U(H):U(H,j)}},w=R(c),g=R((U,j)=>{tv(U);const{duration:H,delay:O,easing:A}=ws({style:v,timeout:x,easing:a},{mode:"enter"});let V;x==="auto"?(V=C.transitions.getAutoHeightDuration(U.clientHeight),p.current=V):V=H,U.style.transition=[C.transitions.create("opacity",{duration:V,delay:O}),C.transitions.create("transform",{duration:pc?V:V*.666,delay:O,easing:A})].join(","),s&&s(U,j)}),P=R(u),N=R(y),_=R(U=>{const{duration:j,delay:H,easing:O}=ws({style:v,timeout:x,easing:a},{mode:"exit"});let A;x==="auto"?(A=C.transitions.getAutoHeightDuration(U.clientHeight),p.current=A):A=j,U.style.transition=[C.transitions.create("opacity",{duration:A,delay:H}),C.transitions.create("transform",{duration:pc?A:A*.666,delay:pc?H:H||A*.333,easing:O})].join(","),U.style.opacity=0,U.style.transform=Td(.75),d&&d(U)}),F=R(f),D=U=>{x==="auto"&&h.start(p.current||0,U),r&&r(E.current,U)};return M.jsx(b,{appear:o,in:l,nodeRef:E,onEnter:g,onEntered:P,onEntering:w,onExit:_,onExited:F,onExiting:N,addEndListener:D,timeout:x==="auto"?null:x,...m,children:(U,j)=>S.cloneElement(i,{style:{opacity:0,transform:Td(.75),visibility:U==="exited"&&!l?"hidden":void 0,...WR[U],...v,...i.props.style},ref:T,...j})})});$d&&($d.muiSupportAuto=!0);const HR=e=>{const{classes:t,disableUnderline:n}=e,o=be({root:["root",!n&&"underline"],input:["input"]},d2,t);return{...t,...o}},VR=Q(Pu,{shouldForwardProp:e=>On(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Eu(e,t),!n.disableUnderline&&t.underline]}})(De(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${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"},[`&.${zi.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${zi.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(.${zi.disabled}, .${zi.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${zi.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Kn()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),GR=Q(Tu,{name:"MuiInput",slot:"Input",overridesResolver:Ru})({}),Es=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiInput"}),{disableUnderline:o=!1,components:i={},componentsProps:a,fullWidth:l=!1,inputComponent:s="input",multiline:u=!1,slotProps:c,slots:d={},type:f="text",...y}=r,v=HR(r),b={root:{ownerState:{disableUnderline:o}}},m=c??a?Mt(c??a,b):b,h=d.root??i.Root??VR,p=d.input??i.Input??GR;return M.jsx(ap,{slots:{root:h,input:p},slotProps:m,fullWidth:l,inputComponent:s,multiline:u,ref:n,type:f,...y,classes:v})});Es&&(Es.muiName="Input");function KR(e){return Se("MuiInputLabel",e)}Ce("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const QR=e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:i,variant:a,required:l}=e,s={root:["root",n&&"formControl",!i&&"animated",o&&"shrink",r&&r!=="normal"&&`size${te(r)}`,a],asterisk:[l&&"asterisk"]},u=be(s,KR,t);return{...t,...u}},YR=Q(UR,{shouldForwardProp:e=>On(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${oa.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]]}})(De(({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)"}}]}))),XR=S.forwardRef(function(t,n){const r=Ie({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,margin:i,shrink:a,variant:l,className:s,...u}=r,c=xi();let d=a;typeof d>"u"&&c&&(d=c.filled||c.focused||c.adornedStart);const f=vi({props:r,muiFormControl:c,states:["size","variant","required","focused"]}),y={...r,disableAnimation:o,formControl:c,shrink:d,size:f.size,variant:f.variant,required:f.required,focused:f.focused},v=QR(y);return M.jsx(YR,{"data-shrink":d,ref:n,className:ae(v.root,s),...u,ownerState:y,classes:v})});function qR(e){return Se("MuiLink",e)}const ZR=Ce("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),JR=({theme:e,ownerState:t})=>{const n=t.color,r=ii(e,`palette.${n}`,!1)||t.color,o=ii(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:mt(r,.4)},Tm={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},eP=e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e,i={root:["root",`underline${te(o)}`,n==="button"&&"button",r&&"focusVisible"]};return be(i,qR,t)},tP=Q(mn,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${te(n.underline)}`],n.component==="button"&&t.button]}})(De(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:t,ownerState:n})=>t==="always"&&n.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(e.palette).filter(Kn()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.4)`:mt(e.palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:mt(e.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.secondaryChannel} / 0.4)`:mt(e.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${ZR.focusVisible}`]:{outline:"auto"}}}]}))),rv=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiLink"}),o=ku(),{className:i,color:a="primary",component:l="a",onBlur:s,onFocus:u,TypographyClasses:c,underline:d="always",variant:f="inherit",sx:y,...v}=r,[x,b]=S.useState(!1),m=E=>{vs(E.target)||b(!1),s&&s(E)},h=E=>{vs(E.target)&&b(!0),u&&u(E)},p={...r,color:a,component:l,focusVisible:x,underline:d,variant:f},C=eP(p);return M.jsx(tP,{color:a,className:ae(C.root,i),classes:c,component:l,onBlur:m,onFocus:h,ref:n,ownerState:p,variant:f,...v,sx:[...Tm[a]===void 0?[{color:a}]:[],...Array.isArray(y)?y:[y]],style:{...v.style,...d==="always"&&a!=="inherit"&&!Tm[a]&&{"--Link-underlineColor":JR({theme:o,ownerState:p})}}})}),nP=S.createContext({});function rP(e){return Se("MuiList",e)}Ce("MuiList",["root","padding","dense","subheader"]);const oP=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return be({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},rP,t)},iP=Q("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}}]}),aP=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiList"}),{children:o,className:i,component:a="ul",dense:l=!1,disablePadding:s=!1,subheader:u,...c}=r,d=S.useMemo(()=>({dense:l}),[l]),f={...r,component:a,dense:l,disablePadding:s},y=oP(f);return M.jsx(nP.Provider,{value:d,children:M.jsxs(iP,{as:a,className:ae(y.root,i),ref:n,ownerState:f,...c,children:[u,o]})})});function hc(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function $m(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function ov(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 _i(e,t,n,r,o,i){let a=!1,l=o(e,t,t?n:!1);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const s=r?!1:l.disabled||l.getAttribute("aria-disabled")==="true";if(!l.hasAttribute("tabindex")||!ov(l,i)||s)l=o(e,l,n);else return l.focus(),!0}return!1}const lP=S.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:a,className:l,disabledItemsFocusable:s=!1,disableListWrap:u=!1,onKeyDown:c,variant:d="selectedMenu",...f}=t,y=S.useRef(null),v=S.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});po(()=>{o&&y.current.focus()},[o]),S.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(p,{direction:C})=>{const E=!y.current.style.width;if(p.clientHeight{const C=y.current,E=p.key;if(p.ctrlKey||p.metaKey||p.altKey){c&&c(p);return}const R=tn(C).activeElement;if(E==="ArrowDown")p.preventDefault(),_i(C,R,u,s,hc);else if(E==="ArrowUp")p.preventDefault(),_i(C,R,u,s,$m);else if(E==="Home")p.preventDefault(),_i(C,null,u,s,hc);else if(E==="End")p.preventDefault(),_i(C,null,u,s,$m);else if(E.length===1){const w=v.current,g=E.toLowerCase(),P=performance.now();w.keys.length>0&&(P-w.lastTime>500?(w.keys=[],w.repeating=!0,w.previousKeyMatched=!0):w.repeating&&g!==w.keys[0]&&(w.repeating=!1)),w.lastTime=P,w.keys.push(g);const N=R&&!w.repeating&&ov(R,w);w.previousKeyMatched&&(N||_i(C,R,!1,s,hc,w))?p.preventDefault():w.previousKeyMatched=!1}c&&c(p)},b=Ot(y,n);let m=-1;S.Children.forEach(a,(p,C)=>{if(!S.isValidElement(p)){m===C&&(m+=1,m>=a.length&&(m=-1));return}p.props.disabled||(d==="selectedMenu"&&p.props.selected||m===-1)&&(m=C),m===C&&(p.props.disabled||p.props.muiSkipListHighlight||p.type.muiSkipListHighlight)&&(m+=1,m>=a.length&&(m=-1))});const h=S.Children.map(a,(p,C)=>{if(C===m){const E={};return i&&(E.autoFocus=!0),p.props.tabIndex===void 0&&d==="selectedMenu"&&(E.tabIndex=0),S.cloneElement(p,E)}return p});return M.jsx(aP,{role:"menu",ref:b,className:l,onKeyDown:x,tabIndex:o?0:-1,...f,children:h})});function sP(e){return Se("MuiPopover",e)}Ce("MuiPopover",["root","paper"]);function Mm(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Im(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Om(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function mc(e){return typeof e=="function"?e():e}const uP=e=>{const{classes:t}=e;return be({root:["root"],paper:["paper"]},sP,t)},cP=Q(RR,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),iv=Q(rp,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),dP=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiPopover"}),{action:o,anchorEl:i,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:s="anchorEl",children:u,className:c,container:d,elevation:f=8,marginThreshold:y=16,open:v,PaperProps:x={},slots:b={},slotProps:m={},transformOrigin:h={vertical:"top",horizontal:"left"},TransitionComponent:p=$d,transitionDuration:C="auto",TransitionProps:{onEntering:E,...T}={},disableScrollLock:R=!1,...w}=r,g=(m==null?void 0:m.paper)??x,P=S.useRef(),N={...r,anchorOrigin:a,anchorReference:s,elevation:f,marginThreshold:y,externalPaperSlotProps:g,transformOrigin:h,TransitionComponent:p,transitionDuration:C,TransitionProps:T},_=uP(N),F=S.useCallback(()=>{if(s==="anchorPosition")return l;const ue=mc(i),pe=(ue&&ue.nodeType===1?ue:tn(P.current).body).getBoundingClientRect();return{top:pe.top+Mm(pe,a.vertical),left:pe.left+Im(pe,a.horizontal)}},[i,a.horizontal,a.vertical,l,s]),D=S.useCallback(ue=>({vertical:Mm(ue,h.vertical),horizontal:Im(ue,h.horizontal)}),[h.horizontal,h.vertical]),U=S.useCallback(ue=>{const we={width:ue.offsetWidth,height:ue.offsetHeight},pe=D(we);if(s==="none")return{top:null,left:null,transformOrigin:Om(pe)};const dt=F();let oe=dt.top-pe.vertical,me=dt.left-pe.horizontal;const Lt=oe+we.height,jt=me+we.width,je=ho(mc(i)),ft=je.innerHeight-y,ln=je.innerWidth-y;if(y!==null&&oeft){const Le=Lt-ft;oe-=Le,pe.vertical+=Le}if(y!==null&&meln){const Le=jt-ln;me-=Le,pe.horizontal+=Le}return{top:`${Math.round(oe)}px`,left:`${Math.round(me)}px`,transformOrigin:Om(pe)}},[i,s,F,D,y]),[j,H]=S.useState(v),O=S.useCallback(()=>{const ue=P.current;if(!ue)return;const we=U(ue);we.top!==null&&ue.style.setProperty("top",we.top),we.left!==null&&(ue.style.left=we.left),ue.style.transformOrigin=we.transformOrigin,H(!0)},[U]);S.useEffect(()=>(R&&window.addEventListener("scroll",O),()=>window.removeEventListener("scroll",O)),[i,R,O]);const A=(ue,we)=>{E&&E(ue,we),O()},V=()=>{H(!1)};S.useEffect(()=>{v&&O()}),S.useImperativeHandle(o,()=>v?{updatePosition:()=>{O()}}:null,[v,O]),S.useEffect(()=>{if(!v)return;const ue=F0(()=>{O()}),we=ho(i);return we.addEventListener("resize",ue),()=>{ue.clear(),we.removeEventListener("resize",ue)}},[i,v,O]);let Z=C;C==="auto"&&!p.muiSupportAuto&&(Z=void 0);const se=d||(i?tn(mc(i)).body:void 0),ie={slots:b,slotProps:{...m,paper:g}},[re,ke]=Pn("paper",{elementType:iv,externalForwardedProps:ie,additionalProps:{elevation:f,className:ae(_.paper,g==null?void 0:g.className),style:j?g.style:{...g.style,opacity:0}},ownerState:N}),[he,{slotProps:Oe,...Ze}]=Pn("root",{elementType:cP,externalForwardedProps:ie,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:se,open:v},ownerState:N,className:ae(_.root,c)}),Ke=Ot(P,ke.ref);return M.jsx(he,{...Ze,...!kd(he)&&{slotProps:Oe,disableScrollLock:R},...w,ref:n,children:M.jsx(p,{appear:!0,in:v,onEntering:A,onExited:V,timeout:Z,...T,children:M.jsx(re,{...ke,ref:Ke,children:u})})})});function fP(e){return Se("MuiMenu",e)}Ce("MuiMenu",["root","paper","list"]);const pP={vertical:"top",horizontal:"right"},hP={vertical:"top",horizontal:"left"},mP=e=>{const{classes:t}=e;return be({root:["root"],paper:["paper"],list:["list"]},fP,t)},gP=Q(dP,{shouldForwardProp:e=>On(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),yP=Q(iv,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),vP=Q(lP,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),xP=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:i,className:a,disableAutoFocusItem:l=!1,MenuListProps:s={},onClose:u,open:c,PaperProps:d={},PopoverClasses:f,transitionDuration:y="auto",TransitionProps:{onEntering:v,...x}={},variant:b="selectedMenu",slots:m={},slotProps:h={},...p}=r,C=ck(),E={...r,autoFocus:o,disableAutoFocusItem:l,MenuListProps:s,onEntering:v,PaperProps:d,transitionDuration:y,TransitionProps:x,variant:b},T=mP(E),R=o&&!l&&c,w=S.useRef(null),g=(j,H)=>{w.current&&w.current.adjustStyleForScrollbar(j,{direction:C?"rtl":"ltr"}),v&&v(j,H)},P=j=>{j.key==="Tab"&&(j.preventDefault(),u&&u(j,"tabKeyDown"))};let N=-1;S.Children.map(i,(j,H)=>{S.isValidElement(j)&&(j.props.disabled||(b==="selectedMenu"&&j.props.selected||N===-1)&&(N=H))});const _=m.paper??yP,F=h.paper??d,D=vd({elementType:m.root,externalSlotProps:h.root,ownerState:E,className:[T.root,a]}),U=vd({elementType:_,externalSlotProps:F,ownerState:E,className:T.paper});return M.jsx(gP,{onClose:u,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?pP:hP,slots:{paper:_,root:m.root},slotProps:{root:D,paper:U},open:c,ref:n,transitionDuration:y,TransitionProps:{onEntering:g,...x},ownerState:E,...p,classes:f,children:M.jsx(vP,{onKeyDown:P,actions:w,autoFocus:o&&(N===-1||l),autoFocusItem:R,variant:b,...s,className:ae(T.list,s.className),children:i})})});function SP(e){return Se("MuiNativeSelect",e)}const lp=Ce("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),wP=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,l={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${te(n)}`,i&&"iconOpen",r&&"disabled"]};return be(l,SP,t)},av=Q("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${lp.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}}}]})),CP=Q(av,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:On,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${lp.multiple}`]:t.multiple}]}})({}),lv=Q("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${lp.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}}]})),bP=Q(lv,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${te(n.variant)}`],n.open&&t.iconOpen]}})({}),kP=S.forwardRef(function(t,n){const{className:r,disabled:o,error:i,IconComponent:a,inputRef:l,variant:s="standard",...u}=t,c={...t,disabled:o,variant:s,error:i},d=wP(c);return M.jsxs(S.Fragment,{children:[M.jsx(CP,{ownerState:c,className:ae(d.select,r),disabled:o,ref:l||n,...u}),t.multiple?null:M.jsx(bP,{as:a,ownerState:c,className:d.icon})]})});var Lm;const EP=Q("fieldset",{shouldForwardProp:On})({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%"}),RP=Q("legend",{shouldForwardProp:On})(De(({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 PP(e){const{children:t,classes:n,className:r,label:o,notched:i,...a}=e,l=o!=null&&o!=="",s={...e,notched:i,withLabel:l};return M.jsx(EP,{"aria-hidden":!0,className:r,ownerState:s,...a,children:M.jsx(RP,{ownerState:s,children:l?M.jsx("span",{children:o}):Lm||(Lm=M.jsx("span",{className:"notranslate",children:"​"}))})})}const TP=e=>{const{classes:t}=e,r=be({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},f2,t);return{...t,...r}},$P=Q(Pu,{shouldForwardProp:e=>On(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Eu})(De(({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 .${_n.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},[`&.${_n.focused} .${_n.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Kn()).map(([n])=>({props:{color:n},style:{[`&.${_n.focused} .${_n.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{"@media (hover: none)":{[`&:hover .${_n.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${_n.error} .${_n.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${_n.disabled} .${_n.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"}}]}})),MP=Q(PP,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(De(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),IP=Q(Tu,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Ru})(De(({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}}]}))),Rs=S.forwardRef(function(t,n){var r;const o=Ie({props:t,name:"MuiOutlinedInput"}),{components:i={},fullWidth:a=!1,inputComponent:l="input",label:s,multiline:u=!1,notched:c,slots:d={},type:f="text",...y}=o,v=TP(o),x=xi(),b=vi({props:o,muiFormControl:x,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),m={...o,color:b.color||"primary",disabled:b.disabled,error:b.error,focused:b.focused,formControl:x,fullWidth:a,hiddenLabel:b.hiddenLabel,multiline:u,size:b.size,type:f},h=d.root??i.Root??$P,p=d.input??i.Input??IP;return M.jsx(ap,{slots:{root:h,input:p},renderSuffix:C=>M.jsx(MP,{ownerState:m,className:v.notchedOutline,label:s!=null&&s!==""&&b.required?r||(r=M.jsxs(S.Fragment,{children:[s," ","*"]})):s,notched:typeof c<"u"?c:!!(C.startAdornment||C.filled||C.focused)}),fullWidth:a,inputComponent:l,multiline:u,ref:n,type:f,...y,classes:{...v,notchedOutline:null}})});Rs&&(Rs.muiName="Input");function OP(e){return Se("MuiSelect",e)}const Ai=Ce("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Nm;const LP=Q(av,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Ai.select}`]:t.select},{[`&.${Ai.select}`]:t[n.variant]},{[`&.${Ai.error}`]:t.error},{[`&.${Ai.multiple}`]:t.multiple}]}})({[`&.${Ai.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),NP=Q(lv,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${te(n.variant)}`],n.open&&t.iconOpen]}})({}),zP=Q("input",{shouldForwardProp:e=>Z0(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function zm(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function _P(e){return e==null||typeof e=="string"&&!e.trim()}const AP=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,l={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${te(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return be(l,OP,t)},BP=S.forwardRef(function(t,n){var Ln;const{"aria-describedby":r,"aria-label":o,autoFocus:i,autoWidth:a,children:l,className:s,defaultOpen:u,defaultValue:c,disabled:d,displayEmpty:f,error:y=!1,IconComponent:v,inputRef:x,labelId:b,MenuProps:m={},multiple:h,name:p,onBlur:C,onChange:E,onClose:T,onFocus:R,onOpen:w,open:g,readOnly:P,renderValue:N,SelectDisplayProps:_={},tabIndex:F,type:D,value:U,variant:j="standard",...H}=t,[O,A]=lm({controlled:U,default:c,name:"Select"}),[V,Z]=lm({controlled:g,default:u,name:"Select"}),se=S.useRef(null),ie=S.useRef(null),[re,ke]=S.useState(null),{current:he}=S.useRef(g!=null),[Oe,Ze]=S.useState(),Ke=Ot(n,x),ue=S.useCallback(ne=>{ie.current=ne,ne&&ke(ne)},[]),we=re==null?void 0:re.parentNode;S.useImperativeHandle(Ke,()=>({focus:()=>{ie.current.focus()},node:se.current,value:O}),[O]),S.useEffect(()=>{u&&V&&re&&!he&&(Ze(a?null:we.clientWidth),ie.current.focus())},[re,a]),S.useEffect(()=>{i&&ie.current.focus()},[i]),S.useEffect(()=>{if(!b)return;const ne=tn(ie.current).getElementById(b);if(ne){const ye=()=>{getSelection().isCollapsed&&ie.current.focus()};return ne.addEventListener("click",ye),()=>{ne.removeEventListener("click",ye)}}},[b]);const pe=(ne,ye)=>{ne?w&&w(ye):T&&T(ye),he||(Ze(a?null:we.clientWidth),Z(ne))},dt=ne=>{ne.button===0&&(ne.preventDefault(),ie.current.focus(),pe(!0,ne))},oe=ne=>{pe(!1,ne)},me=S.Children.toArray(l),Lt=ne=>{const ye=me.find(at=>at.props.value===ne.target.value);ye!==void 0&&(A(ye.props.value),E&&E(ne,ye))},jt=ne=>ye=>{let at;if(ye.currentTarget.hasAttribute("tabindex")){if(h){at=Array.isArray(O)?O.slice():[];const Qn=O.indexOf(ne.props.value);Qn===-1?at.push(ne.props.value):at.splice(Qn,1)}else at=ne.props.value;if(ne.props.onClick&&ne.props.onClick(ye),O!==at&&(A(at),E)){const Qn=ye.nativeEvent||ye,Si=new Qn.constructor(Qn.type,Qn);Object.defineProperty(Si,"target",{writable:!0,value:{value:at,name:p}}),E(Si,ne)}h||pe(!1,ye)}},je=ne=>{P||[" ","ArrowUp","ArrowDown","Enter"].includes(ne.key)&&(ne.preventDefault(),pe(!0,ne))},ft=re!==null&&V,ln=ne=>{!ft&&C&&(Object.defineProperty(ne,"target",{writable:!0,value:{value:O,name:p}}),C(ne))};delete H["aria-invalid"];let Le,wn;const J=[];let pt=!1;(bs({value:O})||f)&&(N?Le=N(O):pt=!0);const Hr=me.map(ne=>{if(!S.isValidElement(ne))return null;let ye;if(h){if(!Array.isArray(O))throw new Error(ur(2));ye=O.some(at=>zm(at,ne.props.value)),ye&&pt&&J.push(ne.props.children)}else ye=zm(O,ne.props.value),ye&&pt&&(wn=ne.props.children);return S.cloneElement(ne,{"aria-selected":ye?"true":"false",onClick:jt(ne),onKeyUp:at=>{at.key===" "&&at.preventDefault(),ne.props.onKeyUp&&ne.props.onKeyUp(at)},role:"option",selected:ye,value:void 0,"data-value":ne.props.value})});pt&&(h?J.length===0?Le=null:Le=J.reduce((ne,ye,at)=>(ne.push(ye),at{const{classes:t}=e;return t},sp={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>On(e)&&e!=="variant",slot:"Root"},jP=Q(Es,sp)(""),FP=Q(Rs,sp)(""),UP=Q(ks,sp)(""),sv=S.forwardRef(function(t,n){const r=ep({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:i,classes:a={},className:l,defaultOpen:s=!1,displayEmpty:u=!1,IconComponent:c=h2,id:d,input:f,inputProps:y,label:v,labelId:x,MenuProps:b,multiple:m=!1,native:h=!1,onClose:p,onOpen:C,open:E,renderValue:T,SelectDisplayProps:R,variant:w="outlined",...g}=r,P=h?kP:BP,N=xi(),_=vi({props:r,muiFormControl:N,states:["variant","error"]}),F=_.variant||w,D={...r,variant:F,classes:a},U=DP(D),{root:j,...H}=U,O=f||{standard:M.jsx(jP,{ownerState:D}),outlined:M.jsx(FP,{label:v,ownerState:D}),filled:M.jsx(UP,{ownerState:D})}[F],A=Ot(n,Va(O));return M.jsx(S.Fragment,{children:S.cloneElement(O,{inputComponent:P,inputProps:{children:i,error:_.error,IconComponent:c,variant:F,type:void 0,multiple:m,...h?{id:d}:{autoWidth:o,defaultOpen:s,displayEmpty:u,labelId:x,MenuProps:b,onClose:p,onOpen:C,open:E,renderValue:T,SelectDisplayProps:{id:d,...R}},...y,classes:y?Mt(H,y.classes):H,...f?f.props.inputProps:{}},...(m&&h||u)&&F==="outlined"?{notched:!0}:{},ref:A,className:ae(O.props.className,l,U.root),...!f&&{variant:F},...g})})});sv.muiName="Select";function WP(e){return Se("MuiToolbar",e)}Ce("MuiToolbar",["root","gutters","regular","dense"]);const HP=e=>{const{classes:t,disableGutters:n,variant:r}=e;return be({root:["root",!n&&"gutters",r]},WP,t)},VP=Q("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(De(({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}]}))),GP=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiToolbar"}),{className:o,component:i="div",disableGutters:a=!1,variant:l="regular",...s}=r,u={...r,component:i,disableGutters:a,variant:l},c=HP(u);return M.jsx(VP,{as:i,className:ae(c.root,o),ref:n,ownerState:u,...s})});function KP(e){return Se("MuiTextField",e)}Ce("MuiTextField",["root"]);const QP={standard:Es,filled:ks,outlined:Rs},YP=e=>{const{classes:t}=e;return be({root:["root"]},KP,t)},XP=Q(LR,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),qP=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:i=!1,children:a,className:l,color:s="primary",defaultValue:u,disabled:c=!1,error:d=!1,FormHelperTextProps:f,fullWidth:y=!1,helperText:v,id:x,InputLabelProps:b,inputProps:m,InputProps:h,inputRef:p,label:C,maxRows:E,minRows:T,multiline:R=!1,name:w,onBlur:g,onChange:P,onFocus:N,placeholder:_,required:F=!1,rows:D,select:U=!1,SelectProps:j,slots:H={},slotProps:O={},type:A,value:V,variant:Z="outlined",...se}=r,ie={...r,autoFocus:i,color:s,disabled:c,error:d,fullWidth:y,multiline:R,required:F,select:U,variant:Z},re=YP(ie),ke=U0(x),he=v&&ke?`${ke}-helper-text`:void 0,Oe=C&&ke?`${ke}-label`:void 0,Ze=QP[Z],Ke={slots:H,slotProps:{input:h,inputLabel:b,htmlInput:m,formHelperText:f,select:j,...O}},ue={},we=Ke.slotProps.inputLabel;Z==="outlined"&&(we&&typeof we.shrink<"u"&&(ue.notched=we.shrink),ue.label=C),U&&((!j||!j.native)&&(ue.id=void 0),ue["aria-describedby"]=void 0);const[pe,dt]=Pn("input",{elementType:Ze,externalForwardedProps:Ke,additionalProps:ue,ownerState:ie}),[oe,me]=Pn("inputLabel",{elementType:XR,externalForwardedProps:Ke,ownerState:ie}),[Lt,jt]=Pn("htmlInput",{elementType:"input",externalForwardedProps:Ke,ownerState:ie}),[je,ft]=Pn("formHelperText",{elementType:AR,externalForwardedProps:Ke,ownerState:ie}),[ln,Le]=Pn("select",{elementType:sv,externalForwardedProps:Ke,ownerState:ie}),wn=M.jsx(pe,{"aria-describedby":he,autoComplete:o,autoFocus:i,defaultValue:u,fullWidth:y,multiline:R,name:w,rows:D,maxRows:E,minRows:T,type:A,value:V,id:ke,inputRef:p,onBlur:g,onChange:P,onFocus:N,placeholder:_,inputProps:jt,slots:{input:H.htmlInput?Lt:void 0},...dt});return M.jsxs(XP,{className:ae(re.root,l),disabled:c,error:d,fullWidth:y,ref:n,required:F,color:s,variant:Z,ownerState:ie,...se,children:[C!=null&&C!==""&&M.jsx(oe,{htmlFor:ke,id:Oe,...me,children:C}),U?M.jsx(ln,{"aria-describedby":he,id:ke,labelId:Oe,value:V,input:wn,...Le,children:a}):wn,v&&M.jsx(je,{id:he,...ft,children:v})]})});function ZP(e){return Se("MuiToggleButton",e)}const no=Ce("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),uv=S.createContext({}),cv=S.createContext(void 0);function JP(e,t){return t===void 0||e===void 0?!1:Array.isArray(t)?t.includes(e):e===t}const eT=e=>{const{classes:t,fullWidth:n,selected:r,disabled:o,size:i,color:a}=e,l={root:["root",r&&"selected",o&&"disabled",n&&"fullWidth",`size${te(i)}`,a]};return be(l,ZP,t)},tT=Q(op,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`size${te(n.size)}`]]}})(De(({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,[`&.${no.disabled}`]:{color:(e.vars||e).palette.action.disabled,border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:mt(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[{props:{color:"standard"},style:{[`&.${no.selected}`]:{color:(e.vars||e).palette.text.primary,backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.selectedOpacity})`:mt(e.palette.text.primary,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:mt(e.palette.text.primary,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.selectedOpacity})`:mt(e.palette.text.primary,e.palette.action.selectedOpacity)}}}}},...Object.entries(e.palette).filter(Kn()).map(([t])=>({props:{color:t},style:{[`&.${no.selected}`]:{color:(e.vars||e).palette[t].main,backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.selectedOpacity})`:mt(e.palette[t].main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:mt(e.palette[t].main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.selectedOpacity})`:mt(e.palette[t].main,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)}}]}))),_m=S.forwardRef(function(t,n){const{value:r,...o}=S.useContext(uv),i=S.useContext(cv),a=ai({...o,selected:JP(t.value,r)},t),l=Ie({props:a,name:"MuiToggleButton"}),{children:s,className:u,color:c="standard",disabled:d=!1,disableFocusRipple:f=!1,fullWidth:y=!1,onChange:v,onClick:x,selected:b,size:m="medium",value:h,...p}=l,C={...l,color:c,disabled:d,disableFocusRipple:f,fullWidth:y,size:m},E=eT(C),T=w=>{x&&(x(w,h),w.defaultPrevented)||v&&v(w,h)},R=i||"";return M.jsx(tT,{className:ae(o.className,E.root,u,R),disabled:d,focusRipple:!f,ref:n,onClick:T,onChange:v,value:h,ownerState:C,"aria-pressed":b,...p,children:s})});function nT(e){return Se("MuiToggleButtonGroup",e)}const Ue=Ce("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]),rT=e=>{const{classes:t,orientation:n,fullWidth:r,disabled:o}=e,i={root:["root",n,r&&"fullWidth"],grouped:["grouped",`grouped${te(n)}`,o&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return be(i,nT,t)},oT=Q("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ue.grouped}`]:t.grouped},{[`& .${Ue.grouped}`]:t[`grouped${te(n.orientation)}`]},{[`& .${Ue.firstButton}`]:t.firstButton},{[`& .${Ue.lastButton}`]:t.lastButton},{[`& .${Ue.middleButton}`]:t.middleButton},t.root,n.orientation==="vertical"&&t.vertical,n.fullWidth&&t.fullWidth]}})(De(({theme:e})=>({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius,variants:[{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${Ue.grouped}`]:{[`&.${Ue.selected} + .${Ue.grouped}.${Ue.selected}`]:{borderTop:0,marginTop:0}},[`& .${Ue.firstButton},& .${Ue.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${Ue.lastButton},& .${Ue.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},[`& .${Ue.lastButton}.${no.disabled},& .${Ue.middleButton}.${no.disabled}`]:{borderTop:"1px solid transparent"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"horizontal"},style:{[`& .${Ue.grouped}`]:{[`&.${Ue.selected} + .${Ue.grouped}.${Ue.selected}`]:{borderLeft:0,marginLeft:0}},[`& .${Ue.firstButton},& .${Ue.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${Ue.lastButton},& .${Ue.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},[`& .${Ue.lastButton}.${no.disabled},& .${Ue.middleButton}.${no.disabled}`]:{borderLeft:"1px solid transparent"}}}]}))),iT=S.forwardRef(function(t,n){const r=Ie({props:t,name:"MuiToggleButtonGroup"}),{children:o,className:i,color:a="standard",disabled:l=!1,exclusive:s=!1,fullWidth:u=!1,onChange:c,orientation:d="horizontal",size:f="medium",value:y,...v}=r,x={...r,disabled:l,fullWidth:u,orientation:d,size:f},b=rT(x),m=S.useCallback((R,w)=>{if(!c)return;const g=y&&y.indexOf(w);let P;y&&g>=0?(P=y.slice(),P.splice(g,1)):P=y?y.concat(w):[w],c(R,P)},[c,y]),h=S.useCallback((R,w)=>{c&&c(R,y===w?null:w)},[c,y]),p=S.useMemo(()=>({className:b.grouped,onChange:s?h:m,value:y,size:f,fullWidth:u,color:a,disabled:l}),[b.grouped,s,h,m,y,f,u,a,l]),C=lk(o),E=C.length,T=R=>{const w=R===0,g=R===E-1;return w&&g?"":w?b.firstButton:g?b.lastButton:b.middleButton};return M.jsx(oT,{role:"group",className:ae(b.root,i),ref:n,ownerState:x,...v,children:M.jsx(uv.Provider,{value:p,children:C.map((R,w)=>M.jsx(cv.Provider,{value:T(w),children:R},w))})})}),aT=()=>M.jsx(Mn,{children:M.jsx(mn,{variant:"h1",children:"Project management system"})});var pn=(e=>(e.Home="/",e.Projects="projects",e.Executors="executors",e.Create="create",e))(pn||{});const lT=yi(M.jsx("path",{d:"M19 3h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 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-2m-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m2 14H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"}),"Assignment"),sT=yi(M.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"}),"Person"),{Home:MT,Projects:uT,Create:IT,Executors:cT}=pn,dT=[{to:uT,text:"Projects",icon:M.jsx(lT,{})},{to:cT,text:"Executors",icon:M.jsx(sT,{})}],fT=({size:e})=>M.jsx(Mn,{sx:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",flexGrow:1},children:M.jsx(oR,{size:e})}),pT=({children:e,to:t,...n})=>{const o=fi().pathname.includes(t);return M.jsx($u,{component:pi,to:t,color:o?"white":"primary",variant:"contained",size:"large",sx:{justifyContent:"flex-start"},...n,children:e})},hT=()=>M.jsx(Pd,{sx:{display:"flex",flexDirection:"column",gap:1,backgroundColor:Cr[600],padding:2},children:dT.map(e=>M.jsx(pT,{to:e.to,startIcon:e.icon,children:e.text},e.to))}),up=Jf({palette:{secondary:{main:Er[500],light:Er[300],dark:Er[700],contrastText:fd[900]},white:{main:"#ffffff",dark:fd[300],contrastText:Cr[500]}},typography:{h1:{fontSize:"2rem",fontWeight:600},h2:{fontSize:"1.75rem"},h3:{fontSize:"1.5rem"},h4:{fontSize:"1.25rem"},h5:{fontSize:"1rem"},h6:{fontSize:"0.875rem"}}}),mT=()=>M.jsx(n2,{position:"static",children:M.jsx(GP,{variant:"dense",sx:{minHeight:"auto",height:"auto",paddingY:1},children:M.jsx(rv,{component:pi,to:pn.Home,sx:{color:up.palette.white.main,textTransform:"uppercase"},children:"App"})})}),gT=({})=>{const{pathname:e}=fi(),t=e.split("/");return t.splice(0,1),M.jsx(z2,{"aria-label":"breadcrumb",children:t.map((n,r)=>t.length||r===t.length-1?M.jsx(mn,{color:"text.primary",children:n},n+r):M.jsx(rv,{component:pi,underline:"hover",color:"inherit",to:n,children:n},n+r))})},yT=()=>M.jsxs(Mn,{sx:{display:"flex",flexDirection:"column",minHeight:"100vh"},children:[M.jsx(mT,{}),M.jsxs(Pd,{container:!0,size:"grow",children:[M.jsx(hT,{}),M.jsxs(Pd,{sx:{padding:2,paddingTop:.5,paddingRight:3,display:"flex",flexDirection:"column",flexGrow:1},children:[M.jsx(gT,{}),M.jsx(S.Suspense,{fallback:M.jsx(fT,{size:50}),children:M.jsx(sw,{})})]})]})]}),dv=(...e)=>e.join("/"),vT=({id:e,name:t,description:n,team:r,lead:o,startDate:i,endDate:a})=>M.jsx(G2,{variant:"outlined",component:pi,to:dv(pn.Projects,e),sx:{textDecoration:"none",":hover":{boxShadow:5}},children:M.jsxs(X2,{sx:{display:"flex",flexDirection:"column",gap:1},children:[M.jsx(mn,{sx:{fontWeight:500,fontSize:20},children:t}),M.jsx(mn,{children:n}),M.jsx(mn,{sx:{backgroundColor:up.palette.secondary.light,paddingY:.5,paddingX:1,borderRadius:1},children:o}),M.jsxs(mn,{children:[i," - ",a]})]})}),xT=yi(M.jsx("path",{d:"M3 14h4v-4H3zm0 5h4v-4H3zM3 9h4V5H3zm5 5h13v-4H8zm0 5h13v-4H8zM8 5v4h13V5z"}),"ViewList"),ST=yi(M.jsx("path",{d:"M14.67 5v6.5H9.33V5zm1 6.5H21V5h-5.33zm-1 7.5v-6.5H9.33V19zm1-6.5V19H21v-6.5zm-7.34 0H3V19h5.33zm0-1V5H3v6.5z"}),"ViewModule"),{Create:wT}=pn,CT=[{id:"1",name:"Project #1",description:"First project",team:[],lead:"Kopytin I.",startDate:"05.10.2024",endDate:"01.12.2024",img:""},{id:"2",name:"Project #2",description:"Second project",team:[],lead:"Kopytin I.",startDate:"05.10.2024",endDate:"01.12.2024",img:""},{id:"3",name:"Project #3",description:"Third project",team:[],lead:"Kopytin I.",startDate:"05.10.2024",endDate:"01.12.2024",img:""},{id:"4",name:"Project #4",description:"Fourth project",team:[],lead:"Kopytin I.",startDate:"05.10.2024",endDate:"01.12.2024",img:""}],bT=()=>{const[e,t]=S.useState("cards"),n=(r,o)=>{t(o)};return M.jsxs(Mn,{children:[M.jsxs(Mn,{sx:{display:"flex",alignItems:"center",gap:1,marginBottom:2},children:[M.jsx(mn,{variant:"h1",children:"Projects"}),M.jsx($u,{component:pi,variant:"contained",to:wT,children:"New"}),M.jsxs(iT,{color:"primary",value:e,exclusive:!0,onChange:n,sx:{height:"38px"},children:[M.jsx(_m,{value:"cards","aria-label":"cards",children:M.jsx(ST,{})}),M.jsx(_m,{value:"table","aria-label":"table",children:M.jsx(xT,{})})]})]}),M.jsx(Mn,{sx:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(300px, 1fr))",gap:2},children:CT.map(r=>M.jsx(vT,{...r},r.id))})]})},kT=()=>M.jsx(Mn,{children:M.jsxs(Mn,{sx:{display:"flex",flexDirection:"column",gap:2,marginBottom:2},children:[M.jsx(mn,{variant:"h1",children:"New project"}),M.jsx(qP,{id:"project-name",label:"Name",variant:"filled",sx:{alignSelf:"flex-start",maxWidth:300,width:"100%"},size:"small"}),M.jsx($u,{variant:"contained",type:"submit",sx:{alignSelf:"flex-start"},children:"Create"})]})}),ET=({})=>M.jsx(iR,{children:M.jsx(mn,{children:"Not found"})}),{Create:RT}=pn,PT=()=>M.jsxs(Mn,{children:[M.jsxs(Mn,{sx:{display:"flex",alignItems:"center",gap:1,marginBottom:2},children:[M.jsx(mn,{variant:"h1",children:"Executors"}),M.jsx($u,{component:pi,variant:"contained",to:RT,children:"New"})]}),M.jsx(Mn,{sx:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(300px, 1fr))",gap:2}})]}),TT=gw([{path:pn.Home,element:M.jsx(yT,{}),errorElement:M.jsx(ET,{}),children:[{path:pn.Home,element:M.jsx(aT,{})},{path:pn.Projects,element:M.jsx(bT,{})},{path:dv(pn.Projects,pn.Create),element:M.jsx(kT,{})},{path:pn.Executors,element:M.jsx(PT,{})}]}]);qy(document.getElementById("root")).render(M.jsx(TC,{theme:up,children:M.jsx(Ew,{router:TT})})); diff --git a/index.html b/index.html index 19a2fd0..186949a 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@ /> Project management system - +