@crowdin/app-project-module 0.61.0 → 0.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -109,4 +109,4 @@
109
109
  animation-iteration-count: infinite;
110
110
  animation-delay: 200ms;
111
111
  }
112
- `),oY.rippleVisible,dY,550,(({theme:e})=>e.transitions.easing.easeInOut),oY.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),oY.child,oY.childLeaving,fY,550,(({theme:e})=>e.transitions.easing.easeInOut),oY.childPulsate,pY,(({theme:e})=>e.transitions.easing.easeInOut)),vY=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiTouchRipple"}),{center:n=!1,classes:o={},className:a}=r,i=VB(r,aY),[s,l]=V.useState([]),c=V.useRef(0),u=V.useRef(null);V.useEffect((()=>{u.current&&(u.current(),u.current=null)}),[s]);const d=V.useRef(!1),f=pH(),p=V.useRef(null),m=V.useRef(null),h=V.useCallback((e=>{const{pulsate:t,rippleX:r,rippleY:n,rippleSize:a,cb:i}=e;l((e=>[...e,SP.jsx(hY,{classes:{ripple:EK(o.ripple,oY.ripple),rippleVisible:EK(o.rippleVisible,oY.rippleVisible),ripplePulsate:EK(o.ripplePulsate,oY.ripplePulsate),child:EK(o.child,oY.child),childLeaving:EK(o.childLeaving,oY.childLeaving),childPulsate:EK(o.childPulsate,oY.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:a},c.current)])),c.current+=1,u.current=i}),[o]),v=V.useCallback(((e={},t={},r=(()=>{}))=>{const{pulsate:o=!1,center:a=n||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&d.current)return void(d.current=!1);"touchstart"===(null==e?void 0:e.type)&&(d.current=!0);const s=i?null:m.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,v;if(a||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(r-l.top)}if(a)v=Math.sqrt((2*l.width**2+l.height**2)/3),v%2==0&&(v+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;v=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===p.current&&(p.current=()=>{h({pulsate:o,rippleX:c,rippleY:u,rippleSize:v,cb:r})},f.start(80,(()=>{p.current&&(p.current(),p.current=null)}))):h({pulsate:o,rippleX:c,rippleY:u,rippleSize:v,cb:r})}),[n,h,f]),y=V.useCallback((()=>{v({},{pulsate:!0})}),[v]),g=V.useCallback(((e,t)=>{if(f.clear(),"touchend"===(null==e?void 0:e.type)&&p.current)return p.current(),p.current=null,void f.start(0,(()=>{g(e,t)}));p.current=null,l((e=>e.length>0?e.slice(1):e)),u.current=t}),[f]);return V.useImperativeHandle(t,(()=>({pulsate:y,start:v,stop:g})),[y,v,g]),SP.jsx(mY,LB({className:EK(oY.root,o.root,a),ref:m},i,{children:SP.jsx(YQ,{component:null,exit:!0,children:s})}))}));var yY=vY;function gY(e){return jK("MuiButtonBase",e)}var bY=OK("MuiButtonBase",["root","disabled","focusVisible"]);const wY=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],SY=wQ("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${bY.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),xY=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiButtonBase"}),{action:n,centerRipple:o=!1,children:a,className:i,component:s="button",disabled:l=!1,disableRipple:c=!1,disableTouchRipple:u=!1,focusRipple:d=!1,LinkComponent:f="a",onBlur:p,onClick:m,onContextMenu:h,onDragLeave:v,onFocus:y,onFocusVisible:g,onKeyDown:b,onKeyUp:w,onMouseDown:S,onMouseLeave:x,onMouseUp:$,onTouchEnd:k,onTouchMove:_,onTouchStart:E,tabIndex:C=0,TouchRippleProps:P,touchRippleRef:j,type:O}=r,N=VB(r,wY),R=V.useRef(null),T=V.useRef(null),A=cH(T,j),{isFocusVisibleRef:I,onFocus:M,onBlur:F,ref:D}=xH(),[z,L]=V.useState(!1);l&&z&&L(!1),V.useImperativeHandle(n,(()=>({focusVisible:()=>{L(!0),R.current.focus()}})),[]);const[B,U]=V.useState(!1);V.useEffect((()=>{U(!0)}),[]);const W=B&&!c&&!l;function q(e,t,r=u){return lH((n=>{t&&t(n);return!r&&T.current&&T.current[e](n),!0}))}V.useEffect((()=>{z&&d&&!c&&B&&T.current.pulsate()}),[c,d,z,B]);const K=q("start",S),H=q("stop",h),G=q("stop",v),Q=q("stop",$),Y=q("stop",(e=>{z&&e.preventDefault(),x&&x(e)})),J=q("start",E),X=q("stop",k),Z=q("stop",_),ee=q("stop",(e=>{F(e),!1===I.current&&L(!1),p&&p(e)}),!1),te=lH((e=>{R.current||(R.current=e.currentTarget),M(e),!0===I.current&&(L(!0),g&&g(e)),y&&y(e)})),re=()=>{const e=R.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},ne=V.useRef(!1),oe=lH((e=>{d&&!ne.current&&z&&T.current&&" "===e.key&&(ne.current=!0,T.current.stop(e,(()=>{T.current.start(e)}))),e.target===e.currentTarget&&re()&&" "===e.key&&e.preventDefault(),b&&b(e),e.target===e.currentTarget&&re()&&"Enter"===e.key&&!l&&(e.preventDefault(),m&&m(e))})),ae=lH((e=>{d&&" "===e.key&&T.current&&z&&!e.defaultPrevented&&(ne.current=!1,T.current.stop(e,(()=>{T.current.pulsate(e)}))),w&&w(e),m&&e.target===e.currentTarget&&re()&&" "===e.key&&!e.defaultPrevented&&m(e)}));let ie=s;"button"===ie&&(N.href||N.to)&&(ie=f);const se={};"button"===ie?(se.type=void 0===O?"button":O,se.disabled=l):(N.href||N.to||(se.role="button"),l&&(se["aria-disabled"]=l));const le=cH(t,D,R),ce=LB({},r,{centerRipple:o,component:s,disabled:l,disableRipple:c,disableTouchRipple:u,focusRipple:d,tabIndex:C,focusVisible:z}),ue=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=_H({root:["root",t&&"disabled",r&&"focusVisible"]},gY,o);return r&&n&&(a.root+=` ${n}`),a})(ce);return SP.jsxs(SY,LB({as:ie,className:EK(ue.root,i),ownerState:ce,onBlur:ee,onClick:m,onContextMenu:H,onFocus:te,onKeyDown:oe,onKeyUp:ae,onMouseDown:K,onMouseLeave:Y,onMouseUp:Q,onDragLeave:G,onTouchEnd:X,onTouchMove:Z,onTouchStart:J,ref:le,tabIndex:l?-1:C,type:O},se,N,{children:[a,W?SP.jsx(yY,LB({ref:A,center:o},P)):null]}))}));var $Y=xY;function kY(e){return jK("MuiIconButton",e)}var _Y=OK("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);const EY=["edge","children","className","color","disabled","disableFocusRipple","size"],CY=wQ($Y,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"default"!==r.color&&t[`color${vq(r.color)}`],r.edge&&t[`edge${vq(r.edge)}`],t[`size${vq(r.size)}`]]}})((({theme:e,ownerState:t})=>LB({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:oG(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var r;const n=null==(r=(e.vars||e).palette)?void 0:r[t.color];return LB({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&LB({color:null==n?void 0:n.main},!t.disableRipple&&{"&:hover":LB({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:oG(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${_Y.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),PY=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiIconButton"}),{edge:n=!1,children:o,className:a,color:i="default",disabled:s=!1,disableFocusRipple:l=!1,size:c="medium"}=r,u=VB(r,EY),d=LB({},r,{edge:n,color:i,disabled:s,disableFocusRipple:l,size:c}),f=(e=>{const{classes:t,disabled:r,color:n,edge:o,size:a}=e;return _H({root:["root",r&&"disabled","default"!==n&&`color${vq(n)}`,o&&`edge${vq(o)}`,`size${vq(a)}`]},kY,t)})(d);return SP.jsx(CY,LB({className:EK(f.root,a),centerRipple:!0,focusRipple:!l,disabled:s,ref:t},u,{ownerState:d,children:o}))}));var jY=PY;function OY(e){return jK("MuiTypography",e)}OK("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const NY=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],RY=wQ("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${vq(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>LB({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),TY={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},AY={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},IY=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiTypography"}),n=(e=>AY[e]||e)(r.color),o=SK(LB({},r,{color:n})),{align:a="inherit",className:i,component:s,gutterBottom:l=!1,noWrap:c=!1,paragraph:u=!1,variant:d="body1",variantMapping:f=TY}=o,p=VB(o,NY),m=LB({},o,{align:a,color:n,className:i,component:s,gutterBottom:l,noWrap:c,paragraph:u,variant:d,variantMapping:f}),h=s||(u?"p":f[d]||TY[d])||"span",v=(e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:a,classes:i}=e;return _H({root:["root",a,"inherit"!==e.align&&`align${vq(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]},OY,i)})(m);return SP.jsx(RY,LB({as:h,ref:t,ownerState:m,className:EK(v.root,i)},p))}));var MY=IY;var FY=V.forwardRef((function(e,t){const{children:r,container:n,disablePortal:o=!1}=e,[a,i]=V.useState(null),s=cH(V.isValidElement(r)?r.ref:null,t);if(QK((()=>{o||i(function(e){return"function"==typeof e?e():e}(n)||document.body)}),[n,o]),QK((()=>{if(a&&!o)return nH(t,a),()=>{nH(t,null)}}),[t,a,o]),o){if(V.isValidElement(r)){const e={ref:s};return V.cloneElement(r,e)}return SP.jsx(V.Fragment,{children:r})}return SP.jsx(V.Fragment,{children:a?Yu.createPortal(r,a):a})}));const DY=["onChange","maxRows","minRows","style","value"];function zY(e){return parseInt(e,10)||0}const LY={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};const VY=V.forwardRef((function(e,t){const{onChange:r,maxRows:n,minRows:o=1,style:a,value:i}=e,s=VB(e,DY),{current:l}=V.useRef(null!=i),c=V.useRef(null),u=cH(t,c),d=V.useRef(null),f=V.useRef(null),p=V.useCallback((()=>{const t=c.current,r=rH(t).getComputedStyle(t);if("0px"===r.width)return{outerHeightStyle:0,overflowing:!1};const a=f.current;a.style.width=r.width,a.value=t.value||e.placeholder||"x","\n"===a.value.slice(-1)&&(a.value+=" ");const i=r.boxSizing,s=zY(r.paddingBottom)+zY(r.paddingTop),l=zY(r.borderBottomWidth)+zY(r.borderTopWidth),u=a.scrollHeight;a.value="x";const d=a.scrollHeight;let p=u;o&&(p=Math.max(Number(o)*d,p)),n&&(p=Math.min(Number(n)*d,p)),p=Math.max(p,d);return{outerHeightStyle:p+("border-box"===i?s+l:0),overflowing:Math.abs(p-u)<=1}}),[n,o,e.placeholder]),m=V.useCallback((()=>{const e=p();if(null==(t=e)||0===Object.keys(t).length||0===t.outerHeightStyle&&!t.overflowing)return;var t;const r=e.outerHeightStyle,n=c.current;d.current!==r&&(d.current=r,n.style.height=`${r}px`),n.style.overflow=e.overflowing?"hidden":""}),[p]);QK((()=>{const e=()=>{m()};const t=ZK(e),r=c.current,n=rH(r);let o;return n.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(o=new ResizeObserver(e),o.observe(r)),()=>{t.clear(),cancelAnimationFrame(undefined),n.removeEventListener("resize",t),o&&o.disconnect()}}),[p,m]),QK((()=>{m()}));return SP.jsxs(V.Fragment,{children:[SP.jsx("textarea",LB({value:i,onChange:e=>{l||m(),r&&r(e)},ref:u,rows:o,style:a},s)),SP.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:f,tabIndex:-1,style:LB({},LY,a,{paddingTop:0,paddingBottom:0})})]})}));var BY=VY;function UY({props:e,states:t,muiFormControl:r}){return t.reduce(((t,n)=>(t[n]=e[n],r&&void 0===e[n]&&(t[n]=r[n]),t)),{})}var WY=V.createContext(void 0);function qY(){return V.useContext(WY)}function KY(e){return SP.jsx(gK,LB({},e,{defaultTheme:VG,themeId:zB}))}function HY(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function GY(e,t=!1){return e&&(HY(e.value)&&""!==e.value||t&&HY(e.defaultValue)&&""!==e.defaultValue)}function QY(e){return jK("MuiInputBase",e)}var YY=OK("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);const JY=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],XY=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,"small"===r.size&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${vq(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},ZY=(e,t)=>{const{ownerState:r}=e;return[t.input,"small"===r.size&&t.inputSizeSmall,r.multiline&&t.inputMultiline,"search"===r.type&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},eJ=wQ("div",{name:"MuiInputBase",slot:"Root",overridesResolver:XY})((({theme:e,ownerState:t})=>LB({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${YY.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&LB({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),tJ=wQ("input",{name:"MuiInputBase",slot:"Input",overridesResolver:ZY})((({theme:e,ownerState:t})=>{const r="light"===e.palette.mode,n=LB({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5};return LB({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${YY.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${YY.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})})),rJ=SP.jsx(KY,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),nJ=V.forwardRef((function(e,t){var r;const n=kQ({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:a,autoFocus:i,className:s,components:l={},componentsProps:c={},defaultValue:u,disabled:d,disableInjectingGlobalStyles:f,endAdornment:p,fullWidth:m=!1,id:h,inputComponent:v="input",inputProps:y={},inputRef:g,maxRows:b,minRows:w,multiline:S=!1,name:x,onBlur:$,onChange:k,onClick:_,onFocus:E,onKeyDown:C,onKeyUp:P,placeholder:j,readOnly:O,renderSuffix:N,rows:R,slotProps:T={},slots:A={},startAdornment:I,type:M="text",value:F}=n,D=VB(n,JY),z=null!=y.value?y.value:F,{current:L}=V.useRef(null!=z),B=V.useRef(),U=V.useCallback((e=>{}),[]),W=cH(B,g,y.ref,U),[q,K]=V.useState(!1),H=qY(),G=UY({props:n,muiFormControl:H,states:["color","disabled","error","hiddenLabel","size","required","filled"]});G.focused=H?H.focused:q,V.useEffect((()=>{!H&&d&&q&&(K(!1),$&&$())}),[H,d,q,$]);const Q=H&&H.onFilled,Y=H&&H.onEmpty,J=V.useCallback((e=>{GY(e)?Q&&Q():Y&&Y()}),[Q,Y]);QK((()=>{L&&J({value:z})}),[z,J,L]);V.useEffect((()=>{J(B.current)}),[]);let X=v,Z=y;S&&"input"===X&&(Z=LB(R?{type:void 0,minRows:R,maxRows:R}:{type:void 0,maxRows:b,minRows:w},Z),X=BY);V.useEffect((()=>{H&&H.setAdornedStart(Boolean(I))}),[H,I]);const ee=LB({},n,{color:G.color||"primary",disabled:G.disabled,endAdornment:p,error:G.error,focused:G.focused,formControl:H,fullWidth:m,hiddenLabel:G.hiddenLabel,multiline:S,size:G.size,startAdornment:I,type:M}),te=(e=>{const{classes:t,color:r,disabled:n,error:o,endAdornment:a,focused:i,formControl:s,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:d,size:f,startAdornment:p,type:m}=e;return _H({root:["root",`color${vq(r)}`,n&&"disabled",o&&"error",l&&"fullWidth",i&&"focused",s&&"formControl",f&&"medium"!==f&&`size${vq(f)}`,u&&"multiline",p&&"adornedStart",a&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",n&&"disabled","search"===m&&"inputTypeSearch",u&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",p&&"inputAdornedStart",a&&"inputAdornedEnd",d&&"readOnly"]},QY,t)})(ee),re=A.root||l.Root||eJ,ne=T.root||c.root||{},oe=A.input||l.Input||tJ;return Z=LB({},Z,null!=(r=T.input)?r:c.input),SP.jsxs(V.Fragment,{children:[!f&&rJ,SP.jsxs(re,LB({},ne,!EH(re)&&{ownerState:LB({},ee,ne.ownerState)},{ref:t,onClick:e=>{B.current&&e.currentTarget===e.target&&B.current.focus(),_&&_(e)}},D,{className:EK(te.root,ne.className,s,O&&"MuiInputBase-readOnly"),children:[I,SP.jsx(WY.Provider,{value:null,children:SP.jsx(oe,LB({ownerState:ee,"aria-invalid":G.error,"aria-describedby":o,autoComplete:a,autoFocus:i,defaultValue:u,disabled:G.disabled,id:h,onAnimationStart:e=>{J("mui-auto-fill-cancel"===e.animationName?B.current:{value:"x"})},name:x,placeholder:j,readOnly:O,required:G.required,rows:R,value:z,onKeyDown:C,onKeyUp:P,type:M},Z,!EH(oe)&&{as:X,ownerState:LB({},ee,Z.ownerState)},{ref:W,className:EK(te.input,Z.className,O&&"MuiInputBase-readOnly"),onBlur:e=>{$&&$(e),y.onBlur&&y.onBlur(e),H&&H.onBlur?H.onBlur(e):K(!1)},onChange:(e,...t)=>{if(!L){const t=e.target||B.current;if(null==t)throw new Error(FB(1));J({value:t.value})}y.onChange&&y.onChange(e,...t),k&&k(e,...t)},onFocus:e=>{G.disabled?e.stopPropagation():(E&&E(e),y.onFocus&&y.onFocus(e),H&&H.onFocus?H.onFocus(e):K(!0))}}))}),p,N?N(LB({},G,{startAdornment:I})):null]}))]})}));var oJ=nJ;function aJ(e){return jK("MuiInput",e)}var iJ=LB({},YY,OK("MuiInput",["root","underline","input"]));function sJ(e){return jK("MuiOutlinedInput",e)}var lJ=LB({},YY,OK("MuiOutlinedInput",["root","notchedOutline","input"]));function cJ(e){return jK("MuiFilledInput",e)}var uJ=LB({},YY,OK("MuiFilledInput",["root","underline","input"])),dJ=OQ(SP.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");const fJ=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],pJ={entering:{opacity:1},entered:{opacity:1}},mJ=V.forwardRef((function(e,t){const r=BG(),n={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:i,easing:s,in:l,onEnter:c,onEntered:u,onEntering:d,onExit:f,onExited:p,onExiting:m,style:h,timeout:v=n,TransitionComponent:y=WQ}=e,g=VB(e,fJ),b=V.useRef(null),w=cH(b,i.ref,t),S=e=>t=>{if(e){const r=b.current;void 0===t?e(r):e(r,t)}},x=S(d),$=S(((e,t)=>{JQ(e);const n=XQ({style:h,timeout:v,easing:s},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),c&&c(e,t)})),k=S(u),_=S(m),E=S((e=>{const t=XQ({style:h,timeout:v,easing:s},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),f&&f(e)})),C=S(p);return SP.jsx(y,LB({appear:a,in:l,nodeRef:b,onEnter:$,onEntered:k,onEntering:x,onExit:E,onExited:C,onExiting:_,addEndListener:e=>{o&&o(b.current,e)},timeout:v},g,{children:(e,t)=>V.cloneElement(i,LB({style:LB({opacity:0,visibility:"exited"!==e||l?void 0:"hidden"},pJ[e],h,i.props.style),ref:w},t))}))}));var hJ=mJ;function vJ(e){return jK("MuiBackdrop",e)}OK("MuiBackdrop",["root","invisible"]);const yJ=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],gJ=wQ("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})((({ownerState:e})=>LB({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),bJ=V.forwardRef((function(e,t){var r,n,o;const a=kQ({props:e,name:"MuiBackdrop"}),{children:i,className:s,component:l="div",components:c={},componentsProps:u={},invisible:d=!1,open:f,slotProps:p={},slots:m={},TransitionComponent:h=hJ,transitionDuration:v}=a,y=VB(a,yJ),g=LB({},a,{component:l,invisible:d}),b=(e=>{const{classes:t,invisible:r}=e;return _H({root:["root",r&&"invisible"]},vJ,t)})(g),w=null!=(r=p.root)?r:u.root;return SP.jsx(h,LB({in:f,timeout:v},y,{children:SP.jsx(gJ,LB({"aria-hidden":!0},w,{as:null!=(n=null!=(o=m.root)?o:c.Root)?n:l,className:EK(b.root,s,null==w?void 0:w.className),ownerState:LB({},g,null==w?void 0:w.ownerState),classes:b,ref:t,children:i}))}))}));var wJ=bJ;var SJ=OK("MuiBox",["root"]);const xJ=LG(),$J=function(e={}){const{themeId:t,defaultTheme:r,defaultClassName:n="MuiBox-root",generateClassName:o}=e,a=XW("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(uK),i=V.forwardRef((function(e,i){const s=yK(r),l=SK(e),{className:c,component:u="div"}=l,d=VB(l,CK);return SP.jsx(a,LB({as:u,ref:i,className:EK(c,o?o(n):n),theme:t&&s[t]||s},d))}));return i}({themeId:zB,defaultTheme:xJ,defaultClassName:SJ.root,generateClassName:kK.generate});var kJ=$J;function _J(e){return jK("MuiButton",e)}var EJ=OK("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var CJ=V.createContext({});var PJ=V.createContext(void 0);const jJ=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],OJ=e=>LB({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),NJ=wQ($Y,{shouldForwardProp:e=>bQ(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${vq(r.color)}`],t[`size${vq(r.size)}`],t[`${r.variant}Size${vq(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var r,n;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],a="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return LB({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":LB({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:oG(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:oG(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:oG(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":LB({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${EJ.focusVisible}`]:LB({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${EJ.disabled}`]:LB({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${oG(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(r=(n=e.palette).getContrastText)?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${EJ.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${EJ.disabled}`]:{boxShadow:"none"}})),RJ=wQ("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${vq(r.size)}`]]}})((({ownerState:e})=>LB({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},OJ(e)))),TJ=wQ("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${vq(r.size)}`]]}})((({ownerState:e})=>LB({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},OJ(e)))),AJ=V.forwardRef((function(e,t){const r=V.useContext(CJ),n=V.useContext(PJ),o=kQ({props:HK(r,e),name:"MuiButton"}),{children:a,color:i="primary",component:s="button",className:l,disabled:c=!1,disableElevation:u=!1,disableFocusRipple:d=!1,endIcon:f,focusVisibleClassName:p,fullWidth:m=!1,size:h="medium",startIcon:v,type:y,variant:g="text"}=o,b=VB(o,jJ),w=LB({},o,{color:i,component:s,disabled:c,disableElevation:u,disableFocusRipple:d,fullWidth:m,size:h,type:y,variant:g}),S=(e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:a,classes:i}=e;return LB({},i,_H({root:["root",a,`${a}${vq(t)}`,`size${vq(o)}`,`${a}Size${vq(o)}`,`color${vq(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${vq(o)}`],endIcon:["icon","endIcon",`iconSize${vq(o)}`]},_J,i))})(w),x=v&&SP.jsx(RJ,{className:S.startIcon,ownerState:w,children:v}),$=f&&SP.jsx(TJ,{className:S.endIcon,ownerState:w,children:f}),k=n||"";return SP.jsxs(NJ,LB({ownerState:w,className:EK(r.className,S.root,l,k),component:s,disabled:c,focusRipple:!d,focusVisibleClassName:EK(S.focusVisible,p),ref:t,type:y},b,{classes:S,children:[x,a,$]}))}));var IJ=AJ;function MJ(e){return jK("PrivateSwitchBase",e)}OK("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const FJ=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],DJ=wQ($Y)((({ownerState:e})=>LB({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),zJ=wQ("input",{shouldForwardProp:bQ})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),LJ=V.forwardRef((function(e,t){const{autoFocus:r,checked:n,checkedIcon:o,className:a,defaultChecked:i,disabled:s,disableFocusRipple:l=!1,edge:c=!1,icon:u,id:d,inputProps:f,inputRef:p,name:m,onBlur:h,onChange:v,onFocus:y,readOnly:g,required:b=!1,tabIndex:w,type:S,value:x}=e,$=VB(e,FJ),[k,_]=sH({controlled:n,default:Boolean(i),name:"SwitchBase",state:"checked"}),E=qY();let C=s;E&&void 0===C&&(C=E.disabled);const P="checkbox"===S||"radio"===S,j=LB({},e,{checked:k,disabled:C,disableFocusRipple:l,edge:c}),O=(e=>{const{classes:t,checked:r,disabled:n,edge:o}=e;return _H({root:["root",r&&"checked",n&&"disabled",o&&`edge${vq(o)}`],input:["input"]},MJ,t)})(j);return SP.jsxs(DJ,LB({component:"span",className:EK(O.root,a),centerRipple:!0,focusRipple:!l,disabled:C,tabIndex:null,role:void 0,onFocus:e=>{y&&y(e),E&&E.onFocus&&E.onFocus(e)},onBlur:e=>{h&&h(e),E&&E.onBlur&&E.onBlur(e)},ownerState:j,ref:t},$,{children:[SP.jsx(zJ,LB({autoFocus:r,checked:n,defaultChecked:i,className:O.input,disabled:C,id:P?d:void 0,name:m,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;_(t),v&&v(e,t)},readOnly:g,ref:p,required:b,ownerState:j,tabIndex:w,type:S},"checkbox"===S&&void 0===x?{}:{value:x},f)),k?o:u]}))}));var VJ=LJ,BJ=OQ(SP.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),UJ=OQ(SP.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),WJ=OQ(SP.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function qJ(e){return jK("MuiCheckbox",e)}var KJ=OK("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]);const HJ=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],GJ=wQ(VJ,{shouldForwardProp:e=>bQ(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.indeterminate&&t.indeterminate,t[`size${vq(r.size)}`],"default"!==r.color&&t[`color${vq(r.color)}`]]}})((({theme:e,ownerState:t})=>LB({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:oG("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${KJ.checked}, &.${KJ.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${KJ.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),QJ=SP.jsx(UJ,{}),YJ=SP.jsx(BJ,{}),JJ=SP.jsx(WJ,{}),XJ=V.forwardRef((function(e,t){var r,n;const o=kQ({props:e,name:"MuiCheckbox"}),{checkedIcon:a=QJ,color:i="primary",icon:s=YJ,indeterminate:l=!1,indeterminateIcon:c=JJ,inputProps:u,size:d="medium",className:f}=o,p=VB(o,HJ),m=l?c:s,h=l?c:a,v=LB({},o,{color:i,indeterminate:l,size:d}),y=(e=>{const{classes:t,indeterminate:r,color:n,size:o}=e;return LB({},t,_H({root:["root",r&&"indeterminate",`color${vq(n)}`,`size${vq(o)}`]},qJ,t))})(v);return SP.jsx(GJ,LB({type:"checkbox",inputProps:LB({"data-indeterminate":l},u),icon:V.cloneElement(m,{fontSize:null!=(r=m.props.fontSize)?r:d}),checkedIcon:V.cloneElement(h,{fontSize:null!=(n=h.props.fontSize)?n:d}),ownerState:v,ref:t,className:EK(y.root,f)},p,{classes:y}))}));var ZJ=XJ;function eX(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function tX(e){return parseInt(rH(e).getComputedStyle(e).paddingRight,10)||0}function rX(e,t,r,n,o){const a=[t,r,...n];[].forEach.call(e.children,(e=>{const t=-1===a.indexOf(e),r=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&eX(e,o)}))}function nX(e,t){let r=-1;return e.some(((e,n)=>!!t(e)&&(r=n,!0))),r}function oX(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(function(e){const t=tH(e);return t.body===e?rH(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){const e=$H(tH(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${tX(n)+e}px`;const t=tH(n).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${tX(t)+e}px`}))}let e;if(n.parentNode instanceof DocumentFragment)e=tH(n).body;else{const t=n.parentElement,r=rH(n);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{r.forEach((({value:e,el:t,property:r})=>{e?t.style.setProperty(r,e):t.style.removeProperty(r)}))}}const aX=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function iX(e){const t=[],r=[];return Array.from(e.querySelectorAll(aX)).forEach(((e,n)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e))}(e)&&(0===o?t.push(e):r.push({documentOrder:n,tabIndex:o,node:e}))})),r.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function sX(){return!0}function lX(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:a=iX,isEnabled:i=sX,open:s}=e,l=V.useRef(!1),c=V.useRef(null),u=V.useRef(null),d=V.useRef(null),f=V.useRef(null),p=V.useRef(!1),m=V.useRef(null),h=cH(t.ref,m),v=V.useRef(null);V.useEffect((()=>{s&&m.current&&(p.current=!r)}),[r,s]),V.useEffect((()=>{if(!s||!m.current)return;const e=tH(m.current);return m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex","-1"),p.current&&m.current.focus()),()=>{o||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}}),[s]),V.useEffect((()=>{if(!s||!m.current)return;const e=tH(m.current),t=t=>{v.current=t,!n&&i()&&"Tab"===t.key&&e.activeElement===m.current&&t.shiftKey&&(l.current=!0,u.current&&u.current.focus())},r=()=>{const t=m.current;if(null===t)return;if(!e.hasFocus()||!i()||l.current)return void(l.current=!1);if(t.contains(e.activeElement))return;if(n&&e.activeElement!==c.current&&e.activeElement!==u.current)return;if(e.activeElement!==f.current)f.current=null;else if(null!==f.current)return;if(!p.current)return;let r=[];if(e.activeElement!==c.current&&e.activeElement!==u.current||(r=a(m.current)),r.length>0){var o,s;const e=Boolean((null==(o=v.current)?void 0:o.shiftKey)&&"Tab"===(null==(s=v.current)?void 0:s.key)),t=r[0],n=r[r.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener("focusin",r),e.addEventListener("keydown",t,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&r()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",r),e.removeEventListener("keydown",t,!0)}}),[r,n,o,i,s,a]);const y=e=>{null===d.current&&(d.current=e.relatedTarget),p.current=!0};return SP.jsxs(V.Fragment,{children:[SP.jsx("div",{tabIndex:s?0:-1,onFocus:y,ref:c,"data-testid":"sentinelStart"}),V.cloneElement(t,{ref:h,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),p.current=!0,f.current=e.target;const r=t.props.onFocus;r&&r(e)}}),SP.jsx("div",{tabIndex:s?0:-1,onFocus:y,ref:u,"data-testid":"sentinelEnd"})]})}const cX=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&eX(e.modalRef,!1);const n=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);rX(t,e.mount,e.modalRef,n,!0);const o=nX(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r)}mount(e,t){const r=nX(this.containers,(t=>-1!==t.modals.indexOf(e))),n=this.containers[r];n.restore||(n.restore=oX(n,t))}remove(e,t=!0){const r=this.modals.indexOf(e);if(-1===r)return r;const n=nX(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[n];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&eX(e.modalRef,t),rX(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&eX(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function uX(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,manager:o=cX,closeAfterTransition:a=!1,onTransitionEnter:i,onTransitionExited:s,children:l,onClose:c,open:u,rootRef:d}=e,f=V.useRef({}),p=V.useRef(null),m=V.useRef(null),h=cH(m,d),[v,y]=V.useState(!u),g=function(e){return!!e&&e.props.hasOwnProperty("in")}(l);let b=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(b=!1);const w=()=>(f.current.modalRef=m.current,f.current.mount=p.current,f.current),S=()=>{o.mount(w(),{disableScrollLock:n}),m.current&&(m.current.scrollTop=0)},x=lH((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||tH(p.current).body;o.add(w(),e),m.current&&S()})),$=V.useCallback((()=>o.isTopModal(w())),[o]),k=lH((e=>{p.current=e,e&&(u&&$()?S():m.current&&eX(m.current,b))})),_=V.useCallback((()=>{o.remove(w(),b)}),[b,o]);V.useEffect((()=>()=>{_()}),[_]),V.useEffect((()=>{u?x():g&&a||_()}),[u,_,g,a,x]);const E=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),"Escape"===t.key&&229!==t.which&&$()&&(r||(t.stopPropagation(),c&&c(t,"escapeKeyDown")))},C=e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.target===t.currentTarget&&c&&c(t,"backdropClick")};return{getRootProps:(t={})=>{const r=CH(e);delete r.onTransitionEnter,delete r.onTransitionExited;const n=LB({},r,t);return LB({role:"presentation"},n,{onKeyDown:E(n),ref:h})},getBackdropProps:(e={})=>LB({"aria-hidden":!0},e,{onClick:C(e),open:u}),getTransitionProps:()=>({onEnter:XK((()=>{y(!1),i&&i()}),null==l?void 0:l.props.onEnter),onExited:XK((()=>{y(!0),s&&s(),a&&_()}),null==l?void 0:l.props.onExited)}),rootRef:h,portalRef:k,isTopModal:$,exited:v,hasTransition:g}}function dX(e){return jK("MuiModal",e)}OK("MuiModal",["root","hidden","backdrop"]);const fX=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],pX=wQ("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})((({theme:e,ownerState:t})=>LB({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),mX=wQ(wJ,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),hX=V.forwardRef((function(e,t){var r,n,o,a,i,s;const l=kQ({name:"MuiModal",props:e}),{BackdropComponent:c=mX,BackdropProps:u,className:d,closeAfterTransition:f=!1,children:p,container:m,component:h,components:v={},componentsProps:y={},disableAutoFocus:g=!1,disableEnforceFocus:b=!1,disableEscapeKeyDown:w=!1,disablePortal:S=!1,disableRestoreFocus:x=!1,disableScrollLock:$=!1,hideBackdrop:k=!1,keepMounted:_=!1,onBackdropClick:E,open:C,slotProps:P,slots:j}=l,O=VB(l,fX),N=LB({},l,{closeAfterTransition:f,disableAutoFocus:g,disableEnforceFocus:b,disableEscapeKeyDown:w,disablePortal:S,disableRestoreFocus:x,disableScrollLock:$,hideBackdrop:k,keepMounted:_}),{getRootProps:R,getBackdropProps:T,getTransitionProps:A,portalRef:I,isTopModal:M,exited:F,hasTransition:D}=uX(LB({},N,{rootRef:t})),z=LB({},N,{exited:F}),L=(e=>{const{open:t,exited:r,classes:n}=e;return _H({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},dX,n)})(z),B={};if(void 0===p.props.tabIndex&&(B.tabIndex="-1"),D){const{onEnter:e,onExited:t}=A();B.onEnter=e,B.onExited=t}const U=null!=(r=null!=(n=null==j?void 0:j.root)?n:v.Root)?r:pX,W=null!=(o=null!=(a=null==j?void 0:j.backdrop)?a:v.Backdrop)?o:c,q=null!=(i=null==P?void 0:P.root)?i:y.root,K=null!=(s=null==P?void 0:P.backdrop)?s:y.backdrop,H=OH({elementType:U,externalSlotProps:q,externalForwardedProps:O,getSlotProps:R,additionalProps:{ref:t,as:h},ownerState:z,className:EK(d,null==q?void 0:q.className,null==L?void 0:L.root,!z.open&&z.exited&&(null==L?void 0:L.hidden))}),G=OH({elementType:W,externalSlotProps:K,additionalProps:u,getSlotProps:e=>T(LB({},e,{onClick:t=>{E&&E(t),null!=e&&e.onClick&&e.onClick(t)}})),className:EK(null==K?void 0:K.className,null==u?void 0:u.className,null==L?void 0:L.backdrop),ownerState:z});return _||C||D&&!F?SP.jsx(FY,{ref:I,container:m,disablePortal:S,children:SP.jsxs(U,LB({},H,{children:[!k&&c?SP.jsx(W,LB({},G)):null,SP.jsx(lX,{disableEnforceFocus:b,disableAutoFocus:g,disableRestoreFocus:x,isEnabled:M,open:C,children:V.cloneElement(p,B)})]}))}):null}));var vX=hX;function yX(e){return jK("MuiDivider",e)}var gX=OK("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const bX=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],wX=wQ("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,"vertical"===r.orientation&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&"vertical"===r.orientation&&t.withChildrenVertical,"right"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignRight,"left"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>LB({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:oG(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>LB({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>LB({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}})),(({theme:e,ownerState:t})=>LB({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}})),(({ownerState:e})=>LB({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),SX=wQ("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,"vertical"===r.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>LB({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),xX=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiDivider"}),{absolute:n=!1,children:o,className:a,component:i=(o?"div":"hr"),flexItem:s=!1,light:l=!1,orientation:c="horizontal",role:u=("hr"!==i?"separator":void 0),textAlign:d="center",variant:f="fullWidth"}=r,p=VB(r,bX),m=LB({},r,{absolute:n,component:i,flexItem:s,light:l,orientation:c,role:u,textAlign:d,variant:f}),h=(e=>{const{absolute:t,children:r,classes:n,flexItem:o,light:a,orientation:i,textAlign:s,variant:l}=e;return _H({root:["root",t&&"absolute",l,a&&"light","vertical"===i&&"vertical",o&&"flexItem",r&&"withChildren",r&&"vertical"===i&&"withChildrenVertical","right"===s&&"vertical"!==i&&"textAlignRight","left"===s&&"vertical"!==i&&"textAlignLeft"],wrapper:["wrapper","vertical"===i&&"wrapperVertical"]},yX,n)})(m);return SP.jsx(wX,LB({as:i,className:EK(h.root,a),role:u,ref:t,ownerState:m},p,{children:o?SP.jsx(SX,{className:h.wrapper,ownerState:m,children:o}):null}))}));xX.muiSkipListHighlight=!0;var $X=xX;const kX=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],_X=wQ(eJ,{shouldForwardProp:e=>bQ(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...XY(e,t),!r.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{var r;const n="light"===e.palette.mode,o=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",i=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return LB({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a,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:i,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a}},[`&.${uJ.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a},[`&.${uJ.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(r=(e.vars||e).palette[t.color||"primary"])?void 0:r.main}`,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"},[`&.${uJ.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${uJ.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})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${uJ.disabled}, .${uJ.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${uJ.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&LB({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9}))})),EX=wQ(tJ,{name:"MuiFilledInput",slot:"Input",overridesResolver:ZY})((({theme:e,ownerState:t})=>LB({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?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"}}},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}))),CX=V.forwardRef((function(e,t){var r,n,o,a;const i=kQ({props:e,name:"MuiFilledInput"}),{components:s={},componentsProps:l,fullWidth:c=!1,inputComponent:u="input",multiline:d=!1,slotProps:f,slots:p={},type:m="text"}=i,h=VB(i,kX),v=LB({},i,{fullWidth:c,inputComponent:u,multiline:d,type:m}),y=(e=>{const{classes:t,disableUnderline:r}=e;return LB({},t,_H({root:["root",!r&&"underline"],input:["input"]},cJ,t))})(i),g={root:{ownerState:v},input:{ownerState:v}},b=(null!=f?f:l)?nq(g,null!=f?f:l):g,w=null!=(r=null!=(n=p.root)?n:s.Root)?r:_X,S=null!=(o=null!=(a=p.input)?a:s.Input)?o:EX;return SP.jsx(oJ,LB({slots:{root:w,input:S},componentsProps:b,fullWidth:c,inputComponent:u,multiline:d,ref:t,type:m},h,{classes:y}))}));CX.muiName="Input";var PX=CX;function jX(e){return jK("MuiFormControl",e)}OK("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const OX=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],NX=wQ("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>LB({},t.root,t[`margin${vq(e.margin)}`],e.fullWidth&&t.fullWidth)})((({ownerState:e})=>LB({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"}))),RX=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiFormControl"}),{children:n,className:o,color:a="primary",component:i="div",disabled:s=!1,error:l=!1,focused:c,fullWidth:u=!1,hiddenLabel:d=!1,margin:f="none",required:p=!1,size:m="medium",variant:h="outlined"}=r,v=VB(r,OX),y=LB({},r,{color:a,component:i,disabled:s,error:l,fullWidth:u,hiddenLabel:d,margin:f,required:p,size:m,variant:h}),g=(e=>{const{classes:t,margin:r,fullWidth:n}=e;return _H({root:["root","none"!==r&&`margin${vq(r)}`,n&&"fullWidth"]},jX,t)})(y),[b,w]=V.useState((()=>{let e=!1;return n&&V.Children.forEach(n,(t=>{if(!eH(t,["Input","Select"]))return;const r=eH(t,["Select"])?t.props.input:t;r&&r.props.startAdornment&&(e=!0)})),e})),[S,x]=V.useState((()=>{let e=!1;return n&&V.Children.forEach(n,(t=>{eH(t,["Input","Select"])&&(GY(t.props,!0)||GY(t.props.inputProps,!0))&&(e=!0)})),e})),[$,k]=V.useState(!1);s&&$&&k(!1);const _=void 0===c||s?$:c;let E;const C=V.useMemo((()=>({adornedStart:b,setAdornedStart:w,color:a,disabled:s,error:l,filled:S,focused:_,fullWidth:u,hiddenLabel:d,size:m,onBlur:()=>{k(!1)},onEmpty:()=>{x(!1)},onFilled:()=>{x(!0)},onFocus:()=>{k(!0)},registerEffect:E,required:p,variant:h})),[b,a,s,l,S,_,u,d,E,p,m,h]);return SP.jsx(WY.Provider,{value:C,children:SP.jsx(NX,LB({as:i,ownerState:y,className:EK(g.root,o),ref:t},v,{children:n}))})}));var TX=RX;const AX=function(e={}){const{createStyledComponent:t=HH,useThemeProps:r=GH,componentName:n="MuiStack"}=e,o=t(YH),a=V.forwardRef((function(e,t){const a=SK(r(e)),{component:i="div",direction:s="column",spacing:l=0,divider:c,children:u,className:d,useFlexGap:f=!1}=a,p=VB(a,qH),m={direction:s,spacing:l,useFlexGap:f},h=_H({root:["root"]},(e=>jK(n,e)),{});return SP.jsx(o,LB({as:i,ownerState:m,ref:t,className:EK(h.root,d)},p,{children:c?QH(u,c):u}))}));return a}({createStyledComponent:wQ("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>kQ({props:e,name:"MuiStack"})});var IX=AX;function MX(e){return jK("MuiFormControlLabel",e)}var FX=OK("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);const DX=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],zX=wQ("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${FX.label}`]:t.label},t.root,t[`labelPlacement${vq(r.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>LB({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${FX.disabled}`]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${FX.label}`]:{[`&.${FX.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),LX=wQ("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${FX.error}`]:{color:(e.vars||e).palette.error.main}}))),VX=V.forwardRef((function(e,t){var r,n;const o=kQ({props:e,name:"MuiFormControlLabel"}),{className:a,componentsProps:i={},control:s,disabled:l,disableTypography:c,label:u,labelPlacement:d="end",required:f,slotProps:p={}}=o,m=VB(o,DX),h=qY(),v=null!=(r=null!=l?l:s.props.disabled)?r:null==h?void 0:h.disabled,y=null!=f?f:s.props.required,g={disabled:v,required:y};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===s.props[e]&&void 0!==o[e]&&(g[e]=o[e])}));const b=UY({props:o,muiFormControl:h,states:["error"]}),w=LB({},o,{disabled:v,labelPlacement:d,required:y,error:b.error}),S=(e=>{const{classes:t,disabled:r,labelPlacement:n,error:o,required:a}=e;return _H({root:["root",r&&"disabled",`labelPlacement${vq(n)}`,o&&"error",a&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",o&&"error"]},MX,t)})(w),x=null!=(n=p.typography)?n:i.typography;let $=u;return null==$||$.type===MY||c||($=SP.jsx(MY,LB({component:"span"},x,{className:EK(S.label,null==x?void 0:x.className),children:$}))),SP.jsxs(zX,LB({className:EK(S.root,a),ownerState:w,ref:t},m,{children:[V.cloneElement(s,g),y?SP.jsxs(IX,{display:"block",children:[$,SP.jsxs(LX,{ownerState:w,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]}):$]}))}));var BX=VX;function UX(e){return jK("MuiFormGroup",e)}OK("MuiFormGroup",["root","row","error"]);const WX=["className","row"],qX=wQ("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.row&&t.row]}})((({ownerState:e})=>LB({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"}))),KX=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiFormGroup"}),{className:n,row:o=!1}=r,a=VB(r,WX),i=LB({},r,{row:o,error:UY({props:r,muiFormControl:qY(),states:["error"]}).error}),s=(e=>{const{classes:t,row:r,error:n}=e;return _H({root:["root",r&&"row",n&&"error"]},UX,t)})(i);return SP.jsx(qX,LB({className:EK(s.root,n),ownerState:i,ref:t},a))}));var HX=KX;function GX(e){return jK("MuiFormHelperText",e)}var QX,YX=OK("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);const JX=["children","className","component","disabled","error","filled","focused","margin","required","variant"],XX=wQ("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.size&&t[`size${vq(r.size)}`],r.contained&&t.contained,r.filled&&t.filled]}})((({theme:e,ownerState:t})=>LB({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${YX.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${YX.error}`]:{color:(e.vars||e).palette.error.main}},"small"===t.size&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14}))),ZX=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiFormHelperText"}),{children:n,className:o,component:a="p"}=r,i=VB(r,JX),s=UY({props:r,muiFormControl:qY(),states:["variant","size","disabled","error","filled","focused","required"]}),l=LB({},r,{component:a,contained:"filled"===s.variant||"outlined"===s.variant,variant:s.variant,size:s.size,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),c=(e=>{const{classes:t,contained:r,size:n,disabled:o,error:a,filled:i,focused:s,required:l}=e;return _H({root:["root",o&&"disabled",a&&"error",n&&`size${vq(n)}`,r&&"contained",s&&"focused",i&&"filled",l&&"required"]},GX,t)})(l);return SP.jsx(XX,LB({as:a,ownerState:l,className:EK(c.root,o),ref:t},i,{children:" "===n?QX||(QX=SP.jsx("span",{className:"notranslate",children:"​"})):n}))}));var eZ=ZX;function tZ(e){return jK("MuiFormLabel",e)}var rZ=OK("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);const nZ=["children","className","color","component","disabled","error","filled","focused","required"],oZ=wQ("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>LB({},t.root,"secondary"===e.color&&t.colorSecondary,e.filled&&t.filled)})((({theme:e,ownerState:t})=>LB({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${rZ.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${rZ.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${rZ.error}`]:{color:(e.vars||e).palette.error.main}}))),aZ=wQ("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${rZ.error}`]:{color:(e.vars||e).palette.error.main}}))),iZ=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiFormLabel"}),{children:n,className:o,component:a="label"}=r,i=VB(r,nZ),s=UY({props:r,muiFormControl:qY(),states:["color","required","focused","disabled","error","filled"]}),l=LB({},r,{color:s.color||"primary",component:a,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),c=(e=>{const{classes:t,color:r,focused:n,disabled:o,error:a,filled:i,required:s}=e;return _H({root:["root",`color${vq(r)}`,o&&"disabled",a&&"error",i&&"filled",n&&"focused",s&&"required"],asterisk:["asterisk",a&&"error"]},tZ,t)})(l);return SP.jsxs(oZ,LB({as:a,ownerState:l,className:EK(c.root,o),ref:t},i,{children:[n,s.required&&SP.jsxs(aZ,{ownerState:l,"aria-hidden":!0,className:c.asterisk,children:[" ","*"]})]}))}));var sZ=iZ;var lZ=V.createContext();function cZ(e){return jK("MuiGrid",e)}const uZ=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],dZ=OK("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...uZ.map((e=>`grid-xs-${e}`)),...uZ.map((e=>`grid-sm-${e}`)),...uZ.map((e=>`grid-md-${e}`)),...uZ.map((e=>`grid-lg-${e}`)),...uZ.map((e=>`grid-xl-${e}`))]),fZ=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function pZ(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function mZ({breakpoints:e,values:t}){let r="";Object.keys(t).forEach((e=>{""===r&&0!==t[e]&&(r=e)}));const n=Object.keys(e).sort(((t,r)=>e[t]-e[r]));return n.slice(0,n.indexOf(r))}const hZ=wQ("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{container:n,direction:o,item:a,spacing:i,wrap:s,zeroMinWidth:l,breakpoints:c}=r;let u=[];n&&(u=function(e,t,r={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[r[`spacing-xs-${String(e)}`]];const n=[];return t.forEach((t=>{const o=e[t];Number(o)>0&&n.push(r[`spacing-${t}-${String(o)}`])})),n}(i,c,t));const d=[];return c.forEach((e=>{const n=r[e];n&&d.push(t[`grid-${e}-${String(n)}`])})),[t.root,n&&t.container,a&&t.item,l&&t.zeroMinWidth,...u,"row"!==o&&t[`direction-xs-${String(o)}`],"wrap"!==s&&t[`wrap-xs-${String(s)}`],...d]}})((({ownerState:e})=>LB({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap})),(function({theme:e,ownerState:t}){return fq({theme:e},hq({values:t.direction,breakpoints:e.breakpoints.values}),(e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${dZ.item}`]={maxWidth:"none"}),t}))}),(function({theme:e,ownerState:t}){const{container:r,rowSpacing:n}=t;let o={};if(r&&0!==n){const t=hq({values:n,breakpoints:e.breakpoints.values});let r;"object"==typeof t&&(r=mZ({breakpoints:e.breakpoints.values,values:t})),o=fq({theme:e},t,((t,n)=>{var o;const a=e.spacing(t);return"0px"!==a?{marginTop:`-${pZ(a)}`,[`& > .${dZ.item}`]:{paddingTop:pZ(a)}}:null!=(o=r)&&o.includes(n)?{}:{marginTop:0,[`& > .${dZ.item}`]:{paddingTop:0}}}))}return o}),(function({theme:e,ownerState:t}){const{container:r,columnSpacing:n}=t;let o={};if(r&&0!==n){const t=hq({values:n,breakpoints:e.breakpoints.values});let r;"object"==typeof t&&(r=mZ({breakpoints:e.breakpoints.values,values:t})),o=fq({theme:e},t,((t,n)=>{var o;const a=e.spacing(t);return"0px"!==a?{width:`calc(100% + ${pZ(a)})`,marginLeft:`-${pZ(a)}`,[`& > .${dZ.item}`]:{paddingLeft:pZ(a)}}:null!=(o=r)&&o.includes(n)?{}:{width:"100%",marginLeft:0,[`& > .${dZ.item}`]:{paddingLeft:0}}}))}return o}),(function({theme:e,ownerState:t}){let r;return e.breakpoints.keys.reduce(((n,o)=>{let a={};if(t[o]&&(r=t[o]),!r)return n;if(!0===r)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===r)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const i=hq({values:t.columns,breakpoints:e.breakpoints.values}),s="object"==typeof i?i[o]:i;if(null==s)return n;const l=Math.round(r/s*1e8)/1e6+"%";let c={};if(t.container&&t.item&&0!==t.columnSpacing){const r=e.spacing(t.columnSpacing);if("0px"!==r){const e=`calc(${l} + ${pZ(r)})`;c={flexBasis:e,maxWidth:e}}}a=LB({flexBasis:l,flexGrow:0,maxWidth:l},c)}return 0===e.breakpoints.values[o]?Object.assign(n,a):n[e.breakpoints.up(o)]=a,n}),{})}));const vZ=e=>{const{classes:t,container:r,direction:n,item:o,spacing:a,wrap:i,zeroMinWidth:s,breakpoints:l}=e;let c=[];r&&(c=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const r=[];return t.forEach((t=>{const n=e[t];if(Number(n)>0){const e=`spacing-${t}-${String(n)}`;r.push(e)}})),r}(a,l));const u=[];l.forEach((t=>{const r=e[t];r&&u.push(`grid-${t}-${String(r)}`)}));return _H({root:["root",r&&"container",o&&"item",s&&"zeroMinWidth",...c,"row"!==n&&`direction-xs-${String(n)}`,"wrap"!==i&&`wrap-xs-${String(i)}`,...u]},cZ,t)},yZ=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiGrid"}),{breakpoints:n}=BG(),o=SK(r),{className:a,columns:i,columnSpacing:s,component:l="div",container:c=!1,direction:u="row",item:d=!1,rowSpacing:f,spacing:p=0,wrap:m="wrap",zeroMinWidth:h=!1}=o,v=VB(o,fZ),y=f||p,g=s||p,b=V.useContext(lZ),w=c?i||12:b,S={},x=LB({},v);n.keys.forEach((e=>{null!=v[e]&&(S[e]=v[e],delete x[e])}));const $=LB({},o,{columns:w,container:c,direction:u,item:d,rowSpacing:y,columnSpacing:g,wrap:m,zeroMinWidth:h,spacing:p},S,{breakpoints:n.keys}),k=vZ($);return SP.jsx(lZ.Provider,{value:w,children:SP.jsx(hZ,LB({ownerState:$,className:EK(k.root,a),as:l,ref:t},x))})}));var gZ=yZ;const bZ=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function wZ(e){return`scale(${e}, ${e**2})`}const SZ={entering:{opacity:1,transform:wZ(1)},entered:{opacity:1,transform:"none"}},xZ="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),$Z=V.forwardRef((function(e,t){const{addEndListener:r,appear:n=!0,children:o,easing:a,in:i,onEnter:s,onEntered:l,onEntering:c,onExit:u,onExited:d,onExiting:f,style:p,timeout:m="auto",TransitionComponent:h=WQ}=e,v=VB(e,bZ),y=pH(),g=V.useRef(),b=BG(),w=V.useRef(null),S=cH(w,o.ref,t),x=e=>t=>{if(e){const r=w.current;void 0===t?e(r):e(r,t)}},$=x(c),k=x(((e,t)=>{JQ(e);const{duration:r,delay:n,easing:o}=XQ({style:p,timeout:m,easing:a},{mode:"enter"});let i;"auto"===m?(i=b.transitions.getAutoHeightDuration(e.clientHeight),g.current=i):i=r,e.style.transition=[b.transitions.create("opacity",{duration:i,delay:n}),b.transitions.create("transform",{duration:xZ?i:.666*i,delay:n,easing:o})].join(","),s&&s(e,t)})),_=x(l),E=x(f),C=x((e=>{const{duration:t,delay:r,easing:n}=XQ({style:p,timeout:m,easing:a},{mode:"exit"});let o;"auto"===m?(o=b.transitions.getAutoHeightDuration(e.clientHeight),g.current=o):o=t,e.style.transition=[b.transitions.create("opacity",{duration:o,delay:r}),b.transitions.create("transform",{duration:xZ?o:.666*o,delay:xZ?r:r||.333*o,easing:n})].join(","),e.style.opacity=0,e.style.transform=wZ(.75),u&&u(e)})),P=x(d);return SP.jsx(h,LB({appear:n,in:i,nodeRef:w,onEnter:k,onEntered:_,onEntering:$,onExit:C,onExited:P,onExiting:E,addEndListener:e=>{"auto"===m&&y.start(g.current||0,e),r&&r(w.current,e)},timeout:"auto"===m?null:m},v,{children:(e,t)=>V.cloneElement(o,LB({style:LB({opacity:0,transform:wZ(.75),visibility:"exited"!==e||i?void 0:"hidden"},SZ[e],p,o.props.style),ref:S},t))}))}));$Z.muiSupportAuto=!0;var kZ=$Z;const _Z=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],EZ=wQ(eJ,{shouldForwardProp:e=>bQ(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...XY(e,t),!r.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{let r="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),LB({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,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"},[`&.${iJ.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${iJ.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${r}`,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(.${iJ.disabled}, .${iJ.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${iJ.disabled}:before`]:{borderBottomStyle:"dotted"}})})),CZ=wQ(tJ,{name:"MuiInput",slot:"Input",overridesResolver:ZY})({}),PZ=V.forwardRef((function(e,t){var r,n,o,a;const i=kQ({props:e,name:"MuiInput"}),{disableUnderline:s,components:l={},componentsProps:c,fullWidth:u=!1,inputComponent:d="input",multiline:f=!1,slotProps:p,slots:m={},type:h="text"}=i,v=VB(i,_Z),y=(e=>{const{classes:t,disableUnderline:r}=e;return LB({},t,_H({root:["root",!r&&"underline"],input:["input"]},aJ,t))})(i),g={root:{ownerState:{disableUnderline:s}}},b=(null!=p?p:c)?nq(null!=p?p:c,g):g,w=null!=(r=null!=(n=m.root)?n:l.Root)?r:EZ,S=null!=(o=null!=(a=m.input)?a:l.Input)?o:CZ;return SP.jsx(oJ,LB({slots:{root:w,input:S},slotProps:b,fullWidth:u,inputComponent:d,multiline:f,ref:t,type:h},v,{classes:y}))}));PZ.muiName="Input";var jZ=PZ;function OZ(e){return jK("MuiInputLabel",e)}OK("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const NZ=["disableAnimation","margin","shrink","variant","className"],RZ=wQ(sZ,{shouldForwardProp:e=>bQ(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${rZ.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,"small"===r.size&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,r.focused&&t.focused,t[r.variant]]}})((({theme:e,ownerState:t})=>LB({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===t.size&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===t.variant&&LB({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&LB({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===t.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===t.variant&&LB({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"})))),TZ=V.forwardRef((function(e,t){const r=kQ({name:"MuiInputLabel",props:e}),{disableAnimation:n=!1,shrink:o,className:a}=r,i=VB(r,NZ),s=qY();let l=o;void 0===l&&s&&(l=s.filled||s.focused||s.adornedStart);const c=UY({props:r,muiFormControl:s,states:["size","variant","required","focused"]}),u=LB({},r,{disableAnimation:n,formControl:s,shrink:l,size:c.size,variant:c.variant,required:c.required,focused:c.focused}),d=(e=>{const{classes:t,formControl:r,size:n,shrink:o,disableAnimation:a,variant:i,required:s}=e;return LB({},t,_H({root:["root",r&&"formControl",!a&&"animated",o&&"shrink",n&&"normal"!==n&&`size${vq(n)}`,i],asterisk:[s&&"asterisk"]},OZ,t))})(u);return SP.jsx(RZ,LB({"data-shrink":l,ownerState:u,ref:t,className:EK(d.root,a)},i,{classes:d}))}));var AZ=TZ;var IZ=V.createContext({});function MZ(e){return jK("MuiList",e)}OK("MuiList",["root","padding","dense","subheader"]);const FZ=["children","className","component","dense","disablePadding","subheader"],DZ=wQ("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})((({ownerState:e})=>LB({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),zZ=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiList"}),{children:n,className:o,component:a="ul",dense:i=!1,disablePadding:s=!1,subheader:l}=r,c=VB(r,FZ),u=V.useMemo((()=>({dense:i})),[i]),d=LB({},r,{component:a,dense:i,disablePadding:s}),f=(e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return _H({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},MZ,t)})(d);return SP.jsx(IZ.Provider,{value:u,children:SP.jsxs(DZ,LB({as:a,className:EK(f.root,o),ref:t,ownerState:d},c,{children:[l,n]}))})}));var LZ=zZ;function VZ(e){return jK("MuiListItem",e)}var BZ=OK("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);var UZ=OK("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function WZ(e){return jK("MuiListItemSecondaryAction",e)}OK("MuiListItemSecondaryAction",["root","disableGutters"]);const qZ=["className"],KZ=wQ("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.disableGutters&&t.disableGutters]}})((({ownerState:e})=>LB({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),HZ=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiListItemSecondaryAction"}),{className:n}=r,o=VB(r,qZ),a=LB({},r,{disableGutters:V.useContext(IZ).disableGutters}),i=(e=>{const{disableGutters:t,classes:r}=e;return _H({root:["root",t&&"disableGutters"]},WZ,r)})(a);return SP.jsx(KZ,LB({className:EK(i.root,n),ownerState:a,ref:t},o))}));HZ.muiName="ListItemSecondaryAction";var GZ=HZ;const QZ=["className"],YZ=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],JZ=wQ("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,"flex-start"===r.alignItems&&t.alignItemsFlexStart,r.divider&&t.divider,!r.disableGutters&&t.gutters,!r.disablePadding&&t.padding,r.button&&t.button,r.hasSecondaryAction&&t.secondaryAction]}})((({theme:e,ownerState:t})=>LB({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&LB({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${UZ.root}`]:{paddingRight:48}},{[`&.${BZ.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${BZ.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:oG(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${BZ.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:oG(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${BZ.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${BZ.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:oG(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:oG(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),XZ=wQ("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),ZZ=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiListItem"}),{alignItems:n="center",autoFocus:o=!1,button:a=!1,children:i,className:s,component:l,components:c={},componentsProps:u={},ContainerComponent:d="li",ContainerProps:{className:f}={},dense:p=!1,disabled:m=!1,disableGutters:h=!1,disablePadding:v=!1,divider:y=!1,focusVisibleClassName:g,secondaryAction:b,selected:w=!1,slotProps:S={},slots:x={}}=r,$=VB(r.ContainerProps,QZ),k=VB(r,YZ),_=V.useContext(IZ),E=V.useMemo((()=>({dense:p||_.dense||!1,alignItems:n,disableGutters:h})),[n,_.dense,p,h]),C=V.useRef(null);QK((()=>{o&&C.current&&C.current.focus()}),[o]);const P=V.Children.toArray(i),j=P.length&&eH(P[P.length-1],["ListItemSecondaryAction"]),O=LB({},r,{alignItems:n,autoFocus:o,button:a,dense:E.dense,disabled:m,disableGutters:h,disablePadding:v,divider:y,hasSecondaryAction:j,selected:w}),N=(e=>{const{alignItems:t,button:r,classes:n,dense:o,disabled:a,disableGutters:i,disablePadding:s,divider:l,hasSecondaryAction:c,selected:u}=e;return _H({root:["root",o&&"dense",!i&&"gutters",!s&&"padding",l&&"divider",a&&"disabled",r&&"button","flex-start"===t&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]},VZ,n)})(O),R=cH(C,t),T=x.root||c.Root||JZ,A=S.root||u.root||{},I=LB({className:EK(N.root,A.className,s),disabled:m},k);let M=l||"li";return a&&(I.component=l||"div",I.focusVisibleClassName=EK(BZ.focusVisible,g),M=$Y),j?(M=I.component||l?M:"div","li"===d&&("li"===M?M="div":"li"===I.component&&(I.component="div")),SP.jsx(IZ.Provider,{value:E,children:SP.jsxs(XZ,LB({as:d,className:EK(N.container,f),ref:R,ownerState:O},$,{children:[SP.jsx(T,LB({},A,!EH(T)&&{as:M,ownerState:LB({},O,A.ownerState)},I,{children:P})),P.pop()]}))})):SP.jsx(IZ.Provider,{value:E,children:SP.jsxs(T,LB({},A,{as:M,ref:R},!EH(T)&&{ownerState:LB({},O,A.ownerState)},I,{children:[P,b&&SP.jsx(GZ,{children:b})]}))})}));var e0=ZZ;function t0(e){return jK("MuiListItemIcon",e)}var r0=OK("MuiListItemIcon",["root","alignItemsFlexStart"]);const n0=["className"],o0=wQ("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"flex-start"===r.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>LB({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),a0=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiListItemIcon"}),{className:n}=r,o=VB(r,n0),a=LB({},r,{alignItems:V.useContext(IZ).alignItems}),i=(e=>{const{alignItems:t,classes:r}=e;return _H({root:["root","flex-start"===t&&"alignItemsFlexStart"]},t0,r)})(a);return SP.jsx(o0,LB({className:EK(i.root,n),ownerState:a,ref:t},o))}));var i0=a0;function s0(e){return jK("MuiListItemText",e)}var l0=OK("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);const c0=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],u0=wQ("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${l0.primary}`]:t.primary},{[`& .${l0.secondary}`]:t.secondary},t.root,r.inset&&t.inset,r.primary&&r.secondary&&t.multiline,r.dense&&t.dense]}})((({ownerState:e})=>LB({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56}))),d0=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiListItemText"}),{children:n,className:o,disableTypography:a=!1,inset:i=!1,primary:s,primaryTypographyProps:l,secondary:c,secondaryTypographyProps:u}=r,d=VB(r,c0),{dense:f}=V.useContext(IZ);let p=null!=s?s:n,m=c;const h=LB({},r,{disableTypography:a,inset:i,primary:!!p,secondary:!!m,dense:f}),v=(e=>{const{classes:t,inset:r,primary:n,secondary:o,dense:a}=e;return _H({root:["root",r&&"inset",a&&"dense",n&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},s0,t)})(h);return null==p||p.type===MY||a||(p=SP.jsx(MY,LB({variant:f?"body2":"body1",className:v.primary,component:null!=l&&l.variant?void 0:"span",display:"block"},l,{children:p}))),null==m||m.type===MY||a||(m=SP.jsx(MY,LB({variant:"body2",className:v.secondary,color:"text.secondary",display:"block"},u,{children:m}))),SP.jsxs(u0,LB({className:EK(v.root,o),ownerState:h,ref:t},d,{children:[p,m]}))}));var f0=d0;const p0=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function m0(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function h0(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function v0(e,t){if(void 0===t)return!0;let r=e.innerText;return void 0===r&&(r=e.textContent),r=r.trim().toLowerCase(),0!==r.length&&(t.repeating?r[0]===t.keys[0]:0===r.indexOf(t.keys.join("")))}function y0(e,t,r,n,o,a){let i=!1,s=o(e,t,!!t&&r);for(;s;){if(s===e.firstChild){if(i)return!1;i=!0}const t=!n&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&v0(s,a)&&!t)return s.focus(),!0;s=o(e,s,r)}return!1}const g0=V.forwardRef((function(e,t){const{actions:r,autoFocus:n=!1,autoFocusItem:o=!1,children:a,className:i,disabledItemsFocusable:s=!1,disableListWrap:l=!1,onKeyDown:c,variant:u="selectedMenu"}=e,d=VB(e,p0),f=V.useRef(null),p=V.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});QK((()=>{n&&f.current.focus()}),[n]),V.useImperativeHandle(r,(()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const r=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&r){const r=`${$H(tH(e))}px`;f.current.style["rtl"===t?"paddingLeft":"paddingRight"]=r,f.current.style.width=`calc(100% + ${r})`}return f.current}})),[]);const m=cH(f,t);let h=-1;V.Children.forEach(a,((e,t)=>{V.isValidElement(e)?(e.props.disabled||("selectedMenu"===u&&e.props.selected||-1===h)&&(h=t),h===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(h+=1,h>=a.length&&(h=-1))):h===t&&(h+=1,h>=a.length&&(h=-1))}));const v=V.Children.map(a,((e,t)=>{if(t===h){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===u&&(t.tabIndex=0),V.cloneElement(e,t)}return e}));return SP.jsx(LZ,LB({role:"menu",ref:m,className:i,onKeyDown:e=>{const t=f.current,r=e.key,n=tH(t).activeElement;if("ArrowDown"===r)e.preventDefault(),y0(t,n,l,s,m0);else if("ArrowUp"===r)e.preventDefault(),y0(t,n,l,s,h0);else if("Home"===r)e.preventDefault(),y0(t,null,l,s,m0);else if("End"===r)e.preventDefault(),y0(t,null,l,s,h0);else if(1===r.length){const o=p.current,a=r.toLowerCase(),i=performance.now();o.keys.length>0&&(i-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&a!==o.keys[0]&&(o.repeating=!1)),o.lastTime=i,o.keys.push(a);const l=n&&!o.repeating&&v0(n,o);o.previousKeyMatched&&(l||y0(t,n,!1,s,m0,o))?e.preventDefault():o.previousKeyMatched=!1}c&&c(e)},tabIndex:n?0:-1},d,{children:v}))}));var b0=g0;function w0(e){return jK("MuiPopover",e)}OK("MuiPopover",["root","paper"]);const S0=["onEntering"],x0=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],$0=["slotProps"];function k0(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.height/2:"bottom"===t&&(r=e.height),r}function _0(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.width/2:"right"===t&&(r=e.width),r}function E0(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function C0(e){return"function"==typeof e?e():e}const P0=wQ(vX,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),j0=wQ(nY,{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}),O0=V.forwardRef((function(e,t){var r,n,o;const a=kQ({props:e,name:"MuiPopover"}),{action:i,anchorEl:s,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:u="anchorEl",children:d,className:f,container:p,elevation:m=8,marginThreshold:h=16,open:v,PaperProps:y={},slots:g,slotProps:b,transformOrigin:w={vertical:"top",horizontal:"left"},TransitionComponent:S=kZ,transitionDuration:x="auto",TransitionProps:{onEntering:$}={},disableScrollLock:k=!1}=a,_=VB(a.TransitionProps,S0),E=VB(a,x0),C=null!=(r=null==b?void 0:b.paper)?r:y,P=V.useRef(),j=cH(P,C.ref),O=LB({},a,{anchorOrigin:l,anchorReference:u,elevation:m,marginThreshold:h,externalPaperSlotProps:C,transformOrigin:w,TransitionComponent:S,transitionDuration:x,TransitionProps:_}),N=(e=>{const{classes:t}=e;return _H({root:["root"],paper:["paper"]},w0,t)})(O),R=V.useCallback((()=>{if("anchorPosition"===u)return c;const e=C0(s),t=(e&&1===e.nodeType?e:tH(P.current).body).getBoundingClientRect();return{top:t.top+k0(t,l.vertical),left:t.left+_0(t,l.horizontal)}}),[s,l.horizontal,l.vertical,c,u]),T=V.useCallback((e=>({vertical:k0(e,w.vertical),horizontal:_0(e,w.horizontal)})),[w.horizontal,w.vertical]),A=V.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},r=T(t);if("none"===u)return{top:null,left:null,transformOrigin:E0(r)};const n=R();let o=n.top-r.vertical,a=n.left-r.horizontal;const i=o+t.height,l=a+t.width,c=rH(C0(s)),d=c.innerHeight-h,f=c.innerWidth-h;if(null!==h&&o<h){const e=o-h;o-=e,r.vertical+=e}else if(null!==h&&i>d){const e=i-d;o-=e,r.vertical+=e}if(null!==h&&a<h){const e=a-h;a-=e,r.horizontal+=e}else if(l>f){const e=l-f;a-=e,r.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(a)}px`,transformOrigin:E0(r)}}),[s,u,R,T,h]),[I,M]=V.useState(v),F=V.useCallback((()=>{const e=P.current;if(!e)return;const t=A(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,M(!0)}),[A]);V.useEffect((()=>(k&&window.addEventListener("scroll",F),()=>window.removeEventListener("scroll",F))),[s,k,F]);V.useEffect((()=>{v&&F()})),V.useImperativeHandle(i,(()=>v?{updatePosition:()=>{F()}}:null),[v,F]),V.useEffect((()=>{if(!v)return;const e=ZK((()=>{F()})),t=rH(s);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[s,v,F]);let D=x;"auto"!==x||S.muiSupportAuto||(D=void 0);const z=p||(s?tH(C0(s)).body:void 0),L=null!=(n=null==g?void 0:g.root)?n:P0,B=null!=(o=null==g?void 0:g.paper)?o:j0,U=OH({elementType:B,externalSlotProps:LB({},C,{style:I?C.style:LB({},C.style,{opacity:0})}),additionalProps:{elevation:m,ref:j},ownerState:O,className:EK(N.paper,null==C?void 0:C.className)}),W=OH({elementType:L,externalSlotProps:(null==b?void 0:b.root)||{},externalForwardedProps:E,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:z,open:v},ownerState:O,className:EK(N.root,f)}),{slotProps:q}=W,K=VB(W,$0);return SP.jsx(L,LB({},K,!EH(L)&&{slotProps:q,disableScrollLock:k},{children:SP.jsx(S,LB({appear:!0,in:v,onEntering:(e,t)=>{$&&$(e,t),F()},onExited:()=>{M(!1)},timeout:D},_,{children:SP.jsx(B,LB({},U,{children:d}))}))}))}));var N0=O0;function R0(e){return jK("MuiMenu",e)}OK("MuiMenu",["root","paper","list"]);const T0=["onEntering"],A0=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],I0={vertical:"top",horizontal:"right"},M0={vertical:"top",horizontal:"left"},F0=wQ(N0,{shouldForwardProp:e=>bQ(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),D0=wQ(j0,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),z0=wQ(b0,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),L0=V.forwardRef((function(e,t){var r,n;const o=kQ({props:e,name:"MuiMenu"}),{autoFocus:a=!0,children:i,className:s,disableAutoFocusItem:l=!1,MenuListProps:c={},onClose:u,open:d,PaperProps:f={},PopoverClasses:p,transitionDuration:m="auto",TransitionProps:{onEntering:h}={},variant:v="selectedMenu",slots:y={},slotProps:g={}}=o,b=VB(o.TransitionProps,T0),w=VB(o,A0),S=DH(),x=LB({},o,{autoFocus:a,disableAutoFocusItem:l,MenuListProps:c,onEntering:h,PaperProps:f,transitionDuration:m,TransitionProps:b,variant:v}),$=(e=>{const{classes:t}=e;return _H({root:["root"],paper:["paper"],list:["list"]},R0,t)})(x),k=a&&!l&&d,_=V.useRef(null);let E=-1;V.Children.map(i,((e,t)=>{V.isValidElement(e)&&(e.props.disabled||("selectedMenu"===v&&e.props.selected||-1===E)&&(E=t))}));const C=null!=(r=y.paper)?r:D0,P=null!=(n=g.paper)?n:f,j=OH({elementType:y.root,externalSlotProps:g.root,ownerState:x,className:[$.root,s]}),O=OH({elementType:C,externalSlotProps:P,ownerState:x,className:$.paper});return SP.jsx(F0,LB({onClose:u,anchorOrigin:{vertical:"bottom",horizontal:S?"right":"left"},transformOrigin:S?I0:M0,slots:{paper:C,root:y.root},slotProps:{root:j,paper:O},open:d,ref:t,transitionDuration:m,TransitionProps:LB({onEntering:(e,t)=>{_.current&&_.current.adjustStyleForScrollbar(e,{direction:S?"rtl":"ltr"}),h&&h(e,t)}},b),ownerState:x},w,{classes:p,children:SP.jsx(z0,LB({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),u&&u(e,"tabKeyDown"))},actions:_,autoFocus:a&&(-1===E||l),autoFocusItem:k,variant:v},c,{className:EK($.list,c.className),children:i}))}))}));var V0=L0;function B0(e){return jK("MuiMenuItem",e)}var U0=OK("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);const W0=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],q0=wQ($Y,{shouldForwardProp:e=>bQ(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>LB({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${U0.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:oG(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${U0.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:oG(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${U0.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:oG(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:oG(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${U0.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${U0.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${gX.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${gX.inset}`]:{marginLeft:52},[`& .${l0.root}`]:{marginTop:0,marginBottom:0},[`& .${l0.inset}`]:{paddingLeft:36},[`& .${r0.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&LB({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${r0.root} svg`]:{fontSize:"1.25rem"}})))),K0=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiMenuItem"}),{autoFocus:n=!1,component:o="li",dense:a=!1,divider:i=!1,disableGutters:s=!1,focusVisibleClassName:l,role:c="menuitem",tabIndex:u,className:d}=r,f=VB(r,W0),p=V.useContext(IZ),m=V.useMemo((()=>({dense:a||p.dense||!1,disableGutters:s})),[p.dense,a,s]),h=V.useRef(null);QK((()=>{n&&h.current&&h.current.focus()}),[n]);const v=LB({},r,{dense:m.dense,divider:i,disableGutters:s}),y=(e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:a,classes:i}=e;return LB({},i,_H({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",a&&"selected"]},B0,i))})(r),g=cH(h,t);let b;return r.disabled||(b=void 0!==u?u:-1),SP.jsx(IZ.Provider,{value:m,children:SP.jsx(q0,LB({ref:g,role:c,tabIndex:b,component:o,focusVisibleClassName:EK(y.focusVisible,l),className:EK(y.root,d)},f,{ownerState:v,classes:y}))})}));var H0=K0;function G0(e){return jK("MuiNativeSelect",e)}var Q0=OK("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);const Y0=["className","disabled","error","IconComponent","inputRef","variant"],J0=({ownerState:e,theme:t})=>LB({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":LB({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${Q0.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),X0=wQ("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:bQ,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${Q0.multiple}`]:t.multiple}]}})(J0),Z0=({ownerState:e,theme:t})=>LB({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${Q0.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),e1=wQ("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${vq(r.variant)}`],r.open&&t.iconOpen]}})(Z0),t1=V.forwardRef((function(e,t){const{className:r,disabled:n,error:o,IconComponent:a,inputRef:i,variant:s="standard"}=e,l=VB(e,Y0),c=LB({},e,{disabled:n,variant:s,error:o}),u=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:a,error:i}=e;return _H({select:["select",r,n&&"disabled",o&&"multiple",i&&"error"],icon:["icon",`icon${vq(r)}`,a&&"iconOpen",n&&"disabled"]},G0,t)})(c);return SP.jsxs(V.Fragment,{children:[SP.jsx(X0,LB({ownerState:c,className:EK(u.select,r),disabled:n,ref:i||t},l)),e.multiple?null:SP.jsx(e1,{as:a,ownerState:c,className:u.icon})]})}));var r1,n1=t1;const o1=["children","classes","className","label","notched"],a1=wQ("fieldset",{shouldForwardProp:bQ})({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%"}),i1=wQ("legend",{shouldForwardProp:bQ})((({ownerState:e,theme:t})=>LB({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&LB({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));const s1=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],l1=wQ(eJ,{shouldForwardProp:e=>bQ(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:XY})((({theme:e,ownerState:t})=>{const r="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return LB({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${lJ.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${lJ.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:r}},[`&.${lJ.focused} .${lJ.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${lJ.error} .${lJ.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${lJ.disabled} .${lJ.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&LB({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),c1=wQ((function(e){const{className:t,label:r,notched:n}=e,o=VB(e,o1),a=null!=r&&""!==r,i=LB({},e,{notched:n,withLabel:a});return SP.jsx(a1,LB({"aria-hidden":!0,className:t,ownerState:i},o,{children:SP.jsx(i1,{ownerState:i,children:a?SP.jsx("span",{children:r}):r1||(r1=SP.jsx("span",{className:"notranslate",children:"​"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"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}})),u1=wQ(tJ,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:ZY})((({theme:e,ownerState:t})=>LB({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?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"}}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),d1=V.forwardRef((function(e,t){var r,n,o,a,i;const s=kQ({props:e,name:"MuiOutlinedInput"}),{components:l={},fullWidth:c=!1,inputComponent:u="input",label:d,multiline:f=!1,notched:p,slots:m={},type:h="text"}=s,v=VB(s,s1),y=(e=>{const{classes:t}=e;return LB({},t,_H({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},sJ,t))})(s),g=qY(),b=UY({props:s,muiFormControl:g,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),w=LB({},s,{color:b.color||"primary",disabled:b.disabled,error:b.error,focused:b.focused,formControl:g,fullWidth:c,hiddenLabel:b.hiddenLabel,multiline:f,size:b.size,type:h}),S=null!=(r=null!=(n=m.root)?n:l.Root)?r:l1,x=null!=(o=null!=(a=m.input)?a:l.Input)?o:u1;return SP.jsx(oJ,LB({slots:{root:S,input:x},renderSuffix:e=>SP.jsx(c1,{ownerState:w,className:y.notchedOutline,label:null!=d&&""!==d&&b.required?i||(i=SP.jsxs(V.Fragment,{children:[d," ","*"]})):d,notched:void 0!==p?p:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:c,inputComponent:u,multiline:f,ref:t,type:h},v,{classes:LB({},y,{notchedOutline:null})}))}));d1.muiName="Input";var f1=d1,p1=OQ(SP.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),m1=OQ(SP.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");const h1=wQ("span",{shouldForwardProp:bQ})({position:"relative",display:"flex"}),v1=wQ(p1)({transform:"scale(1)"}),y1=wQ(m1)((({theme:e,ownerState:t})=>LB({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})})));function g1(e){const{checked:t=!1,classes:r={},fontSize:n}=e,o=LB({},e,{checked:t});return SP.jsxs(h1,{className:r.root,ownerState:o,children:[SP.jsx(v1,{fontSize:n,className:r.background,ownerState:o}),SP.jsx(y1,{fontSize:n,className:r.dot,ownerState:o})]})}var b1=V.createContext(void 0);function w1(e){return jK("MuiRadio",e)}var S1=OK("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]);const x1=["checked","checkedIcon","color","icon","name","onChange","size","className"],$1=wQ(VJ,{shouldForwardProp:e=>bQ(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"medium"!==r.size&&t[`size${vq(r.size)}`],t[`color${vq(r.color)}`]]}})((({theme:e,ownerState:t})=>LB({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:oG("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${S1.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${S1.disabled}`]:{color:(e.vars||e).palette.action.disabled}})));const k1=SP.jsx(g1,{checked:!0}),_1=SP.jsx(g1,{}),E1=V.forwardRef((function(e,t){var r,n;const o=kQ({props:e,name:"MuiRadio"}),{checked:a,checkedIcon:i=k1,color:s="primary",icon:l=_1,name:c,onChange:u,size:d="medium",className:f}=o,p=VB(o,x1),m=LB({},o,{color:s,size:d}),h=(e=>{const{classes:t,color:r,size:n}=e;return LB({},t,_H({root:["root",`color${vq(r)}`,"medium"!==n&&`size${vq(n)}`]},w1,t))})(m),v=V.useContext(b1);let y=a;const g=XK(u,v&&v.onChange);let b=c;return v&&(void 0===y&&(y=function(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}(v.value,o.value)),void 0===b&&(b=v.name)),SP.jsx($1,LB({type:"radio",icon:V.cloneElement(l,{fontSize:null!=(r=_1.props.fontSize)?r:d}),checkedIcon:V.cloneElement(i,{fontSize:null!=(n=k1.props.fontSize)?n:d}),ownerState:m,classes:h,name:b,checked:y,onChange:g,ref:t,className:EK(h.root,f)},p))}));var C1=E1;function P1(e){return jK("MuiRadioGroup",e)}OK("MuiRadioGroup",["root","row","error"]);const j1=["actions","children","className","defaultValue","name","onChange","value"],O1=V.forwardRef((function(e,t){const{actions:r,children:n,className:o,defaultValue:a,name:i,onChange:s,value:l}=e,c=VB(e,j1),u=V.useRef(null),d=(e=>{const{classes:t,row:r,error:n}=e;return _H({root:["root",r&&"row",n&&"error"]},P1,t)})(e),[f,p]=sH({controlled:l,default:a,name:"RadioGroup"});V.useImperativeHandle(r,(()=>({focus:()=>{let e=u.current.querySelector("input:not(:disabled):checked");e||(e=u.current.querySelector("input:not(:disabled)")),e&&e.focus()}})),[]);const m=cH(t,u),h=iH(i),v=V.useMemo((()=>({name:h,onChange(e){p(e.target.value),s&&s(e,e.target.value)},value:f})),[h,s,p,f]);return SP.jsx(b1.Provider,{value:v,children:SP.jsx(HX,LB({role:"radiogroup",ref:m,className:EK(d.root,o)},c,{children:n}))})}));var N1=O1;function R1(e){return jK("MuiSelect",e)}var T1,A1=OK("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);const I1=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],M1=wQ("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${A1.select}`]:t.select},{[`&.${A1.select}`]:t[r.variant]},{[`&.${A1.error}`]:t.error},{[`&.${A1.multiple}`]:t.multiple}]}})(J0,{[`&.${A1.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),F1=wQ("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${vq(r.variant)}`],r.open&&t.iconOpen]}})(Z0),D1=wQ("input",{shouldForwardProp:e=>gQ(e)&&"classes"!==e,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 z1(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function L1(e){return null==e||"string"==typeof e&&!e.trim()}const V1=V.forwardRef((function(e,t){var r;const{"aria-describedby":n,"aria-label":o,autoFocus:a,autoWidth:i,children:s,className:l,defaultOpen:c,defaultValue:u,disabled:d,displayEmpty:f,error:p=!1,IconComponent:m,inputRef:h,labelId:v,MenuProps:y={},multiple:g,name:b,onBlur:w,onChange:S,onClose:x,onFocus:$,onOpen:k,open:_,readOnly:E,renderValue:C,SelectDisplayProps:P={},tabIndex:j,value:O,variant:N="standard"}=e,R=VB(e,I1),[T,A]=sH({controlled:O,default:u,name:"Select"}),[I,M]=sH({controlled:_,default:c,name:"Select"}),F=V.useRef(null),D=V.useRef(null),[z,L]=V.useState(null),{current:B}=V.useRef(null!=_),[U,W]=V.useState(),q=cH(t,h),K=V.useCallback((e=>{D.current=e,e&&L(e)}),[]),H=null==z?void 0:z.parentNode;V.useImperativeHandle(q,(()=>({focus:()=>{D.current.focus()},node:F.current,value:T})),[T]),V.useEffect((()=>{c&&I&&z&&!B&&(W(i?null:H.clientWidth),D.current.focus())}),[z,i]),V.useEffect((()=>{a&&D.current.focus()}),[a]),V.useEffect((()=>{if(!v)return;const e=tH(D.current).getElementById(v);if(e){const t=()=>{getSelection().isCollapsed&&D.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[v]);const G=(e,t)=>{e?k&&k(t):x&&x(t),B||(W(i?null:H.clientWidth),M(e))},Q=V.Children.toArray(s),Y=e=>t=>{let r;if(t.currentTarget.hasAttribute("tabindex")){if(g){r=Array.isArray(T)?T.slice():[];const t=T.indexOf(e.props.value);-1===t?r.push(e.props.value):r.splice(t,1)}else r=e.props.value;if(e.props.onClick&&e.props.onClick(t),T!==r&&(A(r),S)){const n=t.nativeEvent||t,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:r,name:b}}),S(o,e)}g||G(!1,t)}},J=null!==z&&I;let X,Z;delete R["aria-invalid"];const ee=[];let te=!1;(GY({value:T})||f)&&(C?X=C(T):te=!0);const re=Q.map((e=>{if(!V.isValidElement(e))return null;let t;if(g){if(!Array.isArray(T))throw new Error(FB(2));t=T.some((t=>z1(t,e.props.value))),t&&te&&ee.push(e.props.children)}else t=z1(T,e.props.value),t&&te&&(Z=e.props.children);return V.cloneElement(e,{"aria-selected":t?"true":"false",onClick:Y(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));te&&(X=g?0===ee.length?null:ee.reduce(((e,t,r)=>(e.push(t),r<ee.length-1&&e.push(", "),e)),[]):Z);let ne,oe=U;!i&&B&&z&&(oe=H.clientWidth),ne=void 0!==j?j:d?null:0;const ae=P.id||(b?`mui-component-select-${b}`:void 0),ie=LB({},e,{variant:N,value:T,open:J,error:p}),se=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:a,error:i}=e;return _H({select:["select",r,n&&"disabled",o&&"multiple",i&&"error"],icon:["icon",`icon${vq(r)}`,a&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]},R1,t)})(ie),le=LB({},y.PaperProps,null==(r=y.slotProps)?void 0:r.paper),ce=iH();return SP.jsxs(V.Fragment,{children:[SP.jsx(M1,LB({ref:K,tabIndex:ne,role:"combobox","aria-controls":ce,"aria-disabled":d?"true":void 0,"aria-expanded":J?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[v,ae].filter(Boolean).join(" ")||void 0,"aria-describedby":n,onKeyDown:e=>{if(!E){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),G(!0,e))}},onMouseDown:d||E?null:e=>{0===e.button&&(e.preventDefault(),D.current.focus(),G(!0,e))},onBlur:e=>{!J&&w&&(Object.defineProperty(e,"target",{writable:!0,value:{value:T,name:b}}),w(e))},onFocus:$},P,{ownerState:ie,className:EK(P.className,se.select,l),id:ae,children:L1(X)?T1||(T1=SP.jsx("span",{className:"notranslate",children:"​"})):X})),SP.jsx(D1,LB({"aria-invalid":p,value:Array.isArray(T)?T.join(","):T,name:b,ref:F,"aria-hidden":!0,onChange:e=>{const t=Q.find((t=>t.props.value===e.target.value));void 0!==t&&(A(t.props.value),S&&S(e,t))},tabIndex:-1,disabled:d,className:se.nativeInput,autoFocus:a,ownerState:ie},R)),SP.jsx(F1,{as:m,className:se.icon,ownerState:ie}),SP.jsx(V0,LB({id:`menu-${b||""}`,anchorEl:H,open:J,onClose:e=>{G(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},y,{MenuListProps:LB({"aria-labelledby":v,role:"listbox","aria-multiselectable":g?"true":void 0,disableListWrap:!0,id:ce},y.MenuListProps),slotProps:LB({},y.slotProps,{paper:LB({},le,{style:LB({minWidth:oe},null!=le?le.style:null)})}),children:re}))]})}));var B1=V1;const U1=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],W1=["root"],q1={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>bQ(e)&&"variant"!==e,slot:"Root"},K1=wQ(jZ,q1)(""),H1=wQ(f1,q1)(""),G1=wQ(PX,q1)(""),Q1=V.forwardRef((function(e,t){const r=kQ({name:"MuiSelect",props:e}),{autoWidth:n=!1,children:o,classes:a={},className:i,defaultOpen:s=!1,displayEmpty:l=!1,IconComponent:c=dJ,id:u,input:d,inputProps:f,label:p,labelId:m,MenuProps:h,multiple:v=!1,native:y=!1,onClose:g,onOpen:b,open:w,renderValue:S,SelectDisplayProps:x,variant:$="outlined"}=r,k=VB(r,U1),_=y?n1:B1,E=UY({props:r,muiFormControl:qY(),states:["variant","error"]}),C=E.variant||$,P=LB({},r,{variant:C,classes:a}),j=(e=>{const{classes:t}=e;return t})(P),O=VB(j,W1),N=d||{standard:SP.jsx(K1,{ownerState:P}),outlined:SP.jsx(H1,{label:p,ownerState:P}),filled:SP.jsx(G1,{ownerState:P})}[C],R=cH(t,N.ref);return SP.jsx(V.Fragment,{children:V.cloneElement(N,LB({inputComponent:_,inputProps:LB({children:o,error:E.error,IconComponent:c,variant:C,type:void 0,multiple:v},y?{id:u}:{autoWidth:n,defaultOpen:s,displayEmpty:l,labelId:m,MenuProps:h,onClose:g,onOpen:b,open:w,renderValue:S,SelectDisplayProps:LB({id:u},x)},f,{classes:f?nq(O,f.classes):O},d?d.props.inputProps:{})},(v&&y||l)&&"outlined"===C?{notched:!0}:{},{ref:R,className:EK(N.props.className,i,j.root)},!d&&{variant:C},k))})}));Q1.muiName="Select";var Y1=Q1;function J1(e,t){return e-t}function X1(e,t){var r;const{index:n}=null!=(r=e.reduce(((e,r,n)=>{const o=Math.abs(t-r);return null===e||o<e.distance||o===e.distance?{distance:o,index:n}:e}),null))?r:{};return n}function Z1(e,t){if(void 0!==t.current&&e.changedTouches){const r=e;for(let e=0;e<r.changedTouches.length;e+=1){const n=r.changedTouches[e];if(n.identifier===t.current)return{x:n.clientX,y:n.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function e2(e,t,r){return 100*(e-t)/(r-t)}function t2(e,t,r){const n=Math.round((e-r)/t)*t+r;return Number(n.toFixed(function(e){if(Math.abs(e)<1){const t=e.toExponential().split("e-"),r=t[0].split(".")[1];return(r?r.length:0)+parseInt(t[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}(t)))}function r2({values:e,newValue:t,index:r}){const n=e.slice();return n[r]=t,n.sort(J1)}function n2({sliderRef:e,activeIndex:t,setActive:r}){var n,o;const a=tH(e.current);var i;null!=(n=e.current)&&n.contains(a.activeElement)&&Number(null==a||null==(o=a.activeElement)?void 0:o.getAttribute("data-index"))===t||(null==(i=e.current)||i.querySelector(`[type="range"][data-index="${t}"]`).focus());r&&r(t)}function o2(e,t){return"number"==typeof e&&"number"==typeof t?e===t:"object"==typeof e&&"object"==typeof t&&function(e,t,r=((e,t)=>e===t)){return e.length===t.length&&e.every(((e,n)=>r(e,t[n])))}(e,t)}const a2={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},i2=e=>e;let s2;function l2(){return void 0===s2&&(s2="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),s2}function c2(e){const{"aria-labelledby":t,defaultValue:r,disabled:n=!1,disableSwap:o=!1,isRtl:a=!1,marks:i=!1,max:s=100,min:l=0,name:c,onChange:u,onChangeCommitted:d,orientation:f="horizontal",rootRef:p,scale:m=i2,step:h=1,shiftStep:v=10,tabIndex:y,value:g}=e,b=V.useRef(),[w,S]=V.useState(-1),[x,$]=V.useState(-1),[k,_]=V.useState(!1),E=V.useRef(0),[C,P]=sH({controlled:g,default:null!=r?r:l,name:"Slider"}),j=u&&((e,t,r)=>{const n=e.nativeEvent||e,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:t,name:c}}),u(o,t,r)}),O=Array.isArray(C);let N=O?C.slice().sort(J1):[C];N=N.map((e=>null==e?l:YK(e,l,s)));const R=!0===i&&null!==h?[...Array(Math.floor((s-l)/h)+1)].map(((e,t)=>({value:l+h*t}))):i||[],T=R.map((e=>e.value)),{isFocusVisibleRef:A,onBlur:I,onFocus:M,ref:F}=xH(),[D,z]=V.useState(-1),L=V.useRef(),B=cH(F,L),U=cH(p,B),W=e=>t=>{var r;const n=Number(t.currentTarget.getAttribute("data-index"));M(t),!0===A.current&&z(n),$(n),null==e||null==(r=e.onFocus)||r.call(e,t)},q=e=>t=>{var r;I(t),!1===A.current&&z(-1),$(-1),null==e||null==(r=e.onBlur)||r.call(e,t)},K=(e,t)=>{const r=Number(e.currentTarget.getAttribute("data-index")),n=N[r],a=T.indexOf(n);let i=t;if(R&&null==h){const e=T[T.length-1];i=i>e?e:i<T[0]?T[0]:i<n?T[a-1]:T[a+1]}if(i=YK(i,l,s),O){o&&(i=YK(i,N[r-1]||-1/0,N[r+1]||1/0));const e=i;i=r2({values:N,newValue:i,index:r});let t=r;o||(t=i.indexOf(e)),n2({sliderRef:L,activeIndex:t})}P(i),z(r),j&&!o2(i,C)&&j(e,i,r),d&&d(e,i)},H=e=>t=>{var r;if(null!==h){const e=Number(t.currentTarget.getAttribute("data-index")),r=N[e];let n=null;("ArrowLeft"===t.key||"ArrowDown"===t.key)&&t.shiftKey||"PageDown"===t.key?n=Math.max(r-v,l):(("ArrowRight"===t.key||"ArrowUp"===t.key)&&t.shiftKey||"PageUp"===t.key)&&(n=Math.min(r+v,s)),null!==n&&(K(t,n),t.preventDefault())}null==e||null==(r=e.onKeyDown)||r.call(e,t)};QK((()=>{var e;n&&L.current.contains(document.activeElement)&&(null==(e=document.activeElement)||e.blur())}),[n]),n&&-1!==w&&S(-1),n&&-1!==D&&z(-1);const G=V.useRef();let Q=f;a&&"horizontal"===f&&(Q+="-reverse");const Y=({finger:e,move:t=!1})=>{const{current:r}=L,{width:n,height:a,bottom:i,left:c}=r.getBoundingClientRect();let u,d;if(u=0===Q.indexOf("vertical")?(i-e.y)/a:(e.x-c)/n,-1!==Q.indexOf("-reverse")&&(u=1-u),d=function(e,t,r){return(r-t)*e+t}(u,l,s),h)d=t2(d,h,l);else{const e=X1(T,d);d=T[e]}d=YK(d,l,s);let f=0;if(O){f=t?G.current:X1(N,d),o&&(d=YK(d,N[f-1]||-1/0,N[f+1]||1/0));const e=d;d=r2({values:N,newValue:d,index:f}),o&&t||(f=d.indexOf(e),G.current=f)}return{newValue:d,activeIndex:f}},J=lH((e=>{const t=Z1(e,b);if(!t)return;if(E.current+=1,"mousemove"===e.type&&0===e.buttons)return void X(e);const{newValue:r,activeIndex:n}=Y({finger:t,move:!0});n2({sliderRef:L,activeIndex:n,setActive:S}),P(r),!k&&E.current>2&&_(!0),j&&!o2(r,C)&&j(e,r,n)})),X=lH((e=>{const t=Z1(e,b);if(_(!1),!t)return;const{newValue:r}=Y({finger:t,move:!0});S(-1),"touchend"===e.type&&$(-1),d&&d(e,r),b.current=void 0,ee()})),Z=lH((e=>{if(n)return;l2()||e.preventDefault();const t=e.changedTouches[0];null!=t&&(b.current=t.identifier);const r=Z1(e,b);if(!1!==r){const{newValue:t,activeIndex:n}=Y({finger:r});n2({sliderRef:L,activeIndex:n,setActive:S}),P(t),j&&!o2(t,C)&&j(e,t,n)}E.current=0;const o=tH(L.current);o.addEventListener("touchmove",J,{passive:!0}),o.addEventListener("touchend",X,{passive:!0})})),ee=V.useCallback((()=>{const e=tH(L.current);e.removeEventListener("mousemove",J),e.removeEventListener("mouseup",X),e.removeEventListener("touchmove",J),e.removeEventListener("touchend",X)}),[X,J]);V.useEffect((()=>{const{current:e}=L;return e.addEventListener("touchstart",Z,{passive:l2()}),()=>{e.removeEventListener("touchstart",Z),ee()}}),[ee,Z]),V.useEffect((()=>{n&&ee()}),[n,ee]);const te=e2(O?N[0]:l,l,s),re=e2(N[N.length-1],l,s)-te,ne=e=>t=>{var r;null==(r=e.onMouseLeave)||r.call(e,t),$(-1)};return{active:w,axis:Q,axisProps:a2,dragging:k,focusedThumbIndex:D,getHiddenInputProps:(r={})=>{var o;const i=CH(r);var u;const d=LB({},i,{onChange:(u=i||{},e=>{var t;null==(t=u.onChange)||t.call(u,e),K(e,e.target.valueAsNumber)}),onFocus:W(i||{}),onBlur:q(i||{}),onKeyDown:H(i||{})});return LB({tabIndex:y,"aria-labelledby":t,"aria-orientation":f,"aria-valuemax":m(s),"aria-valuemin":m(l),name:c,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":null!=(o=e.step)?o:void 0,disabled:n},r,d,{style:LB({},kH,{direction:a?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:(e={})=>{const t=CH(e);var r;const o=LB({},t,{onMouseDown:(r=t||{},e=>{var t;if(null==(t=r.onMouseDown)||t.call(r,e),n)return;if(e.defaultPrevented)return;if(0!==e.button)return;e.preventDefault();const o=Z1(e,b);if(!1!==o){const{newValue:t,activeIndex:r}=Y({finger:o});n2({sliderRef:L,activeIndex:r,setActive:S}),P(t),j&&!o2(t,C)&&j(e,t,r)}E.current=0;const a=tH(L.current);a.addEventListener("mousemove",J,{passive:!0}),a.addEventListener("mouseup",X)})});return LB({},e,{ref:U},o)},getThumbProps:(e={})=>{const t=CH(e);var r;return LB({},e,t,{onMouseOver:(r=t||{},e=>{var t;null==(t=r.onMouseOver)||t.call(r,e);const n=Number(e.currentTarget.getAttribute("data-index"));$(n)}),onMouseLeave:ne(t||{})})},marks:R,open:x,range:O,rootRef:U,trackLeap:re,trackOffset:te,values:N,getThumbStyle:e=>({pointerEvents:-1!==w&&w!==e?"none":void 0})}}var u2=e=>!e||!EH(e);function d2(e){return jK("MuiSlider",e)}var f2=OK("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]);const p2=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function m2(e){return e}const h2=wQ("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`color${vq(r.color)}`],"medium"!==r.size&&t[`size${vq(r.size)}`],r.marked&&t.marked,"vertical"===r.orientation&&t.vertical,"inverted"===r.track&&t.trackInverted,!1===r.track&&t.trackFalse]}})((({theme:e})=>{var t;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${f2.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${f2.dragging}`]:{[`& .${f2.thumb}, & .${f2.track}`]:{transition:"none"}},variants:[...Object.keys((null!=(t=e.vars)?t:e).palette).filter((t=>{var r;return(null!=(r=e.vars)?r:e).palette[t].main})).map((t=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}})),v2=wQ("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),y2=wQ("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})((({theme:e})=>{var t;return{display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.keys((null!=(t=e.vars)?t:e).palette).filter((t=>{var r;return(null!=(r=e.vars)?r:e).palette[t].main})).map((t=>({props:{color:t,track:"inverted"},style:LB({},e.vars?{backgroundColor:e.vars.palette.Slider[`${t}Track`],borderColor:e.vars.palette.Slider[`${t}Track`]}:LB({backgroundColor:sG(e.palette[t].main,.62),borderColor:sG(e.palette[t].main,.62)},e.applyStyles("dark",{backgroundColor:aG(e.palette[t].main,.5)}),e.applyStyles("dark",{borderColor:aG(e.palette[t].main,.5)})))})))]}})),g2=wQ("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.thumb,t[`thumbColor${vq(r.color)}`],"medium"!==r.size&&t[`thumbSize${vq(r.size)}`]]}})((({theme:e})=>{var t;return{position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${f2.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.keys((null!=(t=e.vars)?t:e).palette).filter((t=>{var r;return(null!=(r=e.vars)?r:e).palette[t].main})).map((t=>({props:{color:t},style:{[`&:hover, &.${f2.focusVisible}`]:LB({},e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[t].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${oG(e.palette[t].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${f2.active}`]:LB({},e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[t].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${oG(e.palette[t].main,.16)}`})}})))]}})),b2=wQ((function(e){const{children:t,className:r,value:n}=e,o=(e=>{const{open:t}=e;return{offset:EK(t&&f2.valueLabelOpen),circle:f2.valueLabelCircle,label:f2.valueLabelLabel}})(e);return t?V.cloneElement(t,{className:EK(t.props.className)},SP.jsxs(V.Fragment,{children:[t.props.children,SP.jsx("span",{className:EK(o.offset,r),"aria-hidden":!0,children:SP.jsx("span",{className:o.circle,children:SP.jsx("span",{className:o.label,children:n})})})]})):null}),{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})((({theme:e})=>LB({zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${f2.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${f2.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]}))),w2=wQ("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>gQ(e)&&"markActive"!==e,overridesResolver:(e,t)=>{const{markActive:r}=e;return[t.mark,r&&t.markActive]}})((({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]}))),S2=wQ("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>gQ(e)&&"markLabelActive"!==e,overridesResolver:(e,t)=>t.markLabel})((({theme:e})=>LB({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]}))),x2=({children:e})=>e,$2=V.forwardRef((function(e,t){var r,n,o,a,i,s,l,c,u,d,f,p,m,h,v,y,g,b,w,S,x,$,k,_;const E=kQ({props:e,name:"MuiSlider"}),C=DH(),{"aria-label":P,"aria-valuetext":j,"aria-labelledby":O,component:N="span",components:R={},componentsProps:T={},color:A="primary",classes:I,className:M,disableSwap:F=!1,disabled:D=!1,getAriaLabel:z,getAriaValueText:L,marks:B=!1,max:U=100,min:W=0,orientation:q="horizontal",shiftStep:K=10,size:H="medium",step:G=1,scale:Q=m2,slotProps:Y,slots:J,track:X="normal",valueLabelDisplay:Z="off",valueLabelFormat:ee=m2}=E,te=VB(E,p2),re=LB({},E,{isRtl:C,max:U,min:W,classes:I,disabled:D,disableSwap:F,orientation:q,marks:B,color:A,size:H,step:G,shiftStep:K,scale:Q,track:X,valueLabelDisplay:Z,valueLabelFormat:ee}),{axisProps:ne,getRootProps:oe,getHiddenInputProps:ae,getThumbProps:ie,open:se,active:le,axis:ce,focusedThumbIndex:ue,range:de,dragging:fe,marks:pe,values:me,trackOffset:he,trackLeap:ve,getThumbStyle:ye}=c2(LB({},re,{rootRef:t}));re.marked=pe.length>0&&pe.some((e=>e.label)),re.dragging=fe,re.focusedThumbIndex=ue;const ge=(e=>{const{disabled:t,dragging:r,marked:n,orientation:o,track:a,classes:i,color:s,size:l}=e;return _H({root:["root",t&&"disabled",r&&"dragging",n&&"marked","vertical"===o&&"vertical","inverted"===a&&"trackInverted",!1===a&&"trackFalse",s&&`color${vq(s)}`,l&&`size${vq(l)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",l&&`thumbSize${vq(l)}`,s&&`thumbColor${vq(s)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]},d2,i)})(re),be=null!=(r=null!=(n=null==J?void 0:J.root)?n:R.Root)?r:h2,we=null!=(o=null!=(a=null==J?void 0:J.rail)?a:R.Rail)?o:v2,Se=null!=(i=null!=(s=null==J?void 0:J.track)?s:R.Track)?i:y2,xe=null!=(l=null!=(c=null==J?void 0:J.thumb)?c:R.Thumb)?l:g2,$e=null!=(u=null!=(d=null==J?void 0:J.valueLabel)?d:R.ValueLabel)?u:b2,ke=null!=(f=null!=(p=null==J?void 0:J.mark)?p:R.Mark)?f:w2,_e=null!=(m=null!=(h=null==J?void 0:J.markLabel)?h:R.MarkLabel)?m:S2,Ee=null!=(v=null!=(y=null==J?void 0:J.input)?y:R.Input)?v:"input",Ce=null!=(g=null==Y?void 0:Y.root)?g:T.root,Pe=null!=(b=null==Y?void 0:Y.rail)?b:T.rail,je=null!=(w=null==Y?void 0:Y.track)?w:T.track,Oe=null!=(S=null==Y?void 0:Y.thumb)?S:T.thumb,Ne=null!=(x=null==Y?void 0:Y.valueLabel)?x:T.valueLabel,Re=null!=($=null==Y?void 0:Y.mark)?$:T.mark,Te=null!=(k=null==Y?void 0:Y.markLabel)?k:T.markLabel,Ae=null!=(_=null==Y?void 0:Y.input)?_:T.input,Ie=OH({elementType:be,getSlotProps:oe,externalSlotProps:Ce,externalForwardedProps:te,additionalProps:LB({},u2(be)&&{as:N}),ownerState:LB({},re,null==Ce?void 0:Ce.ownerState),className:[ge.root,M]}),Me=OH({elementType:we,externalSlotProps:Pe,ownerState:re,className:ge.rail}),Fe=OH({elementType:Se,externalSlotProps:je,additionalProps:{style:LB({},ne[ce].offset(he),ne[ce].leap(ve))},ownerState:LB({},re,null==je?void 0:je.ownerState),className:ge.track}),De=OH({elementType:xe,getSlotProps:ie,externalSlotProps:Oe,ownerState:LB({},re,null==Oe?void 0:Oe.ownerState),className:ge.thumb}),ze=OH({elementType:$e,externalSlotProps:Ne,ownerState:LB({},re,null==Ne?void 0:Ne.ownerState),className:ge.valueLabel}),Le=OH({elementType:ke,externalSlotProps:Re,ownerState:re,className:ge.mark}),Ve=OH({elementType:_e,externalSlotProps:Te,ownerState:re,className:ge.markLabel}),Be=OH({elementType:Ee,getSlotProps:ae,externalSlotProps:Ae,ownerState:re});return SP.jsxs(be,LB({},Ie,{children:[SP.jsx(we,LB({},Me)),SP.jsx(Se,LB({},Fe)),pe.filter((e=>e.value>=W&&e.value<=U)).map(((e,t)=>{const r=e2(e.value,W,U),n=ne[ce].offset(r);let o;return o=!1===X?-1!==me.indexOf(e.value):"normal"===X&&(de?e.value>=me[0]&&e.value<=me[me.length-1]:e.value<=me[0])||"inverted"===X&&(de?e.value<=me[0]||e.value>=me[me.length-1]:e.value>=me[0]),SP.jsxs(V.Fragment,{children:[SP.jsx(ke,LB({"data-index":t},Le,!EH(ke)&&{markActive:o},{style:LB({},n,Le.style),className:EK(Le.className,o&&ge.markActive)})),null!=e.label?SP.jsx(_e,LB({"aria-hidden":!0,"data-index":t},Ve,!EH(_e)&&{markLabelActive:o},{style:LB({},n,Ve.style),className:EK(ge.markLabel,Ve.className,o&&ge.markLabelActive),children:e.label})):null]},t)})),me.map(((e,t)=>{const r=e2(e,W,U),n=ne[ce].offset(r),o="off"===Z?x2:$e;return SP.jsx(o,LB({},!EH(o)&&{valueLabelFormat:ee,valueLabelDisplay:Z,value:"function"==typeof ee?ee(Q(e),t):ee,index:t,open:se===t||le===t||"on"===Z,disabled:D},ze,{children:SP.jsx(xe,LB({"data-index":t},De,{className:EK(ge.thumb,De.className,le===t&&ge.active,ue===t&&ge.focusVisible),style:LB({},n,ye(t),De.style),children:SP.jsx(Ee,LB({"data-index":t,"aria-label":z?z(t):P,"aria-valuenow":Q(e),"aria-labelledby":O,"aria-valuetext":L?L(Q(e),t):j,value:me[t]},Be))}))}),t)}))]}))}));var k2=$2;function _2(e){return jK("MuiTextField",e)}OK("MuiTextField",["root"]);const E2=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],C2={standard:jZ,filled:PX,outlined:f1},P2=wQ(TX,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),j2=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiTextField"}),{autoComplete:n,autoFocus:o=!1,children:a,className:i,color:s="primary",defaultValue:l,disabled:c=!1,error:u=!1,FormHelperTextProps:d,fullWidth:f=!1,helperText:p,id:m,InputLabelProps:h,inputProps:v,InputProps:y,inputRef:g,label:b,maxRows:w,minRows:S,multiline:x=!1,name:$,onBlur:k,onChange:_,onFocus:E,placeholder:C,required:P=!1,rows:j,select:O=!1,SelectProps:N,type:R,value:T,variant:A="outlined"}=r,I=VB(r,E2),M=LB({},r,{autoFocus:o,color:s,disabled:c,error:u,fullWidth:f,multiline:x,required:P,select:O,variant:A}),F=(e=>{const{classes:t}=e;return _H({root:["root"]},_2,t)})(M),D={};"outlined"===A&&(h&&void 0!==h.shrink&&(D.notched=h.shrink),D.label=b),O&&(N&&N.native||(D.id=void 0),D["aria-describedby"]=void 0);const z=iH(m),L=p&&z?`${z}-helper-text`:void 0,V=b&&z?`${z}-label`:void 0,B=C2[A],U=SP.jsx(B,LB({"aria-describedby":L,autoComplete:n,autoFocus:o,defaultValue:l,fullWidth:f,multiline:x,name:$,rows:j,maxRows:w,minRows:S,type:R,value:T,id:z,inputRef:g,onBlur:k,onChange:_,onFocus:E,placeholder:C,inputProps:v},D,y));return SP.jsxs(P2,LB({className:EK(F.root,i),disabled:c,error:u,fullWidth:f,ref:t,required:P,color:s,variant:A,ownerState:M},I,{children:[null!=b&&""!==b&&SP.jsx(AZ,LB({htmlFor:z,id:V},h,{children:b})),O?SP.jsx(Y1,LB({"aria-describedby":L,id:z,labelId:V,value:T,input:U},N,{children:a})):U,p&&SP.jsx(eZ,LB({id:L},d,{children:p}))]}))}));var O2,N2=j2,R2={},T2={},A2=o(RQ);function I2(){return O2||(O2=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=A2}(T2)),T2}var M2=eG;Object.defineProperty(R2,"__esModule",{value:!0});var F2=R2.default=void 0,D2=M2(I2()),z2=SP;function L2({uiSchema:e,registry:t,...r}){const{translateString:n}=t;return SP.jsx(jY,{title:n(dj.AddItemButton),...r,color:"primary",children:SP.jsx(F2,{})})}function V2(e){const{children:t,disabled:r,hasToolbar:n,hasCopy:o,hasMoveDown:a,hasMoveUp:i,hasRemove:s,index:l,onCopyIndexClick:c,onDropIndexClick:u,onReorderClick:d,readonly:f,uiSchema:p,registry:m}=e,{CopyButton:h,MoveDownButton:v,MoveUpButton:y,RemoveButton:g}=m.templates.ButtonTemplates,b={flex:1,paddingLeft:6,paddingRight:6,fontWeight:"bold",minWidth:0};return SP.jsxs(gZ,{container:!0,alignItems:"center",children:[SP.jsx(gZ,{item:!0,xs:!0,style:{overflow:"auto"},children:SP.jsx(kJ,{mb:2,children:SP.jsx(nY,{elevation:2,children:SP.jsx(kJ,{p:2,children:t})})})}),n&&SP.jsxs(gZ,{item:!0,children:[(i||a)&&SP.jsx(y,{style:b,disabled:r||f||!i,onClick:d(l,l-1),uiSchema:p,registry:m}),(i||a)&&SP.jsx(v,{style:b,disabled:r||f||!a,onClick:d(l,l+1),uiSchema:p,registry:m}),o&&SP.jsx(h,{style:b,disabled:r||f,onClick:c(l),uiSchema:p,registry:m}),s&&SP.jsx(g,{style:b,disabled:r||f,onClick:u(l),uiSchema:p,registry:m})]})]})}function B2(e){const{canAdd:t,disabled:r,idSchema:n,uiSchema:o,items:a,onAddClick:i,readonly:s,registry:l,required:c,schema:u,title:d}=e,f=$d(o),p=uP("ArrayFieldDescriptionTemplate",l,f),m=uP("ArrayFieldItemTemplate",l,f),h=uP("ArrayFieldTitleTemplate",l,f),{ButtonTemplates:{AddButton:v}}=l.templates;return SP.jsx(nY,{elevation:2,children:SP.jsxs(kJ,{p:2,children:[SP.jsx(h,{idSchema:n,title:f.title||d,schema:u,uiSchema:o,required:c,registry:l}),SP.jsx(p,{idSchema:n,description:f.description||u.description,schema:u,uiSchema:o,registry:l}),a&&a.map((({key:e,...t})=>SP.jsx(m,{...t},e))),t&&SP.jsx(gZ,{container:!0,justifyContent:"flex-end",children:SP.jsx(gZ,{item:!0,children:SP.jsx(kJ,{mt:2,children:SP.jsx(v,{className:"array-item-add",onClick:i,disabled:r||s,uiSchema:o,registry:l})})})})]})})}F2=R2.default=(0,D2.default)((0,z2.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");const U2=["date","datetime-local","file","time"];function W2(e){const{id:t,name:r,placeholder:n,required:o,readonly:a,disabled:i,type:s,label:l,hideLabel:c,hideError:u,value:d,onChange:f,onChangeOverride:p,onBlur:m,onFocus:h,autofocus:v,options:y,schema:g,uiSchema:b,rawErrors:w=[],errorSchema:S,formContext:x,registry:$,InputLabelProps:k,..._}=e,E=sP(g,s,y),{step:C,min:P,max:j,...O}=E,N={inputProps:{step:C,min:P,max:j,...g.examples?{list:HP(t)}:void 0},...O},R=U2.includes(s)?{...k,shrink:!0}:k;return SP.jsxs(SP.Fragment,{children:[SP.jsx(N2,{id:t,name:t,placeholder:n,label:XP(l||void 0,c,void 0),autoFocus:v,required:o,disabled:i||a,...N,value:d||0===d?d:"",error:w.length>0,onChange:p||(({target:{value:e}})=>f(""===e?y.emptyValue:e)),onBlur:({target:e})=>m(t,e&&e.value),onFocus:({target:e})=>h(t,e&&e.value),InputLabelProps:R,..._,"aria-describedby":YP(t,!!g.examples)}),Array.isArray(g.examples)&&SP.jsx("datalist",{id:HP(t),children:g.examples.concat(g.default&&!g.examples.includes(g.default)?[g.default]:[]).map((e=>SP.jsx("option",{value:e},e)))})]})}function q2(e){const{id:t,description:r}=e;return r?SP.jsx(MY,{id:t,variant:"subtitle2",style:{marginTop:"5px"},children:r}):null}var K2={},H2=eG;Object.defineProperty(K2,"__esModule",{value:!0});var G2=K2.default=void 0,Q2=H2(I2()),Y2=SP;function J2({errors:e,registry:t}){const{translateString:r}=t;return SP.jsx(nY,{elevation:2,children:SP.jsxs(kJ,{mb:2,p:2,children:[SP.jsx(MY,{variant:"h6",children:r(dj.ErrorsLabel)}),SP.jsx(LZ,{dense:!0,children:e.map(((e,t)=>SP.jsxs(e0,{children:[SP.jsx(i0,{children:SP.jsx(G2,{color:"error"})}),SP.jsx(f0,{primary:e.stack})]},t)))})]})})}G2=K2.default=(0,Q2.default)((0,Y2.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error");var X2={},Z2=eG;Object.defineProperty(X2,"__esModule",{value:!0});var e5=X2.default=void 0,t5=Z2(I2()),r5=SP;e5=X2.default=(0,t5.default)((0,r5.jsx)("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward");var n5={},o5=eG;Object.defineProperty(n5,"__esModule",{value:!0});var a5=n5.default=void 0,i5=o5(I2()),s5=SP;a5=n5.default=(0,i5.default)((0,s5.jsx)("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"}),"ArrowUpward");var l5={},c5=eG;Object.defineProperty(l5,"__esModule",{value:!0});var u5=l5.default=void 0,d5=c5(I2()),f5=SP;u5=l5.default=(0,d5.default)((0,f5.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"}),"ContentCopy");var p5={},m5=eG;Object.defineProperty(p5,"__esModule",{value:!0});var h5=p5.default=void 0,v5=m5(I2()),y5=SP;function g5(e){const{icon:t,color:r,uiSchema:n,registry:o,...a}=e;return SP.jsx(jY,{...a,size:"small",color:r,children:t})}function b5(e){const{registry:{translateString:t}}=e;return SP.jsx(g5,{title:t(dj.CopyButton),...e,icon:SP.jsx(u5,{fontSize:"small"})})}function w5(e){const{registry:{translateString:t}}=e;return SP.jsx(g5,{title:t(dj.MoveDownButton),...e,icon:SP.jsx(e5,{fontSize:"small"})})}function S5(e){const{registry:{translateString:t}}=e;return SP.jsx(g5,{title:t(dj.MoveUpButton),...e,icon:SP.jsx(a5,{fontSize:"small"})})}function x5(e){const{iconType:t,...r}=e,{registry:{translateString:n}}=r;return SP.jsx(g5,{title:n(dj.RemoveButton),...r,color:"error",icon:SP.jsx(h5,{fontSize:"default"===t?void 0:"small"})})}function $5(e){const{errors:t=[],idSchema:r}=e;if(0===t.length)return null;const n=KP(r);return SP.jsx(LZ,{id:n,dense:!0,disablePadding:!0,children:t.map(((e,t)=>SP.jsx(e0,{disableGutters:!0,children:SP.jsx(eZ,{component:"div",id:`${n}-${t}`,children:e})},t)))})}function k5(e){const{idSchema:t,help:r}=e;if(!r)return null;const n=GP(t);return SP.jsx(eZ,{component:"div",id:n,children:r})}function _5(e){const{id:t,children:r,classNames:n,style:o,disabled:a,displayLabel:i,hidden:s,label:l,onDropPropertyClick:c,onKeyChange:u,readonly:d,required:f,rawErrors:p=[],errors:m,help:h,description:v,rawDescription:y,schema:g,uiSchema:b,registry:w}=e,S=uP("WrapIfAdditionalTemplate",w,$d(b));return s?SP.jsx("div",{style:{display:"none"},children:r}):SP.jsx(S,{classNames:n,style:o,disabled:a,id:t,label:l,onDropPropertyClick:c,onKeyChange:u,readonly:d,required:f,schema:g,uiSchema:b,registry:w,children:SP.jsxs(TX,{fullWidth:!0,error:!!p.length,required:f,children:[r,i&&y?SP.jsx(MY,{variant:"caption",color:"textSecondary",children:v}):null,m,h]})})}function E5(e){const{description:t,title:r,properties:n,required:o,disabled:a,readonly:i,uiSchema:s,idSchema:l,schema:c,formData:u,onAddClick:d,registry:f}=e,p=$d(s),m=uP("TitleFieldTemplate",f,p),h=uP("DescriptionFieldTemplate",f,p),{ButtonTemplates:{AddButton:v}}=f.templates;return SP.jsxs(SP.Fragment,{children:[r&&SP.jsx(m,{id:QP(l),title:r,required:o,schema:c,uiSchema:s,registry:f}),t&&SP.jsx(h,{id:qP(l),description:t,schema:c,uiSchema:s,registry:f}),SP.jsxs(gZ,{container:!0,spacing:2,style:{marginTop:"10px"},children:[n.map(((e,t)=>e.hidden?e.content:SP.jsx(gZ,{item:!0,xs:12,style:{marginBottom:"10px"},children:e.content},t))),kd(c,s,u)&&SP.jsx(gZ,{container:!0,justifyContent:"flex-end",children:SP.jsx(gZ,{item:!0,children:SP.jsx(v,{className:"object-property-expand",onClick:d(c),disabled:a||i,uiSchema:s,registry:f})})})]})]})}function C5({uiSchema:e}){const{submitText:t,norender:r,props:n={}}=cP(e);return r?null:SP.jsx(kJ,{marginTop:3,children:SP.jsx(IJ,{type:"submit",variant:"contained",color:"primary",...n,children:t})})}function P5({id:e,title:t}){return SP.jsxs(kJ,{id:e,mb:1,mt:1,children:[SP.jsx(MY,{variant:"h5",children:t}),SP.jsx($X,{})]})}function j5(e){const{children:t,classNames:r,style:n,disabled:o,id:a,label:i,onDropPropertyClick:s,onKeyChange:l,readonly:c,required:u,schema:d,uiSchema:f,registry:p}=e,{templates:m,translateString:h}=p,{RemoveButton:v}=m.ButtonTemplates,y=h(dj.KeyLabel,[i]);if(!(td in d))return SP.jsx("div",{className:r,style:n,children:t});return SP.jsxs(gZ,{container:!0,alignItems:"center",spacing:2,className:r,style:n,children:[SP.jsx(gZ,{item:!0,xs:!0,children:SP.jsx(N2,{fullWidth:!0,required:u,label:y,defaultValue:i,disabled:o||c,id:`${a}-key`,name:`${a}-key`,onBlur:c?void 0:({target:e})=>l(e&&e.value),type:"text"})}),SP.jsx(gZ,{item:!0,xs:!0,children:t}),SP.jsx(gZ,{item:!0,children:SP.jsx(v,{iconType:"default",style:{flex:1,paddingLeft:6,paddingRight:6,fontWeight:"bold"},disabled:o||c,onClick:s(i),uiSchema:f,registry:p})})]},`${a}-key`)}function O5(e){var t;const{schema:r,id:n,value:o,disabled:a,readonly:i,label:s="",hideLabel:l,autofocus:c,onChange:u,onBlur:d,onFocus:f,registry:p,options:m,uiSchema:h}=e,v=uP("DescriptionFieldTemplate",p,m),y=tj(r),g=null!==(t=m.description)&&void 0!==t?t:r.description;return SP.jsxs(SP.Fragment,{children:[!l&&!!g&&SP.jsx(v,{id:qP(n),description:g,schema:r,uiSchema:h,registry:p}),SP.jsx(BX,{control:SP.jsx(ZJ,{id:n,name:n,checked:void 0!==o&&Boolean(o),required:y,disabled:a||i,autoFocus:c,onChange:(e,t)=>u(t),onBlur:({target:e})=>d(n,e&&e.value),onFocus:({target:e})=>f(n,e&&e.value),"aria-describedby":YP(n)}),label:XP(s,l,!1)})]})}function N5({label:e,hideLabel:t,id:r,disabled:n,options:o,value:a,autofocus:i,readonly:s,required:l,onChange:c,onBlur:u,onFocus:d}){const{enumOptions:f,enumDisabled:p,inline:m,emptyValue:h}=o,v=Array.isArray(a)?a:[a],y=e=>({target:{checked:t}})=>{c(t?nP(e,v,f):ZC(e,v,f))},g=({target:e})=>u(r,XC(e&&e.value,f,h)),b=({target:e})=>d(r,XC(e&&e.value,f,h));return SP.jsxs(SP.Fragment,{children:[XP(SP.jsx(sZ,{required:l,htmlFor:r,children:e||void 0}),t),SP.jsx(HX,{id:r,row:!!m,children:Array.isArray(f)&&f.map(((e,t)=>{const o=eP(e.value,v),a=Array.isArray(p)&&-1!==p.indexOf(e.value),l=SP.jsx(ZJ,{id:JP(r,t),name:r,checked:o,disabled:n||a||s,autoFocus:i&&0===t,onChange:y(t),onBlur:g,onFocus:b,"aria-describedby":YP(r)});return SP.jsx(BX,{control:l,label:e.label},t)}))})]})}function R5({id:e,options:t,value:r,required:n,disabled:o,readonly:a,label:i,hideLabel:s,onChange:l,onBlur:c,onFocus:u}){var d;const{enumOptions:f,enumDisabled:p,emptyValue:m}=t,h=!!t&&t.inline,v=null!==(d=tP(r,f))&&void 0!==d?d:null;return SP.jsxs(SP.Fragment,{children:[XP(SP.jsx(sZ,{required:n,htmlFor:e,children:i||void 0}),s),SP.jsx(N1,{id:e,name:e,value:v,row:h,onChange:(e,t)=>l(XC(t,f,m)),onBlur:({target:t})=>c(e,XC(t&&t.value,f,m)),onFocus:({target:t})=>u(e,XC(t&&t.value,f,m)),"aria-describedby":YP(e),children:Array.isArray(f)&&f.map(((t,r)=>{const n=Array.isArray(p)&&-1!==p.indexOf(t.value);return SP.jsx(BX,{control:SP.jsx(C1,{name:e,id:JP(e,r),color:"primary"}),label:t.label,value:String(r),disabled:o||n||a},r)}))})]})}function T5(e){const{value:t,readonly:r,disabled:n,onBlur:o,onFocus:a,options:i,schema:s,onChange:l,required:c,label:u,hideLabel:d,id:f}=e,p={value:t,label:u,id:f,name:f,...iP(s)};return SP.jsxs(SP.Fragment,{children:[XP(SP.jsx(sZ,{required:c,htmlFor:f,children:u||void 0}),d),SP.jsx(k2,{disabled:n||r,onChange:(e,t)=>{l(null!=t?t:i.emptyValue)},onBlur:({target:e})=>o(f,e&&e.value),onFocus:({target:e})=>a(f,e&&e.value),valueLabelDisplay:"auto",...p,"aria-describedby":YP(f)})]})}function A5({schema:e,id:t,name:r,options:n,label:o,hideLabel:a,required:i,disabled:s,placeholder:l,readonly:c,value:u,multiple:d,autofocus:f,onChange:p,onBlur:m,onFocus:h,errorSchema:v,rawErrors:y=[],registry:g,uiSchema:b,hideError:w,formContext:S,...x}){const{enumOptions:$,enumDisabled:k,emptyValue:_}=n,E=(d=void 0!==d&&!!d)?[]:"",C=void 0===u||d&&u.length<1||!d&&u===E,P=tP(u,$,d),{InputLabelProps:j,SelectProps:O,autocomplete:N,...R}=x,T=!d&&void 0===e.default;return SP.jsxs(N2,{id:t,name:t,label:XP(o||void 0,a,void 0),value:C||void 0===P?E:P,required:i,disabled:s||c,autoFocus:f,autoComplete:N,placeholder:l,error:y.length>0,onChange:({target:{value:e}})=>p(XC(e,$,_)),onBlur:({target:e})=>m(t,XC(e&&e.value,$,_)),onFocus:({target:e})=>h(t,XC(e&&e.value,$,_)),...R,select:!0,InputLabelProps:{...j,shrink:!C},SelectProps:{...O,multiple:d},"aria-describedby":YP(t),children:[T&&SP.jsx(H0,{value:"",children:l}),Array.isArray($)&&$.map((({value:e,label:t},r)=>{const n=Array.isArray(k)&&-1!==k.indexOf(e);return SP.jsx(H0,{value:String(r),disabled:n,children:t},r)}))]})}function I5(e){const{options:t,registry:r}=e,n=uP("BaseInputTemplate",r,t);let o=5;return"string"!=typeof t.rows&&"number"!=typeof t.rows||(o=t.rows),SP.jsx(n,{...e,multiline:!0,rows:o})}function M5(){return{CheckboxWidget:O5,CheckboxesWidget:N5,RadioWidget:R5,RangeWidget:T5,SelectWidget:A5,TextareaWidget:I5}}h5=p5.default=(0,v5.default)((0,y5.jsx)("path",{d:"M19 13H5v-2h14z"}),"Remove");const F5="light",D5=e=>["light","dark"].includes(e)?e:F5;function z5(e){return LG({palette:{mode:e},..."dark"===e?{components:{MuiTypography:{styleOverrides:{root:{color:"rgba(255, 255, 255);"}}},MuiPaper:{styleOverrides:{root:{backgroundImage:"none",backgroundColor:"var(--crowdin-body-bg, #ffffff)"}}}}}:{}})}const L5=(V5={templates:{ArrayFieldItemTemplate:V2,ArrayFieldTemplate:B2,BaseInputTemplate:W2,ButtonTemplates:{AddButton:L2,CopyButton:b5,MoveDownButton:w5,MoveUpButton:S5,RemoveButton:x5,SubmitButton:C5},DescriptionFieldTemplate:q2,ErrorListTemplate:J2,FieldErrorTemplate:$5,FieldHelpTemplate:k5,FieldTemplate:_5,ObjectFieldTemplate:E5,TitleFieldTemplate:P5,WrapIfAdditionalTemplate:j5},widgets:{...M5(),SelectWidget:e=>{const r=M5().SelectWidget;return B.createElement(r,t({},e,{SelectProps:{...e.SelectProps||{},MenuProps:{autoFocus:!1,disableAutoFocusItem:!0,disableEnforceFocus:!0,disableAutoFocus:!0}}}))}}},V.forwardRef((({fields:e,widgets:t,templates:r,...n},o)=>{var a;return e={...null==V5?void 0:V5.fields,...e},t={...null==V5?void 0:V5.widgets,...t},r={...null==V5?void 0:V5.templates,...r,ButtonTemplates:{...null===(a=null==V5?void 0:V5.templates)||void 0===a?void 0:a.ButtonTemplates,...null==r?void 0:r.ButtonTemplates}},SP.jsx(PB,{...V5,...n,fields:e,widgets:t,templates:r,ref:o})})));var V5;function B5(){const e=frameData.app.context,t=["form-data"];return e.organization_id&&t.push(e.organization_id),e.project_id&&t.push(e.project_id),t.join("-")}const U5={htmlWidget:function(e){const{value:t,options:{content:r}}=e,n=V.useRef();return V.useEffect((()=>{const e=t||r,o=document.createRange().createContextualFragment(e);n.current.append(o)}),[]),B.createElement("div",{ref:n})}};function W5({formData:e,formSchema:t,formUiSchema:r,onFormRef:n}){const[o,a]=V.useState(z5(F5)),i=V.useRef();return V.useEffect((()=>{AP.events.on("theme.changed",(e=>{const t=D5(e);a(z5(t))})),AP.getTheme((e=>{const t=D5(e);a(z5(t))})),n(i)}),[]),B.createElement(xQ,{theme:o},B.createElement(L5,{ref:i,widgets:U5,formData:e,validator:dz,schema:t,uiSchema:r,onSubmit:e=>{!function(e){if(!K5())return;document.getElementById("form-loading").style.display="flex",checkOrigin().then((t=>fetch(formPostDataUrl+t+"&id="+B5(),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({data:e,context:frameData.app.context})}))).then(checkResponse).then((e=>{e&&e.message||showToast("Settings successfully saved"),document.getElementById("form-loading").style.display="none",e&&(e.formData||e.formSchema||e.formUiSchema)&&H5(e.formData,e.formSchema,e.formUiSchema),e&&e.redirect&&(window.location=e.redirect)})).catch((e=>{catchRejection(e,"Can't save settings"),document.getElementById("form-loading").style.display="none"}))}(e.formData)},onChange:e=>{window.currentFormData=e.formData;const t=new CustomEvent("formDataUpdated",{detail:{...e.formData}});document.dispatchEvent(t)}}))}function q5(){const e=document.getElementById("card");e.style.border="none",e.style.overflow="initial",e.removeAttribute("is-shadowed"),e.setAttribute("without-p",!0),e.parentElement.style.padding="16px",e.parentElement.style.paddingBottom="0px"}function K5(){return!(AP&&AP._data&&AP._data.app&&["ai-prompt-provider"].includes(AP._data.app.type))}function H5(e={},t,r){const n=W.createRoot(document.getElementById("form"));if(AP&&AP._data&&AP._data.app&&AP._data.app.type){document.getElementsByTagName("html")[0].className+=" "+AP._data.app.type+"-form"}if(!K5()){q5();document.getElementsByTagName("html")[0].className+=" form-without-submit"}AP&&AP._data&&AP._data.app&&["modal","editor-right-panel"].includes(AP._data.app.type)&&(q5(),"modal"===AP._data.app.type&&card.parentElement.style.removeProperty("max-width")),window.currentFormSchema=t,window.currentFormData=e,window.currentFormUiSchema=r,n.render(B.createElement(W5,{onFormRef:e=>{window.formRef=e.current},formData:e,formSchema:t||window.formSchema,formUiSchema:r||window.formUiSchema})),document.getElementById("form-loading").style.display="none"}K5()?checkOrigin().then((e=>{const t=new URLSearchParams(frameData.app.context).toString(),r=new URLSearchParams(e+"&id="+B5());return r.set("context",t),fetch(formGetDataUrl+"?"+r.toString(),{method:"GET"})})).then(checkResponse).catch((e=>catchRejection(e,"Can't load saved settings"))).then((e=>{H5(e.formData,e.formSchema,e.formUiSchema)})).catch((()=>H5({}))):AP.getFormData((e=>{H5(e)})),window.renderForm=H5}();
112
+ `),oY.rippleVisible,dY,550,(({theme:e})=>e.transitions.easing.easeInOut),oY.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),oY.child,oY.childLeaving,fY,550,(({theme:e})=>e.transitions.easing.easeInOut),oY.childPulsate,pY,(({theme:e})=>e.transitions.easing.easeInOut)),vY=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiTouchRipple"}),{center:n=!1,classes:o={},className:a}=r,i=VB(r,aY),[s,l]=V.useState([]),c=V.useRef(0),u=V.useRef(null);V.useEffect((()=>{u.current&&(u.current(),u.current=null)}),[s]);const d=V.useRef(!1),f=pH(),p=V.useRef(null),m=V.useRef(null),h=V.useCallback((e=>{const{pulsate:t,rippleX:r,rippleY:n,rippleSize:a,cb:i}=e;l((e=>[...e,SP.jsx(hY,{classes:{ripple:EK(o.ripple,oY.ripple),rippleVisible:EK(o.rippleVisible,oY.rippleVisible),ripplePulsate:EK(o.ripplePulsate,oY.ripplePulsate),child:EK(o.child,oY.child),childLeaving:EK(o.childLeaving,oY.childLeaving),childPulsate:EK(o.childPulsate,oY.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:a},c.current)])),c.current+=1,u.current=i}),[o]),v=V.useCallback(((e={},t={},r=(()=>{}))=>{const{pulsate:o=!1,center:a=n||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&d.current)return void(d.current=!1);"touchstart"===(null==e?void 0:e.type)&&(d.current=!0);const s=i?null:m.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,v;if(a||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(r-l.top)}if(a)v=Math.sqrt((2*l.width**2+l.height**2)/3),v%2==0&&(v+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;v=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===p.current&&(p.current=()=>{h({pulsate:o,rippleX:c,rippleY:u,rippleSize:v,cb:r})},f.start(80,(()=>{p.current&&(p.current(),p.current=null)}))):h({pulsate:o,rippleX:c,rippleY:u,rippleSize:v,cb:r})}),[n,h,f]),y=V.useCallback((()=>{v({},{pulsate:!0})}),[v]),g=V.useCallback(((e,t)=>{if(f.clear(),"touchend"===(null==e?void 0:e.type)&&p.current)return p.current(),p.current=null,void f.start(0,(()=>{g(e,t)}));p.current=null,l((e=>e.length>0?e.slice(1):e)),u.current=t}),[f]);return V.useImperativeHandle(t,(()=>({pulsate:y,start:v,stop:g})),[y,v,g]),SP.jsx(mY,LB({className:EK(oY.root,o.root,a),ref:m},i,{children:SP.jsx(YQ,{component:null,exit:!0,children:s})}))}));var yY=vY;function gY(e){return jK("MuiButtonBase",e)}var bY=OK("MuiButtonBase",["root","disabled","focusVisible"]);const wY=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],SY=wQ("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${bY.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),xY=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiButtonBase"}),{action:n,centerRipple:o=!1,children:a,className:i,component:s="button",disabled:l=!1,disableRipple:c=!1,disableTouchRipple:u=!1,focusRipple:d=!1,LinkComponent:f="a",onBlur:p,onClick:m,onContextMenu:h,onDragLeave:v,onFocus:y,onFocusVisible:g,onKeyDown:b,onKeyUp:w,onMouseDown:S,onMouseLeave:x,onMouseUp:$,onTouchEnd:k,onTouchMove:_,onTouchStart:E,tabIndex:C=0,TouchRippleProps:P,touchRippleRef:j,type:O}=r,N=VB(r,wY),R=V.useRef(null),T=V.useRef(null),A=cH(T,j),{isFocusVisibleRef:I,onFocus:M,onBlur:F,ref:D}=xH(),[z,L]=V.useState(!1);l&&z&&L(!1),V.useImperativeHandle(n,(()=>({focusVisible:()=>{L(!0),R.current.focus()}})),[]);const[B,U]=V.useState(!1);V.useEffect((()=>{U(!0)}),[]);const W=B&&!c&&!l;function q(e,t,r=u){return lH((n=>{t&&t(n);return!r&&T.current&&T.current[e](n),!0}))}V.useEffect((()=>{z&&d&&!c&&B&&T.current.pulsate()}),[c,d,z,B]);const K=q("start",S),H=q("stop",h),G=q("stop",v),Q=q("stop",$),Y=q("stop",(e=>{z&&e.preventDefault(),x&&x(e)})),J=q("start",E),X=q("stop",k),Z=q("stop",_),ee=q("stop",(e=>{F(e),!1===I.current&&L(!1),p&&p(e)}),!1),te=lH((e=>{R.current||(R.current=e.currentTarget),M(e),!0===I.current&&(L(!0),g&&g(e)),y&&y(e)})),re=()=>{const e=R.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},ne=V.useRef(!1),oe=lH((e=>{d&&!ne.current&&z&&T.current&&" "===e.key&&(ne.current=!0,T.current.stop(e,(()=>{T.current.start(e)}))),e.target===e.currentTarget&&re()&&" "===e.key&&e.preventDefault(),b&&b(e),e.target===e.currentTarget&&re()&&"Enter"===e.key&&!l&&(e.preventDefault(),m&&m(e))})),ae=lH((e=>{d&&" "===e.key&&T.current&&z&&!e.defaultPrevented&&(ne.current=!1,T.current.stop(e,(()=>{T.current.pulsate(e)}))),w&&w(e),m&&e.target===e.currentTarget&&re()&&" "===e.key&&!e.defaultPrevented&&m(e)}));let ie=s;"button"===ie&&(N.href||N.to)&&(ie=f);const se={};"button"===ie?(se.type=void 0===O?"button":O,se.disabled=l):(N.href||N.to||(se.role="button"),l&&(se["aria-disabled"]=l));const le=cH(t,D,R),ce=LB({},r,{centerRipple:o,component:s,disabled:l,disableRipple:c,disableTouchRipple:u,focusRipple:d,tabIndex:C,focusVisible:z}),ue=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=_H({root:["root",t&&"disabled",r&&"focusVisible"]},gY,o);return r&&n&&(a.root+=` ${n}`),a})(ce);return SP.jsxs(SY,LB({as:ie,className:EK(ue.root,i),ownerState:ce,onBlur:ee,onClick:m,onContextMenu:H,onFocus:te,onKeyDown:oe,onKeyUp:ae,onMouseDown:K,onMouseLeave:Y,onMouseUp:Q,onDragLeave:G,onTouchEnd:X,onTouchMove:Z,onTouchStart:J,ref:le,tabIndex:l?-1:C,type:O},se,N,{children:[a,W?SP.jsx(yY,LB({ref:A,center:o},P)):null]}))}));var $Y=xY;function kY(e){return jK("MuiIconButton",e)}var _Y=OK("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);const EY=["edge","children","className","color","disabled","disableFocusRipple","size"],CY=wQ($Y,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"default"!==r.color&&t[`color${vq(r.color)}`],r.edge&&t[`edge${vq(r.edge)}`],t[`size${vq(r.size)}`]]}})((({theme:e,ownerState:t})=>LB({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:oG(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var r;const n=null==(r=(e.vars||e).palette)?void 0:r[t.color];return LB({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&LB({color:null==n?void 0:n.main},!t.disableRipple&&{"&:hover":LB({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:oG(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${_Y.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),PY=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiIconButton"}),{edge:n=!1,children:o,className:a,color:i="default",disabled:s=!1,disableFocusRipple:l=!1,size:c="medium"}=r,u=VB(r,EY),d=LB({},r,{edge:n,color:i,disabled:s,disableFocusRipple:l,size:c}),f=(e=>{const{classes:t,disabled:r,color:n,edge:o,size:a}=e;return _H({root:["root",r&&"disabled","default"!==n&&`color${vq(n)}`,o&&`edge${vq(o)}`,`size${vq(a)}`]},kY,t)})(d);return SP.jsx(CY,LB({className:EK(f.root,a),centerRipple:!0,focusRipple:!l,disabled:s,ref:t},u,{ownerState:d,children:o}))}));var jY=PY;function OY(e){return jK("MuiTypography",e)}OK("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const NY=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],RY=wQ("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${vq(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>LB({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),TY={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},AY={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},IY=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiTypography"}),n=(e=>AY[e]||e)(r.color),o=SK(LB({},r,{color:n})),{align:a="inherit",className:i,component:s,gutterBottom:l=!1,noWrap:c=!1,paragraph:u=!1,variant:d="body1",variantMapping:f=TY}=o,p=VB(o,NY),m=LB({},o,{align:a,color:n,className:i,component:s,gutterBottom:l,noWrap:c,paragraph:u,variant:d,variantMapping:f}),h=s||(u?"p":f[d]||TY[d])||"span",v=(e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:a,classes:i}=e;return _H({root:["root",a,"inherit"!==e.align&&`align${vq(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]},OY,i)})(m);return SP.jsx(RY,LB({as:h,ref:t,ownerState:m,className:EK(v.root,i)},p))}));var MY=IY;var FY=V.forwardRef((function(e,t){const{children:r,container:n,disablePortal:o=!1}=e,[a,i]=V.useState(null),s=cH(V.isValidElement(r)?r.ref:null,t);if(QK((()=>{o||i(function(e){return"function"==typeof e?e():e}(n)||document.body)}),[n,o]),QK((()=>{if(a&&!o)return nH(t,a),()=>{nH(t,null)}}),[t,a,o]),o){if(V.isValidElement(r)){const e={ref:s};return V.cloneElement(r,e)}return SP.jsx(V.Fragment,{children:r})}return SP.jsx(V.Fragment,{children:a?Yu.createPortal(r,a):a})}));const DY=["onChange","maxRows","minRows","style","value"];function zY(e){return parseInt(e,10)||0}const LY={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};const VY=V.forwardRef((function(e,t){const{onChange:r,maxRows:n,minRows:o=1,style:a,value:i}=e,s=VB(e,DY),{current:l}=V.useRef(null!=i),c=V.useRef(null),u=cH(t,c),d=V.useRef(null),f=V.useRef(null),p=V.useCallback((()=>{const t=c.current,r=rH(t).getComputedStyle(t);if("0px"===r.width)return{outerHeightStyle:0,overflowing:!1};const a=f.current;a.style.width=r.width,a.value=t.value||e.placeholder||"x","\n"===a.value.slice(-1)&&(a.value+=" ");const i=r.boxSizing,s=zY(r.paddingBottom)+zY(r.paddingTop),l=zY(r.borderBottomWidth)+zY(r.borderTopWidth),u=a.scrollHeight;a.value="x";const d=a.scrollHeight;let p=u;o&&(p=Math.max(Number(o)*d,p)),n&&(p=Math.min(Number(n)*d,p)),p=Math.max(p,d);return{outerHeightStyle:p+("border-box"===i?s+l:0),overflowing:Math.abs(p-u)<=1}}),[n,o,e.placeholder]),m=V.useCallback((()=>{const e=p();if(null==(t=e)||0===Object.keys(t).length||0===t.outerHeightStyle&&!t.overflowing)return;var t;const r=e.outerHeightStyle,n=c.current;d.current!==r&&(d.current=r,n.style.height=`${r}px`),n.style.overflow=e.overflowing?"hidden":""}),[p]);QK((()=>{const e=()=>{m()};const t=ZK(e),r=c.current,n=rH(r);let o;return n.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(o=new ResizeObserver(e),o.observe(r)),()=>{t.clear(),cancelAnimationFrame(undefined),n.removeEventListener("resize",t),o&&o.disconnect()}}),[p,m]),QK((()=>{m()}));return SP.jsxs(V.Fragment,{children:[SP.jsx("textarea",LB({value:i,onChange:e=>{l||m(),r&&r(e)},ref:u,rows:o,style:a},s)),SP.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:f,tabIndex:-1,style:LB({},LY,a,{paddingTop:0,paddingBottom:0})})]})}));var BY=VY;function UY({props:e,states:t,muiFormControl:r}){return t.reduce(((t,n)=>(t[n]=e[n],r&&void 0===e[n]&&(t[n]=r[n]),t)),{})}var WY=V.createContext(void 0);function qY(){return V.useContext(WY)}function KY(e){return SP.jsx(gK,LB({},e,{defaultTheme:VG,themeId:zB}))}function HY(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function GY(e,t=!1){return e&&(HY(e.value)&&""!==e.value||t&&HY(e.defaultValue)&&""!==e.defaultValue)}function QY(e){return jK("MuiInputBase",e)}var YY=OK("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);const JY=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],XY=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,"small"===r.size&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${vq(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},ZY=(e,t)=>{const{ownerState:r}=e;return[t.input,"small"===r.size&&t.inputSizeSmall,r.multiline&&t.inputMultiline,"search"===r.type&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},eJ=wQ("div",{name:"MuiInputBase",slot:"Root",overridesResolver:XY})((({theme:e,ownerState:t})=>LB({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${YY.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&LB({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),tJ=wQ("input",{name:"MuiInputBase",slot:"Input",overridesResolver:ZY})((({theme:e,ownerState:t})=>{const r="light"===e.palette.mode,n=LB({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5};return LB({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${YY.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${YY.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})})),rJ=SP.jsx(KY,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),nJ=V.forwardRef((function(e,t){var r;const n=kQ({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:a,autoFocus:i,className:s,components:l={},componentsProps:c={},defaultValue:u,disabled:d,disableInjectingGlobalStyles:f,endAdornment:p,fullWidth:m=!1,id:h,inputComponent:v="input",inputProps:y={},inputRef:g,maxRows:b,minRows:w,multiline:S=!1,name:x,onBlur:$,onChange:k,onClick:_,onFocus:E,onKeyDown:C,onKeyUp:P,placeholder:j,readOnly:O,renderSuffix:N,rows:R,slotProps:T={},slots:A={},startAdornment:I,type:M="text",value:F}=n,D=VB(n,JY),z=null!=y.value?y.value:F,{current:L}=V.useRef(null!=z),B=V.useRef(),U=V.useCallback((e=>{}),[]),W=cH(B,g,y.ref,U),[q,K]=V.useState(!1),H=qY(),G=UY({props:n,muiFormControl:H,states:["color","disabled","error","hiddenLabel","size","required","filled"]});G.focused=H?H.focused:q,V.useEffect((()=>{!H&&d&&q&&(K(!1),$&&$())}),[H,d,q,$]);const Q=H&&H.onFilled,Y=H&&H.onEmpty,J=V.useCallback((e=>{GY(e)?Q&&Q():Y&&Y()}),[Q,Y]);QK((()=>{L&&J({value:z})}),[z,J,L]);V.useEffect((()=>{J(B.current)}),[]);let X=v,Z=y;S&&"input"===X&&(Z=LB(R?{type:void 0,minRows:R,maxRows:R}:{type:void 0,maxRows:b,minRows:w},Z),X=BY);V.useEffect((()=>{H&&H.setAdornedStart(Boolean(I))}),[H,I]);const ee=LB({},n,{color:G.color||"primary",disabled:G.disabled,endAdornment:p,error:G.error,focused:G.focused,formControl:H,fullWidth:m,hiddenLabel:G.hiddenLabel,multiline:S,size:G.size,startAdornment:I,type:M}),te=(e=>{const{classes:t,color:r,disabled:n,error:o,endAdornment:a,focused:i,formControl:s,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:d,size:f,startAdornment:p,type:m}=e;return _H({root:["root",`color${vq(r)}`,n&&"disabled",o&&"error",l&&"fullWidth",i&&"focused",s&&"formControl",f&&"medium"!==f&&`size${vq(f)}`,u&&"multiline",p&&"adornedStart",a&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",n&&"disabled","search"===m&&"inputTypeSearch",u&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",p&&"inputAdornedStart",a&&"inputAdornedEnd",d&&"readOnly"]},QY,t)})(ee),re=A.root||l.Root||eJ,ne=T.root||c.root||{},oe=A.input||l.Input||tJ;return Z=LB({},Z,null!=(r=T.input)?r:c.input),SP.jsxs(V.Fragment,{children:[!f&&rJ,SP.jsxs(re,LB({},ne,!EH(re)&&{ownerState:LB({},ee,ne.ownerState)},{ref:t,onClick:e=>{B.current&&e.currentTarget===e.target&&B.current.focus(),_&&_(e)}},D,{className:EK(te.root,ne.className,s,O&&"MuiInputBase-readOnly"),children:[I,SP.jsx(WY.Provider,{value:null,children:SP.jsx(oe,LB({ownerState:ee,"aria-invalid":G.error,"aria-describedby":o,autoComplete:a,autoFocus:i,defaultValue:u,disabled:G.disabled,id:h,onAnimationStart:e=>{J("mui-auto-fill-cancel"===e.animationName?B.current:{value:"x"})},name:x,placeholder:j,readOnly:O,required:G.required,rows:R,value:z,onKeyDown:C,onKeyUp:P,type:M},Z,!EH(oe)&&{as:X,ownerState:LB({},ee,Z.ownerState)},{ref:W,className:EK(te.input,Z.className,O&&"MuiInputBase-readOnly"),onBlur:e=>{$&&$(e),y.onBlur&&y.onBlur(e),H&&H.onBlur?H.onBlur(e):K(!1)},onChange:(e,...t)=>{if(!L){const t=e.target||B.current;if(null==t)throw new Error(FB(1));J({value:t.value})}y.onChange&&y.onChange(e,...t),k&&k(e,...t)},onFocus:e=>{G.disabled?e.stopPropagation():(E&&E(e),y.onFocus&&y.onFocus(e),H&&H.onFocus?H.onFocus(e):K(!0))}}))}),p,N?N(LB({},G,{startAdornment:I})):null]}))]})}));var oJ=nJ;function aJ(e){return jK("MuiInput",e)}var iJ=LB({},YY,OK("MuiInput",["root","underline","input"]));function sJ(e){return jK("MuiOutlinedInput",e)}var lJ=LB({},YY,OK("MuiOutlinedInput",["root","notchedOutline","input"]));function cJ(e){return jK("MuiFilledInput",e)}var uJ=LB({},YY,OK("MuiFilledInput",["root","underline","input"])),dJ=OQ(SP.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");const fJ=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],pJ={entering:{opacity:1},entered:{opacity:1}},mJ=V.forwardRef((function(e,t){const r=BG(),n={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:i,easing:s,in:l,onEnter:c,onEntered:u,onEntering:d,onExit:f,onExited:p,onExiting:m,style:h,timeout:v=n,TransitionComponent:y=WQ}=e,g=VB(e,fJ),b=V.useRef(null),w=cH(b,i.ref,t),S=e=>t=>{if(e){const r=b.current;void 0===t?e(r):e(r,t)}},x=S(d),$=S(((e,t)=>{JQ(e);const n=XQ({style:h,timeout:v,easing:s},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),c&&c(e,t)})),k=S(u),_=S(m),E=S((e=>{const t=XQ({style:h,timeout:v,easing:s},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),f&&f(e)})),C=S(p);return SP.jsx(y,LB({appear:a,in:l,nodeRef:b,onEnter:$,onEntered:k,onEntering:x,onExit:E,onExited:C,onExiting:_,addEndListener:e=>{o&&o(b.current,e)},timeout:v},g,{children:(e,t)=>V.cloneElement(i,LB({style:LB({opacity:0,visibility:"exited"!==e||l?void 0:"hidden"},pJ[e],h,i.props.style),ref:w},t))}))}));var hJ=mJ;function vJ(e){return jK("MuiBackdrop",e)}OK("MuiBackdrop",["root","invisible"]);const yJ=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],gJ=wQ("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})((({ownerState:e})=>LB({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),bJ=V.forwardRef((function(e,t){var r,n,o;const a=kQ({props:e,name:"MuiBackdrop"}),{children:i,className:s,component:l="div",components:c={},componentsProps:u={},invisible:d=!1,open:f,slotProps:p={},slots:m={},TransitionComponent:h=hJ,transitionDuration:v}=a,y=VB(a,yJ),g=LB({},a,{component:l,invisible:d}),b=(e=>{const{classes:t,invisible:r}=e;return _H({root:["root",r&&"invisible"]},vJ,t)})(g),w=null!=(r=p.root)?r:u.root;return SP.jsx(h,LB({in:f,timeout:v},y,{children:SP.jsx(gJ,LB({"aria-hidden":!0},w,{as:null!=(n=null!=(o=m.root)?o:c.Root)?n:l,className:EK(b.root,s,null==w?void 0:w.className),ownerState:LB({},g,null==w?void 0:w.ownerState),classes:b,ref:t,children:i}))}))}));var wJ=bJ;var SJ=OK("MuiBox",["root"]);const xJ=LG(),$J=function(e={}){const{themeId:t,defaultTheme:r,defaultClassName:n="MuiBox-root",generateClassName:o}=e,a=XW("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(uK),i=V.forwardRef((function(e,i){const s=yK(r),l=SK(e),{className:c,component:u="div"}=l,d=VB(l,CK);return SP.jsx(a,LB({as:u,ref:i,className:EK(c,o?o(n):n),theme:t&&s[t]||s},d))}));return i}({themeId:zB,defaultTheme:xJ,defaultClassName:SJ.root,generateClassName:kK.generate});var kJ=$J;function _J(e){return jK("MuiButton",e)}var EJ=OK("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var CJ=V.createContext({});var PJ=V.createContext(void 0);const jJ=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],OJ=e=>LB({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),NJ=wQ($Y,{shouldForwardProp:e=>bQ(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${vq(r.color)}`],t[`size${vq(r.size)}`],t[`${r.variant}Size${vq(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var r,n;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],a="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return LB({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":LB({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:oG(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:oG(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:oG(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":LB({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${EJ.focusVisible}`]:LB({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${EJ.disabled}`]:LB({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${oG(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(r=(n=e.palette).getContrastText)?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${EJ.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${EJ.disabled}`]:{boxShadow:"none"}})),RJ=wQ("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${vq(r.size)}`]]}})((({ownerState:e})=>LB({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},OJ(e)))),TJ=wQ("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${vq(r.size)}`]]}})((({ownerState:e})=>LB({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},OJ(e)))),AJ=V.forwardRef((function(e,t){const r=V.useContext(CJ),n=V.useContext(PJ),o=kQ({props:HK(r,e),name:"MuiButton"}),{children:a,color:i="primary",component:s="button",className:l,disabled:c=!1,disableElevation:u=!1,disableFocusRipple:d=!1,endIcon:f,focusVisibleClassName:p,fullWidth:m=!1,size:h="medium",startIcon:v,type:y,variant:g="text"}=o,b=VB(o,jJ),w=LB({},o,{color:i,component:s,disabled:c,disableElevation:u,disableFocusRipple:d,fullWidth:m,size:h,type:y,variant:g}),S=(e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:a,classes:i}=e;return LB({},i,_H({root:["root",a,`${a}${vq(t)}`,`size${vq(o)}`,`${a}Size${vq(o)}`,`color${vq(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${vq(o)}`],endIcon:["icon","endIcon",`iconSize${vq(o)}`]},_J,i))})(w),x=v&&SP.jsx(RJ,{className:S.startIcon,ownerState:w,children:v}),$=f&&SP.jsx(TJ,{className:S.endIcon,ownerState:w,children:f}),k=n||"";return SP.jsxs(NJ,LB({ownerState:w,className:EK(r.className,S.root,l,k),component:s,disabled:c,focusRipple:!d,focusVisibleClassName:EK(S.focusVisible,p),ref:t,type:y},b,{classes:S,children:[x,a,$]}))}));var IJ=AJ;function MJ(e){return jK("PrivateSwitchBase",e)}OK("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const FJ=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],DJ=wQ($Y)((({ownerState:e})=>LB({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),zJ=wQ("input",{shouldForwardProp:bQ})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),LJ=V.forwardRef((function(e,t){const{autoFocus:r,checked:n,checkedIcon:o,className:a,defaultChecked:i,disabled:s,disableFocusRipple:l=!1,edge:c=!1,icon:u,id:d,inputProps:f,inputRef:p,name:m,onBlur:h,onChange:v,onFocus:y,readOnly:g,required:b=!1,tabIndex:w,type:S,value:x}=e,$=VB(e,FJ),[k,_]=sH({controlled:n,default:Boolean(i),name:"SwitchBase",state:"checked"}),E=qY();let C=s;E&&void 0===C&&(C=E.disabled);const P="checkbox"===S||"radio"===S,j=LB({},e,{checked:k,disabled:C,disableFocusRipple:l,edge:c}),O=(e=>{const{classes:t,checked:r,disabled:n,edge:o}=e;return _H({root:["root",r&&"checked",n&&"disabled",o&&`edge${vq(o)}`],input:["input"]},MJ,t)})(j);return SP.jsxs(DJ,LB({component:"span",className:EK(O.root,a),centerRipple:!0,focusRipple:!l,disabled:C,tabIndex:null,role:void 0,onFocus:e=>{y&&y(e),E&&E.onFocus&&E.onFocus(e)},onBlur:e=>{h&&h(e),E&&E.onBlur&&E.onBlur(e)},ownerState:j,ref:t},$,{children:[SP.jsx(zJ,LB({autoFocus:r,checked:n,defaultChecked:i,className:O.input,disabled:C,id:P?d:void 0,name:m,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;_(t),v&&v(e,t)},readOnly:g,ref:p,required:b,ownerState:j,tabIndex:w,type:S},"checkbox"===S&&void 0===x?{}:{value:x},f)),k?o:u]}))}));var VJ=LJ,BJ=OQ(SP.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),UJ=OQ(SP.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),WJ=OQ(SP.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function qJ(e){return jK("MuiCheckbox",e)}var KJ=OK("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]);const HJ=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],GJ=wQ(VJ,{shouldForwardProp:e=>bQ(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.indeterminate&&t.indeterminate,t[`size${vq(r.size)}`],"default"!==r.color&&t[`color${vq(r.color)}`]]}})((({theme:e,ownerState:t})=>LB({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:oG("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${KJ.checked}, &.${KJ.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${KJ.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),QJ=SP.jsx(UJ,{}),YJ=SP.jsx(BJ,{}),JJ=SP.jsx(WJ,{}),XJ=V.forwardRef((function(e,t){var r,n;const o=kQ({props:e,name:"MuiCheckbox"}),{checkedIcon:a=QJ,color:i="primary",icon:s=YJ,indeterminate:l=!1,indeterminateIcon:c=JJ,inputProps:u,size:d="medium",className:f}=o,p=VB(o,HJ),m=l?c:s,h=l?c:a,v=LB({},o,{color:i,indeterminate:l,size:d}),y=(e=>{const{classes:t,indeterminate:r,color:n,size:o}=e;return LB({},t,_H({root:["root",r&&"indeterminate",`color${vq(n)}`,`size${vq(o)}`]},qJ,t))})(v);return SP.jsx(GJ,LB({type:"checkbox",inputProps:LB({"data-indeterminate":l},u),icon:V.cloneElement(m,{fontSize:null!=(r=m.props.fontSize)?r:d}),checkedIcon:V.cloneElement(h,{fontSize:null!=(n=h.props.fontSize)?n:d}),ownerState:v,ref:t,className:EK(y.root,f)},p,{classes:y}))}));var ZJ=XJ;function eX(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function tX(e){return parseInt(rH(e).getComputedStyle(e).paddingRight,10)||0}function rX(e,t,r,n,o){const a=[t,r,...n];[].forEach.call(e.children,(e=>{const t=-1===a.indexOf(e),r=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&eX(e,o)}))}function nX(e,t){let r=-1;return e.some(((e,n)=>!!t(e)&&(r=n,!0))),r}function oX(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(function(e){const t=tH(e);return t.body===e?rH(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){const e=$H(tH(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${tX(n)+e}px`;const t=tH(n).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${tX(t)+e}px`}))}let e;if(n.parentNode instanceof DocumentFragment)e=tH(n).body;else{const t=n.parentElement,r=rH(n);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{r.forEach((({value:e,el:t,property:r})=>{e?t.style.setProperty(r,e):t.style.removeProperty(r)}))}}const aX=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function iX(e){const t=[],r=[];return Array.from(e.querySelectorAll(aX)).forEach(((e,n)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e))}(e)&&(0===o?t.push(e):r.push({documentOrder:n,tabIndex:o,node:e}))})),r.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function sX(){return!0}function lX(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:a=iX,isEnabled:i=sX,open:s}=e,l=V.useRef(!1),c=V.useRef(null),u=V.useRef(null),d=V.useRef(null),f=V.useRef(null),p=V.useRef(!1),m=V.useRef(null),h=cH(t.ref,m),v=V.useRef(null);V.useEffect((()=>{s&&m.current&&(p.current=!r)}),[r,s]),V.useEffect((()=>{if(!s||!m.current)return;const e=tH(m.current);return m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex","-1"),p.current&&m.current.focus()),()=>{o||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}}),[s]),V.useEffect((()=>{if(!s||!m.current)return;const e=tH(m.current),t=t=>{v.current=t,!n&&i()&&"Tab"===t.key&&e.activeElement===m.current&&t.shiftKey&&(l.current=!0,u.current&&u.current.focus())},r=()=>{const t=m.current;if(null===t)return;if(!e.hasFocus()||!i()||l.current)return void(l.current=!1);if(t.contains(e.activeElement))return;if(n&&e.activeElement!==c.current&&e.activeElement!==u.current)return;if(e.activeElement!==f.current)f.current=null;else if(null!==f.current)return;if(!p.current)return;let r=[];if(e.activeElement!==c.current&&e.activeElement!==u.current||(r=a(m.current)),r.length>0){var o,s;const e=Boolean((null==(o=v.current)?void 0:o.shiftKey)&&"Tab"===(null==(s=v.current)?void 0:s.key)),t=r[0],n=r[r.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener("focusin",r),e.addEventListener("keydown",t,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&r()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",r),e.removeEventListener("keydown",t,!0)}}),[r,n,o,i,s,a]);const y=e=>{null===d.current&&(d.current=e.relatedTarget),p.current=!0};return SP.jsxs(V.Fragment,{children:[SP.jsx("div",{tabIndex:s?0:-1,onFocus:y,ref:c,"data-testid":"sentinelStart"}),V.cloneElement(t,{ref:h,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),p.current=!0,f.current=e.target;const r=t.props.onFocus;r&&r(e)}}),SP.jsx("div",{tabIndex:s?0:-1,onFocus:y,ref:u,"data-testid":"sentinelEnd"})]})}const cX=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&eX(e.modalRef,!1);const n=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);rX(t,e.mount,e.modalRef,n,!0);const o=nX(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r)}mount(e,t){const r=nX(this.containers,(t=>-1!==t.modals.indexOf(e))),n=this.containers[r];n.restore||(n.restore=oX(n,t))}remove(e,t=!0){const r=this.modals.indexOf(e);if(-1===r)return r;const n=nX(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[n];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&eX(e.modalRef,t),rX(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&eX(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function uX(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,manager:o=cX,closeAfterTransition:a=!1,onTransitionEnter:i,onTransitionExited:s,children:l,onClose:c,open:u,rootRef:d}=e,f=V.useRef({}),p=V.useRef(null),m=V.useRef(null),h=cH(m,d),[v,y]=V.useState(!u),g=function(e){return!!e&&e.props.hasOwnProperty("in")}(l);let b=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(b=!1);const w=()=>(f.current.modalRef=m.current,f.current.mount=p.current,f.current),S=()=>{o.mount(w(),{disableScrollLock:n}),m.current&&(m.current.scrollTop=0)},x=lH((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||tH(p.current).body;o.add(w(),e),m.current&&S()})),$=V.useCallback((()=>o.isTopModal(w())),[o]),k=lH((e=>{p.current=e,e&&(u&&$()?S():m.current&&eX(m.current,b))})),_=V.useCallback((()=>{o.remove(w(),b)}),[b,o]);V.useEffect((()=>()=>{_()}),[_]),V.useEffect((()=>{u?x():g&&a||_()}),[u,_,g,a,x]);const E=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),"Escape"===t.key&&229!==t.which&&$()&&(r||(t.stopPropagation(),c&&c(t,"escapeKeyDown")))},C=e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.target===t.currentTarget&&c&&c(t,"backdropClick")};return{getRootProps:(t={})=>{const r=CH(e);delete r.onTransitionEnter,delete r.onTransitionExited;const n=LB({},r,t);return LB({role:"presentation"},n,{onKeyDown:E(n),ref:h})},getBackdropProps:(e={})=>LB({"aria-hidden":!0},e,{onClick:C(e),open:u}),getTransitionProps:()=>({onEnter:XK((()=>{y(!1),i&&i()}),null==l?void 0:l.props.onEnter),onExited:XK((()=>{y(!0),s&&s(),a&&_()}),null==l?void 0:l.props.onExited)}),rootRef:h,portalRef:k,isTopModal:$,exited:v,hasTransition:g}}function dX(e){return jK("MuiModal",e)}OK("MuiModal",["root","hidden","backdrop"]);const fX=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],pX=wQ("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})((({theme:e,ownerState:t})=>LB({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),mX=wQ(wJ,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),hX=V.forwardRef((function(e,t){var r,n,o,a,i,s;const l=kQ({name:"MuiModal",props:e}),{BackdropComponent:c=mX,BackdropProps:u,className:d,closeAfterTransition:f=!1,children:p,container:m,component:h,components:v={},componentsProps:y={},disableAutoFocus:g=!1,disableEnforceFocus:b=!1,disableEscapeKeyDown:w=!1,disablePortal:S=!1,disableRestoreFocus:x=!1,disableScrollLock:$=!1,hideBackdrop:k=!1,keepMounted:_=!1,onBackdropClick:E,open:C,slotProps:P,slots:j}=l,O=VB(l,fX),N=LB({},l,{closeAfterTransition:f,disableAutoFocus:g,disableEnforceFocus:b,disableEscapeKeyDown:w,disablePortal:S,disableRestoreFocus:x,disableScrollLock:$,hideBackdrop:k,keepMounted:_}),{getRootProps:R,getBackdropProps:T,getTransitionProps:A,portalRef:I,isTopModal:M,exited:F,hasTransition:D}=uX(LB({},N,{rootRef:t})),z=LB({},N,{exited:F}),L=(e=>{const{open:t,exited:r,classes:n}=e;return _H({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},dX,n)})(z),B={};if(void 0===p.props.tabIndex&&(B.tabIndex="-1"),D){const{onEnter:e,onExited:t}=A();B.onEnter=e,B.onExited=t}const U=null!=(r=null!=(n=null==j?void 0:j.root)?n:v.Root)?r:pX,W=null!=(o=null!=(a=null==j?void 0:j.backdrop)?a:v.Backdrop)?o:c,q=null!=(i=null==P?void 0:P.root)?i:y.root,K=null!=(s=null==P?void 0:P.backdrop)?s:y.backdrop,H=OH({elementType:U,externalSlotProps:q,externalForwardedProps:O,getSlotProps:R,additionalProps:{ref:t,as:h},ownerState:z,className:EK(d,null==q?void 0:q.className,null==L?void 0:L.root,!z.open&&z.exited&&(null==L?void 0:L.hidden))}),G=OH({elementType:W,externalSlotProps:K,additionalProps:u,getSlotProps:e=>T(LB({},e,{onClick:t=>{E&&E(t),null!=e&&e.onClick&&e.onClick(t)}})),className:EK(null==K?void 0:K.className,null==u?void 0:u.className,null==L?void 0:L.backdrop),ownerState:z});return _||C||D&&!F?SP.jsx(FY,{ref:I,container:m,disablePortal:S,children:SP.jsxs(U,LB({},H,{children:[!k&&c?SP.jsx(W,LB({},G)):null,SP.jsx(lX,{disableEnforceFocus:b,disableAutoFocus:g,disableRestoreFocus:x,isEnabled:M,open:C,children:V.cloneElement(p,B)})]}))}):null}));var vX=hX;function yX(e){return jK("MuiDivider",e)}var gX=OK("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const bX=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],wX=wQ("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,"vertical"===r.orientation&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&"vertical"===r.orientation&&t.withChildrenVertical,"right"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignRight,"left"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>LB({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:oG(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>LB({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>LB({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}})),(({theme:e,ownerState:t})=>LB({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}})),(({ownerState:e})=>LB({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),SX=wQ("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,"vertical"===r.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>LB({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),xX=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiDivider"}),{absolute:n=!1,children:o,className:a,component:i=(o?"div":"hr"),flexItem:s=!1,light:l=!1,orientation:c="horizontal",role:u=("hr"!==i?"separator":void 0),textAlign:d="center",variant:f="fullWidth"}=r,p=VB(r,bX),m=LB({},r,{absolute:n,component:i,flexItem:s,light:l,orientation:c,role:u,textAlign:d,variant:f}),h=(e=>{const{absolute:t,children:r,classes:n,flexItem:o,light:a,orientation:i,textAlign:s,variant:l}=e;return _H({root:["root",t&&"absolute",l,a&&"light","vertical"===i&&"vertical",o&&"flexItem",r&&"withChildren",r&&"vertical"===i&&"withChildrenVertical","right"===s&&"vertical"!==i&&"textAlignRight","left"===s&&"vertical"!==i&&"textAlignLeft"],wrapper:["wrapper","vertical"===i&&"wrapperVertical"]},yX,n)})(m);return SP.jsx(wX,LB({as:i,className:EK(h.root,a),role:u,ref:t,ownerState:m},p,{children:o?SP.jsx(SX,{className:h.wrapper,ownerState:m,children:o}):null}))}));xX.muiSkipListHighlight=!0;var $X=xX;const kX=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],_X=wQ(eJ,{shouldForwardProp:e=>bQ(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...XY(e,t),!r.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{var r;const n="light"===e.palette.mode,o=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",i=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return LB({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a,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:i,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a}},[`&.${uJ.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a},[`&.${uJ.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(r=(e.vars||e).palette[t.color||"primary"])?void 0:r.main}`,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"},[`&.${uJ.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${uJ.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})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${uJ.disabled}, .${uJ.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${uJ.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&LB({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9}))})),EX=wQ(tJ,{name:"MuiFilledInput",slot:"Input",overridesResolver:ZY})((({theme:e,ownerState:t})=>LB({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?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"}}},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}))),CX=V.forwardRef((function(e,t){var r,n,o,a;const i=kQ({props:e,name:"MuiFilledInput"}),{components:s={},componentsProps:l,fullWidth:c=!1,inputComponent:u="input",multiline:d=!1,slotProps:f,slots:p={},type:m="text"}=i,h=VB(i,kX),v=LB({},i,{fullWidth:c,inputComponent:u,multiline:d,type:m}),y=(e=>{const{classes:t,disableUnderline:r}=e;return LB({},t,_H({root:["root",!r&&"underline"],input:["input"]},cJ,t))})(i),g={root:{ownerState:v},input:{ownerState:v}},b=(null!=f?f:l)?nq(g,null!=f?f:l):g,w=null!=(r=null!=(n=p.root)?n:s.Root)?r:_X,S=null!=(o=null!=(a=p.input)?a:s.Input)?o:EX;return SP.jsx(oJ,LB({slots:{root:w,input:S},componentsProps:b,fullWidth:c,inputComponent:u,multiline:d,ref:t,type:m},h,{classes:y}))}));CX.muiName="Input";var PX=CX;function jX(e){return jK("MuiFormControl",e)}OK("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const OX=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],NX=wQ("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>LB({},t.root,t[`margin${vq(e.margin)}`],e.fullWidth&&t.fullWidth)})((({ownerState:e})=>LB({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"}))),RX=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiFormControl"}),{children:n,className:o,color:a="primary",component:i="div",disabled:s=!1,error:l=!1,focused:c,fullWidth:u=!1,hiddenLabel:d=!1,margin:f="none",required:p=!1,size:m="medium",variant:h="outlined"}=r,v=VB(r,OX),y=LB({},r,{color:a,component:i,disabled:s,error:l,fullWidth:u,hiddenLabel:d,margin:f,required:p,size:m,variant:h}),g=(e=>{const{classes:t,margin:r,fullWidth:n}=e;return _H({root:["root","none"!==r&&`margin${vq(r)}`,n&&"fullWidth"]},jX,t)})(y),[b,w]=V.useState((()=>{let e=!1;return n&&V.Children.forEach(n,(t=>{if(!eH(t,["Input","Select"]))return;const r=eH(t,["Select"])?t.props.input:t;r&&r.props.startAdornment&&(e=!0)})),e})),[S,x]=V.useState((()=>{let e=!1;return n&&V.Children.forEach(n,(t=>{eH(t,["Input","Select"])&&(GY(t.props,!0)||GY(t.props.inputProps,!0))&&(e=!0)})),e})),[$,k]=V.useState(!1);s&&$&&k(!1);const _=void 0===c||s?$:c;let E;const C=V.useMemo((()=>({adornedStart:b,setAdornedStart:w,color:a,disabled:s,error:l,filled:S,focused:_,fullWidth:u,hiddenLabel:d,size:m,onBlur:()=>{k(!1)},onEmpty:()=>{x(!1)},onFilled:()=>{x(!0)},onFocus:()=>{k(!0)},registerEffect:E,required:p,variant:h})),[b,a,s,l,S,_,u,d,E,p,m,h]);return SP.jsx(WY.Provider,{value:C,children:SP.jsx(NX,LB({as:i,ownerState:y,className:EK(g.root,o),ref:t},v,{children:n}))})}));var TX=RX;const AX=function(e={}){const{createStyledComponent:t=HH,useThemeProps:r=GH,componentName:n="MuiStack"}=e,o=t(YH),a=V.forwardRef((function(e,t){const a=SK(r(e)),{component:i="div",direction:s="column",spacing:l=0,divider:c,children:u,className:d,useFlexGap:f=!1}=a,p=VB(a,qH),m={direction:s,spacing:l,useFlexGap:f},h=_H({root:["root"]},(e=>jK(n,e)),{});return SP.jsx(o,LB({as:i,ownerState:m,ref:t,className:EK(h.root,d)},p,{children:c?QH(u,c):u}))}));return a}({createStyledComponent:wQ("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>kQ({props:e,name:"MuiStack"})});var IX=AX;function MX(e){return jK("MuiFormControlLabel",e)}var FX=OK("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);const DX=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],zX=wQ("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${FX.label}`]:t.label},t.root,t[`labelPlacement${vq(r.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>LB({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${FX.disabled}`]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${FX.label}`]:{[`&.${FX.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),LX=wQ("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${FX.error}`]:{color:(e.vars||e).palette.error.main}}))),VX=V.forwardRef((function(e,t){var r,n;const o=kQ({props:e,name:"MuiFormControlLabel"}),{className:a,componentsProps:i={},control:s,disabled:l,disableTypography:c,label:u,labelPlacement:d="end",required:f,slotProps:p={}}=o,m=VB(o,DX),h=qY(),v=null!=(r=null!=l?l:s.props.disabled)?r:null==h?void 0:h.disabled,y=null!=f?f:s.props.required,g={disabled:v,required:y};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===s.props[e]&&void 0!==o[e]&&(g[e]=o[e])}));const b=UY({props:o,muiFormControl:h,states:["error"]}),w=LB({},o,{disabled:v,labelPlacement:d,required:y,error:b.error}),S=(e=>{const{classes:t,disabled:r,labelPlacement:n,error:o,required:a}=e;return _H({root:["root",r&&"disabled",`labelPlacement${vq(n)}`,o&&"error",a&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",o&&"error"]},MX,t)})(w),x=null!=(n=p.typography)?n:i.typography;let $=u;return null==$||$.type===MY||c||($=SP.jsx(MY,LB({component:"span"},x,{className:EK(S.label,null==x?void 0:x.className),children:$}))),SP.jsxs(zX,LB({className:EK(S.root,a),ownerState:w,ref:t},m,{children:[V.cloneElement(s,g),y?SP.jsxs(IX,{display:"block",children:[$,SP.jsxs(LX,{ownerState:w,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]}):$]}))}));var BX=VX;function UX(e){return jK("MuiFormGroup",e)}OK("MuiFormGroup",["root","row","error"]);const WX=["className","row"],qX=wQ("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.row&&t.row]}})((({ownerState:e})=>LB({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"}))),KX=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiFormGroup"}),{className:n,row:o=!1}=r,a=VB(r,WX),i=LB({},r,{row:o,error:UY({props:r,muiFormControl:qY(),states:["error"]}).error}),s=(e=>{const{classes:t,row:r,error:n}=e;return _H({root:["root",r&&"row",n&&"error"]},UX,t)})(i);return SP.jsx(qX,LB({className:EK(s.root,n),ownerState:i,ref:t},a))}));var HX=KX;function GX(e){return jK("MuiFormHelperText",e)}var QX,YX=OK("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);const JX=["children","className","component","disabled","error","filled","focused","margin","required","variant"],XX=wQ("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.size&&t[`size${vq(r.size)}`],r.contained&&t.contained,r.filled&&t.filled]}})((({theme:e,ownerState:t})=>LB({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${YX.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${YX.error}`]:{color:(e.vars||e).palette.error.main}},"small"===t.size&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14}))),ZX=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiFormHelperText"}),{children:n,className:o,component:a="p"}=r,i=VB(r,JX),s=UY({props:r,muiFormControl:qY(),states:["variant","size","disabled","error","filled","focused","required"]}),l=LB({},r,{component:a,contained:"filled"===s.variant||"outlined"===s.variant,variant:s.variant,size:s.size,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),c=(e=>{const{classes:t,contained:r,size:n,disabled:o,error:a,filled:i,focused:s,required:l}=e;return _H({root:["root",o&&"disabled",a&&"error",n&&`size${vq(n)}`,r&&"contained",s&&"focused",i&&"filled",l&&"required"]},GX,t)})(l);return SP.jsx(XX,LB({as:a,ownerState:l,className:EK(c.root,o),ref:t},i,{children:" "===n?QX||(QX=SP.jsx("span",{className:"notranslate",children:"​"})):n}))}));var eZ=ZX;function tZ(e){return jK("MuiFormLabel",e)}var rZ=OK("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);const nZ=["children","className","color","component","disabled","error","filled","focused","required"],oZ=wQ("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>LB({},t.root,"secondary"===e.color&&t.colorSecondary,e.filled&&t.filled)})((({theme:e,ownerState:t})=>LB({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${rZ.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${rZ.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${rZ.error}`]:{color:(e.vars||e).palette.error.main}}))),aZ=wQ("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${rZ.error}`]:{color:(e.vars||e).palette.error.main}}))),iZ=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiFormLabel"}),{children:n,className:o,component:a="label"}=r,i=VB(r,nZ),s=UY({props:r,muiFormControl:qY(),states:["color","required","focused","disabled","error","filled"]}),l=LB({},r,{color:s.color||"primary",component:a,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),c=(e=>{const{classes:t,color:r,focused:n,disabled:o,error:a,filled:i,required:s}=e;return _H({root:["root",`color${vq(r)}`,o&&"disabled",a&&"error",i&&"filled",n&&"focused",s&&"required"],asterisk:["asterisk",a&&"error"]},tZ,t)})(l);return SP.jsxs(oZ,LB({as:a,ownerState:l,className:EK(c.root,o),ref:t},i,{children:[n,s.required&&SP.jsxs(aZ,{ownerState:l,"aria-hidden":!0,className:c.asterisk,children:[" ","*"]})]}))}));var sZ=iZ;var lZ=V.createContext();function cZ(e){return jK("MuiGrid",e)}const uZ=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],dZ=OK("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...uZ.map((e=>`grid-xs-${e}`)),...uZ.map((e=>`grid-sm-${e}`)),...uZ.map((e=>`grid-md-${e}`)),...uZ.map((e=>`grid-lg-${e}`)),...uZ.map((e=>`grid-xl-${e}`))]),fZ=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function pZ(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function mZ({breakpoints:e,values:t}){let r="";Object.keys(t).forEach((e=>{""===r&&0!==t[e]&&(r=e)}));const n=Object.keys(e).sort(((t,r)=>e[t]-e[r]));return n.slice(0,n.indexOf(r))}const hZ=wQ("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{container:n,direction:o,item:a,spacing:i,wrap:s,zeroMinWidth:l,breakpoints:c}=r;let u=[];n&&(u=function(e,t,r={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[r[`spacing-xs-${String(e)}`]];const n=[];return t.forEach((t=>{const o=e[t];Number(o)>0&&n.push(r[`spacing-${t}-${String(o)}`])})),n}(i,c,t));const d=[];return c.forEach((e=>{const n=r[e];n&&d.push(t[`grid-${e}-${String(n)}`])})),[t.root,n&&t.container,a&&t.item,l&&t.zeroMinWidth,...u,"row"!==o&&t[`direction-xs-${String(o)}`],"wrap"!==s&&t[`wrap-xs-${String(s)}`],...d]}})((({ownerState:e})=>LB({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap})),(function({theme:e,ownerState:t}){return fq({theme:e},hq({values:t.direction,breakpoints:e.breakpoints.values}),(e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${dZ.item}`]={maxWidth:"none"}),t}))}),(function({theme:e,ownerState:t}){const{container:r,rowSpacing:n}=t;let o={};if(r&&0!==n){const t=hq({values:n,breakpoints:e.breakpoints.values});let r;"object"==typeof t&&(r=mZ({breakpoints:e.breakpoints.values,values:t})),o=fq({theme:e},t,((t,n)=>{var o;const a=e.spacing(t);return"0px"!==a?{marginTop:`-${pZ(a)}`,[`& > .${dZ.item}`]:{paddingTop:pZ(a)}}:null!=(o=r)&&o.includes(n)?{}:{marginTop:0,[`& > .${dZ.item}`]:{paddingTop:0}}}))}return o}),(function({theme:e,ownerState:t}){const{container:r,columnSpacing:n}=t;let o={};if(r&&0!==n){const t=hq({values:n,breakpoints:e.breakpoints.values});let r;"object"==typeof t&&(r=mZ({breakpoints:e.breakpoints.values,values:t})),o=fq({theme:e},t,((t,n)=>{var o;const a=e.spacing(t);return"0px"!==a?{width:`calc(100% + ${pZ(a)})`,marginLeft:`-${pZ(a)}`,[`& > .${dZ.item}`]:{paddingLeft:pZ(a)}}:null!=(o=r)&&o.includes(n)?{}:{width:"100%",marginLeft:0,[`& > .${dZ.item}`]:{paddingLeft:0}}}))}return o}),(function({theme:e,ownerState:t}){let r;return e.breakpoints.keys.reduce(((n,o)=>{let a={};if(t[o]&&(r=t[o]),!r)return n;if(!0===r)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===r)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const i=hq({values:t.columns,breakpoints:e.breakpoints.values}),s="object"==typeof i?i[o]:i;if(null==s)return n;const l=Math.round(r/s*1e8)/1e6+"%";let c={};if(t.container&&t.item&&0!==t.columnSpacing){const r=e.spacing(t.columnSpacing);if("0px"!==r){const e=`calc(${l} + ${pZ(r)})`;c={flexBasis:e,maxWidth:e}}}a=LB({flexBasis:l,flexGrow:0,maxWidth:l},c)}return 0===e.breakpoints.values[o]?Object.assign(n,a):n[e.breakpoints.up(o)]=a,n}),{})}));const vZ=e=>{const{classes:t,container:r,direction:n,item:o,spacing:a,wrap:i,zeroMinWidth:s,breakpoints:l}=e;let c=[];r&&(c=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const r=[];return t.forEach((t=>{const n=e[t];if(Number(n)>0){const e=`spacing-${t}-${String(n)}`;r.push(e)}})),r}(a,l));const u=[];l.forEach((t=>{const r=e[t];r&&u.push(`grid-${t}-${String(r)}`)}));return _H({root:["root",r&&"container",o&&"item",s&&"zeroMinWidth",...c,"row"!==n&&`direction-xs-${String(n)}`,"wrap"!==i&&`wrap-xs-${String(i)}`,...u]},cZ,t)},yZ=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiGrid"}),{breakpoints:n}=BG(),o=SK(r),{className:a,columns:i,columnSpacing:s,component:l="div",container:c=!1,direction:u="row",item:d=!1,rowSpacing:f,spacing:p=0,wrap:m="wrap",zeroMinWidth:h=!1}=o,v=VB(o,fZ),y=f||p,g=s||p,b=V.useContext(lZ),w=c?i||12:b,S={},x=LB({},v);n.keys.forEach((e=>{null!=v[e]&&(S[e]=v[e],delete x[e])}));const $=LB({},o,{columns:w,container:c,direction:u,item:d,rowSpacing:y,columnSpacing:g,wrap:m,zeroMinWidth:h,spacing:p},S,{breakpoints:n.keys}),k=vZ($);return SP.jsx(lZ.Provider,{value:w,children:SP.jsx(hZ,LB({ownerState:$,className:EK(k.root,a),as:l,ref:t},x))})}));var gZ=yZ;const bZ=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function wZ(e){return`scale(${e}, ${e**2})`}const SZ={entering:{opacity:1,transform:wZ(1)},entered:{opacity:1,transform:"none"}},xZ="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),$Z=V.forwardRef((function(e,t){const{addEndListener:r,appear:n=!0,children:o,easing:a,in:i,onEnter:s,onEntered:l,onEntering:c,onExit:u,onExited:d,onExiting:f,style:p,timeout:m="auto",TransitionComponent:h=WQ}=e,v=VB(e,bZ),y=pH(),g=V.useRef(),b=BG(),w=V.useRef(null),S=cH(w,o.ref,t),x=e=>t=>{if(e){const r=w.current;void 0===t?e(r):e(r,t)}},$=x(c),k=x(((e,t)=>{JQ(e);const{duration:r,delay:n,easing:o}=XQ({style:p,timeout:m,easing:a},{mode:"enter"});let i;"auto"===m?(i=b.transitions.getAutoHeightDuration(e.clientHeight),g.current=i):i=r,e.style.transition=[b.transitions.create("opacity",{duration:i,delay:n}),b.transitions.create("transform",{duration:xZ?i:.666*i,delay:n,easing:o})].join(","),s&&s(e,t)})),_=x(l),E=x(f),C=x((e=>{const{duration:t,delay:r,easing:n}=XQ({style:p,timeout:m,easing:a},{mode:"exit"});let o;"auto"===m?(o=b.transitions.getAutoHeightDuration(e.clientHeight),g.current=o):o=t,e.style.transition=[b.transitions.create("opacity",{duration:o,delay:r}),b.transitions.create("transform",{duration:xZ?o:.666*o,delay:xZ?r:r||.333*o,easing:n})].join(","),e.style.opacity=0,e.style.transform=wZ(.75),u&&u(e)})),P=x(d);return SP.jsx(h,LB({appear:n,in:i,nodeRef:w,onEnter:k,onEntered:_,onEntering:$,onExit:C,onExited:P,onExiting:E,addEndListener:e=>{"auto"===m&&y.start(g.current||0,e),r&&r(w.current,e)},timeout:"auto"===m?null:m},v,{children:(e,t)=>V.cloneElement(o,LB({style:LB({opacity:0,transform:wZ(.75),visibility:"exited"!==e||i?void 0:"hidden"},SZ[e],p,o.props.style),ref:S},t))}))}));$Z.muiSupportAuto=!0;var kZ=$Z;const _Z=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],EZ=wQ(eJ,{shouldForwardProp:e=>bQ(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...XY(e,t),!r.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{let r="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),LB({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,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"},[`&.${iJ.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${iJ.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${r}`,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(.${iJ.disabled}, .${iJ.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${iJ.disabled}:before`]:{borderBottomStyle:"dotted"}})})),CZ=wQ(tJ,{name:"MuiInput",slot:"Input",overridesResolver:ZY})({}),PZ=V.forwardRef((function(e,t){var r,n,o,a;const i=kQ({props:e,name:"MuiInput"}),{disableUnderline:s,components:l={},componentsProps:c,fullWidth:u=!1,inputComponent:d="input",multiline:f=!1,slotProps:p,slots:m={},type:h="text"}=i,v=VB(i,_Z),y=(e=>{const{classes:t,disableUnderline:r}=e;return LB({},t,_H({root:["root",!r&&"underline"],input:["input"]},aJ,t))})(i),g={root:{ownerState:{disableUnderline:s}}},b=(null!=p?p:c)?nq(null!=p?p:c,g):g,w=null!=(r=null!=(n=m.root)?n:l.Root)?r:EZ,S=null!=(o=null!=(a=m.input)?a:l.Input)?o:CZ;return SP.jsx(oJ,LB({slots:{root:w,input:S},slotProps:b,fullWidth:u,inputComponent:d,multiline:f,ref:t,type:h},v,{classes:y}))}));PZ.muiName="Input";var jZ=PZ;function OZ(e){return jK("MuiInputLabel",e)}OK("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const NZ=["disableAnimation","margin","shrink","variant","className"],RZ=wQ(sZ,{shouldForwardProp:e=>bQ(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${rZ.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,"small"===r.size&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,r.focused&&t.focused,t[r.variant]]}})((({theme:e,ownerState:t})=>LB({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===t.size&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===t.variant&&LB({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&LB({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===t.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===t.variant&&LB({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"})))),TZ=V.forwardRef((function(e,t){const r=kQ({name:"MuiInputLabel",props:e}),{disableAnimation:n=!1,shrink:o,className:a}=r,i=VB(r,NZ),s=qY();let l=o;void 0===l&&s&&(l=s.filled||s.focused||s.adornedStart);const c=UY({props:r,muiFormControl:s,states:["size","variant","required","focused"]}),u=LB({},r,{disableAnimation:n,formControl:s,shrink:l,size:c.size,variant:c.variant,required:c.required,focused:c.focused}),d=(e=>{const{classes:t,formControl:r,size:n,shrink:o,disableAnimation:a,variant:i,required:s}=e;return LB({},t,_H({root:["root",r&&"formControl",!a&&"animated",o&&"shrink",n&&"normal"!==n&&`size${vq(n)}`,i],asterisk:[s&&"asterisk"]},OZ,t))})(u);return SP.jsx(RZ,LB({"data-shrink":l,ownerState:u,ref:t,className:EK(d.root,a)},i,{classes:d}))}));var AZ=TZ;var IZ=V.createContext({});function MZ(e){return jK("MuiList",e)}OK("MuiList",["root","padding","dense","subheader"]);const FZ=["children","className","component","dense","disablePadding","subheader"],DZ=wQ("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})((({ownerState:e})=>LB({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),zZ=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiList"}),{children:n,className:o,component:a="ul",dense:i=!1,disablePadding:s=!1,subheader:l}=r,c=VB(r,FZ),u=V.useMemo((()=>({dense:i})),[i]),d=LB({},r,{component:a,dense:i,disablePadding:s}),f=(e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return _H({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},MZ,t)})(d);return SP.jsx(IZ.Provider,{value:u,children:SP.jsxs(DZ,LB({as:a,className:EK(f.root,o),ref:t,ownerState:d},c,{children:[l,n]}))})}));var LZ=zZ;function VZ(e){return jK("MuiListItem",e)}var BZ=OK("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);var UZ=OK("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function WZ(e){return jK("MuiListItemSecondaryAction",e)}OK("MuiListItemSecondaryAction",["root","disableGutters"]);const qZ=["className"],KZ=wQ("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.disableGutters&&t.disableGutters]}})((({ownerState:e})=>LB({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),HZ=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiListItemSecondaryAction"}),{className:n}=r,o=VB(r,qZ),a=LB({},r,{disableGutters:V.useContext(IZ).disableGutters}),i=(e=>{const{disableGutters:t,classes:r}=e;return _H({root:["root",t&&"disableGutters"]},WZ,r)})(a);return SP.jsx(KZ,LB({className:EK(i.root,n),ownerState:a,ref:t},o))}));HZ.muiName="ListItemSecondaryAction";var GZ=HZ;const QZ=["className"],YZ=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],JZ=wQ("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,"flex-start"===r.alignItems&&t.alignItemsFlexStart,r.divider&&t.divider,!r.disableGutters&&t.gutters,!r.disablePadding&&t.padding,r.button&&t.button,r.hasSecondaryAction&&t.secondaryAction]}})((({theme:e,ownerState:t})=>LB({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&LB({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${UZ.root}`]:{paddingRight:48}},{[`&.${BZ.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${BZ.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:oG(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${BZ.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:oG(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${BZ.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${BZ.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:oG(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:oG(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),XZ=wQ("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),ZZ=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiListItem"}),{alignItems:n="center",autoFocus:o=!1,button:a=!1,children:i,className:s,component:l,components:c={},componentsProps:u={},ContainerComponent:d="li",ContainerProps:{className:f}={},dense:p=!1,disabled:m=!1,disableGutters:h=!1,disablePadding:v=!1,divider:y=!1,focusVisibleClassName:g,secondaryAction:b,selected:w=!1,slotProps:S={},slots:x={}}=r,$=VB(r.ContainerProps,QZ),k=VB(r,YZ),_=V.useContext(IZ),E=V.useMemo((()=>({dense:p||_.dense||!1,alignItems:n,disableGutters:h})),[n,_.dense,p,h]),C=V.useRef(null);QK((()=>{o&&C.current&&C.current.focus()}),[o]);const P=V.Children.toArray(i),j=P.length&&eH(P[P.length-1],["ListItemSecondaryAction"]),O=LB({},r,{alignItems:n,autoFocus:o,button:a,dense:E.dense,disabled:m,disableGutters:h,disablePadding:v,divider:y,hasSecondaryAction:j,selected:w}),N=(e=>{const{alignItems:t,button:r,classes:n,dense:o,disabled:a,disableGutters:i,disablePadding:s,divider:l,hasSecondaryAction:c,selected:u}=e;return _H({root:["root",o&&"dense",!i&&"gutters",!s&&"padding",l&&"divider",a&&"disabled",r&&"button","flex-start"===t&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]},VZ,n)})(O),R=cH(C,t),T=x.root||c.Root||JZ,A=S.root||u.root||{},I=LB({className:EK(N.root,A.className,s),disabled:m},k);let M=l||"li";return a&&(I.component=l||"div",I.focusVisibleClassName=EK(BZ.focusVisible,g),M=$Y),j?(M=I.component||l?M:"div","li"===d&&("li"===M?M="div":"li"===I.component&&(I.component="div")),SP.jsx(IZ.Provider,{value:E,children:SP.jsxs(XZ,LB({as:d,className:EK(N.container,f),ref:R,ownerState:O},$,{children:[SP.jsx(T,LB({},A,!EH(T)&&{as:M,ownerState:LB({},O,A.ownerState)},I,{children:P})),P.pop()]}))})):SP.jsx(IZ.Provider,{value:E,children:SP.jsxs(T,LB({},A,{as:M,ref:R},!EH(T)&&{ownerState:LB({},O,A.ownerState)},I,{children:[P,b&&SP.jsx(GZ,{children:b})]}))})}));var e0=ZZ;function t0(e){return jK("MuiListItemIcon",e)}var r0=OK("MuiListItemIcon",["root","alignItemsFlexStart"]);const n0=["className"],o0=wQ("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"flex-start"===r.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>LB({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),a0=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiListItemIcon"}),{className:n}=r,o=VB(r,n0),a=LB({},r,{alignItems:V.useContext(IZ).alignItems}),i=(e=>{const{alignItems:t,classes:r}=e;return _H({root:["root","flex-start"===t&&"alignItemsFlexStart"]},t0,r)})(a);return SP.jsx(o0,LB({className:EK(i.root,n),ownerState:a,ref:t},o))}));var i0=a0;function s0(e){return jK("MuiListItemText",e)}var l0=OK("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);const c0=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],u0=wQ("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${l0.primary}`]:t.primary},{[`& .${l0.secondary}`]:t.secondary},t.root,r.inset&&t.inset,r.primary&&r.secondary&&t.multiline,r.dense&&t.dense]}})((({ownerState:e})=>LB({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56}))),d0=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiListItemText"}),{children:n,className:o,disableTypography:a=!1,inset:i=!1,primary:s,primaryTypographyProps:l,secondary:c,secondaryTypographyProps:u}=r,d=VB(r,c0),{dense:f}=V.useContext(IZ);let p=null!=s?s:n,m=c;const h=LB({},r,{disableTypography:a,inset:i,primary:!!p,secondary:!!m,dense:f}),v=(e=>{const{classes:t,inset:r,primary:n,secondary:o,dense:a}=e;return _H({root:["root",r&&"inset",a&&"dense",n&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},s0,t)})(h);return null==p||p.type===MY||a||(p=SP.jsx(MY,LB({variant:f?"body2":"body1",className:v.primary,component:null!=l&&l.variant?void 0:"span",display:"block"},l,{children:p}))),null==m||m.type===MY||a||(m=SP.jsx(MY,LB({variant:"body2",className:v.secondary,color:"text.secondary",display:"block"},u,{children:m}))),SP.jsxs(u0,LB({className:EK(v.root,o),ownerState:h,ref:t},d,{children:[p,m]}))}));var f0=d0;const p0=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function m0(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function h0(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function v0(e,t){if(void 0===t)return!0;let r=e.innerText;return void 0===r&&(r=e.textContent),r=r.trim().toLowerCase(),0!==r.length&&(t.repeating?r[0]===t.keys[0]:0===r.indexOf(t.keys.join("")))}function y0(e,t,r,n,o,a){let i=!1,s=o(e,t,!!t&&r);for(;s;){if(s===e.firstChild){if(i)return!1;i=!0}const t=!n&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&v0(s,a)&&!t)return s.focus(),!0;s=o(e,s,r)}return!1}const g0=V.forwardRef((function(e,t){const{actions:r,autoFocus:n=!1,autoFocusItem:o=!1,children:a,className:i,disabledItemsFocusable:s=!1,disableListWrap:l=!1,onKeyDown:c,variant:u="selectedMenu"}=e,d=VB(e,p0),f=V.useRef(null),p=V.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});QK((()=>{n&&f.current.focus()}),[n]),V.useImperativeHandle(r,(()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const r=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&r){const r=`${$H(tH(e))}px`;f.current.style["rtl"===t?"paddingLeft":"paddingRight"]=r,f.current.style.width=`calc(100% + ${r})`}return f.current}})),[]);const m=cH(f,t);let h=-1;V.Children.forEach(a,((e,t)=>{V.isValidElement(e)?(e.props.disabled||("selectedMenu"===u&&e.props.selected||-1===h)&&(h=t),h===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(h+=1,h>=a.length&&(h=-1))):h===t&&(h+=1,h>=a.length&&(h=-1))}));const v=V.Children.map(a,((e,t)=>{if(t===h){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===u&&(t.tabIndex=0),V.cloneElement(e,t)}return e}));return SP.jsx(LZ,LB({role:"menu",ref:m,className:i,onKeyDown:e=>{const t=f.current,r=e.key,n=tH(t).activeElement;if("ArrowDown"===r)e.preventDefault(),y0(t,n,l,s,m0);else if("ArrowUp"===r)e.preventDefault(),y0(t,n,l,s,h0);else if("Home"===r)e.preventDefault(),y0(t,null,l,s,m0);else if("End"===r)e.preventDefault(),y0(t,null,l,s,h0);else if(1===r.length){const o=p.current,a=r.toLowerCase(),i=performance.now();o.keys.length>0&&(i-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&a!==o.keys[0]&&(o.repeating=!1)),o.lastTime=i,o.keys.push(a);const l=n&&!o.repeating&&v0(n,o);o.previousKeyMatched&&(l||y0(t,n,!1,s,m0,o))?e.preventDefault():o.previousKeyMatched=!1}c&&c(e)},tabIndex:n?0:-1},d,{children:v}))}));var b0=g0;function w0(e){return jK("MuiPopover",e)}OK("MuiPopover",["root","paper"]);const S0=["onEntering"],x0=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],$0=["slotProps"];function k0(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.height/2:"bottom"===t&&(r=e.height),r}function _0(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.width/2:"right"===t&&(r=e.width),r}function E0(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function C0(e){return"function"==typeof e?e():e}const P0=wQ(vX,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),j0=wQ(nY,{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}),O0=V.forwardRef((function(e,t){var r,n,o;const a=kQ({props:e,name:"MuiPopover"}),{action:i,anchorEl:s,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:u="anchorEl",children:d,className:f,container:p,elevation:m=8,marginThreshold:h=16,open:v,PaperProps:y={},slots:g,slotProps:b,transformOrigin:w={vertical:"top",horizontal:"left"},TransitionComponent:S=kZ,transitionDuration:x="auto",TransitionProps:{onEntering:$}={},disableScrollLock:k=!1}=a,_=VB(a.TransitionProps,S0),E=VB(a,x0),C=null!=(r=null==b?void 0:b.paper)?r:y,P=V.useRef(),j=cH(P,C.ref),O=LB({},a,{anchorOrigin:l,anchorReference:u,elevation:m,marginThreshold:h,externalPaperSlotProps:C,transformOrigin:w,TransitionComponent:S,transitionDuration:x,TransitionProps:_}),N=(e=>{const{classes:t}=e;return _H({root:["root"],paper:["paper"]},w0,t)})(O),R=V.useCallback((()=>{if("anchorPosition"===u)return c;const e=C0(s),t=(e&&1===e.nodeType?e:tH(P.current).body).getBoundingClientRect();return{top:t.top+k0(t,l.vertical),left:t.left+_0(t,l.horizontal)}}),[s,l.horizontal,l.vertical,c,u]),T=V.useCallback((e=>({vertical:k0(e,w.vertical),horizontal:_0(e,w.horizontal)})),[w.horizontal,w.vertical]),A=V.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},r=T(t);if("none"===u)return{top:null,left:null,transformOrigin:E0(r)};const n=R();let o=n.top-r.vertical,a=n.left-r.horizontal;const i=o+t.height,l=a+t.width,c=rH(C0(s)),d=c.innerHeight-h,f=c.innerWidth-h;if(null!==h&&o<h){const e=o-h;o-=e,r.vertical+=e}else if(null!==h&&i>d){const e=i-d;o-=e,r.vertical+=e}if(null!==h&&a<h){const e=a-h;a-=e,r.horizontal+=e}else if(l>f){const e=l-f;a-=e,r.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(a)}px`,transformOrigin:E0(r)}}),[s,u,R,T,h]),[I,M]=V.useState(v),F=V.useCallback((()=>{const e=P.current;if(!e)return;const t=A(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,M(!0)}),[A]);V.useEffect((()=>(k&&window.addEventListener("scroll",F),()=>window.removeEventListener("scroll",F))),[s,k,F]);V.useEffect((()=>{v&&F()})),V.useImperativeHandle(i,(()=>v?{updatePosition:()=>{F()}}:null),[v,F]),V.useEffect((()=>{if(!v)return;const e=ZK((()=>{F()})),t=rH(s);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[s,v,F]);let D=x;"auto"!==x||S.muiSupportAuto||(D=void 0);const z=p||(s?tH(C0(s)).body:void 0),L=null!=(n=null==g?void 0:g.root)?n:P0,B=null!=(o=null==g?void 0:g.paper)?o:j0,U=OH({elementType:B,externalSlotProps:LB({},C,{style:I?C.style:LB({},C.style,{opacity:0})}),additionalProps:{elevation:m,ref:j},ownerState:O,className:EK(N.paper,null==C?void 0:C.className)}),W=OH({elementType:L,externalSlotProps:(null==b?void 0:b.root)||{},externalForwardedProps:E,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:z,open:v},ownerState:O,className:EK(N.root,f)}),{slotProps:q}=W,K=VB(W,$0);return SP.jsx(L,LB({},K,!EH(L)&&{slotProps:q,disableScrollLock:k},{children:SP.jsx(S,LB({appear:!0,in:v,onEntering:(e,t)=>{$&&$(e,t),F()},onExited:()=>{M(!1)},timeout:D},_,{children:SP.jsx(B,LB({},U,{children:d}))}))}))}));var N0=O0;function R0(e){return jK("MuiMenu",e)}OK("MuiMenu",["root","paper","list"]);const T0=["onEntering"],A0=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],I0={vertical:"top",horizontal:"right"},M0={vertical:"top",horizontal:"left"},F0=wQ(N0,{shouldForwardProp:e=>bQ(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),D0=wQ(j0,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),z0=wQ(b0,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),L0=V.forwardRef((function(e,t){var r,n;const o=kQ({props:e,name:"MuiMenu"}),{autoFocus:a=!0,children:i,className:s,disableAutoFocusItem:l=!1,MenuListProps:c={},onClose:u,open:d,PaperProps:f={},PopoverClasses:p,transitionDuration:m="auto",TransitionProps:{onEntering:h}={},variant:v="selectedMenu",slots:y={},slotProps:g={}}=o,b=VB(o.TransitionProps,T0),w=VB(o,A0),S=DH(),x=LB({},o,{autoFocus:a,disableAutoFocusItem:l,MenuListProps:c,onEntering:h,PaperProps:f,transitionDuration:m,TransitionProps:b,variant:v}),$=(e=>{const{classes:t}=e;return _H({root:["root"],paper:["paper"],list:["list"]},R0,t)})(x),k=a&&!l&&d,_=V.useRef(null);let E=-1;V.Children.map(i,((e,t)=>{V.isValidElement(e)&&(e.props.disabled||("selectedMenu"===v&&e.props.selected||-1===E)&&(E=t))}));const C=null!=(r=y.paper)?r:D0,P=null!=(n=g.paper)?n:f,j=OH({elementType:y.root,externalSlotProps:g.root,ownerState:x,className:[$.root,s]}),O=OH({elementType:C,externalSlotProps:P,ownerState:x,className:$.paper});return SP.jsx(F0,LB({onClose:u,anchorOrigin:{vertical:"bottom",horizontal:S?"right":"left"},transformOrigin:S?I0:M0,slots:{paper:C,root:y.root},slotProps:{root:j,paper:O},open:d,ref:t,transitionDuration:m,TransitionProps:LB({onEntering:(e,t)=>{_.current&&_.current.adjustStyleForScrollbar(e,{direction:S?"rtl":"ltr"}),h&&h(e,t)}},b),ownerState:x},w,{classes:p,children:SP.jsx(z0,LB({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),u&&u(e,"tabKeyDown"))},actions:_,autoFocus:a&&(-1===E||l),autoFocusItem:k,variant:v},c,{className:EK($.list,c.className),children:i}))}))}));var V0=L0;function B0(e){return jK("MuiMenuItem",e)}var U0=OK("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);const W0=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],q0=wQ($Y,{shouldForwardProp:e=>bQ(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>LB({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${U0.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:oG(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${U0.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:oG(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${U0.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:oG(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:oG(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${U0.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${U0.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${gX.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${gX.inset}`]:{marginLeft:52},[`& .${l0.root}`]:{marginTop:0,marginBottom:0},[`& .${l0.inset}`]:{paddingLeft:36},[`& .${r0.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&LB({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${r0.root} svg`]:{fontSize:"1.25rem"}})))),K0=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiMenuItem"}),{autoFocus:n=!1,component:o="li",dense:a=!1,divider:i=!1,disableGutters:s=!1,focusVisibleClassName:l,role:c="menuitem",tabIndex:u,className:d}=r,f=VB(r,W0),p=V.useContext(IZ),m=V.useMemo((()=>({dense:a||p.dense||!1,disableGutters:s})),[p.dense,a,s]),h=V.useRef(null);QK((()=>{n&&h.current&&h.current.focus()}),[n]);const v=LB({},r,{dense:m.dense,divider:i,disableGutters:s}),y=(e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:a,classes:i}=e;return LB({},i,_H({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",a&&"selected"]},B0,i))})(r),g=cH(h,t);let b;return r.disabled||(b=void 0!==u?u:-1),SP.jsx(IZ.Provider,{value:m,children:SP.jsx(q0,LB({ref:g,role:c,tabIndex:b,component:o,focusVisibleClassName:EK(y.focusVisible,l),className:EK(y.root,d)},f,{ownerState:v,classes:y}))})}));var H0=K0;function G0(e){return jK("MuiNativeSelect",e)}var Q0=OK("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);const Y0=["className","disabled","error","IconComponent","inputRef","variant"],J0=({ownerState:e,theme:t})=>LB({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":LB({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${Q0.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),X0=wQ("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:bQ,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${Q0.multiple}`]:t.multiple}]}})(J0),Z0=({ownerState:e,theme:t})=>LB({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${Q0.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),e1=wQ("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${vq(r.variant)}`],r.open&&t.iconOpen]}})(Z0),t1=V.forwardRef((function(e,t){const{className:r,disabled:n,error:o,IconComponent:a,inputRef:i,variant:s="standard"}=e,l=VB(e,Y0),c=LB({},e,{disabled:n,variant:s,error:o}),u=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:a,error:i}=e;return _H({select:["select",r,n&&"disabled",o&&"multiple",i&&"error"],icon:["icon",`icon${vq(r)}`,a&&"iconOpen",n&&"disabled"]},G0,t)})(c);return SP.jsxs(V.Fragment,{children:[SP.jsx(X0,LB({ownerState:c,className:EK(u.select,r),disabled:n,ref:i||t},l)),e.multiple?null:SP.jsx(e1,{as:a,ownerState:c,className:u.icon})]})}));var r1,n1=t1;const o1=["children","classes","className","label","notched"],a1=wQ("fieldset",{shouldForwardProp:bQ})({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%"}),i1=wQ("legend",{shouldForwardProp:bQ})((({ownerState:e,theme:t})=>LB({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&LB({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));const s1=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],l1=wQ(eJ,{shouldForwardProp:e=>bQ(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:XY})((({theme:e,ownerState:t})=>{const r="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return LB({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${lJ.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${lJ.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:r}},[`&.${lJ.focused} .${lJ.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${lJ.error} .${lJ.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${lJ.disabled} .${lJ.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&LB({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),c1=wQ((function(e){const{className:t,label:r,notched:n}=e,o=VB(e,o1),a=null!=r&&""!==r,i=LB({},e,{notched:n,withLabel:a});return SP.jsx(a1,LB({"aria-hidden":!0,className:t,ownerState:i},o,{children:SP.jsx(i1,{ownerState:i,children:a?SP.jsx("span",{children:r}):r1||(r1=SP.jsx("span",{className:"notranslate",children:"​"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"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}})),u1=wQ(tJ,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:ZY})((({theme:e,ownerState:t})=>LB({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?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"}}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),d1=V.forwardRef((function(e,t){var r,n,o,a,i;const s=kQ({props:e,name:"MuiOutlinedInput"}),{components:l={},fullWidth:c=!1,inputComponent:u="input",label:d,multiline:f=!1,notched:p,slots:m={},type:h="text"}=s,v=VB(s,s1),y=(e=>{const{classes:t}=e;return LB({},t,_H({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},sJ,t))})(s),g=qY(),b=UY({props:s,muiFormControl:g,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),w=LB({},s,{color:b.color||"primary",disabled:b.disabled,error:b.error,focused:b.focused,formControl:g,fullWidth:c,hiddenLabel:b.hiddenLabel,multiline:f,size:b.size,type:h}),S=null!=(r=null!=(n=m.root)?n:l.Root)?r:l1,x=null!=(o=null!=(a=m.input)?a:l.Input)?o:u1;return SP.jsx(oJ,LB({slots:{root:S,input:x},renderSuffix:e=>SP.jsx(c1,{ownerState:w,className:y.notchedOutline,label:null!=d&&""!==d&&b.required?i||(i=SP.jsxs(V.Fragment,{children:[d," ","*"]})):d,notched:void 0!==p?p:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:c,inputComponent:u,multiline:f,ref:t,type:h},v,{classes:LB({},y,{notchedOutline:null})}))}));d1.muiName="Input";var f1=d1,p1=OQ(SP.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),m1=OQ(SP.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");const h1=wQ("span",{shouldForwardProp:bQ})({position:"relative",display:"flex"}),v1=wQ(p1)({transform:"scale(1)"}),y1=wQ(m1)((({theme:e,ownerState:t})=>LB({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})})));function g1(e){const{checked:t=!1,classes:r={},fontSize:n}=e,o=LB({},e,{checked:t});return SP.jsxs(h1,{className:r.root,ownerState:o,children:[SP.jsx(v1,{fontSize:n,className:r.background,ownerState:o}),SP.jsx(y1,{fontSize:n,className:r.dot,ownerState:o})]})}var b1=V.createContext(void 0);function w1(e){return jK("MuiRadio",e)}var S1=OK("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]);const x1=["checked","checkedIcon","color","icon","name","onChange","size","className"],$1=wQ(VJ,{shouldForwardProp:e=>bQ(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"medium"!==r.size&&t[`size${vq(r.size)}`],t[`color${vq(r.color)}`]]}})((({theme:e,ownerState:t})=>LB({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:oG("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${S1.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${S1.disabled}`]:{color:(e.vars||e).palette.action.disabled}})));const k1=SP.jsx(g1,{checked:!0}),_1=SP.jsx(g1,{}),E1=V.forwardRef((function(e,t){var r,n;const o=kQ({props:e,name:"MuiRadio"}),{checked:a,checkedIcon:i=k1,color:s="primary",icon:l=_1,name:c,onChange:u,size:d="medium",className:f}=o,p=VB(o,x1),m=LB({},o,{color:s,size:d}),h=(e=>{const{classes:t,color:r,size:n}=e;return LB({},t,_H({root:["root",`color${vq(r)}`,"medium"!==n&&`size${vq(n)}`]},w1,t))})(m),v=V.useContext(b1);let y=a;const g=XK(u,v&&v.onChange);let b=c;return v&&(void 0===y&&(y=function(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}(v.value,o.value)),void 0===b&&(b=v.name)),SP.jsx($1,LB({type:"radio",icon:V.cloneElement(l,{fontSize:null!=(r=_1.props.fontSize)?r:d}),checkedIcon:V.cloneElement(i,{fontSize:null!=(n=k1.props.fontSize)?n:d}),ownerState:m,classes:h,name:b,checked:y,onChange:g,ref:t,className:EK(h.root,f)},p))}));var C1=E1;function P1(e){return jK("MuiRadioGroup",e)}OK("MuiRadioGroup",["root","row","error"]);const j1=["actions","children","className","defaultValue","name","onChange","value"],O1=V.forwardRef((function(e,t){const{actions:r,children:n,className:o,defaultValue:a,name:i,onChange:s,value:l}=e,c=VB(e,j1),u=V.useRef(null),d=(e=>{const{classes:t,row:r,error:n}=e;return _H({root:["root",r&&"row",n&&"error"]},P1,t)})(e),[f,p]=sH({controlled:l,default:a,name:"RadioGroup"});V.useImperativeHandle(r,(()=>({focus:()=>{let e=u.current.querySelector("input:not(:disabled):checked");e||(e=u.current.querySelector("input:not(:disabled)")),e&&e.focus()}})),[]);const m=cH(t,u),h=iH(i),v=V.useMemo((()=>({name:h,onChange(e){p(e.target.value),s&&s(e,e.target.value)},value:f})),[h,s,p,f]);return SP.jsx(b1.Provider,{value:v,children:SP.jsx(HX,LB({role:"radiogroup",ref:m,className:EK(d.root,o)},c,{children:n}))})}));var N1=O1;function R1(e){return jK("MuiSelect",e)}var T1,A1=OK("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);const I1=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],M1=wQ("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${A1.select}`]:t.select},{[`&.${A1.select}`]:t[r.variant]},{[`&.${A1.error}`]:t.error},{[`&.${A1.multiple}`]:t.multiple}]}})(J0,{[`&.${A1.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),F1=wQ("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${vq(r.variant)}`],r.open&&t.iconOpen]}})(Z0),D1=wQ("input",{shouldForwardProp:e=>gQ(e)&&"classes"!==e,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 z1(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function L1(e){return null==e||"string"==typeof e&&!e.trim()}const V1=V.forwardRef((function(e,t){var r;const{"aria-describedby":n,"aria-label":o,autoFocus:a,autoWidth:i,children:s,className:l,defaultOpen:c,defaultValue:u,disabled:d,displayEmpty:f,error:p=!1,IconComponent:m,inputRef:h,labelId:v,MenuProps:y={},multiple:g,name:b,onBlur:w,onChange:S,onClose:x,onFocus:$,onOpen:k,open:_,readOnly:E,renderValue:C,SelectDisplayProps:P={},tabIndex:j,value:O,variant:N="standard"}=e,R=VB(e,I1),[T,A]=sH({controlled:O,default:u,name:"Select"}),[I,M]=sH({controlled:_,default:c,name:"Select"}),F=V.useRef(null),D=V.useRef(null),[z,L]=V.useState(null),{current:B}=V.useRef(null!=_),[U,W]=V.useState(),q=cH(t,h),K=V.useCallback((e=>{D.current=e,e&&L(e)}),[]),H=null==z?void 0:z.parentNode;V.useImperativeHandle(q,(()=>({focus:()=>{D.current.focus()},node:F.current,value:T})),[T]),V.useEffect((()=>{c&&I&&z&&!B&&(W(i?null:H.clientWidth),D.current.focus())}),[z,i]),V.useEffect((()=>{a&&D.current.focus()}),[a]),V.useEffect((()=>{if(!v)return;const e=tH(D.current).getElementById(v);if(e){const t=()=>{getSelection().isCollapsed&&D.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[v]);const G=(e,t)=>{e?k&&k(t):x&&x(t),B||(W(i?null:H.clientWidth),M(e))},Q=V.Children.toArray(s),Y=e=>t=>{let r;if(t.currentTarget.hasAttribute("tabindex")){if(g){r=Array.isArray(T)?T.slice():[];const t=T.indexOf(e.props.value);-1===t?r.push(e.props.value):r.splice(t,1)}else r=e.props.value;if(e.props.onClick&&e.props.onClick(t),T!==r&&(A(r),S)){const n=t.nativeEvent||t,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:r,name:b}}),S(o,e)}g||G(!1,t)}},J=null!==z&&I;let X,Z;delete R["aria-invalid"];const ee=[];let te=!1;(GY({value:T})||f)&&(C?X=C(T):te=!0);const re=Q.map((e=>{if(!V.isValidElement(e))return null;let t;if(g){if(!Array.isArray(T))throw new Error(FB(2));t=T.some((t=>z1(t,e.props.value))),t&&te&&ee.push(e.props.children)}else t=z1(T,e.props.value),t&&te&&(Z=e.props.children);return V.cloneElement(e,{"aria-selected":t?"true":"false",onClick:Y(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));te&&(X=g?0===ee.length?null:ee.reduce(((e,t,r)=>(e.push(t),r<ee.length-1&&e.push(", "),e)),[]):Z);let ne,oe=U;!i&&B&&z&&(oe=H.clientWidth),ne=void 0!==j?j:d?null:0;const ae=P.id||(b?`mui-component-select-${b}`:void 0),ie=LB({},e,{variant:N,value:T,open:J,error:p}),se=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:a,error:i}=e;return _H({select:["select",r,n&&"disabled",o&&"multiple",i&&"error"],icon:["icon",`icon${vq(r)}`,a&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]},R1,t)})(ie),le=LB({},y.PaperProps,null==(r=y.slotProps)?void 0:r.paper),ce=iH();return SP.jsxs(V.Fragment,{children:[SP.jsx(M1,LB({ref:K,tabIndex:ne,role:"combobox","aria-controls":ce,"aria-disabled":d?"true":void 0,"aria-expanded":J?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[v,ae].filter(Boolean).join(" ")||void 0,"aria-describedby":n,onKeyDown:e=>{if(!E){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),G(!0,e))}},onMouseDown:d||E?null:e=>{0===e.button&&(e.preventDefault(),D.current.focus(),G(!0,e))},onBlur:e=>{!J&&w&&(Object.defineProperty(e,"target",{writable:!0,value:{value:T,name:b}}),w(e))},onFocus:$},P,{ownerState:ie,className:EK(P.className,se.select,l),id:ae,children:L1(X)?T1||(T1=SP.jsx("span",{className:"notranslate",children:"​"})):X})),SP.jsx(D1,LB({"aria-invalid":p,value:Array.isArray(T)?T.join(","):T,name:b,ref:F,"aria-hidden":!0,onChange:e=>{const t=Q.find((t=>t.props.value===e.target.value));void 0!==t&&(A(t.props.value),S&&S(e,t))},tabIndex:-1,disabled:d,className:se.nativeInput,autoFocus:a,ownerState:ie},R)),SP.jsx(F1,{as:m,className:se.icon,ownerState:ie}),SP.jsx(V0,LB({id:`menu-${b||""}`,anchorEl:H,open:J,onClose:e=>{G(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},y,{MenuListProps:LB({"aria-labelledby":v,role:"listbox","aria-multiselectable":g?"true":void 0,disableListWrap:!0,id:ce},y.MenuListProps),slotProps:LB({},y.slotProps,{paper:LB({},le,{style:LB({minWidth:oe},null!=le?le.style:null)})}),children:re}))]})}));var B1=V1;const U1=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],W1=["root"],q1={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>bQ(e)&&"variant"!==e,slot:"Root"},K1=wQ(jZ,q1)(""),H1=wQ(f1,q1)(""),G1=wQ(PX,q1)(""),Q1=V.forwardRef((function(e,t){const r=kQ({name:"MuiSelect",props:e}),{autoWidth:n=!1,children:o,classes:a={},className:i,defaultOpen:s=!1,displayEmpty:l=!1,IconComponent:c=dJ,id:u,input:d,inputProps:f,label:p,labelId:m,MenuProps:h,multiple:v=!1,native:y=!1,onClose:g,onOpen:b,open:w,renderValue:S,SelectDisplayProps:x,variant:$="outlined"}=r,k=VB(r,U1),_=y?n1:B1,E=UY({props:r,muiFormControl:qY(),states:["variant","error"]}),C=E.variant||$,P=LB({},r,{variant:C,classes:a}),j=(e=>{const{classes:t}=e;return t})(P),O=VB(j,W1),N=d||{standard:SP.jsx(K1,{ownerState:P}),outlined:SP.jsx(H1,{label:p,ownerState:P}),filled:SP.jsx(G1,{ownerState:P})}[C],R=cH(t,N.ref);return SP.jsx(V.Fragment,{children:V.cloneElement(N,LB({inputComponent:_,inputProps:LB({children:o,error:E.error,IconComponent:c,variant:C,type:void 0,multiple:v},y?{id:u}:{autoWidth:n,defaultOpen:s,displayEmpty:l,labelId:m,MenuProps:h,onClose:g,onOpen:b,open:w,renderValue:S,SelectDisplayProps:LB({id:u},x)},f,{classes:f?nq(O,f.classes):O},d?d.props.inputProps:{})},(v&&y||l)&&"outlined"===C?{notched:!0}:{},{ref:R,className:EK(N.props.className,i,j.root)},!d&&{variant:C},k))})}));Q1.muiName="Select";var Y1=Q1;function J1(e,t){return e-t}function X1(e,t){var r;const{index:n}=null!=(r=e.reduce(((e,r,n)=>{const o=Math.abs(t-r);return null===e||o<e.distance||o===e.distance?{distance:o,index:n}:e}),null))?r:{};return n}function Z1(e,t){if(void 0!==t.current&&e.changedTouches){const r=e;for(let e=0;e<r.changedTouches.length;e+=1){const n=r.changedTouches[e];if(n.identifier===t.current)return{x:n.clientX,y:n.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function e2(e,t,r){return 100*(e-t)/(r-t)}function t2(e,t,r){const n=Math.round((e-r)/t)*t+r;return Number(n.toFixed(function(e){if(Math.abs(e)<1){const t=e.toExponential().split("e-"),r=t[0].split(".")[1];return(r?r.length:0)+parseInt(t[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}(t)))}function r2({values:e,newValue:t,index:r}){const n=e.slice();return n[r]=t,n.sort(J1)}function n2({sliderRef:e,activeIndex:t,setActive:r}){var n,o;const a=tH(e.current);var i;null!=(n=e.current)&&n.contains(a.activeElement)&&Number(null==a||null==(o=a.activeElement)?void 0:o.getAttribute("data-index"))===t||(null==(i=e.current)||i.querySelector(`[type="range"][data-index="${t}"]`).focus());r&&r(t)}function o2(e,t){return"number"==typeof e&&"number"==typeof t?e===t:"object"==typeof e&&"object"==typeof t&&function(e,t,r=((e,t)=>e===t)){return e.length===t.length&&e.every(((e,n)=>r(e,t[n])))}(e,t)}const a2={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},i2=e=>e;let s2;function l2(){return void 0===s2&&(s2="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),s2}function c2(e){const{"aria-labelledby":t,defaultValue:r,disabled:n=!1,disableSwap:o=!1,isRtl:a=!1,marks:i=!1,max:s=100,min:l=0,name:c,onChange:u,onChangeCommitted:d,orientation:f="horizontal",rootRef:p,scale:m=i2,step:h=1,shiftStep:v=10,tabIndex:y,value:g}=e,b=V.useRef(),[w,S]=V.useState(-1),[x,$]=V.useState(-1),[k,_]=V.useState(!1),E=V.useRef(0),[C,P]=sH({controlled:g,default:null!=r?r:l,name:"Slider"}),j=u&&((e,t,r)=>{const n=e.nativeEvent||e,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:t,name:c}}),u(o,t,r)}),O=Array.isArray(C);let N=O?C.slice().sort(J1):[C];N=N.map((e=>null==e?l:YK(e,l,s)));const R=!0===i&&null!==h?[...Array(Math.floor((s-l)/h)+1)].map(((e,t)=>({value:l+h*t}))):i||[],T=R.map((e=>e.value)),{isFocusVisibleRef:A,onBlur:I,onFocus:M,ref:F}=xH(),[D,z]=V.useState(-1),L=V.useRef(),B=cH(F,L),U=cH(p,B),W=e=>t=>{var r;const n=Number(t.currentTarget.getAttribute("data-index"));M(t),!0===A.current&&z(n),$(n),null==e||null==(r=e.onFocus)||r.call(e,t)},q=e=>t=>{var r;I(t),!1===A.current&&z(-1),$(-1),null==e||null==(r=e.onBlur)||r.call(e,t)},K=(e,t)=>{const r=Number(e.currentTarget.getAttribute("data-index")),n=N[r],a=T.indexOf(n);let i=t;if(R&&null==h){const e=T[T.length-1];i=i>e?e:i<T[0]?T[0]:i<n?T[a-1]:T[a+1]}if(i=YK(i,l,s),O){o&&(i=YK(i,N[r-1]||-1/0,N[r+1]||1/0));const e=i;i=r2({values:N,newValue:i,index:r});let t=r;o||(t=i.indexOf(e)),n2({sliderRef:L,activeIndex:t})}P(i),z(r),j&&!o2(i,C)&&j(e,i,r),d&&d(e,i)},H=e=>t=>{var r;if(null!==h){const e=Number(t.currentTarget.getAttribute("data-index")),r=N[e];let n=null;("ArrowLeft"===t.key||"ArrowDown"===t.key)&&t.shiftKey||"PageDown"===t.key?n=Math.max(r-v,l):(("ArrowRight"===t.key||"ArrowUp"===t.key)&&t.shiftKey||"PageUp"===t.key)&&(n=Math.min(r+v,s)),null!==n&&(K(t,n),t.preventDefault())}null==e||null==(r=e.onKeyDown)||r.call(e,t)};QK((()=>{var e;n&&L.current.contains(document.activeElement)&&(null==(e=document.activeElement)||e.blur())}),[n]),n&&-1!==w&&S(-1),n&&-1!==D&&z(-1);const G=V.useRef();let Q=f;a&&"horizontal"===f&&(Q+="-reverse");const Y=({finger:e,move:t=!1})=>{const{current:r}=L,{width:n,height:a,bottom:i,left:c}=r.getBoundingClientRect();let u,d;if(u=0===Q.indexOf("vertical")?(i-e.y)/a:(e.x-c)/n,-1!==Q.indexOf("-reverse")&&(u=1-u),d=function(e,t,r){return(r-t)*e+t}(u,l,s),h)d=t2(d,h,l);else{const e=X1(T,d);d=T[e]}d=YK(d,l,s);let f=0;if(O){f=t?G.current:X1(N,d),o&&(d=YK(d,N[f-1]||-1/0,N[f+1]||1/0));const e=d;d=r2({values:N,newValue:d,index:f}),o&&t||(f=d.indexOf(e),G.current=f)}return{newValue:d,activeIndex:f}},J=lH((e=>{const t=Z1(e,b);if(!t)return;if(E.current+=1,"mousemove"===e.type&&0===e.buttons)return void X(e);const{newValue:r,activeIndex:n}=Y({finger:t,move:!0});n2({sliderRef:L,activeIndex:n,setActive:S}),P(r),!k&&E.current>2&&_(!0),j&&!o2(r,C)&&j(e,r,n)})),X=lH((e=>{const t=Z1(e,b);if(_(!1),!t)return;const{newValue:r}=Y({finger:t,move:!0});S(-1),"touchend"===e.type&&$(-1),d&&d(e,r),b.current=void 0,ee()})),Z=lH((e=>{if(n)return;l2()||e.preventDefault();const t=e.changedTouches[0];null!=t&&(b.current=t.identifier);const r=Z1(e,b);if(!1!==r){const{newValue:t,activeIndex:n}=Y({finger:r});n2({sliderRef:L,activeIndex:n,setActive:S}),P(t),j&&!o2(t,C)&&j(e,t,n)}E.current=0;const o=tH(L.current);o.addEventListener("touchmove",J,{passive:!0}),o.addEventListener("touchend",X,{passive:!0})})),ee=V.useCallback((()=>{const e=tH(L.current);e.removeEventListener("mousemove",J),e.removeEventListener("mouseup",X),e.removeEventListener("touchmove",J),e.removeEventListener("touchend",X)}),[X,J]);V.useEffect((()=>{const{current:e}=L;return e.addEventListener("touchstart",Z,{passive:l2()}),()=>{e.removeEventListener("touchstart",Z),ee()}}),[ee,Z]),V.useEffect((()=>{n&&ee()}),[n,ee]);const te=e2(O?N[0]:l,l,s),re=e2(N[N.length-1],l,s)-te,ne=e=>t=>{var r;null==(r=e.onMouseLeave)||r.call(e,t),$(-1)};return{active:w,axis:Q,axisProps:a2,dragging:k,focusedThumbIndex:D,getHiddenInputProps:(r={})=>{var o;const i=CH(r);var u;const d=LB({},i,{onChange:(u=i||{},e=>{var t;null==(t=u.onChange)||t.call(u,e),K(e,e.target.valueAsNumber)}),onFocus:W(i||{}),onBlur:q(i||{}),onKeyDown:H(i||{})});return LB({tabIndex:y,"aria-labelledby":t,"aria-orientation":f,"aria-valuemax":m(s),"aria-valuemin":m(l),name:c,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":null!=(o=e.step)?o:void 0,disabled:n},r,d,{style:LB({},kH,{direction:a?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:(e={})=>{const t=CH(e);var r;const o=LB({},t,{onMouseDown:(r=t||{},e=>{var t;if(null==(t=r.onMouseDown)||t.call(r,e),n)return;if(e.defaultPrevented)return;if(0!==e.button)return;e.preventDefault();const o=Z1(e,b);if(!1!==o){const{newValue:t,activeIndex:r}=Y({finger:o});n2({sliderRef:L,activeIndex:r,setActive:S}),P(t),j&&!o2(t,C)&&j(e,t,r)}E.current=0;const a=tH(L.current);a.addEventListener("mousemove",J,{passive:!0}),a.addEventListener("mouseup",X)})});return LB({},e,{ref:U},o)},getThumbProps:(e={})=>{const t=CH(e);var r;return LB({},e,t,{onMouseOver:(r=t||{},e=>{var t;null==(t=r.onMouseOver)||t.call(r,e);const n=Number(e.currentTarget.getAttribute("data-index"));$(n)}),onMouseLeave:ne(t||{})})},marks:R,open:x,range:O,rootRef:U,trackLeap:re,trackOffset:te,values:N,getThumbStyle:e=>({pointerEvents:-1!==w&&w!==e?"none":void 0})}}var u2=e=>!e||!EH(e);function d2(e){return jK("MuiSlider",e)}var f2=OK("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]);const p2=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function m2(e){return e}const h2=wQ("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`color${vq(r.color)}`],"medium"!==r.size&&t[`size${vq(r.size)}`],r.marked&&t.marked,"vertical"===r.orientation&&t.vertical,"inverted"===r.track&&t.trackInverted,!1===r.track&&t.trackFalse]}})((({theme:e})=>{var t;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${f2.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${f2.dragging}`]:{[`& .${f2.thumb}, & .${f2.track}`]:{transition:"none"}},variants:[...Object.keys((null!=(t=e.vars)?t:e).palette).filter((t=>{var r;return(null!=(r=e.vars)?r:e).palette[t].main})).map((t=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}})),v2=wQ("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),y2=wQ("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})((({theme:e})=>{var t;return{display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.keys((null!=(t=e.vars)?t:e).palette).filter((t=>{var r;return(null!=(r=e.vars)?r:e).palette[t].main})).map((t=>({props:{color:t,track:"inverted"},style:LB({},e.vars?{backgroundColor:e.vars.palette.Slider[`${t}Track`],borderColor:e.vars.palette.Slider[`${t}Track`]}:LB({backgroundColor:sG(e.palette[t].main,.62),borderColor:sG(e.palette[t].main,.62)},e.applyStyles("dark",{backgroundColor:aG(e.palette[t].main,.5)}),e.applyStyles("dark",{borderColor:aG(e.palette[t].main,.5)})))})))]}})),g2=wQ("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.thumb,t[`thumbColor${vq(r.color)}`],"medium"!==r.size&&t[`thumbSize${vq(r.size)}`]]}})((({theme:e})=>{var t;return{position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${f2.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.keys((null!=(t=e.vars)?t:e).palette).filter((t=>{var r;return(null!=(r=e.vars)?r:e).palette[t].main})).map((t=>({props:{color:t},style:{[`&:hover, &.${f2.focusVisible}`]:LB({},e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[t].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${oG(e.palette[t].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${f2.active}`]:LB({},e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[t].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${oG(e.palette[t].main,.16)}`})}})))]}})),b2=wQ((function(e){const{children:t,className:r,value:n}=e,o=(e=>{const{open:t}=e;return{offset:EK(t&&f2.valueLabelOpen),circle:f2.valueLabelCircle,label:f2.valueLabelLabel}})(e);return t?V.cloneElement(t,{className:EK(t.props.className)},SP.jsxs(V.Fragment,{children:[t.props.children,SP.jsx("span",{className:EK(o.offset,r),"aria-hidden":!0,children:SP.jsx("span",{className:o.circle,children:SP.jsx("span",{className:o.label,children:n})})})]})):null}),{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})((({theme:e})=>LB({zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${f2.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${f2.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]}))),w2=wQ("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>gQ(e)&&"markActive"!==e,overridesResolver:(e,t)=>{const{markActive:r}=e;return[t.mark,r&&t.markActive]}})((({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]}))),S2=wQ("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>gQ(e)&&"markLabelActive"!==e,overridesResolver:(e,t)=>t.markLabel})((({theme:e})=>LB({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]}))),x2=({children:e})=>e,$2=V.forwardRef((function(e,t){var r,n,o,a,i,s,l,c,u,d,f,p,m,h,v,y,g,b,w,S,x,$,k,_;const E=kQ({props:e,name:"MuiSlider"}),C=DH(),{"aria-label":P,"aria-valuetext":j,"aria-labelledby":O,component:N="span",components:R={},componentsProps:T={},color:A="primary",classes:I,className:M,disableSwap:F=!1,disabled:D=!1,getAriaLabel:z,getAriaValueText:L,marks:B=!1,max:U=100,min:W=0,orientation:q="horizontal",shiftStep:K=10,size:H="medium",step:G=1,scale:Q=m2,slotProps:Y,slots:J,track:X="normal",valueLabelDisplay:Z="off",valueLabelFormat:ee=m2}=E,te=VB(E,p2),re=LB({},E,{isRtl:C,max:U,min:W,classes:I,disabled:D,disableSwap:F,orientation:q,marks:B,color:A,size:H,step:G,shiftStep:K,scale:Q,track:X,valueLabelDisplay:Z,valueLabelFormat:ee}),{axisProps:ne,getRootProps:oe,getHiddenInputProps:ae,getThumbProps:ie,open:se,active:le,axis:ce,focusedThumbIndex:ue,range:de,dragging:fe,marks:pe,values:me,trackOffset:he,trackLeap:ve,getThumbStyle:ye}=c2(LB({},re,{rootRef:t}));re.marked=pe.length>0&&pe.some((e=>e.label)),re.dragging=fe,re.focusedThumbIndex=ue;const ge=(e=>{const{disabled:t,dragging:r,marked:n,orientation:o,track:a,classes:i,color:s,size:l}=e;return _H({root:["root",t&&"disabled",r&&"dragging",n&&"marked","vertical"===o&&"vertical","inverted"===a&&"trackInverted",!1===a&&"trackFalse",s&&`color${vq(s)}`,l&&`size${vq(l)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",l&&`thumbSize${vq(l)}`,s&&`thumbColor${vq(s)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]},d2,i)})(re),be=null!=(r=null!=(n=null==J?void 0:J.root)?n:R.Root)?r:h2,we=null!=(o=null!=(a=null==J?void 0:J.rail)?a:R.Rail)?o:v2,Se=null!=(i=null!=(s=null==J?void 0:J.track)?s:R.Track)?i:y2,xe=null!=(l=null!=(c=null==J?void 0:J.thumb)?c:R.Thumb)?l:g2,$e=null!=(u=null!=(d=null==J?void 0:J.valueLabel)?d:R.ValueLabel)?u:b2,ke=null!=(f=null!=(p=null==J?void 0:J.mark)?p:R.Mark)?f:w2,_e=null!=(m=null!=(h=null==J?void 0:J.markLabel)?h:R.MarkLabel)?m:S2,Ee=null!=(v=null!=(y=null==J?void 0:J.input)?y:R.Input)?v:"input",Ce=null!=(g=null==Y?void 0:Y.root)?g:T.root,Pe=null!=(b=null==Y?void 0:Y.rail)?b:T.rail,je=null!=(w=null==Y?void 0:Y.track)?w:T.track,Oe=null!=(S=null==Y?void 0:Y.thumb)?S:T.thumb,Ne=null!=(x=null==Y?void 0:Y.valueLabel)?x:T.valueLabel,Re=null!=($=null==Y?void 0:Y.mark)?$:T.mark,Te=null!=(k=null==Y?void 0:Y.markLabel)?k:T.markLabel,Ae=null!=(_=null==Y?void 0:Y.input)?_:T.input,Ie=OH({elementType:be,getSlotProps:oe,externalSlotProps:Ce,externalForwardedProps:te,additionalProps:LB({},u2(be)&&{as:N}),ownerState:LB({},re,null==Ce?void 0:Ce.ownerState),className:[ge.root,M]}),Me=OH({elementType:we,externalSlotProps:Pe,ownerState:re,className:ge.rail}),Fe=OH({elementType:Se,externalSlotProps:je,additionalProps:{style:LB({},ne[ce].offset(he),ne[ce].leap(ve))},ownerState:LB({},re,null==je?void 0:je.ownerState),className:ge.track}),De=OH({elementType:xe,getSlotProps:ie,externalSlotProps:Oe,ownerState:LB({},re,null==Oe?void 0:Oe.ownerState),className:ge.thumb}),ze=OH({elementType:$e,externalSlotProps:Ne,ownerState:LB({},re,null==Ne?void 0:Ne.ownerState),className:ge.valueLabel}),Le=OH({elementType:ke,externalSlotProps:Re,ownerState:re,className:ge.mark}),Ve=OH({elementType:_e,externalSlotProps:Te,ownerState:re,className:ge.markLabel}),Be=OH({elementType:Ee,getSlotProps:ae,externalSlotProps:Ae,ownerState:re});return SP.jsxs(be,LB({},Ie,{children:[SP.jsx(we,LB({},Me)),SP.jsx(Se,LB({},Fe)),pe.filter((e=>e.value>=W&&e.value<=U)).map(((e,t)=>{const r=e2(e.value,W,U),n=ne[ce].offset(r);let o;return o=!1===X?-1!==me.indexOf(e.value):"normal"===X&&(de?e.value>=me[0]&&e.value<=me[me.length-1]:e.value<=me[0])||"inverted"===X&&(de?e.value<=me[0]||e.value>=me[me.length-1]:e.value>=me[0]),SP.jsxs(V.Fragment,{children:[SP.jsx(ke,LB({"data-index":t},Le,!EH(ke)&&{markActive:o},{style:LB({},n,Le.style),className:EK(Le.className,o&&ge.markActive)})),null!=e.label?SP.jsx(_e,LB({"aria-hidden":!0,"data-index":t},Ve,!EH(_e)&&{markLabelActive:o},{style:LB({},n,Ve.style),className:EK(ge.markLabel,Ve.className,o&&ge.markLabelActive),children:e.label})):null]},t)})),me.map(((e,t)=>{const r=e2(e,W,U),n=ne[ce].offset(r),o="off"===Z?x2:$e;return SP.jsx(o,LB({},!EH(o)&&{valueLabelFormat:ee,valueLabelDisplay:Z,value:"function"==typeof ee?ee(Q(e),t):ee,index:t,open:se===t||le===t||"on"===Z,disabled:D},ze,{children:SP.jsx(xe,LB({"data-index":t},De,{className:EK(ge.thumb,De.className,le===t&&ge.active,ue===t&&ge.focusVisible),style:LB({},n,ye(t),De.style),children:SP.jsx(Ee,LB({"data-index":t,"aria-label":z?z(t):P,"aria-valuenow":Q(e),"aria-labelledby":O,"aria-valuetext":L?L(Q(e),t):j,value:me[t]},Be))}))}),t)}))]}))}));var k2=$2;function _2(e){return jK("MuiTextField",e)}OK("MuiTextField",["root"]);const E2=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],C2={standard:jZ,filled:PX,outlined:f1},P2=wQ(TX,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),j2=V.forwardRef((function(e,t){const r=kQ({props:e,name:"MuiTextField"}),{autoComplete:n,autoFocus:o=!1,children:a,className:i,color:s="primary",defaultValue:l,disabled:c=!1,error:u=!1,FormHelperTextProps:d,fullWidth:f=!1,helperText:p,id:m,InputLabelProps:h,inputProps:v,InputProps:y,inputRef:g,label:b,maxRows:w,minRows:S,multiline:x=!1,name:$,onBlur:k,onChange:_,onFocus:E,placeholder:C,required:P=!1,rows:j,select:O=!1,SelectProps:N,type:R,value:T,variant:A="outlined"}=r,I=VB(r,E2),M=LB({},r,{autoFocus:o,color:s,disabled:c,error:u,fullWidth:f,multiline:x,required:P,select:O,variant:A}),F=(e=>{const{classes:t}=e;return _H({root:["root"]},_2,t)})(M),D={};"outlined"===A&&(h&&void 0!==h.shrink&&(D.notched=h.shrink),D.label=b),O&&(N&&N.native||(D.id=void 0),D["aria-describedby"]=void 0);const z=iH(m),L=p&&z?`${z}-helper-text`:void 0,V=b&&z?`${z}-label`:void 0,B=C2[A],U=SP.jsx(B,LB({"aria-describedby":L,autoComplete:n,autoFocus:o,defaultValue:l,fullWidth:f,multiline:x,name:$,rows:j,maxRows:w,minRows:S,type:R,value:T,id:z,inputRef:g,onBlur:k,onChange:_,onFocus:E,placeholder:C,inputProps:v},D,y));return SP.jsxs(P2,LB({className:EK(F.root,i),disabled:c,error:u,fullWidth:f,ref:t,required:P,color:s,variant:A,ownerState:M},I,{children:[null!=b&&""!==b&&SP.jsx(AZ,LB({htmlFor:z,id:V},h,{children:b})),O?SP.jsx(Y1,LB({"aria-describedby":L,id:z,labelId:V,value:T,input:U},N,{children:a})):U,p&&SP.jsx(eZ,LB({id:L},d,{children:p}))]}))}));var O2,N2=j2,R2={},T2={},A2=o(RQ);function I2(){return O2||(O2=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=A2}(T2)),T2}var M2=eG;Object.defineProperty(R2,"__esModule",{value:!0});var F2=R2.default=void 0,D2=M2(I2()),z2=SP;function L2({uiSchema:e,registry:t,...r}){const{translateString:n}=t;return SP.jsx(jY,{title:n(dj.AddItemButton),...r,color:"primary",children:SP.jsx(F2,{})})}function V2(e){const{children:t,disabled:r,hasToolbar:n,hasCopy:o,hasMoveDown:a,hasMoveUp:i,hasRemove:s,index:l,onCopyIndexClick:c,onDropIndexClick:u,onReorderClick:d,readonly:f,uiSchema:p,registry:m}=e,{CopyButton:h,MoveDownButton:v,MoveUpButton:y,RemoveButton:g}=m.templates.ButtonTemplates,b={flex:1,paddingLeft:6,paddingRight:6,fontWeight:"bold",minWidth:0};return SP.jsxs(gZ,{container:!0,alignItems:"center",children:[SP.jsx(gZ,{item:!0,xs:!0,style:{overflow:"auto"},children:SP.jsx(kJ,{mb:2,children:SP.jsx(nY,{elevation:2,children:SP.jsx(kJ,{p:2,children:t})})})}),n&&SP.jsxs(gZ,{item:!0,children:[(i||a)&&SP.jsx(y,{style:b,disabled:r||f||!i,onClick:d(l,l-1),uiSchema:p,registry:m}),(i||a)&&SP.jsx(v,{style:b,disabled:r||f||!a,onClick:d(l,l+1),uiSchema:p,registry:m}),o&&SP.jsx(h,{style:b,disabled:r||f,onClick:c(l),uiSchema:p,registry:m}),s&&SP.jsx(g,{style:b,disabled:r||f,onClick:u(l),uiSchema:p,registry:m})]})]})}function B2(e){const{canAdd:t,disabled:r,idSchema:n,uiSchema:o,items:a,onAddClick:i,readonly:s,registry:l,required:c,schema:u,title:d}=e,f=$d(o),p=uP("ArrayFieldDescriptionTemplate",l,f),m=uP("ArrayFieldItemTemplate",l,f),h=uP("ArrayFieldTitleTemplate",l,f),{ButtonTemplates:{AddButton:v}}=l.templates;return SP.jsx(nY,{elevation:2,children:SP.jsxs(kJ,{p:2,children:[SP.jsx(h,{idSchema:n,title:f.title||d,schema:u,uiSchema:o,required:c,registry:l}),SP.jsx(p,{idSchema:n,description:f.description||u.description,schema:u,uiSchema:o,registry:l}),a&&a.map((({key:e,...t})=>SP.jsx(m,{...t},e))),t&&SP.jsx(gZ,{container:!0,justifyContent:"flex-end",children:SP.jsx(gZ,{item:!0,children:SP.jsx(kJ,{mt:2,children:SP.jsx(v,{className:"array-item-add",onClick:i,disabled:r||s,uiSchema:o,registry:l})})})})]})})}F2=R2.default=(0,D2.default)((0,z2.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");const U2=["date","datetime-local","file","time"];function W2(e){const{id:t,name:r,placeholder:n,required:o,readonly:a,disabled:i,type:s,label:l,hideLabel:c,hideError:u,value:d,onChange:f,onChangeOverride:p,onBlur:m,onFocus:h,autofocus:v,options:y,schema:g,uiSchema:b,rawErrors:w=[],errorSchema:S,formContext:x,registry:$,InputLabelProps:k,..._}=e,E=sP(g,s,y),{step:C,min:P,max:j,...O}=E,N={inputProps:{step:C,min:P,max:j,...g.examples?{list:HP(t)}:void 0},...O},R=U2.includes(s)?{...k,shrink:!0}:k;return SP.jsxs(SP.Fragment,{children:[SP.jsx(N2,{id:t,name:t,placeholder:n,label:XP(l||void 0,c,void 0),autoFocus:v,required:o,disabled:i||a,...N,value:d||0===d?d:"",error:w.length>0,onChange:p||(({target:{value:e}})=>f(""===e?y.emptyValue:e)),onBlur:({target:e})=>m(t,e&&e.value),onFocus:({target:e})=>h(t,e&&e.value),InputLabelProps:R,..._,"aria-describedby":YP(t,!!g.examples)}),Array.isArray(g.examples)&&SP.jsx("datalist",{id:HP(t),children:g.examples.concat(g.default&&!g.examples.includes(g.default)?[g.default]:[]).map((e=>SP.jsx("option",{value:e},e)))})]})}function q2(e){const{id:t,description:r}=e;return r?SP.jsx(MY,{id:t,variant:"subtitle2",style:{marginTop:"5px"},children:r}):null}var K2={},H2=eG;Object.defineProperty(K2,"__esModule",{value:!0});var G2=K2.default=void 0,Q2=H2(I2()),Y2=SP;function J2({errors:e,registry:t}){const{translateString:r}=t;return SP.jsx(nY,{elevation:2,children:SP.jsxs(kJ,{mb:2,p:2,children:[SP.jsx(MY,{variant:"h6",children:r(dj.ErrorsLabel)}),SP.jsx(LZ,{dense:!0,children:e.map(((e,t)=>SP.jsxs(e0,{children:[SP.jsx(i0,{children:SP.jsx(G2,{color:"error"})}),SP.jsx(f0,{primary:e.stack})]},t)))})]})})}G2=K2.default=(0,Q2.default)((0,Y2.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error");var X2={},Z2=eG;Object.defineProperty(X2,"__esModule",{value:!0});var e5=X2.default=void 0,t5=Z2(I2()),r5=SP;e5=X2.default=(0,t5.default)((0,r5.jsx)("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward");var n5={},o5=eG;Object.defineProperty(n5,"__esModule",{value:!0});var a5=n5.default=void 0,i5=o5(I2()),s5=SP;a5=n5.default=(0,i5.default)((0,s5.jsx)("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"}),"ArrowUpward");var l5={},c5=eG;Object.defineProperty(l5,"__esModule",{value:!0});var u5=l5.default=void 0,d5=c5(I2()),f5=SP;u5=l5.default=(0,d5.default)((0,f5.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"}),"ContentCopy");var p5={},m5=eG;Object.defineProperty(p5,"__esModule",{value:!0});var h5=p5.default=void 0,v5=m5(I2()),y5=SP;function g5(e){const{icon:t,color:r,uiSchema:n,registry:o,...a}=e;return SP.jsx(jY,{...a,size:"small",color:r,children:t})}function b5(e){const{registry:{translateString:t}}=e;return SP.jsx(g5,{title:t(dj.CopyButton),...e,icon:SP.jsx(u5,{fontSize:"small"})})}function w5(e){const{registry:{translateString:t}}=e;return SP.jsx(g5,{title:t(dj.MoveDownButton),...e,icon:SP.jsx(e5,{fontSize:"small"})})}function S5(e){const{registry:{translateString:t}}=e;return SP.jsx(g5,{title:t(dj.MoveUpButton),...e,icon:SP.jsx(a5,{fontSize:"small"})})}function x5(e){const{iconType:t,...r}=e,{registry:{translateString:n}}=r;return SP.jsx(g5,{title:n(dj.RemoveButton),...r,color:"error",icon:SP.jsx(h5,{fontSize:"default"===t?void 0:"small"})})}function $5(e){const{errors:t=[],idSchema:r}=e;if(0===t.length)return null;const n=KP(r);return SP.jsx(LZ,{id:n,dense:!0,disablePadding:!0,children:t.map(((e,t)=>SP.jsx(e0,{disableGutters:!0,children:SP.jsx(eZ,{component:"div",id:`${n}-${t}`,children:e})},t)))})}function k5(e){const{idSchema:t,help:r}=e;if(!r)return null;const n=GP(t);return SP.jsx(eZ,{component:"div",id:n,children:r})}function _5(e){const{id:t,children:r,classNames:n,style:o,disabled:a,displayLabel:i,hidden:s,label:l,onDropPropertyClick:c,onKeyChange:u,readonly:d,required:f,rawErrors:p=[],errors:m,help:h,description:v,rawDescription:y,schema:g,uiSchema:b,registry:w}=e,S=uP("WrapIfAdditionalTemplate",w,$d(b));return s?SP.jsx("div",{style:{display:"none"},children:r}):SP.jsx(S,{classNames:n,style:o,disabled:a,id:t,label:l,onDropPropertyClick:c,onKeyChange:u,readonly:d,required:f,schema:g,uiSchema:b,registry:w,children:SP.jsxs(TX,{fullWidth:!0,error:!!p.length,required:f,children:[r,i&&y?SP.jsx(MY,{variant:"caption",color:"textSecondary",children:v}):null,m,h]})})}function E5(e){const{description:t,title:r,properties:n,required:o,disabled:a,readonly:i,uiSchema:s,idSchema:l,schema:c,formData:u,onAddClick:d,registry:f}=e,p=$d(s),m=uP("TitleFieldTemplate",f,p),h=uP("DescriptionFieldTemplate",f,p),{ButtonTemplates:{AddButton:v}}=f.templates;return SP.jsxs(SP.Fragment,{children:[r&&SP.jsx(m,{id:QP(l),title:r,required:o,schema:c,uiSchema:s,registry:f}),t&&SP.jsx(h,{id:qP(l),description:t,schema:c,uiSchema:s,registry:f}),SP.jsxs(gZ,{container:!0,spacing:2,style:{marginTop:"10px"},children:[n.map(((e,t)=>e.hidden?e.content:SP.jsx(gZ,{item:!0,xs:12,style:{marginBottom:"10px"},children:e.content},t))),kd(c,s,u)&&SP.jsx(gZ,{container:!0,justifyContent:"flex-end",children:SP.jsx(gZ,{item:!0,children:SP.jsx(v,{className:"object-property-expand",onClick:d(c),disabled:a||i,uiSchema:s,registry:f})})})]})]})}function C5({uiSchema:e}){const{submitText:t,norender:r,props:n={}}=cP(e);return r?null:SP.jsx(kJ,{marginTop:3,children:SP.jsx(IJ,{type:"submit",variant:"contained",color:"primary",...n,children:t})})}function P5({id:e,title:t}){return SP.jsxs(kJ,{id:e,mb:1,mt:1,children:[SP.jsx(MY,{variant:"h5",children:t}),SP.jsx($X,{})]})}function j5(e){const{children:t,classNames:r,style:n,disabled:o,id:a,label:i,onDropPropertyClick:s,onKeyChange:l,readonly:c,required:u,schema:d,uiSchema:f,registry:p}=e,{templates:m,translateString:h}=p,{RemoveButton:v}=m.ButtonTemplates,y=h(dj.KeyLabel,[i]);if(!(td in d))return SP.jsx("div",{className:r,style:n,children:t});return SP.jsxs(gZ,{container:!0,alignItems:"center",spacing:2,className:r,style:n,children:[SP.jsx(gZ,{item:!0,xs:!0,children:SP.jsx(N2,{fullWidth:!0,required:u,label:y,defaultValue:i,disabled:o||c,id:`${a}-key`,name:`${a}-key`,onBlur:c?void 0:({target:e})=>l(e&&e.value),type:"text"})}),SP.jsx(gZ,{item:!0,xs:!0,children:t}),SP.jsx(gZ,{item:!0,children:SP.jsx(v,{iconType:"default",style:{flex:1,paddingLeft:6,paddingRight:6,fontWeight:"bold"},disabled:o||c,onClick:s(i),uiSchema:f,registry:p})})]},`${a}-key`)}function O5(e){var t;const{schema:r,id:n,value:o,disabled:a,readonly:i,label:s="",hideLabel:l,autofocus:c,onChange:u,onBlur:d,onFocus:f,registry:p,options:m,uiSchema:h}=e,v=uP("DescriptionFieldTemplate",p,m),y=tj(r),g=null!==(t=m.description)&&void 0!==t?t:r.description;return SP.jsxs(SP.Fragment,{children:[!l&&!!g&&SP.jsx(v,{id:qP(n),description:g,schema:r,uiSchema:h,registry:p}),SP.jsx(BX,{control:SP.jsx(ZJ,{id:n,name:n,checked:void 0!==o&&Boolean(o),required:y,disabled:a||i,autoFocus:c,onChange:(e,t)=>u(t),onBlur:({target:e})=>d(n,e&&e.value),onFocus:({target:e})=>f(n,e&&e.value),"aria-describedby":YP(n)}),label:XP(s,l,!1)})]})}function N5({label:e,hideLabel:t,id:r,disabled:n,options:o,value:a,autofocus:i,readonly:s,required:l,onChange:c,onBlur:u,onFocus:d}){const{enumOptions:f,enumDisabled:p,inline:m,emptyValue:h}=o,v=Array.isArray(a)?a:[a],y=e=>({target:{checked:t}})=>{c(t?nP(e,v,f):ZC(e,v,f))},g=({target:e})=>u(r,XC(e&&e.value,f,h)),b=({target:e})=>d(r,XC(e&&e.value,f,h));return SP.jsxs(SP.Fragment,{children:[XP(SP.jsx(sZ,{required:l,htmlFor:r,children:e||void 0}),t),SP.jsx(HX,{id:r,row:!!m,children:Array.isArray(f)&&f.map(((e,t)=>{const o=eP(e.value,v),a=Array.isArray(p)&&-1!==p.indexOf(e.value),l=SP.jsx(ZJ,{id:JP(r,t),name:r,checked:o,disabled:n||a||s,autoFocus:i&&0===t,onChange:y(t),onBlur:g,onFocus:b,"aria-describedby":YP(r)});return SP.jsx(BX,{control:l,label:e.label},t)}))})]})}function R5({id:e,options:t,value:r,required:n,disabled:o,readonly:a,label:i,hideLabel:s,onChange:l,onBlur:c,onFocus:u}){var d;const{enumOptions:f,enumDisabled:p,emptyValue:m}=t,h=!!t&&t.inline,v=null!==(d=tP(r,f))&&void 0!==d?d:null;return SP.jsxs(SP.Fragment,{children:[XP(SP.jsx(sZ,{required:n,htmlFor:e,children:i||void 0}),s),SP.jsx(N1,{id:e,name:e,value:v,row:h,onChange:(e,t)=>l(XC(t,f,m)),onBlur:({target:t})=>c(e,XC(t&&t.value,f,m)),onFocus:({target:t})=>u(e,XC(t&&t.value,f,m)),"aria-describedby":YP(e),children:Array.isArray(f)&&f.map(((t,r)=>{const n=Array.isArray(p)&&-1!==p.indexOf(t.value);return SP.jsx(BX,{control:SP.jsx(C1,{name:e,id:JP(e,r),color:"primary"}),label:t.label,value:String(r),disabled:o||n||a},r)}))})]})}function T5(e){const{value:t,readonly:r,disabled:n,onBlur:o,onFocus:a,options:i,schema:s,onChange:l,required:c,label:u,hideLabel:d,id:f}=e,p={value:t,label:u,id:f,name:f,...iP(s)};return SP.jsxs(SP.Fragment,{children:[XP(SP.jsx(sZ,{required:c,htmlFor:f,children:u||void 0}),d),SP.jsx(k2,{disabled:n||r,onChange:(e,t)=>{l(null!=t?t:i.emptyValue)},onBlur:({target:e})=>o(f,e&&e.value),onFocus:({target:e})=>a(f,e&&e.value),valueLabelDisplay:"auto",...p,"aria-describedby":YP(f)})]})}function A5({schema:e,id:t,name:r,options:n,label:o,hideLabel:a,required:i,disabled:s,placeholder:l,readonly:c,value:u,multiple:d,autofocus:f,onChange:p,onBlur:m,onFocus:h,errorSchema:v,rawErrors:y=[],registry:g,uiSchema:b,hideError:w,formContext:S,...x}){const{enumOptions:$,enumDisabled:k,emptyValue:_}=n,E=(d=void 0!==d&&!!d)?[]:"",C=void 0===u||d&&u.length<1||!d&&u===E,P=tP(u,$,d),{InputLabelProps:j,SelectProps:O,autocomplete:N,...R}=x,T=!d&&void 0===e.default;return SP.jsxs(N2,{id:t,name:t,label:XP(o||void 0,a,void 0),value:C||void 0===P?E:P,required:i,disabled:s||c,autoFocus:f,autoComplete:N,placeholder:l,error:y.length>0,onChange:({target:{value:e}})=>p(XC(e,$,_)),onBlur:({target:e})=>m(t,XC(e&&e.value,$,_)),onFocus:({target:e})=>h(t,XC(e&&e.value,$,_)),...R,select:!0,InputLabelProps:{...j,shrink:!C},SelectProps:{...O,multiple:d},"aria-describedby":YP(t),children:[T&&SP.jsx(H0,{value:"",children:l}),Array.isArray($)&&$.map((({value:e,label:t},r)=>{const n=Array.isArray(k)&&-1!==k.indexOf(e);return SP.jsx(H0,{value:String(r),disabled:n,children:t},r)}))]})}function I5(e){const{options:t,registry:r}=e,n=uP("BaseInputTemplate",r,t);let o=5;return"string"!=typeof t.rows&&"number"!=typeof t.rows||(o=t.rows),SP.jsx(n,{...e,multiline:!0,rows:o})}function M5(){return{CheckboxWidget:O5,CheckboxesWidget:N5,RadioWidget:R5,RangeWidget:T5,SelectWidget:A5,TextareaWidget:I5}}h5=p5.default=(0,v5.default)((0,y5.jsx)("path",{d:"M19 13H5v-2h14z"}),"Remove");const F5="light",D5=e=>["light","dark"].includes(e)?e:F5;function z5(e){return LG({palette:{mode:e},..."dark"===e?{components:{MuiTypography:{styleOverrides:{root:{color:"rgba(255, 255, 255);"}}},MuiPaper:{styleOverrides:{root:{backgroundImage:"none",backgroundColor:"var(--crowdin-body-bg, #ffffff)"}}}}}:{}})}const L5=(V5={templates:{ArrayFieldItemTemplate:V2,ArrayFieldTemplate:B2,BaseInputTemplate:W2,ButtonTemplates:{AddButton:L2,CopyButton:b5,MoveDownButton:w5,MoveUpButton:S5,RemoveButton:x5,SubmitButton:C5},DescriptionFieldTemplate:q2,ErrorListTemplate:J2,FieldErrorTemplate:$5,FieldHelpTemplate:k5,FieldTemplate:_5,ObjectFieldTemplate:E5,TitleFieldTemplate:P5,WrapIfAdditionalTemplate:j5},widgets:{...M5(),SelectWidget:e=>{const r=M5().SelectWidget;return B.createElement(r,t({},e,{SelectProps:{...e.SelectProps||{},MenuProps:{autoFocus:!1,disableAutoFocusItem:!0,disableEnforceFocus:!0,disableAutoFocus:!0}}}))}}},V.forwardRef((({fields:e,widgets:t,templates:r,...n},o)=>{var a;return e={...null==V5?void 0:V5.fields,...e},t={...null==V5?void 0:V5.widgets,...t},r={...null==V5?void 0:V5.templates,...r,ButtonTemplates:{...null===(a=null==V5?void 0:V5.templates)||void 0===a?void 0:a.ButtonTemplates,...null==r?void 0:r.ButtonTemplates}},SP.jsx(PB,{...V5,...n,fields:e,widgets:t,templates:r,ref:o})})));var V5;function B5(){const e=frameData.app.context,t=["form-data"];return e.organization_id&&t.push(e.organization_id),e.project_id&&t.push(e.project_id),t.join("-")}const U5={htmlWidget:function(e){const{value:t,options:{content:r}}=e,n=V.useRef();return V.useEffect((()=>{const e=t||r,o=document.createRange().createContextualFragment(e);n.current.append(o)}),[]),B.createElement("div",{ref:n})}};function W5({formData:e,formSchema:t,formUiSchema:r,onFormRef:n}){const[o,a]=V.useState(z5(F5)),i=V.useRef();return V.useEffect((()=>{AP.events.on("theme.changed",(e=>{const t=D5(e);a(z5(t))})),AP.getTheme((e=>{const t=D5(e);a(z5(t))})),n(i)}),[]),B.createElement(xQ,{theme:o},B.createElement(L5,{ref:i,widgets:U5,formData:e,validator:dz,schema:t,uiSchema:r,onSubmit:e=>{!function(e){if(!K5())return;document.getElementById("form-loading").style.display="flex",checkOrigin().then((t=>fetch(formPostDataUrl+t+"&id="+B5(),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({data:e,context:frameData.app.context})}))).then(checkResponse).then((e=>{e&&void 0!==e.message||showToast("Settings successfully saved"),document.getElementById("form-loading").style.display="none",e&&(e.formData||e.formSchema||e.formUiSchema)&&H5(e.formData,e.formSchema,e.formUiSchema),e&&e.redirect&&(window.location=e.redirect)})).catch((e=>{catchRejection(e,"Can't save settings"),document.getElementById("form-loading").style.display="none"}))}(e.formData)},onChange:e=>{window.currentFormData=e.formData;const t=new CustomEvent("formDataUpdated",{detail:{...e.formData}});document.dispatchEvent(t)}}))}function q5(){const e=document.getElementById("card");e.style.border="none",e.style.overflow="initial",e.removeAttribute("is-shadowed"),e.setAttribute("without-p",!0),e.parentElement.style.padding="16px",e.parentElement.style.paddingBottom="0px"}function K5(){return!(AP&&AP._data&&AP._data.app&&["ai-prompt-provider"].includes(AP._data.app.type))}function H5(e={},t,r){const n=W.createRoot(document.getElementById("form"));if(AP&&AP._data&&AP._data.app&&AP._data.app.type){document.getElementsByTagName("html")[0].className+=" "+AP._data.app.type+"-form"}if(!K5()){q5();document.getElementsByTagName("html")[0].className+=" form-without-submit"}AP&&AP._data&&AP._data.app&&["modal","editor-right-panel"].includes(AP._data.app.type)&&(q5(),"modal"===AP._data.app.type&&card.parentElement.style.removeProperty("max-width")),window.currentFormSchema=t,window.currentFormData=e,window.currentFormUiSchema=r,n.render(B.createElement(W5,{onFormRef:e=>{window.formRef=e.current},formData:e,formSchema:t||window.formSchema,formUiSchema:r||window.formUiSchema})),document.getElementById("form-loading").style.display="none"}K5()?checkOrigin().then((e=>{const t=new URLSearchParams(frameData.app.context).toString(),r=new URLSearchParams(e+"&id="+B5());return r.set("context",t),fetch(formGetDataUrl+"?"+r.toString(),{method:"GET"})})).then(checkResponse).catch((e=>catchRejection(e,"Can't load saved settings"))).then((e=>{H5(e.formData,e.formSchema,e.formUiSchema)})).catch((()=>H5({}))):AP.getFormData((e=>{H5(e)})),window.renderForm=H5}();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crowdin/app-project-module",
3
- "version": "0.61.0",
3
+ "version": "0.62.0",
4
4
  "description": "Module that generates for you all common endpoints for serving standalone Crowdin App",
5
5
  "main": "out/index.js",
6
6
  "types": "out/index.d.ts",