@nebula.js/stardust 6.0.0-alpha.0 → 6.0.0-alpha.1

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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * @nebula.js/stardust v6.0.0-alpha.0
2
+ * @nebula.js/stardust v6.0.0-alpha.1
3
3
  * Copyright (c) 2025 QlikTech International AB
4
4
  * Released under the MIT license.
5
5
  */
@@ -15449,7 +15449,7 @@
15449
15449
  return cache$1[key];
15450
15450
  }
15451
15451
 
15452
- const NEBULA_VERSION_HASH = "c3a7";
15452
+ const NEBULA_VERSION_HASH = "3b94";
15453
15453
  ClassNameGenerator.configure(componentName => {
15454
15454
  return "njs-".concat(NEBULA_VERSION_HASH, "-").concat(componentName.replace('Mui', ''));
15455
15455
  });
@@ -15693,7 +15693,7 @@
15693
15693
  const appRef = React.createRef();
15694
15694
  const element = document.createElement('div');
15695
15695
  element.style.display = 'none';
15696
- element.setAttribute('data-nebulajs-version', "6.0.0-alpha.0");
15696
+ element.setAttribute('data-nebulajs-version', "6.0.0-alpha.1");
15697
15697
  element.setAttribute('data-app-id', app.id);
15698
15698
  document.body.appendChild(element);
15699
15699
  if (context) {
package/dist/stardust.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * @nebula.js/stardust v6.0.0-alpha.0
2
+ * @nebula.js/stardust v6.0.0-alpha.1
3
3
  * Copyright (c) 2025 QlikTech International AB
4
4
  * Released under the MIT license.
5
5
  */
@@ -93,7 +93,7 @@
93
93
  animation-iteration-count: infinite;
94
94
  animation-delay: 200ms;
95
95
  }
96
- `),hs.rippleVisible,ws,550,({theme:e})=>e.transitions.easing.easeInOut,hs.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,hs.child,hs.childLeaving,xs,550,({theme:e})=>e.transitions.easing.easeInOut,hs.childPulsate,ks,({theme:e})=>e.transitions.easing.easeInOut),Rs=w.forwardRef(function(e,t){const n=Kl({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:i}=n,a=ct(n,ms),[l,s]=w.useState([]),c=w.useRef(0),u=w.useRef(null);w.useEffect(()=>{u.current&&(u.current(),u.current=null)},[l]);const d=w.useRef(!1),p=_i(),f=w.useRef(null),h=w.useRef(null),m=w.useCallback(e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:a}=e;s(e=>[...e,dr.jsx(Es,{classes:{ripple:Ho(o.ripple,hs.ripple),rippleVisible:Ho(o.rippleVisible,hs.rippleVisible),ripplePulsate:Ho(o.ripplePulsate,hs.ripplePulsate),child:Ho(o.child,hs.child),childLeaving:Ho(o.childLeaving,hs.childLeaving),childPulsate:Ho(o.childPulsate,hs.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},c.current)]),c.current+=1,u.current=a},[o]),g=w.useCallback((e={},t={},n=()=>{})=>{const{pulsate:o=!1,center:i=r||t.pulsate,fakeElement:a=!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 l=a?null:h.current,s=l?l.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,g;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(s.width/2),u=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-s.left),u=Math.round(n-s.top)}if(i)g=Math.sqrt((2*s.width**2+s.height**2)/3),g%2==0&&(g+=1);else{const e=2*Math.max(Math.abs((l?l.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((l?l.clientHeight:0)-u),u)+2;g=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===f.current&&(f.current=()=>{m({pulsate:o,rippleX:c,rippleY:u,rippleSize:g,cb:n})},p.start(80,()=>{f.current&&(f.current(),f.current=null)})):m({pulsate:o,rippleX:c,rippleY:u,rippleSize:g,cb:n})},[r,m,p]),b=w.useCallback(()=>{g({},{pulsate:!0})},[g]),v=w.useCallback((e,t)=>{if(p.clear(),"touchend"===(null==e?void 0:e.type)&&f.current)return f.current(),f.current=null,void p.start(0,()=>{v(e,t)});f.current=null,s(e=>e.length>0?e.slice(1):e),u.current=t},[p]);return w.useImperativeHandle(t,()=>({pulsate:b,start:g,stop:v}),[b,g,v]),dr.jsx(Cs,st({className:Ho(hs.root,o.root,i),ref:h},a,{children:dr.jsx(fs,{component:null,exit:!0,children:l})}))});function Ls(e){return Ko("MuiButtonBase",e)}const Os=Jo("MuiButtonBase",["root","disabled","focusVisible"]),Ts=["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"],Ps=Ul("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"},[`&.${Os.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Is=w.forwardRef(function(e,t){const n=Kl({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:i,className:a,component:l="button",disabled:s=!1,disableRipple:c=!1,disableTouchRipple:u=!1,focusRipple:d=!1,LinkComponent:p="a",onBlur:f,onClick:h,onContextMenu:m,onDragLeave:g,onFocus:b,onFocusVisible:v,onKeyDown:y,onKeyUp:S,onMouseDown:x,onMouseLeave:k,onMouseUp:C,onTouchEnd:E,onTouchMove:R,onTouchStart:L,tabIndex:O=0,TouchRippleProps:T,touchRippleRef:P,type:I}=n,_=ct(n,Ts),M=w.useRef(null),N=w.useRef(null),q=Oi(N,P),{isFocusVisibleRef:D,onFocus:A,onBlur:z,ref:j}=$i(),[F,$]=w.useState(!1);s&&F&&$(!1),w.useImperativeHandle(r,()=>({focusVisible:()=>{$(!0),M.current.focus()}}),[]);const[B,W]=w.useState(!1);w.useEffect(()=>{W(!0)},[]);const U=B&&!c&&!s;function H(e,t,n=u){return Li(r=>{t&&t(r);return!n&&N.current&&N.current[e](r),!0})}w.useEffect(()=>{F&&d&&!c&&B&&N.current.pulsate()},[c,d,F,B]);const V=H("start",x),G=H("stop",m),K=H("stop",g),J=H("stop",C),Z=H("stop",e=>{F&&e.preventDefault(),k&&k(e)}),X=H("start",L),Q=H("stop",E),Y=H("stop",R),ee=H("stop",e=>{z(e),!1===D.current&&$(!1),f&&f(e)},!1),te=Li(e=>{M.current||(M.current=e.currentTarget),A(e),!0===D.current&&($(!0),v&&v(e)),b&&b(e)}),ne=()=>{const e=M.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},re=w.useRef(!1),oe=Li(e=>{d&&!re.current&&F&&N.current&&" "===e.key&&(re.current=!0,N.current.stop(e,()=>{N.current.start(e)})),e.target===e.currentTarget&&ne()&&" "===e.key&&e.preventDefault(),y&&y(e),e.target===e.currentTarget&&ne()&&"Enter"===e.key&&!s&&(e.preventDefault(),h&&h(e))}),ie=Li(e=>{d&&" "===e.key&&N.current&&F&&!e.defaultPrevented&&(re.current=!1,N.current.stop(e,()=>{N.current.pulsate(e)})),S&&S(e),h&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&h(e)});let ae=l;"button"===ae&&(_.href||_.to)&&(ae=p);const le={};"button"===ae?(le.type=void 0===I?"button":I,le.disabled=s):(_.href||_.to||(le.role="button"),s&&(le["aria-disabled"]=s));const se=Oi(t,j,M),ce=st({},n,{centerRipple:o,component:l,disabled:s,disableRipple:c,disableTouchRipple:u,focusRipple:d,tabIndex:O,focusVisible:F}),ue=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=Ui({root:["root",t&&"disabled",n&&"focusVisible"]},Ls,o);return n&&r&&(i.root+=` ${r}`),i})(ce);return dr.jsxs(Ps,st({as:ae,className:Ho(ue.root,a),ownerState:ce,onBlur:ee,onClick:h,onContextMenu:G,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:V,onMouseLeave:Z,onMouseUp:J,onDragLeave:K,onTouchEnd:Q,onTouchMove:Y,onTouchStart:X,ref:se,tabIndex:s?-1:O,type:I},le,_,{children:[i,U?dr.jsx(Rs,st({ref:q,center:o},T)):null]}))});function _s(e){return Ko("MuiButton",e)}const Ms=Jo("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"]),Ns=w.createContext({}),qs=w.createContext(void 0),Ds=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],As=e=>st({},"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}}),zs=Ul(Is,{shouldForwardProp:e=>Wl(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Nr(n.color)}`],t[`size${Nr(n.size)}`],t[`${n.variant}Size${Nr(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return st({},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":st({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:La.alpha(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})`:La.alpha(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})`:La.alpha(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:i,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":st({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Ms.focusVisible}`]:st({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Ms.disabled}`]:st({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 ${La.alpha(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,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"},[`&.${Ms.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Ms.disabled}`]:{boxShadow:"none"}}),js=Ul("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Nr(n.size)}`]]}})(({ownerState:e})=>st({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},As(e))),Fs=Ul("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Nr(n.size)}`]]}})(({ownerState:e})=>st({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},As(e))),$s=w.forwardRef(function(e,t){const n=w.useContext(Ns),r=w.useContext(qs),o=Kl({props:fi(n,e),name:"MuiButton"}),{children:i,color:a="primary",component:l="button",className:s,disabled:c=!1,disableElevation:u=!1,disableFocusRipple:d=!1,endIcon:p,focusVisibleClassName:f,fullWidth:h=!1,size:m="medium",startIcon:g,type:b,variant:v="text"}=o,y=ct(o,Ds),S=st({},o,{color:a,component:l,disabled:c,disableElevation:u,disableFocusRipple:d,fullWidth:h,size:m,type:b,variant:v}),x=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e;return st({},a,Ui({root:["root",i,`${i}${Nr(t)}`,`size${Nr(o)}`,`${i}Size${Nr(o)}`,`color${Nr(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Nr(o)}`],endIcon:["icon","endIcon",`iconSize${Nr(o)}`]},_s,a))})(S),k=g&&dr.jsx(js,{className:x.startIcon,ownerState:S,children:g}),C=p&&dr.jsx(Fs,{className:x.endIcon,ownerState:S,children:p}),E=r||"";return dr.jsxs(zs,st({ownerState:S,className:Ho(n.className,x.root,s,E),component:l,disabled:c,focusRipple:!d,focusVisibleClassName:Ho(x.focusVisible,f),ref:t,type:b},y,{classes:x,children:[k,i,C]}))});var Bs={typography:{fontSize:14,htmlFontSize:16,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:600,fontFamily:['"Source Sans Pro"','"Segoe UI"','"Helvetica Neue"',"-apple-system","Arial","sans-serif"].join(","),button:{textTransform:"initial",fontWeight:400}},shape:{borderRadius:2},shadows:["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],props:{MuiButtonBase:{disableRipple:!0,disableTouchRipple:!0,focusRipple:!1},MuiCheckbox:{color:"secondary"},MuiRadio:{color:"secondary"},MuiTabs:{indicatorColor:"secondary"}}};const Ws={green:"#00873D",blue:"#3F8AB3",grey100:"#ffffff",grey98:"#FBFBFB",grey95:"#F2F2F2",grey90:"#E6E6E6",grey45:"#737373",grey25:"#404040",grey20:"#333333",grey15:"#262626",grey10:"#1A1A1A",grey0:"#000000"},Us={mode:"light",palette:{primary:{main:Ws.grey25,contrastText:Ws.grey100},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:Ws.grey25,secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)",light:Ws.grey100,dark:Ws.grey0},action:{active:"#545454",hover:"rgba(0, 0, 0, 0.03)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.05)",disabled:"rgba(0, 0, 0, 0.3)",disabledBackground:"rgba(0, 0, 0, 0.12)"},background:{paper:Ws.grey100,default:Ws.grey100,lightest:Ws.grey100,lighter:Ws.grey98,darker:Ws.grey95,darkest:Ws.grey90},custom:{focusBorder:Ws.blue,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(255, 255, 255, 1)",disabledBackground:Ws.grey45,disabledContrastText:Ws.grey100},selected:{main:Ws.green,alternative:"#E4E4E4",excluded:"#BEBEBE",selectedExcluded:"#BEBEBE",possible:Ws.grey100,selectedContrastText:Ws.grey100,mainContrastText:Ws.grey100,alternativeContrastText:Ws.grey25,excludedContrastText:Ws.grey25,selectedExcludedContrastText:Ws.grey100,possibleContrastText:Ws.grey0},btn:{normal:"rgba(255, 255, 255, 0.6)",hover:"rgba(0, 0, 0, 0.03)",active:"rgba(0, 0, 0, 0.1)",disabled:"rgba(255, 255, 255, 0.6)",border:"rgba(0, 0, 0, 0.15)",borderHover:"rgba(0, 0, 0, 0.15)"}}},Hs={mode:"dark",palette:{primary:{main:Ws.grey20,contrastText:Ws.grey100},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:Ws.grey100,secondary:"rgba(255, 255, 255, 0.6)",disabled:"rgba(255, 255, 255, 0.3)",light:Ws.grey100,dark:Ws.grey0},action:{active:Ws.grey100,hover:"rgba(255, 255, 255, 0.05)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.03)",disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(0, 0, 0, 0.12)"},divider:"rgba(0,0,0,0.3)",background:{default:"#323232",paper:"#323232",lightest:Ws.grey25,lighter:Ws.grey20,darker:Ws.grey15,darkest:Ws.grey10},custom:{focusBorder:Ws.blue,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(0, 0, 0, 0.2)",disabledBackground:Ws.grey45,disabledContrastText:Ws.grey100},selected:{main:Ws.green,alternative:Ws.grey20,excluded:Ws.grey10,selectedExcluded:Ws.grey10,possible:Ws.grey80,selectedContrastText:Ws.grey100,mainContrastText:Ws.grey100,alternativeContrastText:Ws.grey100,excludedContrastText:Ws.grey100,selectedExcludedContrastText:Ws.grey100,possibleContrastText:Ws.grey0},btn:{normal:"rgba(255, 255, 255, 0.15)",hover:"rgba(255, 255, 255, 0.25)",active:"rgba(0, 0, 0, 0.6)",disabled:"rgba(255, 255, 255, 0.15)",border:"rgba(0, 0, 0, 0.15)",borderHover:"rgba(0, 0, 0, 0.30)"}}},Vs={},Gs=e=>({MuiTypography:{root:{color:e.palette.text.primary}},MuiGrid:{variants:[{props:{alignItems:"center"},style:{"align-items":"center"}}]},MuiButtonBase:{root:{borderRadius:2,border:"1px solid transparent","&:focus":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}}},MuiIconButton:{root:{padding:7,borderRadius:2,border:"1px solid transparent","&:hover":{backgroundColor:e.palette.btn.hover},"&:focus-visible":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)},"&:active":{borderColor:"transparent",boxShadow:"none",backgroundColor:e.palette.btn.active},"&:not(:active):not(:focus-visible)":{borderColor:"transparent",boxShadow:"none"}}},MuiOutlinedInput:{root:{backgroundColor:e.palette.custom.inputBackground,"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.btn.border},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.custom.focusBorder,borderWidth:2}}},MuiButton:{outlined:{padding:"3px 11px",["&.".concat(Ms.focusVisible)]:{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}},contained:{color:e.palette.text.primary,padding:"3px 11px",border:"1px solid ".concat(e.palette.btn.border),backgroundColor:e.palette.btn.normal,boxShadow:"none",["&.".concat(Ms.focusVisible)]:{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)},"&:hover":{backgroundColor:e.palette.btn.hover,borderColor:e.palette.btn.borderHover,boxShadow:"none",["&.".concat(Ms.disabled)]:{backgroundColor:e.palette.btn.disabled}},"&:active":{boxShadow:"none",backgroundColor:e.palette.btn.active},["&.".concat(Ms.disabled)]:{backgroundColor:e.palette.btn.disabled}}},MuiAccordionSummary:{content:{margin:"8px 0"}}});function Ks(e){let t=Us,n="";"string"==typeof e&&(n=e,"light"!==e&&"dark"!==e?console.warn("Invalid theme: '".concat(e,"'")):"dark"===e&&(t=Hs));const r=JSON.stringify(t);if(Vs[r])return Vs[r];const o={palette:d(d({type:t.mode},Bs.palette),t.palette),typography:d({},Bs.typography),shadows:Bs.shadows,props:d({},Bs.props),shape:d({},Bs.shape)};return Vs[r]=Ll(function(e){const{defaultProps:t={},mixins:n={},overrides:r={},palette:o={},props:i={},styleOverrides:a={}}=e,l=st({},ct(e,ba),{components:{}});Object.keys(t).forEach(e=>{const n=l.components[e]||{};n.defaultProps=t[e],l.components[e]=n}),Object.keys(i).forEach(e=>{const t=l.components[e]||{};t.defaultProps=i[e],l.components[e]=t}),Object.keys(a).forEach(e=>{const t=l.components[e]||{};t.styleOverrides=a[e],l.components[e]=t}),Object.keys(r).forEach(e=>{const t=l.components[e]||{};t.styleOverrides=r[e],l.components[e]=t}),l.spacing=Qr(e.spacing);const s=Er(e.breakpoints||{}),c=l.spacing;l.mixins=st({gutters:(e={})=>st({paddingLeft:c(2),paddingRight:c(2)},e,{[s.up("sm")]:st({paddingLeft:c(3),paddingRight:c(3)},e[s.up("sm")])})},n);const{type:u,mode:d}=o,p=ct(o,va),f=d||u||"light";return l.palette=st({text:{hint:"dark"===f?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:f,type:f},p),l}(d(d({},o),{},{overrides:Gs(o)}))),Vs[r].name=n,Vs[r]}Wo.configure(e=>"njs-".concat("c3a7","-").concat(e.replace("Mui","")));var Js=x.createContext({language:null,theme:null,translator:null,constraints:{},interactions:{},themeApi:null,modelStore:{},selectionStore:{},hostConfig:null,queryParams:null});const Zs={active:!0,select:!0,passive:!0,edit:!1};function Xs(e){const t={},n={},r=function(e){const{constraints:t={},interactions:n={}}=e;if(Object.keys(n).length>0)return n;const r={};return Object.keys(t).forEach(e=>{r[e]=!t[e]}),r}(e);Object.keys(Zs).forEach(e=>{void 0!==r[e]?(t[e]=r[e],n[e]=!r[e]):(t[e]=Zs[e],n[e]=!Zs[e])}),e.constraints=n,e.interactions=t}var Qs=function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{};const t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=[],r={},o={get:e=>t[e],set:(n,o)=>{if(void 0===n||"object"==typeof n)throw new Error("Invalid key: ".concat(JSON.stringify(n)));return t[n]=o,r[n]=e({type:"SET",value:o}),o},clear:e=>{if(void 0===e||"object"==typeof e)throw new Error("Invalid key: ".concat(JSON.stringify(e)));t[e]=null},dispatch:e=>{n.forEach(n=>n(e?{}:t))},destroy:()=>{Object.keys(r).forEach(e=>{r[e]&&r[e]()})}};return[()=>{const[,e]=w.useState(t);return w.useEffect(()=>(n.push(e),()=>{const t=n.indexOf(e);n.splice(t,1)}),[e]),[o]},o]};const Ys=w.forwardRef((e,t)=>{let{initialContext:n,renderCallback:r,modelStore:o,selectionStore:i}=e;const[a,l]=w.useState(n),[s,c]=w.useState(),{theme:u}=w.useMemo(()=>({theme:Ks(s)}),[s]),[d,p]=w.useState([]);return w.useEffect(()=>{r&&r()},[]),w.useImperativeHandle(t,()=>({setComps(e){p([...e])},setMuiThemeName:c,setContext:e=>l(t=>JSON.stringify(t)!==JSON.stringify(e)?e:t)}),[]),a&&(a.modelStore=o,a.selectionStore=i),x.createElement(fr,{injectFirst:!0},x.createElement(Vl,{theme:u},x.createElement(Js.Provider,{value:a},d)))});function ec(e){let t,{app:n,context:r}=e,o=!1;const i=new Promise(e=>{t=e}),a=x.createRef(),l=document.createElement("div");l.style.display="none",l.setAttribute("data-nebulajs-version","6.0.0-alpha.0"),l.setAttribute("data-app-id",n.id),document.body.appendChild(l),r&&Xs(r);const s=function(e){const[t,n]=Qs({}),[r,o]=Qs({}),[i,a]=Qs({}),[l,s]=Qs({}),[c,u]=Qs({}),[,d]=Qs({}),p=e=>{let{type:t,value:r}=e;const i=d.get(r.id);d.set(r.id,{});const l=()=>{o.clear(r.id),u.set(r.id,{}),u.dispatch(!0)},c=()=>{r.removeListener("closed",c),r.removeListener("changed",l),n.clear(r.id),o.clear(r.id),a.clear(r.id),s.clear(r.id),u.clear(r.id),d.clear(r.id)};return"SET"===t&&(i||(r.on("changed",l),r.once("closed",c))),c},[f,h]=Qs({},p);return{subscribe:e=>{const t=p({type:"SET",value:e});return()=>{t(),h.clear(e.id)}},destroy:()=>{h.destroy()},useModelStore:f,modelStore:h,useModelChangedStore:c,useRpcResultStore:t,rpcResultStore:n,useRpcRequestStore:r,rpcRequestStore:o,useRpcRequestModelStore:l,rpcRequestModelStore:s,useRpcRequestSessionModelStore:i,rpcRequestSessionModelStore:a,modelChangedStore:u,appId:e}}(n.id),c=function(e){const[t,n]=Qs({}),[r,o]=Qs({}),[i,a]=Qs({});return{useAppSelectionsStore:t,useAppModalStore:r,appSelectionsStore:n,appModalStore:o,useModalObjectStore:i,modalObjectStore:a,appId:e}}(n.id),u=ot.createRoot(l);u.render(x.createElement(Ys,{ref:a,initialContext:r,renderCallback:t,modelStore:s,selectionStore:c}));const d={},p=[],f=[];return[{toggleFocusOfCells(e){Object.keys(d).forEach(t=>{var n;null===(n=d[t].current)||void 0===n||n.toggleFocus(t===e)})},cells:d,addCell(e,t){d[e]=t},removeCell(e){delete d[e]},add:(e,t)=>(async()=>{await i,f.push(e),p.push(t),a.current.setComps(f)})(),remove(e){o||(async t=>{await i;const n=f.indexOf(e);var r;-1!==n&&(null===(r=p[n])||void 0===r||r.call(p),f.splice(n,1),p.splice(n,1));null==a||null===(t=a.current)||void 0===t||t.setComps(f)})()},setMuiThemeName(e){(async()=>{await i,a.current.setMuiThemeName(e)})()},context(e){(async()=>{await i,e&&Xs(e),a.current.setContext(e)})()},destroy(){o=!0,p.forEach(e=>{e&&e()}),s.destroy(),u.unmount(),document.body.removeChild(l)}},s,c,a,i]}function tc(e){return Ko("MuiSvgIcon",e)}Jo("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const nc=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],rc=Ul("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Nr(n.color)}`],t[`fontSize${Nr(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,i,a,l,s,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(l=e.typography)||null==(s=l.pxToRem)?void 0:s.call(l,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:{action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0}[t.color]}}),oc=w.forwardRef(function(e,t){const n=Kl({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:i="inherit",component:a="svg",fontSize:l="medium",htmlColor:s,inheritViewBox:c=!1,titleAccess:u,viewBox:d="0 0 24 24"}=n,p=ct(n,nc),f=w.isValidElement(r)&&"svg"===r.type,h=st({},n,{color:i,component:a,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:d,hasSvgAsChild:f}),m={};c||(m.viewBox=d);const g=(e=>{const{color:t,fontSize:n,classes:r}=e;return Ui({root:["root","inherit"!==t&&`color${Nr(t)}`,`fontSize${Nr(n)}`]},tc,r)})(h);return dr.jsxs(rc,st({as:a,className:Ho(g.root,o),focusable:"false",color:s,"aria-hidden":!u||void 0,role:u?"img":void 0,ref:t},m,p,f&&r.props,{ownerState:h,children:[f?r.props.children:r,u?dr.jsx("title",{children:u}):null]}))});function ic(e,t){function n(n,r){return dr.jsx(oc,st({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return n.muiName=oc.muiName,w.memo(w.forwardRef(n))}oc.muiName="SvgIcon";const ac={configure:e=>{Wo.configure(e)}};var lc=Object.freeze({__proto__:null,capitalize:Nr,createChainedFunction:bi,createSvgIcon:ic,debounce:vi,deprecatedPropType:function(e,t){return()=>null},isMuiElement:yi,ownerDocument:Si,ownerWindow:wi,requirePropFactory:function(e,t){return()=>null},setRef:xi,unstable_ClassNameGenerator:ac,unstable_useEnhancedEffect:mi,unstable_useId:Ei,unsupportedProp:function(e,t,n,r,o){return null},useControlled:Ri,useEventCallback:Li,useForkRef:Oi,useIsFocusVisible:$i});const sc=e=>e.scrollTop;function cc(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}function uc(e){return Ko("MuiPaper",e)}Jo("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const dc=["className","component","elevation","square","variant"],pc=Ul("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return st({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&st({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${La.alpha("#fff",Gl(t.elevation))}, ${La.alpha("#fff",Gl(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))}),fc=w.forwardRef(function(e,t){const n=Kl({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:i=1,square:a=!1,variant:l="elevation"}=n,s=ct(n,dc),c=st({},n,{component:o,elevation:i,square:a,variant:l}),u=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return Ui({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},uc,o)})(c);return dr.jsx(pc,st({as:o,ownerState:c,className:Ho(u.root,r),ref:t},s))});function hc(e){return Ko("MuiIconButton",e)}const mc=Jo("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),gc=["edge","children","className","color","disabled","disableFocusRipple","size"],bc=Ul(Is,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${Nr(n.color)}`],n.edge&&t[`edge${Nr(n.edge)}`],t[`size${Nr(n.size)}`]]}})(({theme:e,ownerState:t})=>st({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})`:La.alpha(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 n;const r=null==(n=(e.vars||e).palette)?void 0:n[t.color];return st({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&st({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":st({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:La.alpha(r.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)},{[`&.${mc.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),vc=w.forwardRef(function(e,t){const n=Kl({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:i,color:a="default",disabled:l=!1,disableFocusRipple:s=!1,size:c="medium"}=n,u=ct(n,gc),d=st({},n,{edge:r,color:a,disabled:l,disableFocusRipple:s,size:c}),p=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e;return Ui({root:["root",n&&"disabled","default"!==r&&`color${Nr(r)}`,o&&`edge${Nr(o)}`,`size${Nr(i)}`]},hc,t)})(d);return dr.jsx(bc,st({className:Ho(p.root,i),centerRipple:!0,focusRipple:!s,disabled:l,ref:t},u,{ownerState:d,children:o}))});function yc(e){return Ko("MuiTypography",e)}Jo("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Sc=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],wc=Ul("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${Nr(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>st({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})),xc={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},kc={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Cc=w.forwardRef(function(e,t){const n=Kl({props:e,name:"MuiTypography"}),r=(e=>kc[e]||e)(n.color),o=Fo(st({},n,{color:r})),{align:i="inherit",className:a,component:l,gutterBottom:s=!1,noWrap:c=!1,paragraph:u=!1,variant:d="body1",variantMapping:p=xc}=o,f=ct(o,Sc),h=st({},o,{align:i,color:r,className:a,component:l,gutterBottom:s,noWrap:c,paragraph:u,variant:d,variantMapping:p}),m=l||(u?"p":p[d]||xc[d])||"span",g=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e;return Ui({root:["root",i,"inherit"!==e.align&&`align${Nr(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},yc,a)})(h);return dr.jsx(wc,st({as:m,ref:t,ownerState:h,className:Ho(g.root,a)},f))});var Ec,Rc={};function Lc(){if(Ec)return Rc;Ec=1,Object.defineProperty(Rc,"__esModule",{value:!0}),Rc.default=void 0;var e=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(o,a,l):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}(S()),t=Dl;function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}return Rc.default=function(n=null){const r=e.useContext(t.ThemeContext);return r&&(o=r,0!==Object.keys(o).length)?r:n;var o},Rc}var Oc=n(Lc()),Tc="top",Pc="bottom",Ic="right",_c="left",Mc="auto",Nc=[Tc,Pc,Ic,_c],qc="start",Dc="end",Ac="viewport",zc="popper",jc=Nc.reduce(function(e,t){return e.concat([t+"-"+qc,t+"-"+Dc])},[]),Fc=[].concat(Nc,[Mc]).reduce(function(e,t){return e.concat([t,t+"-"+qc,t+"-"+Dc])},[]),$c=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Bc(e){return e?(e.nodeName||"").toLowerCase():null}function Wc(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Uc(e){return e instanceof Wc(e).Element||e instanceof Element}function Hc(e){return e instanceof Wc(e).HTMLElement||e instanceof HTMLElement}function Vc(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Wc(e).ShadowRoot||e instanceof ShadowRoot)}var Gc={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Hc(o)&&Bc(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});Hc(r)&&Bc(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};function Kc(e){return e.split("-")[0]}var Jc=Math.max,Zc=Math.min,Xc=Math.round;function Qc(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Yc(){return!/^((?!chrome|android).)*safari/i.test(Qc())}function eu(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&Hc(e)&&(o=e.offsetWidth>0&&Xc(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Xc(r.height)/e.offsetHeight||1);var a=(Uc(e)?Wc(e):window).visualViewport,l=!Yc()&&n,s=(r.left+(l&&a?a.offsetLeft:0))/o,c=(r.top+(l&&a?a.offsetTop:0))/i,u=r.width/o,d=r.height/i;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function tu(e){var t=eu(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function nu(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Vc(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ru(e){return Wc(e).getComputedStyle(e)}function ou(e){return["table","td","th"].indexOf(Bc(e))>=0}function iu(e){return((Uc(e)?e.ownerDocument:e.document)||window.document).documentElement}function au(e){return"html"===Bc(e)?e:e.assignedSlot||e.parentNode||(Vc(e)?e.host:null)||iu(e)}function lu(e){return Hc(e)&&"fixed"!==ru(e).position?e.offsetParent:null}function su(e){for(var t=Wc(e),n=lu(e);n&&ou(n)&&"static"===ru(n).position;)n=lu(n);return n&&("html"===Bc(n)||"body"===Bc(n)&&"static"===ru(n).position)?t:n||function(e){var t=/firefox/i.test(Qc());if(/Trident/i.test(Qc())&&Hc(e)&&"fixed"===ru(e).position)return null;var n=au(e);for(Vc(n)&&(n=n.host);Hc(n)&&["html","body"].indexOf(Bc(n))<0;){var r=ru(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function cu(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function uu(e,t,n){return Jc(e,Zc(t,n))}function du(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function pu(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var fu={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=Kc(n.placement),s=cu(l),c=[_c,Ic].indexOf(l)>=0?"height":"width";if(i&&a){var u=function(e,t){return du("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:pu(e,Nc))}(o.padding,n),d=tu(i),p="y"===s?Tc:_c,f="y"===s?Pc:Ic,h=n.rects.reference[c]+n.rects.reference[s]-a[s]-n.rects.popper[c],m=a[s]-n.rects.reference[s],g=su(i),b=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,v=h/2-m/2,y=u[p],S=b-d[c]-u[f],w=b/2-d[c]/2+v,x=uu(y,w,S),k=s;n.modifiersData[r]=((t={})[k]=x,t.centerOffset=x-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&nu(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function hu(e){return e.split("-")[1]}var mu={top:"auto",right:"auto",bottom:"auto",left:"auto"};function gu(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=a.x,f=void 0===p?0:p,h=a.y,m=void 0===h?0:h,g="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var b=a.hasOwnProperty("x"),v=a.hasOwnProperty("y"),y=_c,S=Tc,w=window;if(c){var x=su(n),k="clientHeight",C="clientWidth";if(x===Wc(n)&&"static"!==ru(x=iu(n)).position&&"absolute"===l&&(k="scrollHeight",C="scrollWidth"),o===Tc||(o===_c||o===Ic)&&i===Dc)S=Pc,m-=(d&&x===w&&w.visualViewport?w.visualViewport.height:x[k])-r.height,m*=s?1:-1;if(o===_c||(o===Tc||o===Pc)&&i===Dc)y=Ic,f-=(d&&x===w&&w.visualViewport?w.visualViewport.width:x[C])-r.width,f*=s?1:-1}var E,R=Object.assign({position:l},c&&mu),L=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Xc(n*o)/o||0,y:Xc(r*o)/o||0}}({x:f,y:m},Wc(n)):{x:f,y:m};return f=L.x,m=L.y,s?Object.assign({},R,((E={})[S]=v?"0":"",E[y]=b?"0":"",E.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",E)):Object.assign({},R,((t={})[S]=v?m+"px":"",t[y]=b?f+"px":"",t.transform="",t))}var bu={passive:!0};var vu={left:"right",right:"left",bottom:"top",top:"bottom"};function yu(e){return e.replace(/left|right|bottom|top/g,function(e){return vu[e]})}var Su={start:"end",end:"start"};function wu(e){return e.replace(/start|end/g,function(e){return Su[e]})}function xu(e){var t=Wc(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ku(e){return eu(iu(e)).left+xu(e).scrollLeft}function Cu(e){var t=ru(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Eu(e){return["html","body","#document"].indexOf(Bc(e))>=0?e.ownerDocument.body:Hc(e)&&Cu(e)?e:Eu(au(e))}function Ru(e,t){var n;void 0===t&&(t=[]);var r=Eu(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Wc(r),a=o?[i].concat(i.visualViewport||[],Cu(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(Ru(au(a)))}function Lu(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ou(e,t,n){return t===Ac?Lu(function(e,t){var n=Wc(e),r=iu(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;var c=Yc();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l+ku(e),y:s}}(e,n)):Uc(t)?function(e,t){var n=eu(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Lu(function(e){var t,n=iu(e),r=xu(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Jc(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Jc(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+ku(e),s=-r.scrollTop;return"rtl"===ru(o||n).direction&&(l+=Jc(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(iu(e)))}function Tu(e,t,n,r){var o="clippingParents"===t?function(e){var t=Ru(au(e)),n=["absolute","fixed"].indexOf(ru(e).position)>=0&&Hc(e)?su(e):e;return Uc(n)?t.filter(function(e){return Uc(e)&&nu(e,n)&&"body"!==Bc(e)}):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],l=i.reduce(function(t,n){var o=Ou(e,n,r);return t.top=Jc(o.top,t.top),t.right=Zc(o.right,t.right),t.bottom=Zc(o.bottom,t.bottom),t.left=Jc(o.left,t.left),t},Ou(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Pu(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Kc(o):null,a=o?hu(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case Tc:t={x:l,y:n.y-r.height};break;case Pc:t={x:l,y:n.y+n.height};break;case Ic:t={x:n.x+n.width,y:s};break;case _c:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=i?cu(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case qc:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Dc:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function Iu(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,l=n.boundary,s=void 0===l?"clippingParents":l,c=n.rootBoundary,u=void 0===c?Ac:c,d=n.elementContext,p=void 0===d?zc:d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,g=void 0===m?0:m,b=du("number"!=typeof g?g:pu(g,Nc)),v=p===zc?"reference":zc,y=e.rects.popper,S=e.elements[h?v:p],w=Tu(Uc(S)?S:S.contextElement||iu(e.elements.popper),s,u,a),x=eu(e.elements.reference),k=Pu({reference:x,element:y,placement:o}),C=Lu(Object.assign({},y,k)),E=p===zc?C:x,R={top:w.top-E.top+b.top,bottom:E.bottom-w.bottom+b.bottom,left:w.left-E.left+b.left,right:E.right-w.right+b.right},L=e.modifiersData.offset;if(p===zc&&L){var O=L[o];Object.keys(R).forEach(function(e){var t=[Ic,Pc].indexOf(e)>=0?1:-1,n=[Tc,Pc].indexOf(e)>=0?"y":"x";R[e]+=O[n]*t})}return R}function _u(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?Fc:s,u=hu(r),d=u?l?jc:jc.filter(function(e){return hu(e)===u}):Nc,p=d.filter(function(e){return c.indexOf(e)>=0});0===p.length&&(p=d);var f=p.reduce(function(t,n){return t[n]=Iu(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Kc(n)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}var Mu={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,b=Kc(g),v=s||(b===g||!h?[yu(g)]:function(e){if(Kc(e)===Mc)return[];var t=yu(e);return[wu(e),t,wu(t)]}(g)),y=[g].concat(v).reduce(function(e,n){return e.concat(Kc(n)===Mc?_u(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)},[]),S=t.rects.reference,w=t.rects.popper,x=new Map,k=!0,C=y[0],E=0;E<y.length;E++){var R=y[E],L=Kc(R),O=hu(R)===qc,T=[Tc,Pc].indexOf(L)>=0,P=T?"width":"height",I=Iu(t,{placement:R,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),_=T?O?Ic:_c:O?Pc:Tc;S[P]>w[P]&&(_=yu(_));var M=yu(_),N=[];if(i&&N.push(I[L]<=0),l&&N.push(I[_]<=0,I[M]<=0),N.every(function(e){return e})){C=R,k=!1;break}x.set(R,N)}if(k)for(var q=function(e){var t=y.find(function(t){var n=x.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},D=h?3:1;D>0;D--){if("break"===q(D))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Nu(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function qu(e){return[Tc,Ic,Pc,_c].some(function(t){return e[t]>=0})}var Du={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Fc.reduce(function(e,n){return e[n]=function(e,t,n){var r=Kc(e),o=[_c,Tc].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[_c,Ic].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}(n,t.rects,i),e},{}),l=a[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var Au={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0!==a&&a,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,g=Iu(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),b=Kc(t.placement),v=hu(t.placement),y=!v,S=cu(b),w="x"===S?"y":"x",x=t.modifiersData.popperOffsets,k=t.rects.reference,C=t.rects.popper,E="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,R="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(x){if(i){var T,P="y"===S?Tc:_c,I="y"===S?Pc:Ic,_="y"===S?"height":"width",M=x[S],N=M+g[P],q=M-g[I],D=f?-C[_]/2:0,A=v===qc?k[_]:C[_],z=v===qc?-C[_]:-k[_],j=t.elements.arrow,F=f&&j?tu(j):{width:0,height:0},$=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=$[P],W=$[I],U=uu(0,k[_],F[_]),H=y?k[_]/2-D-U-B-R.mainAxis:A-U-B-R.mainAxis,V=y?-k[_]/2+D+U+W+R.mainAxis:z+U+W+R.mainAxis,G=t.elements.arrow&&su(t.elements.arrow),K=G?"y"===S?G.clientTop||0:G.clientLeft||0:0,J=null!=(T=null==L?void 0:L[S])?T:0,Z=M+V-J,X=uu(f?Zc(N,M+H-J-K):N,M,f?Jc(q,Z):q);x[S]=X,O[S]=X-M}if(l){var Q,Y="x"===S?Tc:_c,ee="x"===S?Pc:Ic,te=x[w],ne="y"===w?"height":"width",re=te+g[Y],oe=te-g[ee],ie=-1!==[Tc,_c].indexOf(b),ae=null!=(Q=null==L?void 0:L[w])?Q:0,le=ie?re:te-k[ne]-C[ne]-ae+R.altAxis,se=ie?te+k[ne]+C[ne]-ae-R.altAxis:oe,ce=f&&ie?function(e,t,n){var r=uu(e,t,n);return r>n?n:r}(le,te,se):uu(f?le:re,te,f?se:oe);x[w]=ce,O[w]=ce-te}t.modifiersData[r]=O}},requiresIfExists:["offset"]};function zu(e,t,n){void 0===n&&(n=!1);var r=Hc(t),o=Hc(t)&&function(e){var t=e.getBoundingClientRect(),n=Xc(t.width)/e.offsetWidth||1,r=Xc(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=iu(t),a=eu(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==Bc(t)||Cu(i))&&(l=function(e){return e!==Wc(e)&&Hc(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:xu(e);var t}(t)),Hc(t)?((s=eu(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=ku(i))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function ju(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||o(e)}),r}function Fu(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}var $u={placement:"bottom",modifiers:[],strategy:"absolute"};function Bu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function Wu(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?$u:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},$u,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],l=!1,s={state:o,setOptions:function(n){var l="function"==typeof n?n(o.options):n;c(),o.options=Object.assign({},i,o.options,l),o.scrollParents={reference:Uc(e)?Ru(e):e.contextElement?Ru(e.contextElement):[],popper:Ru(t)};var u,d,p=function(e){var t=ju(e);return $c.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((u=[].concat(r,o.options.modifiers),d=u.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(d).map(function(e){return d[e]})));return o.orderedModifiers=p.filter(function(e){return e.enabled}),o.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var l=i({state:o,name:t,instance:s,options:r}),c=function(){};a.push(l||c)}}),s.update()},forceUpdate:function(){if(!l){var e=o.elements,t=e.reference,n=e.popper;if(Bu(t,n)){o.rects={reference:zu(t,su(n),"fixed"===o.options.strategy),popper:tu(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(function(e){return o.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,c=i.options,u=void 0===c?{}:c,d=i.name;"function"==typeof a&&(o=a({state:o,options:u,name:d,instance:s})||o)}else o.reset=!1,r=-1}}},update:Fu(function(){return new Promise(function(e){s.forceUpdate(),e(o)})}),destroy:function(){c(),l=!0}};if(!Bu(e,t))return s;function c(){a.forEach(function(e){return e()}),a=[]}return s.setOptions(n).then(function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)}),s}}var Uu=Wu({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,l=void 0===a||a,s=Wc(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(e){e.addEventListener("scroll",n.update,bu)}),l&&s.addEventListener("resize",n.update,bu),function(){i&&c.forEach(function(e){e.removeEventListener("scroll",n.update,bu)}),l&&s.removeEventListener("resize",n.update,bu)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Pu({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,l=n.roundOffsets,s=void 0===l||l,c={placement:Kc(t.placement),variation:hu(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,gu(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,gu(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Gc,Du,Mu,Au,fu,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Iu(t,{elementContext:"reference"}),l=Iu(t,{altBoundary:!0}),s=Nu(a,r),c=Nu(l,o,i),u=qu(s),d=qu(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});const Hu=w.forwardRef(function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[i,a]=w.useState(null),l=Oi(w.isValidElement(n)?Xi(n):null,t);if(mi(()=>{o||a(function(e){return"function"==typeof e?e():e}(r)||document.body)},[r,o]),mi(()=>{if(i&&!o)return xi(t,i),()=>{xi(t,null)}},[t,i,o]),o){if(w.isValidElement(n)){const e={ref:l};return w.cloneElement(n,e)}return dr.jsx(w.Fragment,{children:n})}return dr.jsx(w.Fragment,{children:i?Xl.createPortal(n,i):i})});function Vu(e){return Ko("MuiPopper",e)}Jo("MuiPopper",["root"]);const Gu=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Ku=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Ju(e){return"function"==typeof e?e():e}const Zu={},Xu=w.forwardRef(function(e,t){var n;const{anchorEl:r,children:o,direction:i,disablePortal:a,modifiers:l,open:s,placement:c,popperOptions:u,popperRef:d,slotProps:p={},slots:f={},TransitionProps:h}=e,m=ct(e,Gu),g=w.useRef(null),b=Oi(g,t),v=w.useRef(null),y=Oi(v,d),S=w.useRef(y);mi(()=>{S.current=y},[y]),w.useImperativeHandle(d,()=>v.current,[]);const x=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(c,i),[k,C]=w.useState(x),[E,R]=w.useState(Ju(r));w.useEffect(()=>{v.current&&v.current.forceUpdate()}),w.useEffect(()=>{r&&R(Ju(r))},[r]),mi(()=>{if(!E||!s)return;let e=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{C(e.placement)}}];null!=l&&(e=e.concat(l)),u&&null!=u.modifiers&&(e=e.concat(u.modifiers));const t=Uu(E,g.current,st({placement:x},u,{modifiers:e}));return S.current(t),()=>{t.destroy(),S.current(null)}},[E,a,l,s,u,x]);const L={placement:k};null!==h&&(L.TransitionProps=h);const O=(e=>{const{classes:t}=e;return Ui({root:["root"]},Vu,t)})(e),T=null!=(n=f.root)?n:"div",P=Zi({elementType:T,externalSlotProps:p.root,externalForwardedProps:m,additionalProps:{role:"tooltip",ref:b},ownerState:e,className:O.root});return dr.jsx(T,st({},P,{children:"function"==typeof o?o(L):o}))}),Qu=w.forwardRef(function(e,t){const{anchorEl:n,children:r,container:o,direction:i="ltr",disablePortal:a=!1,keepMounted:l=!1,modifiers:s,open:c,placement:u="bottom",popperOptions:d=Zu,popperRef:p,style:f,transition:h=!1,slotProps:m={},slots:g={}}=e,b=ct(e,Ku),[v,y]=w.useState(!0);if(!l&&!c&&(!h||v))return null;let S;if(o)S=o;else if(n){const e=Ju(n);S=e&&void 0!==e.nodeType?Si(e).body:Si(null).body}const x=c||!l||h&&!v?void 0:"none",k=h?{in:c,onEnter:()=>{y(!1)},onExited:()=>{y(!0)}}:void 0;return dr.jsx(Hu,{disablePortal:a,container:S,children:dr.jsx(Xu,st({anchorEl:n,direction:i,disablePortal:a,modifiers:s,ref:t,open:h?!v:c,placement:u,popperOptions:d,popperRef:p,slotProps:m,slots:g},b,{style:st({position:"fixed",top:0,left:0,display:x},f),TransitionProps:k,children:r}))})}),Yu=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],ed=Ul(Qu,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),td=w.forwardRef(function(e,t){var n;const r=Oc(),o=Kl({props:e,name:"MuiPopper"}),{anchorEl:i,component:a,components:l,componentsProps:s,container:c,disablePortal:u,keepMounted:d,modifiers:p,open:f,placement:h,popperOptions:m,popperRef:g,transition:b,slots:v,slotProps:y}=o,S=ct(o,Yu),w=null!=(n=null==v?void 0:v.root)?n:null==l?void 0:l.Root,x=st({anchorEl:i,container:c,disablePortal:u,keepMounted:d,modifiers:p,open:f,placement:h,popperOptions:m,popperRef:g,transition:b},S);return dr.jsx(ed,st({as:a,direction:null==r?void 0:r.direction,slots:{root:w},slotProps:null!=y?y:s},x,{ref:t}))}),nd=["onChange","maxRows","minRows","style","value"];function rd(e){return parseInt(e,10)||0}const od={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function id(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const ad=w.forwardRef(function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:i,value:a}=e,l=ct(e,nd),{current:s}=w.useRef(null!=a),c=w.useRef(null),u=Oi(t,c),d=w.useRef(null),p=w.useRef(null),f=w.useCallback(()=>{const t=c.current,n=p.current;if(!t||!n)return;const i=wi(t).getComputedStyle(t);if("0px"===i.width)return{outerHeightStyle:0,overflowing:!1};n.style.width=i.width,n.value=t.value||e.placeholder||"x","\n"===n.value.slice(-1)&&(n.value+=" ");const a=i.boxSizing,l=rd(i.paddingBottom)+rd(i.paddingTop),s=rd(i.borderBottomWidth)+rd(i.borderTopWidth),u=n.scrollHeight;n.value="x";const d=n.scrollHeight;let f=u;o&&(f=Math.max(Number(o)*d,f)),r&&(f=Math.min(Number(r)*d,f)),f=Math.max(f,d);return{outerHeightStyle:f+("border-box"===a?l+s:0),overflowing:Math.abs(f-u)<=1}},[r,o,e.placeholder]),h=Li(()=>{const e=c.current,t=f();if(!e||!t||id(t))return!1;const n=t.outerHeightStyle;return null!=d.current&&d.current!==n}),m=w.useCallback(()=>{const e=c.current,t=f();if(!e||!t||id(t))return;const n=t.outerHeightStyle;d.current!==n&&(d.current=n,e.style.height=`${n}px`),e.style.overflow=t.overflowing?"hidden":""},[f]),g=w.useRef(-1);mi(()=>{const e=vi(m),t=null==c?void 0:c.current;if(!t)return;const n=wi(t);let r;return n.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(()=>{h()&&(r.unobserve(t),cancelAnimationFrame(g.current),m(),g.current=requestAnimationFrame(()=>{r.observe(t)}))}),r.observe(t)),()=>{e.clear(),cancelAnimationFrame(g.current),n.removeEventListener("resize",e),r&&r.disconnect()}},[f,m,h]),mi(()=>{m()});return dr.jsxs(w.Fragment,{children:[dr.jsx("textarea",st({value:a,onChange:e=>{s||m(),n&&n(e)},ref:u,rows:o,style:i},l)),dr.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:st({},od,i,{paddingTop:0,paddingBottom:0})})]})});function ld({props:e,states:t,muiFormControl:n}){return t.reduce((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t),{})}const sd=w.createContext(void 0);function cd(){return w.useContext(sd)}function ud(e){return dr.jsx(zo,st({},e,{defaultTheme:Ol,themeId:lt}))}function dd(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function pd(e){return Ko("MuiInputBase",e)}const fd=Jo("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),hd=["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"],md=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Nr(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},gd=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},bd=Ul("div",{name:"MuiInputBase",slot:"Root",overridesResolver:md})(({theme:e,ownerState:t})=>st({},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",[`&.${fd.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&st({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),vd=Ul("input",{name:"MuiInputBase",slot:"Input",overridesResolver:gd})(({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=st({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return st({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":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${fd.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${fd.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"})}),yd=dr.jsx(ud,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Sd=w.forwardRef(function(e,t){var n;const r=Kl({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:a,className:l,components:s={},componentsProps:c={},defaultValue:u,disabled:d,disableInjectingGlobalStyles:p,endAdornment:f,fullWidth:h=!1,id:m,inputComponent:g="input",inputProps:b={},inputRef:v,maxRows:y,minRows:S,multiline:x=!1,name:k,onBlur:C,onChange:E,onClick:R,onFocus:L,onKeyDown:O,onKeyUp:T,placeholder:P,readOnly:I,renderSuffix:_,rows:M,slotProps:N={},slots:q={},startAdornment:D,type:A="text",value:z}=r,j=ct(r,hd),F=null!=b.value?b.value:z,{current:$}=w.useRef(null!=F),B=w.useRef(),W=w.useCallback(e=>{},[]),U=Oi(B,v,b.ref,W),[H,V]=w.useState(!1),G=cd(),K=ld({props:r,muiFormControl:G,states:["color","disabled","error","hiddenLabel","size","required","filled"]});K.focused=G?G.focused:H,w.useEffect(()=>{!G&&d&&H&&(V(!1),C&&C())},[G,d,H,C]);const J=G&&G.onFilled,Z=G&&G.onEmpty,X=w.useCallback(e=>{!function(e,t=!1){return e&&(dd(e.value)&&""!==e.value||t&&dd(e.defaultValue)&&""!==e.defaultValue)}(e)?Z&&Z():J&&J()},[J,Z]);mi(()=>{$&&X({value:F})},[F,X,$]);w.useEffect(()=>{X(B.current)},[]);let Q=g,Y=b;x&&"input"===Q&&(Y=st(M?{type:void 0,minRows:M,maxRows:M}:{type:void 0,maxRows:y,minRows:S},Y),Q=ad);w.useEffect(()=>{G&&G.setAdornedStart(Boolean(D))},[G,D]);const ee=st({},r,{color:K.color||"primary",disabled:K.disabled,endAdornment:f,error:K.error,focused:K.focused,formControl:G,fullWidth:h,hiddenLabel:K.hiddenLabel,multiline:x,size:K.size,startAdornment:D,type:A}),te=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:l,fullWidth:s,hiddenLabel:c,multiline:u,readOnly:d,size:p,startAdornment:f,type:h}=e;return Ui({root:["root",`color${Nr(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",a&&"focused",l&&"formControl",p&&"medium"!==p&&`size${Nr(p)}`,u&&"multiline",f&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",u&&"inputMultiline","small"===p&&"inputSizeSmall",c&&"inputHiddenLabel",f&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},pd,t)})(ee),ne=q.root||s.Root||bd,re=N.root||c.root||{},oe=q.input||s.Input||vd;return Y=st({},Y,null!=(n=N.input)?n:c.input),dr.jsxs(w.Fragment,{children:[!p&&yd,dr.jsxs(ne,st({},re,!Hi(ne)&&{ownerState:st({},ee,re.ownerState)},{ref:t,onClick:e=>{B.current&&e.currentTarget===e.target&&B.current.focus(),R&&R(e)}},j,{className:Ho(te.root,re.className,l,I&&"MuiInputBase-readOnly"),children:[D,dr.jsx(sd.Provider,{value:null,children:dr.jsx(oe,st({ownerState:ee,"aria-invalid":K.error,"aria-describedby":o,autoComplete:i,autoFocus:a,defaultValue:u,disabled:K.disabled,id:m,onAnimationStart:e=>{X("mui-auto-fill-cancel"===e.animationName?B.current:{value:"x"})},name:k,placeholder:P,readOnly:I,required:K.required,rows:M,value:F,onKeyDown:O,onKeyUp:T,type:A},Y,!Hi(oe)&&{as:Q,ownerState:st({},ee,Y.ownerState)},{ref:U,className:Ho(te.input,Y.className,I&&"MuiInputBase-readOnly"),onBlur:e=>{C&&C(e),b.onBlur&&b.onBlur(e),G&&G.onBlur?G.onBlur(e):V(!1)},onChange:(e,...t)=>{if(!$){const t=e.target||B.current;if(null==t)throw new Error(it(1));X({value:t.value})}b.onChange&&b.onChange(e,...t),E&&E(e,...t)},onFocus:e=>{K.disabled?e.stopPropagation():(L&&L(e),b.onFocus&&b.onFocus(e),G&&G.onFocus?G.onFocus(e):V(!0))}}))}),f,_?_(st({},K,{startAdornment:D})):null]}))]})});function wd(e){return Ko("MuiOutlinedInput",e)}const xd=st({},fd,Jo("MuiOutlinedInput",["root","notchedOutline","input"])),kd=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Cd={entering:{opacity:1},entered:{opacity:1}},Ed=w.forwardRef(function(e,t){const n=Tl(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:l,in:s,onEnter:c,onEntered:u,onEntering:d,onExit:p,onExited:f,onExiting:h,style:m,timeout:g=r,TransitionComponent:b=as}=e,v=ct(e,kd),y=w.useRef(null),S=Oi(y,Xi(a),t),x=e=>t=>{if(e){const n=y.current;void 0===t?e(n):e(n,t)}},k=x(d),C=x((e,t)=>{sc(e);const r=cc({style:m,timeout:g,easing:l},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),c&&c(e,t)}),E=x(u),R=x(h),L=x(e=>{const t=cc({style:m,timeout:g,easing:l},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),p&&p(e)}),O=x(f);return dr.jsx(b,st({appear:i,in:s,nodeRef:y,onEnter:C,onEntered:E,onEntering:k,onExit:L,onExited:O,onExiting:R,addEndListener:e=>{o&&o(y.current,e)},timeout:g},v,{children:(e,t)=>w.cloneElement(a,st({style:st({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},Cd[e],m,a.props.style),ref:S},t))}))});function Rd(e){return Ko("MuiBackdrop",e)}Jo("MuiBackdrop",["root","invisible"]);const Ld=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Od=Ul("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>st({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"})),Td=w.forwardRef(function(e,t){var n,r,o;const i=Kl({props:e,name:"MuiBackdrop"}),{children:a,className:l,component:s="div",components:c={},componentsProps:u={},invisible:d=!1,open:p,slotProps:f={},slots:h={},TransitionComponent:m=Ed,transitionDuration:g}=i,b=ct(i,Ld),v=st({},i,{component:s,invisible:d}),y=(e=>{const{classes:t,invisible:n}=e;return Ui({root:["root",n&&"invisible"]},Rd,t)})(v),S=null!=(n=f.root)?n:u.root;return dr.jsx(m,st({in:p,timeout:g},b,{children:dr.jsx(Od,st({"aria-hidden":!0},S,{as:null!=(r=null!=(o=h.root)?o:c.Root)?r:s,className:Ho(y.root,l,null==S?void 0:S.className),ownerState:st({},v,null==S?void 0:S.ownerState),classes:y,ref:t,children:a}))}))});function Pd(e){return Ko("MuiBadge",e)}const Id=Jo("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),_d=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],Md=Ul("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),Nd=Ul("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${Nr(n.anchorOrigin.vertical)}${Nr(n.anchorOrigin.horizontal)}${Nr(n.overlap)}`],"default"!==n.color&&t[`color${Nr(n.color)}`],n.invisible&&t.invisible]}})(({theme:e})=>{var t;return{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.keys((null!=(t=e.vars)?t:e).palette).filter(t=>{var n,r;return(null!=(n=e.vars)?n:e).palette[t].main&&(null!=(r=e.vars)?r:e).palette[t].contrastText}).map(t=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText}})),{props:{variant:"dot"},style:{borderRadius:4,height:8,minWidth:8,padding:0}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Id.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Id.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Id.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Id.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Id.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Id.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Id.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Id.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}]}}),qd=w.forwardRef(function(e,t){var n,r,o,i,a,l;const s=Kl({props:e,name:"MuiBadge"}),{anchorOrigin:c={vertical:"top",horizontal:"right"},className:u,component:d,components:p={},componentsProps:f={},children:h,overlap:m="rectangular",color:g="default",invisible:b=!1,max:v=99,badgeContent:y,slots:S,slotProps:w,showZero:x=!1,variant:k="standard"}=s,C=ct(s,_d),{badgeContent:E,invisible:R,max:L,displayValue:O}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,i=Wi({badgeContent:t,max:r});let a=n;!1!==n||0!==t||o||(a=!0);const{badgeContent:l,max:s=r}=a?i:e;return{badgeContent:l,invisible:a,max:s,displayValue:l&&Number(l)>s?`${s}+`:l}}({max:v,invisible:b,badgeContent:y,showZero:x}),T=Wi({anchorOrigin:c,color:g,overlap:m,variant:k,badgeContent:y}),P=R||null==E&&"dot"!==k,{color:I=g,overlap:_=m,anchorOrigin:M=c,variant:N=k}=P?T:s,q="dot"!==N?O:void 0,D=st({},s,{badgeContent:E,invisible:P,max:L,displayValue:q,showZero:x,anchorOrigin:M,color:I,overlap:_,variant:N}),A=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:i,classes:a={}}=e;return Ui({root:["root"],badge:["badge",i,r&&"invisible",`anchorOrigin${Nr(n.vertical)}${Nr(n.horizontal)}`,`anchorOrigin${Nr(n.vertical)}${Nr(n.horizontal)}${Nr(o)}`,`overlap${Nr(o)}`,"default"!==t&&`color${Nr(t)}`]},Pd,a)})(D),z=null!=(n=null!=(r=null==S?void 0:S.root)?r:p.Root)?n:Md,j=null!=(o=null!=(i=null==S?void 0:S.badge)?i:p.Badge)?o:Nd,F=null!=(a=null==w?void 0:w.root)?a:f.root,$=null!=(l=null==w?void 0:w.badge)?l:f.badge,B=Zi({elementType:z,externalSlotProps:F,externalForwardedProps:C,additionalProps:{ref:t,as:d},ownerState:D,className:Ho(null==F?void 0:F.className,A.root,u)}),W=Zi({elementType:j,externalSlotProps:$,ownerState:D,className:Ho(A.badge,null==$?void 0:$.className)});return dr.jsxs(z,st({},B,{children:[h,dr.jsx(j,st({},W,{children:q}))]}))}),Dd=Jo("MuiBox",["root"]),Ad=Ll(),zd=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=mr("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(To),a=w.forwardRef(function(e,a){const l=Do(n),s=Fo(e),{className:c,component:u="div"}=s,d=ct(s,Vo);return dr.jsx(i,st({as:u,ref:a,className:Ho(c,o?o(r):r),theme:t&&l[t]||l},d))});return a}({themeId:lt,defaultTheme:Ad,defaultClassName:Dd.root,generateClassName:Wo.generate});function jd(e){return Ko("PrivateSwitchBase",e)}Jo("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const Fd=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],$d=Ul(Is,{name:"MuiSwitchBase"})(({ownerState:e})=>st({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12})),Bd=Ul("input",{name:"MuiSwitchBase",shouldForwardProp:Wl})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Wd=w.forwardRef(function(e,t){const{autoFocus:n,checked:r,checkedIcon:o,className:i,defaultChecked:a,disabled:l,disableFocusRipple:s=!1,edge:c=!1,icon:u,id:d,inputProps:p,inputRef:f,name:h,onBlur:m,onChange:g,onFocus:b,readOnly:v,required:y=!1,tabIndex:S,type:w,value:x}=e,k=ct(e,Fd),[C,E]=Ri({controlled:r,default:Boolean(a),name:"SwitchBase",state:"checked"}),R=cd();let L=l;R&&void 0===L&&(L=R.disabled);const O="checkbox"===w||"radio"===w,T=st({},e,{checked:C,disabled:L,disableFocusRipple:s,edge:c}),P=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e;return Ui({root:["root",n&&"checked",r&&"disabled",o&&`edge${Nr(o)}`],input:["input"]},jd,t)})(T);return dr.jsxs($d,st({component:"span",className:Ho(P.root,i),centerRipple:!0,focusRipple:!s,disabled:L,tabIndex:null,role:void 0,onFocus:e=>{b&&b(e),R&&R.onFocus&&R.onFocus(e)},onBlur:e=>{m&&m(e),R&&R.onBlur&&R.onBlur(e)},ownerState:T,ref:t},k,{children:[dr.jsx(Bd,st({autoFocus:n,checked:r,defaultChecked:a,className:P.input,disabled:L,id:O?d:void 0,name:h,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;E(t),g&&g(e,t)},readOnly:v,ref:f,required:y,ownerState:T,tabIndex:S,type:w},"checkbox"===w&&void 0===x?{}:{value:x},p)),C?o:u]}))});var Ud=ic(dr.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"),Hd=ic(dr.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"),Vd=ic(dr.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 Gd(e){return Ko("MuiCheckbox",e)}const Kd=Jo("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Jd=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],Zd=Ul(Wd,{shouldForwardProp:e=>Wl(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${Nr(n.size)}`],"default"!==n.color&&t[`color${Nr(n.color)}`]]}})(({theme:e,ownerState:t})=>st({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})`:La.alpha("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${Kd.checked}, &.${Kd.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Kd.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),Xd=dr.jsx(Hd,{}),Qd=dr.jsx(Ud,{}),Yd=dr.jsx(Vd,{}),ep=w.forwardRef(function(e,t){var n,r;const o=Kl({props:e,name:"MuiCheckbox"}),{checkedIcon:i=Xd,color:a="primary",icon:l=Qd,indeterminate:s=!1,indeterminateIcon:c=Yd,inputProps:u,size:d="medium",className:p}=o,f=ct(o,Jd),h=s?c:l,m=s?c:i,g=st({},o,{color:a,indeterminate:s,size:d}),b=(e=>{const{classes:t,indeterminate:n,color:r,size:o}=e;return st({},t,Ui({root:["root",n&&"indeterminate",`color${Nr(r)}`,`size${Nr(o)}`]},Gd,t))})(g);return dr.jsx(Zd,st({type:"checkbox",inputProps:st({"data-indeterminate":s},u),icon:w.cloneElement(h,{fontSize:null!=(n=h.props.fontSize)?n:d}),checkedIcon:w.cloneElement(m,{fontSize:null!=(r=m.props.fontSize)?r:d}),ownerState:g,ref:t,className:Ho(b.root,p)},f,{classes:b}))});function tp(e){return Ko("MuiCircularProgress",e)}Jo("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const np=["className","color","disableShrink","size","style","thickness","value","variant"];let rp,op,ip,ap,lp=e=>e;const sp=44,cp=Qn(rp||(rp=lp`
96
+ `),hs.rippleVisible,ws,550,({theme:e})=>e.transitions.easing.easeInOut,hs.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,hs.child,hs.childLeaving,xs,550,({theme:e})=>e.transitions.easing.easeInOut,hs.childPulsate,ks,({theme:e})=>e.transitions.easing.easeInOut),Rs=w.forwardRef(function(e,t){const n=Kl({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:i}=n,a=ct(n,ms),[l,s]=w.useState([]),c=w.useRef(0),u=w.useRef(null);w.useEffect(()=>{u.current&&(u.current(),u.current=null)},[l]);const d=w.useRef(!1),p=_i(),f=w.useRef(null),h=w.useRef(null),m=w.useCallback(e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:a}=e;s(e=>[...e,dr.jsx(Es,{classes:{ripple:Ho(o.ripple,hs.ripple),rippleVisible:Ho(o.rippleVisible,hs.rippleVisible),ripplePulsate:Ho(o.ripplePulsate,hs.ripplePulsate),child:Ho(o.child,hs.child),childLeaving:Ho(o.childLeaving,hs.childLeaving),childPulsate:Ho(o.childPulsate,hs.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},c.current)]),c.current+=1,u.current=a},[o]),g=w.useCallback((e={},t={},n=()=>{})=>{const{pulsate:o=!1,center:i=r||t.pulsate,fakeElement:a=!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 l=a?null:h.current,s=l?l.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,g;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(s.width/2),u=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-s.left),u=Math.round(n-s.top)}if(i)g=Math.sqrt((2*s.width**2+s.height**2)/3),g%2==0&&(g+=1);else{const e=2*Math.max(Math.abs((l?l.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((l?l.clientHeight:0)-u),u)+2;g=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===f.current&&(f.current=()=>{m({pulsate:o,rippleX:c,rippleY:u,rippleSize:g,cb:n})},p.start(80,()=>{f.current&&(f.current(),f.current=null)})):m({pulsate:o,rippleX:c,rippleY:u,rippleSize:g,cb:n})},[r,m,p]),b=w.useCallback(()=>{g({},{pulsate:!0})},[g]),v=w.useCallback((e,t)=>{if(p.clear(),"touchend"===(null==e?void 0:e.type)&&f.current)return f.current(),f.current=null,void p.start(0,()=>{v(e,t)});f.current=null,s(e=>e.length>0?e.slice(1):e),u.current=t},[p]);return w.useImperativeHandle(t,()=>({pulsate:b,start:g,stop:v}),[b,g,v]),dr.jsx(Cs,st({className:Ho(hs.root,o.root,i),ref:h},a,{children:dr.jsx(fs,{component:null,exit:!0,children:l})}))});function Ls(e){return Ko("MuiButtonBase",e)}const Os=Jo("MuiButtonBase",["root","disabled","focusVisible"]),Ts=["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"],Ps=Ul("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"},[`&.${Os.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Is=w.forwardRef(function(e,t){const n=Kl({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:i,className:a,component:l="button",disabled:s=!1,disableRipple:c=!1,disableTouchRipple:u=!1,focusRipple:d=!1,LinkComponent:p="a",onBlur:f,onClick:h,onContextMenu:m,onDragLeave:g,onFocus:b,onFocusVisible:v,onKeyDown:y,onKeyUp:S,onMouseDown:x,onMouseLeave:k,onMouseUp:C,onTouchEnd:E,onTouchMove:R,onTouchStart:L,tabIndex:O=0,TouchRippleProps:T,touchRippleRef:P,type:I}=n,_=ct(n,Ts),M=w.useRef(null),N=w.useRef(null),q=Oi(N,P),{isFocusVisibleRef:D,onFocus:A,onBlur:z,ref:j}=$i(),[F,$]=w.useState(!1);s&&F&&$(!1),w.useImperativeHandle(r,()=>({focusVisible:()=>{$(!0),M.current.focus()}}),[]);const[B,W]=w.useState(!1);w.useEffect(()=>{W(!0)},[]);const U=B&&!c&&!s;function H(e,t,n=u){return Li(r=>{t&&t(r);return!n&&N.current&&N.current[e](r),!0})}w.useEffect(()=>{F&&d&&!c&&B&&N.current.pulsate()},[c,d,F,B]);const V=H("start",x),G=H("stop",m),K=H("stop",g),J=H("stop",C),Z=H("stop",e=>{F&&e.preventDefault(),k&&k(e)}),X=H("start",L),Q=H("stop",E),Y=H("stop",R),ee=H("stop",e=>{z(e),!1===D.current&&$(!1),f&&f(e)},!1),te=Li(e=>{M.current||(M.current=e.currentTarget),A(e),!0===D.current&&($(!0),v&&v(e)),b&&b(e)}),ne=()=>{const e=M.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},re=w.useRef(!1),oe=Li(e=>{d&&!re.current&&F&&N.current&&" "===e.key&&(re.current=!0,N.current.stop(e,()=>{N.current.start(e)})),e.target===e.currentTarget&&ne()&&" "===e.key&&e.preventDefault(),y&&y(e),e.target===e.currentTarget&&ne()&&"Enter"===e.key&&!s&&(e.preventDefault(),h&&h(e))}),ie=Li(e=>{d&&" "===e.key&&N.current&&F&&!e.defaultPrevented&&(re.current=!1,N.current.stop(e,()=>{N.current.pulsate(e)})),S&&S(e),h&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&h(e)});let ae=l;"button"===ae&&(_.href||_.to)&&(ae=p);const le={};"button"===ae?(le.type=void 0===I?"button":I,le.disabled=s):(_.href||_.to||(le.role="button"),s&&(le["aria-disabled"]=s));const se=Oi(t,j,M),ce=st({},n,{centerRipple:o,component:l,disabled:s,disableRipple:c,disableTouchRipple:u,focusRipple:d,tabIndex:O,focusVisible:F}),ue=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=Ui({root:["root",t&&"disabled",n&&"focusVisible"]},Ls,o);return n&&r&&(i.root+=` ${r}`),i})(ce);return dr.jsxs(Ps,st({as:ae,className:Ho(ue.root,a),ownerState:ce,onBlur:ee,onClick:h,onContextMenu:G,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:V,onMouseLeave:Z,onMouseUp:J,onDragLeave:K,onTouchEnd:Q,onTouchMove:Y,onTouchStart:X,ref:se,tabIndex:s?-1:O,type:I},le,_,{children:[i,U?dr.jsx(Rs,st({ref:q,center:o},T)):null]}))});function _s(e){return Ko("MuiButton",e)}const Ms=Jo("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"]),Ns=w.createContext({}),qs=w.createContext(void 0),Ds=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],As=e=>st({},"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}}),zs=Ul(Is,{shouldForwardProp:e=>Wl(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Nr(n.color)}`],t[`size${Nr(n.size)}`],t[`${n.variant}Size${Nr(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return st({},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":st({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:La.alpha(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})`:La.alpha(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})`:La.alpha(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:i,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":st({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Ms.focusVisible}`]:st({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Ms.disabled}`]:st({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 ${La.alpha(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,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"},[`&.${Ms.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Ms.disabled}`]:{boxShadow:"none"}}),js=Ul("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Nr(n.size)}`]]}})(({ownerState:e})=>st({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},As(e))),Fs=Ul("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Nr(n.size)}`]]}})(({ownerState:e})=>st({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},As(e))),$s=w.forwardRef(function(e,t){const n=w.useContext(Ns),r=w.useContext(qs),o=Kl({props:fi(n,e),name:"MuiButton"}),{children:i,color:a="primary",component:l="button",className:s,disabled:c=!1,disableElevation:u=!1,disableFocusRipple:d=!1,endIcon:p,focusVisibleClassName:f,fullWidth:h=!1,size:m="medium",startIcon:g,type:b,variant:v="text"}=o,y=ct(o,Ds),S=st({},o,{color:a,component:l,disabled:c,disableElevation:u,disableFocusRipple:d,fullWidth:h,size:m,type:b,variant:v}),x=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e;return st({},a,Ui({root:["root",i,`${i}${Nr(t)}`,`size${Nr(o)}`,`${i}Size${Nr(o)}`,`color${Nr(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Nr(o)}`],endIcon:["icon","endIcon",`iconSize${Nr(o)}`]},_s,a))})(S),k=g&&dr.jsx(js,{className:x.startIcon,ownerState:S,children:g}),C=p&&dr.jsx(Fs,{className:x.endIcon,ownerState:S,children:p}),E=r||"";return dr.jsxs(zs,st({ownerState:S,className:Ho(n.className,x.root,s,E),component:l,disabled:c,focusRipple:!d,focusVisibleClassName:Ho(x.focusVisible,f),ref:t,type:b},y,{classes:x,children:[k,i,C]}))});var Bs={typography:{fontSize:14,htmlFontSize:16,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:600,fontFamily:['"Source Sans Pro"','"Segoe UI"','"Helvetica Neue"',"-apple-system","Arial","sans-serif"].join(","),button:{textTransform:"initial",fontWeight:400}},shape:{borderRadius:2},shadows:["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],props:{MuiButtonBase:{disableRipple:!0,disableTouchRipple:!0,focusRipple:!1},MuiCheckbox:{color:"secondary"},MuiRadio:{color:"secondary"},MuiTabs:{indicatorColor:"secondary"}}};const Ws={green:"#00873D",blue:"#3F8AB3",grey100:"#ffffff",grey98:"#FBFBFB",grey95:"#F2F2F2",grey90:"#E6E6E6",grey45:"#737373",grey25:"#404040",grey20:"#333333",grey15:"#262626",grey10:"#1A1A1A",grey0:"#000000"},Us={mode:"light",palette:{primary:{main:Ws.grey25,contrastText:Ws.grey100},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:Ws.grey25,secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)",light:Ws.grey100,dark:Ws.grey0},action:{active:"#545454",hover:"rgba(0, 0, 0, 0.03)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.05)",disabled:"rgba(0, 0, 0, 0.3)",disabledBackground:"rgba(0, 0, 0, 0.12)"},background:{paper:Ws.grey100,default:Ws.grey100,lightest:Ws.grey100,lighter:Ws.grey98,darker:Ws.grey95,darkest:Ws.grey90},custom:{focusBorder:Ws.blue,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(255, 255, 255, 1)",disabledBackground:Ws.grey45,disabledContrastText:Ws.grey100},selected:{main:Ws.green,alternative:"#E4E4E4",excluded:"#BEBEBE",selectedExcluded:"#BEBEBE",possible:Ws.grey100,selectedContrastText:Ws.grey100,mainContrastText:Ws.grey100,alternativeContrastText:Ws.grey25,excludedContrastText:Ws.grey25,selectedExcludedContrastText:Ws.grey100,possibleContrastText:Ws.grey0},btn:{normal:"rgba(255, 255, 255, 0.6)",hover:"rgba(0, 0, 0, 0.03)",active:"rgba(0, 0, 0, 0.1)",disabled:"rgba(255, 255, 255, 0.6)",border:"rgba(0, 0, 0, 0.15)",borderHover:"rgba(0, 0, 0, 0.15)"}}},Hs={mode:"dark",palette:{primary:{main:Ws.grey20,contrastText:Ws.grey100},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:Ws.grey100,secondary:"rgba(255, 255, 255, 0.6)",disabled:"rgba(255, 255, 255, 0.3)",light:Ws.grey100,dark:Ws.grey0},action:{active:Ws.grey100,hover:"rgba(255, 255, 255, 0.05)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.03)",disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(0, 0, 0, 0.12)"},divider:"rgba(0,0,0,0.3)",background:{default:"#323232",paper:"#323232",lightest:Ws.grey25,lighter:Ws.grey20,darker:Ws.grey15,darkest:Ws.grey10},custom:{focusBorder:Ws.blue,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(0, 0, 0, 0.2)",disabledBackground:Ws.grey45,disabledContrastText:Ws.grey100},selected:{main:Ws.green,alternative:Ws.grey20,excluded:Ws.grey10,selectedExcluded:Ws.grey10,possible:Ws.grey80,selectedContrastText:Ws.grey100,mainContrastText:Ws.grey100,alternativeContrastText:Ws.grey100,excludedContrastText:Ws.grey100,selectedExcludedContrastText:Ws.grey100,possibleContrastText:Ws.grey0},btn:{normal:"rgba(255, 255, 255, 0.15)",hover:"rgba(255, 255, 255, 0.25)",active:"rgba(0, 0, 0, 0.6)",disabled:"rgba(255, 255, 255, 0.15)",border:"rgba(0, 0, 0, 0.15)",borderHover:"rgba(0, 0, 0, 0.30)"}}},Vs={},Gs=e=>({MuiTypography:{root:{color:e.palette.text.primary}},MuiGrid:{variants:[{props:{alignItems:"center"},style:{"align-items":"center"}}]},MuiButtonBase:{root:{borderRadius:2,border:"1px solid transparent","&:focus":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}}},MuiIconButton:{root:{padding:7,borderRadius:2,border:"1px solid transparent","&:hover":{backgroundColor:e.palette.btn.hover},"&:focus-visible":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)},"&:active":{borderColor:"transparent",boxShadow:"none",backgroundColor:e.palette.btn.active},"&:not(:active):not(:focus-visible)":{borderColor:"transparent",boxShadow:"none"}}},MuiOutlinedInput:{root:{backgroundColor:e.palette.custom.inputBackground,"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.btn.border},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.custom.focusBorder,borderWidth:2}}},MuiButton:{outlined:{padding:"3px 11px",["&.".concat(Ms.focusVisible)]:{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}},contained:{color:e.palette.text.primary,padding:"3px 11px",border:"1px solid ".concat(e.palette.btn.border),backgroundColor:e.palette.btn.normal,boxShadow:"none",["&.".concat(Ms.focusVisible)]:{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)},"&:hover":{backgroundColor:e.palette.btn.hover,borderColor:e.palette.btn.borderHover,boxShadow:"none",["&.".concat(Ms.disabled)]:{backgroundColor:e.palette.btn.disabled}},"&:active":{boxShadow:"none",backgroundColor:e.palette.btn.active},["&.".concat(Ms.disabled)]:{backgroundColor:e.palette.btn.disabled}}},MuiAccordionSummary:{content:{margin:"8px 0"}}});function Ks(e){let t=Us,n="";"string"==typeof e&&(n=e,"light"!==e&&"dark"!==e?console.warn("Invalid theme: '".concat(e,"'")):"dark"===e&&(t=Hs));const r=JSON.stringify(t);if(Vs[r])return Vs[r];const o={palette:d(d({type:t.mode},Bs.palette),t.palette),typography:d({},Bs.typography),shadows:Bs.shadows,props:d({},Bs.props),shape:d({},Bs.shape)};return Vs[r]=Ll(function(e){const{defaultProps:t={},mixins:n={},overrides:r={},palette:o={},props:i={},styleOverrides:a={}}=e,l=st({},ct(e,ba),{components:{}});Object.keys(t).forEach(e=>{const n=l.components[e]||{};n.defaultProps=t[e],l.components[e]=n}),Object.keys(i).forEach(e=>{const t=l.components[e]||{};t.defaultProps=i[e],l.components[e]=t}),Object.keys(a).forEach(e=>{const t=l.components[e]||{};t.styleOverrides=a[e],l.components[e]=t}),Object.keys(r).forEach(e=>{const t=l.components[e]||{};t.styleOverrides=r[e],l.components[e]=t}),l.spacing=Qr(e.spacing);const s=Er(e.breakpoints||{}),c=l.spacing;l.mixins=st({gutters:(e={})=>st({paddingLeft:c(2),paddingRight:c(2)},e,{[s.up("sm")]:st({paddingLeft:c(3),paddingRight:c(3)},e[s.up("sm")])})},n);const{type:u,mode:d}=o,p=ct(o,va),f=d||u||"light";return l.palette=st({text:{hint:"dark"===f?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:f,type:f},p),l}(d(d({},o),{},{overrides:Gs(o)}))),Vs[r].name=n,Vs[r]}Wo.configure(e=>"njs-".concat("3b94","-").concat(e.replace("Mui","")));var Js=x.createContext({language:null,theme:null,translator:null,constraints:{},interactions:{},themeApi:null,modelStore:{},selectionStore:{},hostConfig:null,queryParams:null});const Zs={active:!0,select:!0,passive:!0,edit:!1};function Xs(e){const t={},n={},r=function(e){const{constraints:t={},interactions:n={}}=e;if(Object.keys(n).length>0)return n;const r={};return Object.keys(t).forEach(e=>{r[e]=!t[e]}),r}(e);Object.keys(Zs).forEach(e=>{void 0!==r[e]?(t[e]=r[e],n[e]=!r[e]):(t[e]=Zs[e],n[e]=!Zs[e])}),e.constraints=n,e.interactions=t}var Qs=function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{};const t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=[],r={},o={get:e=>t[e],set:(n,o)=>{if(void 0===n||"object"==typeof n)throw new Error("Invalid key: ".concat(JSON.stringify(n)));return t[n]=o,r[n]=e({type:"SET",value:o}),o},clear:e=>{if(void 0===e||"object"==typeof e)throw new Error("Invalid key: ".concat(JSON.stringify(e)));t[e]=null},dispatch:e=>{n.forEach(n=>n(e?{}:t))},destroy:()=>{Object.keys(r).forEach(e=>{r[e]&&r[e]()})}};return[()=>{const[,e]=w.useState(t);return w.useEffect(()=>(n.push(e),()=>{const t=n.indexOf(e);n.splice(t,1)}),[e]),[o]},o]};const Ys=w.forwardRef((e,t)=>{let{initialContext:n,renderCallback:r,modelStore:o,selectionStore:i}=e;const[a,l]=w.useState(n),[s,c]=w.useState(),{theme:u}=w.useMemo(()=>({theme:Ks(s)}),[s]),[d,p]=w.useState([]);return w.useEffect(()=>{r&&r()},[]),w.useImperativeHandle(t,()=>({setComps(e){p([...e])},setMuiThemeName:c,setContext:e=>l(t=>JSON.stringify(t)!==JSON.stringify(e)?e:t)}),[]),a&&(a.modelStore=o,a.selectionStore=i),x.createElement(fr,{injectFirst:!0},x.createElement(Vl,{theme:u},x.createElement(Js.Provider,{value:a},d)))});function ec(e){let t,{app:n,context:r}=e,o=!1;const i=new Promise(e=>{t=e}),a=x.createRef(),l=document.createElement("div");l.style.display="none",l.setAttribute("data-nebulajs-version","6.0.0-alpha.1"),l.setAttribute("data-app-id",n.id),document.body.appendChild(l),r&&Xs(r);const s=function(e){const[t,n]=Qs({}),[r,o]=Qs({}),[i,a]=Qs({}),[l,s]=Qs({}),[c,u]=Qs({}),[,d]=Qs({}),p=e=>{let{type:t,value:r}=e;const i=d.get(r.id);d.set(r.id,{});const l=()=>{o.clear(r.id),u.set(r.id,{}),u.dispatch(!0)},c=()=>{r.removeListener("closed",c),r.removeListener("changed",l),n.clear(r.id),o.clear(r.id),a.clear(r.id),s.clear(r.id),u.clear(r.id),d.clear(r.id)};return"SET"===t&&(i||(r.on("changed",l),r.once("closed",c))),c},[f,h]=Qs({},p);return{subscribe:e=>{const t=p({type:"SET",value:e});return()=>{t(),h.clear(e.id)}},destroy:()=>{h.destroy()},useModelStore:f,modelStore:h,useModelChangedStore:c,useRpcResultStore:t,rpcResultStore:n,useRpcRequestStore:r,rpcRequestStore:o,useRpcRequestModelStore:l,rpcRequestModelStore:s,useRpcRequestSessionModelStore:i,rpcRequestSessionModelStore:a,modelChangedStore:u,appId:e}}(n.id),c=function(e){const[t,n]=Qs({}),[r,o]=Qs({}),[i,a]=Qs({});return{useAppSelectionsStore:t,useAppModalStore:r,appSelectionsStore:n,appModalStore:o,useModalObjectStore:i,modalObjectStore:a,appId:e}}(n.id),u=ot.createRoot(l);u.render(x.createElement(Ys,{ref:a,initialContext:r,renderCallback:t,modelStore:s,selectionStore:c}));const d={},p=[],f=[];return[{toggleFocusOfCells(e){Object.keys(d).forEach(t=>{var n;null===(n=d[t].current)||void 0===n||n.toggleFocus(t===e)})},cells:d,addCell(e,t){d[e]=t},removeCell(e){delete d[e]},add:(e,t)=>(async()=>{await i,f.push(e),p.push(t),a.current.setComps(f)})(),remove(e){o||(async t=>{await i;const n=f.indexOf(e);var r;-1!==n&&(null===(r=p[n])||void 0===r||r.call(p),f.splice(n,1),p.splice(n,1));null==a||null===(t=a.current)||void 0===t||t.setComps(f)})()},setMuiThemeName(e){(async()=>{await i,a.current.setMuiThemeName(e)})()},context(e){(async()=>{await i,e&&Xs(e),a.current.setContext(e)})()},destroy(){o=!0,p.forEach(e=>{e&&e()}),s.destroy(),u.unmount(),document.body.removeChild(l)}},s,c,a,i]}function tc(e){return Ko("MuiSvgIcon",e)}Jo("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const nc=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],rc=Ul("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Nr(n.color)}`],t[`fontSize${Nr(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,i,a,l,s,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(l=e.typography)||null==(s=l.pxToRem)?void 0:s.call(l,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:{action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0}[t.color]}}),oc=w.forwardRef(function(e,t){const n=Kl({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:i="inherit",component:a="svg",fontSize:l="medium",htmlColor:s,inheritViewBox:c=!1,titleAccess:u,viewBox:d="0 0 24 24"}=n,p=ct(n,nc),f=w.isValidElement(r)&&"svg"===r.type,h=st({},n,{color:i,component:a,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:d,hasSvgAsChild:f}),m={};c||(m.viewBox=d);const g=(e=>{const{color:t,fontSize:n,classes:r}=e;return Ui({root:["root","inherit"!==t&&`color${Nr(t)}`,`fontSize${Nr(n)}`]},tc,r)})(h);return dr.jsxs(rc,st({as:a,className:Ho(g.root,o),focusable:"false",color:s,"aria-hidden":!u||void 0,role:u?"img":void 0,ref:t},m,p,f&&r.props,{ownerState:h,children:[f?r.props.children:r,u?dr.jsx("title",{children:u}):null]}))});function ic(e,t){function n(n,r){return dr.jsx(oc,st({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return n.muiName=oc.muiName,w.memo(w.forwardRef(n))}oc.muiName="SvgIcon";const ac={configure:e=>{Wo.configure(e)}};var lc=Object.freeze({__proto__:null,capitalize:Nr,createChainedFunction:bi,createSvgIcon:ic,debounce:vi,deprecatedPropType:function(e,t){return()=>null},isMuiElement:yi,ownerDocument:Si,ownerWindow:wi,requirePropFactory:function(e,t){return()=>null},setRef:xi,unstable_ClassNameGenerator:ac,unstable_useEnhancedEffect:mi,unstable_useId:Ei,unsupportedProp:function(e,t,n,r,o){return null},useControlled:Ri,useEventCallback:Li,useForkRef:Oi,useIsFocusVisible:$i});const sc=e=>e.scrollTop;function cc(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}function uc(e){return Ko("MuiPaper",e)}Jo("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const dc=["className","component","elevation","square","variant"],pc=Ul("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return st({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&st({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${La.alpha("#fff",Gl(t.elevation))}, ${La.alpha("#fff",Gl(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))}),fc=w.forwardRef(function(e,t){const n=Kl({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:i=1,square:a=!1,variant:l="elevation"}=n,s=ct(n,dc),c=st({},n,{component:o,elevation:i,square:a,variant:l}),u=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return Ui({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},uc,o)})(c);return dr.jsx(pc,st({as:o,ownerState:c,className:Ho(u.root,r),ref:t},s))});function hc(e){return Ko("MuiIconButton",e)}const mc=Jo("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),gc=["edge","children","className","color","disabled","disableFocusRipple","size"],bc=Ul(Is,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${Nr(n.color)}`],n.edge&&t[`edge${Nr(n.edge)}`],t[`size${Nr(n.size)}`]]}})(({theme:e,ownerState:t})=>st({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})`:La.alpha(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 n;const r=null==(n=(e.vars||e).palette)?void 0:n[t.color];return st({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&st({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":st({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:La.alpha(r.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)},{[`&.${mc.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),vc=w.forwardRef(function(e,t){const n=Kl({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:i,color:a="default",disabled:l=!1,disableFocusRipple:s=!1,size:c="medium"}=n,u=ct(n,gc),d=st({},n,{edge:r,color:a,disabled:l,disableFocusRipple:s,size:c}),p=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e;return Ui({root:["root",n&&"disabled","default"!==r&&`color${Nr(r)}`,o&&`edge${Nr(o)}`,`size${Nr(i)}`]},hc,t)})(d);return dr.jsx(bc,st({className:Ho(p.root,i),centerRipple:!0,focusRipple:!s,disabled:l,ref:t},u,{ownerState:d,children:o}))});function yc(e){return Ko("MuiTypography",e)}Jo("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Sc=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],wc=Ul("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${Nr(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>st({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})),xc={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},kc={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Cc=w.forwardRef(function(e,t){const n=Kl({props:e,name:"MuiTypography"}),r=(e=>kc[e]||e)(n.color),o=Fo(st({},n,{color:r})),{align:i="inherit",className:a,component:l,gutterBottom:s=!1,noWrap:c=!1,paragraph:u=!1,variant:d="body1",variantMapping:p=xc}=o,f=ct(o,Sc),h=st({},o,{align:i,color:r,className:a,component:l,gutterBottom:s,noWrap:c,paragraph:u,variant:d,variantMapping:p}),m=l||(u?"p":p[d]||xc[d])||"span",g=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e;return Ui({root:["root",i,"inherit"!==e.align&&`align${Nr(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},yc,a)})(h);return dr.jsx(wc,st({as:m,ref:t,ownerState:h,className:Ho(g.root,a)},f))});var Ec,Rc={};function Lc(){if(Ec)return Rc;Ec=1,Object.defineProperty(Rc,"__esModule",{value:!0}),Rc.default=void 0;var e=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(o,a,l):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}(S()),t=Dl;function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}return Rc.default=function(n=null){const r=e.useContext(t.ThemeContext);return r&&(o=r,0!==Object.keys(o).length)?r:n;var o},Rc}var Oc=n(Lc()),Tc="top",Pc="bottom",Ic="right",_c="left",Mc="auto",Nc=[Tc,Pc,Ic,_c],qc="start",Dc="end",Ac="viewport",zc="popper",jc=Nc.reduce(function(e,t){return e.concat([t+"-"+qc,t+"-"+Dc])},[]),Fc=[].concat(Nc,[Mc]).reduce(function(e,t){return e.concat([t,t+"-"+qc,t+"-"+Dc])},[]),$c=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Bc(e){return e?(e.nodeName||"").toLowerCase():null}function Wc(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Uc(e){return e instanceof Wc(e).Element||e instanceof Element}function Hc(e){return e instanceof Wc(e).HTMLElement||e instanceof HTMLElement}function Vc(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Wc(e).ShadowRoot||e instanceof ShadowRoot)}var Gc={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Hc(o)&&Bc(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});Hc(r)&&Bc(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};function Kc(e){return e.split("-")[0]}var Jc=Math.max,Zc=Math.min,Xc=Math.round;function Qc(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Yc(){return!/^((?!chrome|android).)*safari/i.test(Qc())}function eu(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&Hc(e)&&(o=e.offsetWidth>0&&Xc(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Xc(r.height)/e.offsetHeight||1);var a=(Uc(e)?Wc(e):window).visualViewport,l=!Yc()&&n,s=(r.left+(l&&a?a.offsetLeft:0))/o,c=(r.top+(l&&a?a.offsetTop:0))/i,u=r.width/o,d=r.height/i;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function tu(e){var t=eu(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function nu(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Vc(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ru(e){return Wc(e).getComputedStyle(e)}function ou(e){return["table","td","th"].indexOf(Bc(e))>=0}function iu(e){return((Uc(e)?e.ownerDocument:e.document)||window.document).documentElement}function au(e){return"html"===Bc(e)?e:e.assignedSlot||e.parentNode||(Vc(e)?e.host:null)||iu(e)}function lu(e){return Hc(e)&&"fixed"!==ru(e).position?e.offsetParent:null}function su(e){for(var t=Wc(e),n=lu(e);n&&ou(n)&&"static"===ru(n).position;)n=lu(n);return n&&("html"===Bc(n)||"body"===Bc(n)&&"static"===ru(n).position)?t:n||function(e){var t=/firefox/i.test(Qc());if(/Trident/i.test(Qc())&&Hc(e)&&"fixed"===ru(e).position)return null;var n=au(e);for(Vc(n)&&(n=n.host);Hc(n)&&["html","body"].indexOf(Bc(n))<0;){var r=ru(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function cu(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function uu(e,t,n){return Jc(e,Zc(t,n))}function du(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function pu(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var fu={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=Kc(n.placement),s=cu(l),c=[_c,Ic].indexOf(l)>=0?"height":"width";if(i&&a){var u=function(e,t){return du("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:pu(e,Nc))}(o.padding,n),d=tu(i),p="y"===s?Tc:_c,f="y"===s?Pc:Ic,h=n.rects.reference[c]+n.rects.reference[s]-a[s]-n.rects.popper[c],m=a[s]-n.rects.reference[s],g=su(i),b=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,v=h/2-m/2,y=u[p],S=b-d[c]-u[f],w=b/2-d[c]/2+v,x=uu(y,w,S),k=s;n.modifiersData[r]=((t={})[k]=x,t.centerOffset=x-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&nu(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function hu(e){return e.split("-")[1]}var mu={top:"auto",right:"auto",bottom:"auto",left:"auto"};function gu(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=a.x,f=void 0===p?0:p,h=a.y,m=void 0===h?0:h,g="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var b=a.hasOwnProperty("x"),v=a.hasOwnProperty("y"),y=_c,S=Tc,w=window;if(c){var x=su(n),k="clientHeight",C="clientWidth";if(x===Wc(n)&&"static"!==ru(x=iu(n)).position&&"absolute"===l&&(k="scrollHeight",C="scrollWidth"),o===Tc||(o===_c||o===Ic)&&i===Dc)S=Pc,m-=(d&&x===w&&w.visualViewport?w.visualViewport.height:x[k])-r.height,m*=s?1:-1;if(o===_c||(o===Tc||o===Pc)&&i===Dc)y=Ic,f-=(d&&x===w&&w.visualViewport?w.visualViewport.width:x[C])-r.width,f*=s?1:-1}var E,R=Object.assign({position:l},c&&mu),L=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Xc(n*o)/o||0,y:Xc(r*o)/o||0}}({x:f,y:m},Wc(n)):{x:f,y:m};return f=L.x,m=L.y,s?Object.assign({},R,((E={})[S]=v?"0":"",E[y]=b?"0":"",E.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",E)):Object.assign({},R,((t={})[S]=v?m+"px":"",t[y]=b?f+"px":"",t.transform="",t))}var bu={passive:!0};var vu={left:"right",right:"left",bottom:"top",top:"bottom"};function yu(e){return e.replace(/left|right|bottom|top/g,function(e){return vu[e]})}var Su={start:"end",end:"start"};function wu(e){return e.replace(/start|end/g,function(e){return Su[e]})}function xu(e){var t=Wc(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ku(e){return eu(iu(e)).left+xu(e).scrollLeft}function Cu(e){var t=ru(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Eu(e){return["html","body","#document"].indexOf(Bc(e))>=0?e.ownerDocument.body:Hc(e)&&Cu(e)?e:Eu(au(e))}function Ru(e,t){var n;void 0===t&&(t=[]);var r=Eu(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Wc(r),a=o?[i].concat(i.visualViewport||[],Cu(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(Ru(au(a)))}function Lu(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ou(e,t,n){return t===Ac?Lu(function(e,t){var n=Wc(e),r=iu(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;var c=Yc();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l+ku(e),y:s}}(e,n)):Uc(t)?function(e,t){var n=eu(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Lu(function(e){var t,n=iu(e),r=xu(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Jc(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Jc(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+ku(e),s=-r.scrollTop;return"rtl"===ru(o||n).direction&&(l+=Jc(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(iu(e)))}function Tu(e,t,n,r){var o="clippingParents"===t?function(e){var t=Ru(au(e)),n=["absolute","fixed"].indexOf(ru(e).position)>=0&&Hc(e)?su(e):e;return Uc(n)?t.filter(function(e){return Uc(e)&&nu(e,n)&&"body"!==Bc(e)}):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],l=i.reduce(function(t,n){var o=Ou(e,n,r);return t.top=Jc(o.top,t.top),t.right=Zc(o.right,t.right),t.bottom=Zc(o.bottom,t.bottom),t.left=Jc(o.left,t.left),t},Ou(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Pu(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Kc(o):null,a=o?hu(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case Tc:t={x:l,y:n.y-r.height};break;case Pc:t={x:l,y:n.y+n.height};break;case Ic:t={x:n.x+n.width,y:s};break;case _c:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=i?cu(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case qc:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Dc:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function Iu(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,l=n.boundary,s=void 0===l?"clippingParents":l,c=n.rootBoundary,u=void 0===c?Ac:c,d=n.elementContext,p=void 0===d?zc:d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,g=void 0===m?0:m,b=du("number"!=typeof g?g:pu(g,Nc)),v=p===zc?"reference":zc,y=e.rects.popper,S=e.elements[h?v:p],w=Tu(Uc(S)?S:S.contextElement||iu(e.elements.popper),s,u,a),x=eu(e.elements.reference),k=Pu({reference:x,element:y,placement:o}),C=Lu(Object.assign({},y,k)),E=p===zc?C:x,R={top:w.top-E.top+b.top,bottom:E.bottom-w.bottom+b.bottom,left:w.left-E.left+b.left,right:E.right-w.right+b.right},L=e.modifiersData.offset;if(p===zc&&L){var O=L[o];Object.keys(R).forEach(function(e){var t=[Ic,Pc].indexOf(e)>=0?1:-1,n=[Tc,Pc].indexOf(e)>=0?"y":"x";R[e]+=O[n]*t})}return R}function _u(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?Fc:s,u=hu(r),d=u?l?jc:jc.filter(function(e){return hu(e)===u}):Nc,p=d.filter(function(e){return c.indexOf(e)>=0});0===p.length&&(p=d);var f=p.reduce(function(t,n){return t[n]=Iu(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Kc(n)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}var Mu={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,b=Kc(g),v=s||(b===g||!h?[yu(g)]:function(e){if(Kc(e)===Mc)return[];var t=yu(e);return[wu(e),t,wu(t)]}(g)),y=[g].concat(v).reduce(function(e,n){return e.concat(Kc(n)===Mc?_u(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)},[]),S=t.rects.reference,w=t.rects.popper,x=new Map,k=!0,C=y[0],E=0;E<y.length;E++){var R=y[E],L=Kc(R),O=hu(R)===qc,T=[Tc,Pc].indexOf(L)>=0,P=T?"width":"height",I=Iu(t,{placement:R,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),_=T?O?Ic:_c:O?Pc:Tc;S[P]>w[P]&&(_=yu(_));var M=yu(_),N=[];if(i&&N.push(I[L]<=0),l&&N.push(I[_]<=0,I[M]<=0),N.every(function(e){return e})){C=R,k=!1;break}x.set(R,N)}if(k)for(var q=function(e){var t=y.find(function(t){var n=x.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},D=h?3:1;D>0;D--){if("break"===q(D))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Nu(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function qu(e){return[Tc,Ic,Pc,_c].some(function(t){return e[t]>=0})}var Du={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Fc.reduce(function(e,n){return e[n]=function(e,t,n){var r=Kc(e),o=[_c,Tc].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[_c,Ic].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}(n,t.rects,i),e},{}),l=a[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var Au={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0!==a&&a,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,g=Iu(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),b=Kc(t.placement),v=hu(t.placement),y=!v,S=cu(b),w="x"===S?"y":"x",x=t.modifiersData.popperOffsets,k=t.rects.reference,C=t.rects.popper,E="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,R="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(x){if(i){var T,P="y"===S?Tc:_c,I="y"===S?Pc:Ic,_="y"===S?"height":"width",M=x[S],N=M+g[P],q=M-g[I],D=f?-C[_]/2:0,A=v===qc?k[_]:C[_],z=v===qc?-C[_]:-k[_],j=t.elements.arrow,F=f&&j?tu(j):{width:0,height:0},$=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=$[P],W=$[I],U=uu(0,k[_],F[_]),H=y?k[_]/2-D-U-B-R.mainAxis:A-U-B-R.mainAxis,V=y?-k[_]/2+D+U+W+R.mainAxis:z+U+W+R.mainAxis,G=t.elements.arrow&&su(t.elements.arrow),K=G?"y"===S?G.clientTop||0:G.clientLeft||0:0,J=null!=(T=null==L?void 0:L[S])?T:0,Z=M+V-J,X=uu(f?Zc(N,M+H-J-K):N,M,f?Jc(q,Z):q);x[S]=X,O[S]=X-M}if(l){var Q,Y="x"===S?Tc:_c,ee="x"===S?Pc:Ic,te=x[w],ne="y"===w?"height":"width",re=te+g[Y],oe=te-g[ee],ie=-1!==[Tc,_c].indexOf(b),ae=null!=(Q=null==L?void 0:L[w])?Q:0,le=ie?re:te-k[ne]-C[ne]-ae+R.altAxis,se=ie?te+k[ne]+C[ne]-ae-R.altAxis:oe,ce=f&&ie?function(e,t,n){var r=uu(e,t,n);return r>n?n:r}(le,te,se):uu(f?le:re,te,f?se:oe);x[w]=ce,O[w]=ce-te}t.modifiersData[r]=O}},requiresIfExists:["offset"]};function zu(e,t,n){void 0===n&&(n=!1);var r=Hc(t),o=Hc(t)&&function(e){var t=e.getBoundingClientRect(),n=Xc(t.width)/e.offsetWidth||1,r=Xc(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=iu(t),a=eu(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==Bc(t)||Cu(i))&&(l=function(e){return e!==Wc(e)&&Hc(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:xu(e);var t}(t)),Hc(t)?((s=eu(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=ku(i))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function ju(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||o(e)}),r}function Fu(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}var $u={placement:"bottom",modifiers:[],strategy:"absolute"};function Bu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function Wu(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?$u:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},$u,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],l=!1,s={state:o,setOptions:function(n){var l="function"==typeof n?n(o.options):n;c(),o.options=Object.assign({},i,o.options,l),o.scrollParents={reference:Uc(e)?Ru(e):e.contextElement?Ru(e.contextElement):[],popper:Ru(t)};var u,d,p=function(e){var t=ju(e);return $c.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((u=[].concat(r,o.options.modifiers),d=u.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(d).map(function(e){return d[e]})));return o.orderedModifiers=p.filter(function(e){return e.enabled}),o.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var l=i({state:o,name:t,instance:s,options:r}),c=function(){};a.push(l||c)}}),s.update()},forceUpdate:function(){if(!l){var e=o.elements,t=e.reference,n=e.popper;if(Bu(t,n)){o.rects={reference:zu(t,su(n),"fixed"===o.options.strategy),popper:tu(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(function(e){return o.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,c=i.options,u=void 0===c?{}:c,d=i.name;"function"==typeof a&&(o=a({state:o,options:u,name:d,instance:s})||o)}else o.reset=!1,r=-1}}},update:Fu(function(){return new Promise(function(e){s.forceUpdate(),e(o)})}),destroy:function(){c(),l=!0}};if(!Bu(e,t))return s;function c(){a.forEach(function(e){return e()}),a=[]}return s.setOptions(n).then(function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)}),s}}var Uu=Wu({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,l=void 0===a||a,s=Wc(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(e){e.addEventListener("scroll",n.update,bu)}),l&&s.addEventListener("resize",n.update,bu),function(){i&&c.forEach(function(e){e.removeEventListener("scroll",n.update,bu)}),l&&s.removeEventListener("resize",n.update,bu)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Pu({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,l=n.roundOffsets,s=void 0===l||l,c={placement:Kc(t.placement),variation:hu(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,gu(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,gu(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Gc,Du,Mu,Au,fu,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Iu(t,{elementContext:"reference"}),l=Iu(t,{altBoundary:!0}),s=Nu(a,r),c=Nu(l,o,i),u=qu(s),d=qu(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});const Hu=w.forwardRef(function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[i,a]=w.useState(null),l=Oi(w.isValidElement(n)?Xi(n):null,t);if(mi(()=>{o||a(function(e){return"function"==typeof e?e():e}(r)||document.body)},[r,o]),mi(()=>{if(i&&!o)return xi(t,i),()=>{xi(t,null)}},[t,i,o]),o){if(w.isValidElement(n)){const e={ref:l};return w.cloneElement(n,e)}return dr.jsx(w.Fragment,{children:n})}return dr.jsx(w.Fragment,{children:i?Xl.createPortal(n,i):i})});function Vu(e){return Ko("MuiPopper",e)}Jo("MuiPopper",["root"]);const Gu=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Ku=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Ju(e){return"function"==typeof e?e():e}const Zu={},Xu=w.forwardRef(function(e,t){var n;const{anchorEl:r,children:o,direction:i,disablePortal:a,modifiers:l,open:s,placement:c,popperOptions:u,popperRef:d,slotProps:p={},slots:f={},TransitionProps:h}=e,m=ct(e,Gu),g=w.useRef(null),b=Oi(g,t),v=w.useRef(null),y=Oi(v,d),S=w.useRef(y);mi(()=>{S.current=y},[y]),w.useImperativeHandle(d,()=>v.current,[]);const x=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(c,i),[k,C]=w.useState(x),[E,R]=w.useState(Ju(r));w.useEffect(()=>{v.current&&v.current.forceUpdate()}),w.useEffect(()=>{r&&R(Ju(r))},[r]),mi(()=>{if(!E||!s)return;let e=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{C(e.placement)}}];null!=l&&(e=e.concat(l)),u&&null!=u.modifiers&&(e=e.concat(u.modifiers));const t=Uu(E,g.current,st({placement:x},u,{modifiers:e}));return S.current(t),()=>{t.destroy(),S.current(null)}},[E,a,l,s,u,x]);const L={placement:k};null!==h&&(L.TransitionProps=h);const O=(e=>{const{classes:t}=e;return Ui({root:["root"]},Vu,t)})(e),T=null!=(n=f.root)?n:"div",P=Zi({elementType:T,externalSlotProps:p.root,externalForwardedProps:m,additionalProps:{role:"tooltip",ref:b},ownerState:e,className:O.root});return dr.jsx(T,st({},P,{children:"function"==typeof o?o(L):o}))}),Qu=w.forwardRef(function(e,t){const{anchorEl:n,children:r,container:o,direction:i="ltr",disablePortal:a=!1,keepMounted:l=!1,modifiers:s,open:c,placement:u="bottom",popperOptions:d=Zu,popperRef:p,style:f,transition:h=!1,slotProps:m={},slots:g={}}=e,b=ct(e,Ku),[v,y]=w.useState(!0);if(!l&&!c&&(!h||v))return null;let S;if(o)S=o;else if(n){const e=Ju(n);S=e&&void 0!==e.nodeType?Si(e).body:Si(null).body}const x=c||!l||h&&!v?void 0:"none",k=h?{in:c,onEnter:()=>{y(!1)},onExited:()=>{y(!0)}}:void 0;return dr.jsx(Hu,{disablePortal:a,container:S,children:dr.jsx(Xu,st({anchorEl:n,direction:i,disablePortal:a,modifiers:s,ref:t,open:h?!v:c,placement:u,popperOptions:d,popperRef:p,slotProps:m,slots:g},b,{style:st({position:"fixed",top:0,left:0,display:x},f),TransitionProps:k,children:r}))})}),Yu=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],ed=Ul(Qu,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),td=w.forwardRef(function(e,t){var n;const r=Oc(),o=Kl({props:e,name:"MuiPopper"}),{anchorEl:i,component:a,components:l,componentsProps:s,container:c,disablePortal:u,keepMounted:d,modifiers:p,open:f,placement:h,popperOptions:m,popperRef:g,transition:b,slots:v,slotProps:y}=o,S=ct(o,Yu),w=null!=(n=null==v?void 0:v.root)?n:null==l?void 0:l.Root,x=st({anchorEl:i,container:c,disablePortal:u,keepMounted:d,modifiers:p,open:f,placement:h,popperOptions:m,popperRef:g,transition:b},S);return dr.jsx(ed,st({as:a,direction:null==r?void 0:r.direction,slots:{root:w},slotProps:null!=y?y:s},x,{ref:t}))}),nd=["onChange","maxRows","minRows","style","value"];function rd(e){return parseInt(e,10)||0}const od={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function id(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const ad=w.forwardRef(function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:i,value:a}=e,l=ct(e,nd),{current:s}=w.useRef(null!=a),c=w.useRef(null),u=Oi(t,c),d=w.useRef(null),p=w.useRef(null),f=w.useCallback(()=>{const t=c.current,n=p.current;if(!t||!n)return;const i=wi(t).getComputedStyle(t);if("0px"===i.width)return{outerHeightStyle:0,overflowing:!1};n.style.width=i.width,n.value=t.value||e.placeholder||"x","\n"===n.value.slice(-1)&&(n.value+=" ");const a=i.boxSizing,l=rd(i.paddingBottom)+rd(i.paddingTop),s=rd(i.borderBottomWidth)+rd(i.borderTopWidth),u=n.scrollHeight;n.value="x";const d=n.scrollHeight;let f=u;o&&(f=Math.max(Number(o)*d,f)),r&&(f=Math.min(Number(r)*d,f)),f=Math.max(f,d);return{outerHeightStyle:f+("border-box"===a?l+s:0),overflowing:Math.abs(f-u)<=1}},[r,o,e.placeholder]),h=Li(()=>{const e=c.current,t=f();if(!e||!t||id(t))return!1;const n=t.outerHeightStyle;return null!=d.current&&d.current!==n}),m=w.useCallback(()=>{const e=c.current,t=f();if(!e||!t||id(t))return;const n=t.outerHeightStyle;d.current!==n&&(d.current=n,e.style.height=`${n}px`),e.style.overflow=t.overflowing?"hidden":""},[f]),g=w.useRef(-1);mi(()=>{const e=vi(m),t=null==c?void 0:c.current;if(!t)return;const n=wi(t);let r;return n.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(()=>{h()&&(r.unobserve(t),cancelAnimationFrame(g.current),m(),g.current=requestAnimationFrame(()=>{r.observe(t)}))}),r.observe(t)),()=>{e.clear(),cancelAnimationFrame(g.current),n.removeEventListener("resize",e),r&&r.disconnect()}},[f,m,h]),mi(()=>{m()});return dr.jsxs(w.Fragment,{children:[dr.jsx("textarea",st({value:a,onChange:e=>{s||m(),n&&n(e)},ref:u,rows:o,style:i},l)),dr.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:st({},od,i,{paddingTop:0,paddingBottom:0})})]})});function ld({props:e,states:t,muiFormControl:n}){return t.reduce((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t),{})}const sd=w.createContext(void 0);function cd(){return w.useContext(sd)}function ud(e){return dr.jsx(zo,st({},e,{defaultTheme:Ol,themeId:lt}))}function dd(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function pd(e){return Ko("MuiInputBase",e)}const fd=Jo("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),hd=["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"],md=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Nr(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},gd=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},bd=Ul("div",{name:"MuiInputBase",slot:"Root",overridesResolver:md})(({theme:e,ownerState:t})=>st({},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",[`&.${fd.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&st({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),vd=Ul("input",{name:"MuiInputBase",slot:"Input",overridesResolver:gd})(({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=st({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return st({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":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${fd.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${fd.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"})}),yd=dr.jsx(ud,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Sd=w.forwardRef(function(e,t){var n;const r=Kl({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:a,className:l,components:s={},componentsProps:c={},defaultValue:u,disabled:d,disableInjectingGlobalStyles:p,endAdornment:f,fullWidth:h=!1,id:m,inputComponent:g="input",inputProps:b={},inputRef:v,maxRows:y,minRows:S,multiline:x=!1,name:k,onBlur:C,onChange:E,onClick:R,onFocus:L,onKeyDown:O,onKeyUp:T,placeholder:P,readOnly:I,renderSuffix:_,rows:M,slotProps:N={},slots:q={},startAdornment:D,type:A="text",value:z}=r,j=ct(r,hd),F=null!=b.value?b.value:z,{current:$}=w.useRef(null!=F),B=w.useRef(),W=w.useCallback(e=>{},[]),U=Oi(B,v,b.ref,W),[H,V]=w.useState(!1),G=cd(),K=ld({props:r,muiFormControl:G,states:["color","disabled","error","hiddenLabel","size","required","filled"]});K.focused=G?G.focused:H,w.useEffect(()=>{!G&&d&&H&&(V(!1),C&&C())},[G,d,H,C]);const J=G&&G.onFilled,Z=G&&G.onEmpty,X=w.useCallback(e=>{!function(e,t=!1){return e&&(dd(e.value)&&""!==e.value||t&&dd(e.defaultValue)&&""!==e.defaultValue)}(e)?Z&&Z():J&&J()},[J,Z]);mi(()=>{$&&X({value:F})},[F,X,$]);w.useEffect(()=>{X(B.current)},[]);let Q=g,Y=b;x&&"input"===Q&&(Y=st(M?{type:void 0,minRows:M,maxRows:M}:{type:void 0,maxRows:y,minRows:S},Y),Q=ad);w.useEffect(()=>{G&&G.setAdornedStart(Boolean(D))},[G,D]);const ee=st({},r,{color:K.color||"primary",disabled:K.disabled,endAdornment:f,error:K.error,focused:K.focused,formControl:G,fullWidth:h,hiddenLabel:K.hiddenLabel,multiline:x,size:K.size,startAdornment:D,type:A}),te=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:l,fullWidth:s,hiddenLabel:c,multiline:u,readOnly:d,size:p,startAdornment:f,type:h}=e;return Ui({root:["root",`color${Nr(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",a&&"focused",l&&"formControl",p&&"medium"!==p&&`size${Nr(p)}`,u&&"multiline",f&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",u&&"inputMultiline","small"===p&&"inputSizeSmall",c&&"inputHiddenLabel",f&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},pd,t)})(ee),ne=q.root||s.Root||bd,re=N.root||c.root||{},oe=q.input||s.Input||vd;return Y=st({},Y,null!=(n=N.input)?n:c.input),dr.jsxs(w.Fragment,{children:[!p&&yd,dr.jsxs(ne,st({},re,!Hi(ne)&&{ownerState:st({},ee,re.ownerState)},{ref:t,onClick:e=>{B.current&&e.currentTarget===e.target&&B.current.focus(),R&&R(e)}},j,{className:Ho(te.root,re.className,l,I&&"MuiInputBase-readOnly"),children:[D,dr.jsx(sd.Provider,{value:null,children:dr.jsx(oe,st({ownerState:ee,"aria-invalid":K.error,"aria-describedby":o,autoComplete:i,autoFocus:a,defaultValue:u,disabled:K.disabled,id:m,onAnimationStart:e=>{X("mui-auto-fill-cancel"===e.animationName?B.current:{value:"x"})},name:k,placeholder:P,readOnly:I,required:K.required,rows:M,value:F,onKeyDown:O,onKeyUp:T,type:A},Y,!Hi(oe)&&{as:Q,ownerState:st({},ee,Y.ownerState)},{ref:U,className:Ho(te.input,Y.className,I&&"MuiInputBase-readOnly"),onBlur:e=>{C&&C(e),b.onBlur&&b.onBlur(e),G&&G.onBlur?G.onBlur(e):V(!1)},onChange:(e,...t)=>{if(!$){const t=e.target||B.current;if(null==t)throw new Error(it(1));X({value:t.value})}b.onChange&&b.onChange(e,...t),E&&E(e,...t)},onFocus:e=>{K.disabled?e.stopPropagation():(L&&L(e),b.onFocus&&b.onFocus(e),G&&G.onFocus?G.onFocus(e):V(!0))}}))}),f,_?_(st({},K,{startAdornment:D})):null]}))]})});function wd(e){return Ko("MuiOutlinedInput",e)}const xd=st({},fd,Jo("MuiOutlinedInput",["root","notchedOutline","input"])),kd=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Cd={entering:{opacity:1},entered:{opacity:1}},Ed=w.forwardRef(function(e,t){const n=Tl(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:l,in:s,onEnter:c,onEntered:u,onEntering:d,onExit:p,onExited:f,onExiting:h,style:m,timeout:g=r,TransitionComponent:b=as}=e,v=ct(e,kd),y=w.useRef(null),S=Oi(y,Xi(a),t),x=e=>t=>{if(e){const n=y.current;void 0===t?e(n):e(n,t)}},k=x(d),C=x((e,t)=>{sc(e);const r=cc({style:m,timeout:g,easing:l},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),c&&c(e,t)}),E=x(u),R=x(h),L=x(e=>{const t=cc({style:m,timeout:g,easing:l},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),p&&p(e)}),O=x(f);return dr.jsx(b,st({appear:i,in:s,nodeRef:y,onEnter:C,onEntered:E,onEntering:k,onExit:L,onExited:O,onExiting:R,addEndListener:e=>{o&&o(y.current,e)},timeout:g},v,{children:(e,t)=>w.cloneElement(a,st({style:st({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},Cd[e],m,a.props.style),ref:S},t))}))});function Rd(e){return Ko("MuiBackdrop",e)}Jo("MuiBackdrop",["root","invisible"]);const Ld=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Od=Ul("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>st({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"})),Td=w.forwardRef(function(e,t){var n,r,o;const i=Kl({props:e,name:"MuiBackdrop"}),{children:a,className:l,component:s="div",components:c={},componentsProps:u={},invisible:d=!1,open:p,slotProps:f={},slots:h={},TransitionComponent:m=Ed,transitionDuration:g}=i,b=ct(i,Ld),v=st({},i,{component:s,invisible:d}),y=(e=>{const{classes:t,invisible:n}=e;return Ui({root:["root",n&&"invisible"]},Rd,t)})(v),S=null!=(n=f.root)?n:u.root;return dr.jsx(m,st({in:p,timeout:g},b,{children:dr.jsx(Od,st({"aria-hidden":!0},S,{as:null!=(r=null!=(o=h.root)?o:c.Root)?r:s,className:Ho(y.root,l,null==S?void 0:S.className),ownerState:st({},v,null==S?void 0:S.ownerState),classes:y,ref:t,children:a}))}))});function Pd(e){return Ko("MuiBadge",e)}const Id=Jo("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),_d=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],Md=Ul("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),Nd=Ul("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${Nr(n.anchorOrigin.vertical)}${Nr(n.anchorOrigin.horizontal)}${Nr(n.overlap)}`],"default"!==n.color&&t[`color${Nr(n.color)}`],n.invisible&&t.invisible]}})(({theme:e})=>{var t;return{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.keys((null!=(t=e.vars)?t:e).palette).filter(t=>{var n,r;return(null!=(n=e.vars)?n:e).palette[t].main&&(null!=(r=e.vars)?r:e).palette[t].contrastText}).map(t=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText}})),{props:{variant:"dot"},style:{borderRadius:4,height:8,minWidth:8,padding:0}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Id.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Id.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Id.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Id.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Id.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Id.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Id.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Id.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}]}}),qd=w.forwardRef(function(e,t){var n,r,o,i,a,l;const s=Kl({props:e,name:"MuiBadge"}),{anchorOrigin:c={vertical:"top",horizontal:"right"},className:u,component:d,components:p={},componentsProps:f={},children:h,overlap:m="rectangular",color:g="default",invisible:b=!1,max:v=99,badgeContent:y,slots:S,slotProps:w,showZero:x=!1,variant:k="standard"}=s,C=ct(s,_d),{badgeContent:E,invisible:R,max:L,displayValue:O}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,i=Wi({badgeContent:t,max:r});let a=n;!1!==n||0!==t||o||(a=!0);const{badgeContent:l,max:s=r}=a?i:e;return{badgeContent:l,invisible:a,max:s,displayValue:l&&Number(l)>s?`${s}+`:l}}({max:v,invisible:b,badgeContent:y,showZero:x}),T=Wi({anchorOrigin:c,color:g,overlap:m,variant:k,badgeContent:y}),P=R||null==E&&"dot"!==k,{color:I=g,overlap:_=m,anchorOrigin:M=c,variant:N=k}=P?T:s,q="dot"!==N?O:void 0,D=st({},s,{badgeContent:E,invisible:P,max:L,displayValue:q,showZero:x,anchorOrigin:M,color:I,overlap:_,variant:N}),A=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:i,classes:a={}}=e;return Ui({root:["root"],badge:["badge",i,r&&"invisible",`anchorOrigin${Nr(n.vertical)}${Nr(n.horizontal)}`,`anchorOrigin${Nr(n.vertical)}${Nr(n.horizontal)}${Nr(o)}`,`overlap${Nr(o)}`,"default"!==t&&`color${Nr(t)}`]},Pd,a)})(D),z=null!=(n=null!=(r=null==S?void 0:S.root)?r:p.Root)?n:Md,j=null!=(o=null!=(i=null==S?void 0:S.badge)?i:p.Badge)?o:Nd,F=null!=(a=null==w?void 0:w.root)?a:f.root,$=null!=(l=null==w?void 0:w.badge)?l:f.badge,B=Zi({elementType:z,externalSlotProps:F,externalForwardedProps:C,additionalProps:{ref:t,as:d},ownerState:D,className:Ho(null==F?void 0:F.className,A.root,u)}),W=Zi({elementType:j,externalSlotProps:$,ownerState:D,className:Ho(A.badge,null==$?void 0:$.className)});return dr.jsxs(z,st({},B,{children:[h,dr.jsx(j,st({},W,{children:q}))]}))}),Dd=Jo("MuiBox",["root"]),Ad=Ll(),zd=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=mr("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(To),a=w.forwardRef(function(e,a){const l=Do(n),s=Fo(e),{className:c,component:u="div"}=s,d=ct(s,Vo);return dr.jsx(i,st({as:u,ref:a,className:Ho(c,o?o(r):r),theme:t&&l[t]||l},d))});return a}({themeId:lt,defaultTheme:Ad,defaultClassName:Dd.root,generateClassName:Wo.generate});function jd(e){return Ko("PrivateSwitchBase",e)}Jo("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const Fd=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],$d=Ul(Is,{name:"MuiSwitchBase"})(({ownerState:e})=>st({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12})),Bd=Ul("input",{name:"MuiSwitchBase",shouldForwardProp:Wl})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Wd=w.forwardRef(function(e,t){const{autoFocus:n,checked:r,checkedIcon:o,className:i,defaultChecked:a,disabled:l,disableFocusRipple:s=!1,edge:c=!1,icon:u,id:d,inputProps:p,inputRef:f,name:h,onBlur:m,onChange:g,onFocus:b,readOnly:v,required:y=!1,tabIndex:S,type:w,value:x}=e,k=ct(e,Fd),[C,E]=Ri({controlled:r,default:Boolean(a),name:"SwitchBase",state:"checked"}),R=cd();let L=l;R&&void 0===L&&(L=R.disabled);const O="checkbox"===w||"radio"===w,T=st({},e,{checked:C,disabled:L,disableFocusRipple:s,edge:c}),P=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e;return Ui({root:["root",n&&"checked",r&&"disabled",o&&`edge${Nr(o)}`],input:["input"]},jd,t)})(T);return dr.jsxs($d,st({component:"span",className:Ho(P.root,i),centerRipple:!0,focusRipple:!s,disabled:L,tabIndex:null,role:void 0,onFocus:e=>{b&&b(e),R&&R.onFocus&&R.onFocus(e)},onBlur:e=>{m&&m(e),R&&R.onBlur&&R.onBlur(e)},ownerState:T,ref:t},k,{children:[dr.jsx(Bd,st({autoFocus:n,checked:r,defaultChecked:a,className:P.input,disabled:L,id:O?d:void 0,name:h,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;E(t),g&&g(e,t)},readOnly:v,ref:f,required:y,ownerState:T,tabIndex:S,type:w},"checkbox"===w&&void 0===x?{}:{value:x},p)),C?o:u]}))});var Ud=ic(dr.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"),Hd=ic(dr.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"),Vd=ic(dr.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 Gd(e){return Ko("MuiCheckbox",e)}const Kd=Jo("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Jd=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],Zd=Ul(Wd,{shouldForwardProp:e=>Wl(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${Nr(n.size)}`],"default"!==n.color&&t[`color${Nr(n.color)}`]]}})(({theme:e,ownerState:t})=>st({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})`:La.alpha("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${Kd.checked}, &.${Kd.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Kd.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),Xd=dr.jsx(Hd,{}),Qd=dr.jsx(Ud,{}),Yd=dr.jsx(Vd,{}),ep=w.forwardRef(function(e,t){var n,r;const o=Kl({props:e,name:"MuiCheckbox"}),{checkedIcon:i=Xd,color:a="primary",icon:l=Qd,indeterminate:s=!1,indeterminateIcon:c=Yd,inputProps:u,size:d="medium",className:p}=o,f=ct(o,Jd),h=s?c:l,m=s?c:i,g=st({},o,{color:a,indeterminate:s,size:d}),b=(e=>{const{classes:t,indeterminate:n,color:r,size:o}=e;return st({},t,Ui({root:["root",n&&"indeterminate",`color${Nr(r)}`,`size${Nr(o)}`]},Gd,t))})(g);return dr.jsx(Zd,st({type:"checkbox",inputProps:st({"data-indeterminate":s},u),icon:w.cloneElement(h,{fontSize:null!=(n=h.props.fontSize)?n:d}),checkedIcon:w.cloneElement(m,{fontSize:null!=(r=m.props.fontSize)?r:d}),ownerState:g,ref:t,className:Ho(b.root,p)},f,{classes:b}))});function tp(e){return Ko("MuiCircularProgress",e)}Jo("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const np=["className","color","disableShrink","size","style","thickness","value","variant"];let rp,op,ip,ap,lp=e=>e;const sp=44,cp=Qn(rp||(rp=lp`
97
97
  0% {
98
98
  transform: rotate(0deg);
99
99
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nebula.js/stardust",
3
- "version": "6.0.0-alpha.0",
3
+ "version": "6.0.0-alpha.1",
4
4
  "description": "Product and framework agnostic integration API for Qlik's Associative Engine",
5
5
  "license": "MIT",
6
6
  "author": "QlikTech International AB",
@@ -45,13 +45,13 @@
45
45
  "@emotion/styled": "^11.14.1",
46
46
  "@mui/icons-material": "^5.18.0",
47
47
  "@mui/material": "^5.18.0",
48
- "@nebula.js/conversion": "^6.0.0-alpha.0",
49
- "@nebula.js/enigma-mocker": "^6.0.0-alpha.0",
50
- "@nebula.js/locale": "^6.0.0-alpha.0",
51
- "@nebula.js/nucleus": "^6.0.0-alpha.0",
52
- "@nebula.js/supernova": "^6.0.0-alpha.0",
53
- "@nebula.js/theme": "^6.0.0-alpha.0",
54
- "@nebula.js/ui": "^6.0.0-alpha.0",
48
+ "@nebula.js/conversion": "^6.0.0-alpha.1",
49
+ "@nebula.js/enigma-mocker": "^6.0.0-alpha.1",
50
+ "@nebula.js/locale": "^6.0.0-alpha.1",
51
+ "@nebula.js/nucleus": "^6.0.0-alpha.1",
52
+ "@nebula.js/supernova": "^6.0.0-alpha.1",
53
+ "@nebula.js/theme": "^6.0.0-alpha.1",
54
+ "@nebula.js/ui": "^6.0.0-alpha.1",
55
55
  "@qlik/api": "1.41.0",
56
56
  "@scriptappy/cli": "0.10.0",
57
57
  "@scriptappy/from-jsdoc": "0.19.0",
@@ -67,5 +67,5 @@
67
67
  "regenerator-runtime": "0.14.1",
68
68
  "semver": "7.7.2"
69
69
  },
70
- "gitHead": "1f18f76bea27f8f54a324d36ebf2378db3be5865"
70
+ "gitHead": "c279afa5f5df73fbbb1d56c1b9bb73ab33ef5b92"
71
71
  }