@nebula.js/stardust 3.0.2 → 3.0.3
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.
- package/core/esm/dev.js +101 -28
- package/core/esm/dev.js.map +1 -1
- package/core/esm/index.js +2 -2
- package/core/esm/index.js.map +1 -1
- package/dist/stardust.dev.js +101 -27
- package/dist/stardust.dev.js.map +1 -1
- package/dist/stardust.js +3 -3
- package/dist/stardust.js.map +1 -1
- package/package.json +9 -9
package/dist/stardust.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @nebula.js/stardust v3.0.
|
|
2
|
+
* @nebula.js/stardust v3.0.3
|
|
3
3
|
* Copyright (c) 2022 QlikTech International AB
|
|
4
4
|
* Released under the MIT license.
|
|
5
5
|
*/
|
|
@@ -102,7 +102,7 @@ var zt=Ge.exports,At=Pt.exports;function _t(e){for(var t="https://reactjs.org/do
|
|
|
102
102
|
animation-iteration-count: infinite;
|
|
103
103
|
animation-delay: 200ms;
|
|
104
104
|
}
|
|
105
|
-
`),$w.rippleVisible,Uw,550,(({theme:e})=>e.transitions.easing.easeInOut),$w.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),$w.child,$w.childLeaving,Vw,550,(({theme:e})=>e.transitions.easing.easeInOut),$w.childPulsate,Gw,(({theme:e})=>e.transitions.easing.easeInOut)),Zw=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:a}=n,i=$p(n,qw),[l,s]=Ge.exports.useState([]),c=Ge.exports.useRef(0),u=Ge.exports.useRef(null);Ge.exports.useEffect((()=>{u.current&&(u.current(),u.current=null)}),[l]);const d=Ge.exports.useRef(!1),p=Ge.exports.useRef(null),f=Ge.exports.useRef(null),m=Ge.exports.useRef(null);Ge.exports.useEffect((()=>()=>{clearTimeout(p.current)}),[]);const h=Ge.exports.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:a,cb:i}=e;s((e=>[...e,uh.exports.jsx(Xw,{classes:{ripple:KS(o.ripple,$w.ripple),rippleVisible:KS(o.rippleVisible,$w.rippleVisible),ripplePulsate:KS(o.ripplePulsate,$w.ripplePulsate),child:KS(o.child,$w.child),childLeaving:KS(o.childLeaving,$w.childLeaving),childPulsate:KS(o.childPulsate,$w.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:a},c.current)])),c.current+=1,u.current=i}),[o]),g=Ge.exports.useCallback(((e={},t={},n)=>{const{pulsate:o=!1,center:a=r||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&d.current)return void(d.current=!1);"touchstart"===(null==e?void 0:e.type)&&(d.current=!0);const l=i?null:m.current,s=l?l.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,g;if(a||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(a)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=()=>{h({pulsate:o,rippleX:c,rippleY:u,rippleSize:g,cb:n})},p.current=setTimeout((()=>{f.current&&(f.current(),f.current=null)}),80)):h({pulsate:o,rippleX:c,rippleY:u,rippleSize:g,cb:n})}),[r,h]),v=Ge.exports.useCallback((()=>{g({},{pulsate:!0})}),[g]),b=Ge.exports.useCallback(((e,t)=>{if(clearTimeout(p.current),"touchend"===(null==e?void 0:e.type)&&f.current)return f.current(),f.current=null,void(p.current=setTimeout((()=>{b(e,t)})));f.current=null,s((e=>e.length>0?e.slice(1):e)),u.current=t}),[]);return Ge.exports.useImperativeHandle(t,(()=>({pulsate:v,start:g,stop:b})),[v,g,b]),uh.exports.jsx(Kw,Dp({className:KS($w.root,o.root,a),ref:m},i,{children:uh.exports.jsx(Ow,{component:null,exit:!0,children:l})}))}));function Yw(e){return ng("MuiButtonBase",e)}const Qw=rg("MuiButtonBase",["root","disabled","focusVisible"]),Jw=["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"],eC=VS("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"},[`&.${Qw.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),tC=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:a,className:i,component:l="button",disabled:s=!1,disableRipple:c=!1,disableTouchRipple:u=!1,focusRipple:d=!1,LinkComponent:p="a",onBlur:f,onClick:m,onContextMenu:h,onDragLeave:g,onFocus:v,onFocusVisible:b,onKeyDown:y,onKeyUp:x,onMouseDown:S,onMouseLeave:w,onMouseUp:C,onTouchEnd:k,onTouchMove:E,onTouchStart:R,tabIndex:L=0,TouchRippleProps:O,touchRippleRef:I,type:M}=n,T=$p(n,Jw),P=Ge.exports.useRef(null),N=Ge.exports.useRef(null),z=Dh(N,I),{isFocusVisibleRef:A,onFocus:_,onBlur:D,ref:$}=Vh(),[q,j]=Ge.exports.useState(!1);s&&q&&j(!1),Ge.exports.useImperativeHandle(r,(()=>({focusVisible:()=>{j(!0),P.current.focus()}})),[]);const[F,B]=Ge.exports.useState(!1);Ge.exports.useEffect((()=>{B(!0)}),[]);const W=F&&!c&&!s;function H(e,t,n=u){return _h((r=>{t&&t(r);return!n&&N.current&&N.current[e](r),!0}))}Ge.exports.useEffect((()=>{q&&d&&!c&&F&&N.current.pulsate()}),[c,d,q,F]);const U=H("start",S),V=H("stop",h),G=H("stop",g),K=H("stop",C),X=H("stop",(e=>{q&&e.preventDefault(),w&&w(e)})),Z=H("start",R),Y=H("stop",k),Q=H("stop",E),J=H("stop",(e=>{D(e),!1===A.current&&j(!1),f&&f(e)}),!1),ee=_h((e=>{P.current||(P.current=e.currentTarget),_(e),!0===A.current&&(j(!0),b&&b(e)),v&&v(e)})),te=()=>{const e=P.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},ne=Ge.exports.useRef(!1),re=_h((e=>{d&&!ne.current&&q&&N.current&&" "===e.key&&(ne.current=!0,N.current.stop(e,(()=>{N.current.start(e)}))),e.target===e.currentTarget&&te()&&" "===e.key&&e.preventDefault(),y&&y(e),e.target===e.currentTarget&&te()&&"Enter"===e.key&&!s&&(e.preventDefault(),m&&m(e))})),oe=_h((e=>{d&&" "===e.key&&N.current&&q&&!e.defaultPrevented&&(ne.current=!1,N.current.stop(e,(()=>{N.current.pulsate(e)}))),x&&x(e),m&&e.target===e.currentTarget&&te()&&" "===e.key&&!e.defaultPrevented&&m(e)}));let ae=l;"button"===ae&&(T.href||T.to)&&(ae=p);const ie={};"button"===ae?(ie.type=void 0===M?"button":M,ie.disabled=s):(T.href||T.to||(ie.role="button"),s&&(ie["aria-disabled"]=s));const le=Dh($,P),se=Dh(t,le),ce=Dp({},n,{centerRipple:o,component:l,disabled:s,disableRipple:c,disableTouchRipple:u,focusRipple:d,tabIndex:L,focusVisible:q}),ue=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=Qh({root:["root",t&&"disabled",n&&"focusVisible"]},Yw,o);return n&&r&&(a.root+=` ${r}`),a})(ce);return uh.exports.jsxs(eC,Dp({as:ae,className:KS(ue.root,i),ownerState:ce,onBlur:J,onClick:m,onContextMenu:V,onFocus:ee,onKeyDown:re,onKeyUp:oe,onMouseDown:U,onMouseLeave:X,onMouseUp:K,onDragLeave:G,onTouchEnd:Y,onTouchMove:Q,onTouchStart:Z,ref:se,tabIndex:s?-1:L,type:M},ie,T,{children:[a,W?uh.exports.jsx(Zw,Dp({ref:z,center:o},O)):null]}))}));function nC(e){return ng("MuiButton",e)}const rC=rg("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","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),oC=Ge.exports.createContext({}),aC=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],iC=["root"],lC=e=>Dp({},"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}}),sC=VS(tC,{shouldForwardProp:e=>HS(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Lh(n.color)}`],t[`size${Lh(n.size)}`],t[`${n.variant}Size${Lh(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;return Dp({},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":Dp({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:eb(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})`:eb(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})`:eb(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:(e.vars||e).palette.grey.A100,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":Dp({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${rC.focusVisible}`]:Dp({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${rC.disabled}`]:Dp({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"outlined"===t.variant&&"secondary"===t.color&&{border:`1px solid ${(e.vars||e).palette.action.disabled}`},"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 ${eb(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).palette.grey[300],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"},[`&.${rC.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${rC.disabled}`]:{boxShadow:"none"}})),cC=VS("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Lh(n.size)}`]]}})((({ownerState:e})=>Dp({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},lC(e)))),uC=VS("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Lh(n.size)}`]]}})((({ownerState:e})=>Dp({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},lC(e)))),dC=Ge.exports.forwardRef((function(e,t){const n=Ge.exports.useContext(oC),r=WS({props:Yh(n,e),name:"MuiButton"}),{children:o,color:a="primary",component:i="button",className:l,disabled:s=!1,disableElevation:c=!1,disableFocusRipple:u=!1,endIcon:d,focusVisibleClassName:p,fullWidth:f=!1,size:m="medium",startIcon:h,type:g,variant:v="text"}=r,b=$p(r,aC),y=Dp({},r,{color:a,component:i,disabled:s,disableElevation:c,disableFocusRipple:u,fullWidth:f,size:m,type:g,variant:v}),x=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:a,classes:i}=e;return Dp({},i,Qh({root:["root",a,`${a}${Lh(t)}`,`size${Lh(o)}`,`${a}Size${Lh(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${Lh(o)}`],endIcon:["endIcon",`iconSize${Lh(o)}`]},nC,i))})(y),{root:S}=x,w=$p(x,iC),C=h&&uh.exports.jsx(cC,{className:w.startIcon,ownerState:y,children:h}),k=d&&uh.exports.jsx(uC,{className:w.endIcon,ownerState:y,children:d});return uh.exports.jsxs(sC,Dp({ownerState:y,className:KS(n.className,S,l),component:i,disabled:s,focusRipple:!u,focusVisibleClassName:KS(w.focusVisible,p),ref:t,type:g},b,{classes:w,children:[C,o,k]}))}));var pC={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 fC="#009845",mC="#3F8AB3",hC="#ffffff",gC="#404040",vC="#333333",bC="#1A1A1A",yC={mode:"light",palette:{primary:{main:gC,contrastText:hC},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:gC,secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)"},action:{active:gC,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:hC,default:hC,lightest:hC,lighter:"#FBFBFB",darker:"#F2F2F2",darkest:"#E6E6E6"},custom:{focusBorder:mC,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(255, 255, 255, 1)"},selected:{main:fC,alternative:"#E4E4E4",excluded:"#BEBEBE",mainContrastText:hC,alternativeContrastText:gC,excludedContrastText:gC},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)"}}},xC={mode:"dark",palette:{primary:{main:vC,contrastText:hC},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:hC,secondary:"rgba(255, 255, 255, 0.6)",disabled:"rgba(255, 255, 255, 0.3)"},action:{active:hC,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:gC,lighter:vC,darker:"#262626",darkest:bC},custom:{focusBorder:mC,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(0, 0, 0, 0.2)"},selected:{main:fC,alternative:vC,excluded:bC,mainContrastText:hC,alternativeContrastText:hC,excludedContrastText:hC},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)"}}},SC={},wC=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","&:focus":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}}},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(rC.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(rC.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(rC.disabled)]:{backgroundColor:e.palette.btn.disabled}},"&:active":{boxShadow:"none",backgroundColor:e.palette.btn.active},["&.".concat(rC.disabled)]:{backgroundColor:e.palette.btn.disabled}}},MuiAccordionSummary:{content:{margin:"8px 0"}}});function CC(e){let t=yC,n="";"string"==typeof e&&(n=e,"light"!==e&&"dark"!==e?console.warn("Invalid theme: '".concat(e,"'")):"dark"===e&&(t=xC));const r=JSON.stringify(t);if(SC[r])return SC[r];const a={palette:o(o({type:t.mode},pC.palette),t.palette),typography:o({},pC.typography),shadows:pC.shadows,props:o({},pC.props),shape:o({},pC.shape)};return SC[r]=jS(function(e){const{defaultProps:t={},mixins:n={},overrides:r={},palette:o={},props:a={},styleOverrides:i={}}=e,l=Dp({},$p(e,Db),{components:{}});Object.keys(t).forEach((e=>{const n=l.components[e]||{};n.defaultProps=t[e],l.components[e]=n})),Object.keys(a).forEach((e=>{const t=l.components[e]||{};t.defaultProps=a[e],l.components[e]=t})),Object.keys(i).forEach((e=>{const t=l.components[e]||{};t.styleOverrides=i[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=kv(e.spacing);const s=wv(e.breakpoints||{}),c=l.spacing;l.mixins=Dp({gutters:(e={})=>Dp({paddingLeft:c(2),paddingRight:c(2)},e,{[s.up("sm")]:Dp({paddingLeft:c(3),paddingRight:c(3)},e[s.up("sm")])})},n);const{type:u,mode:d}=o,p=$p(o,$b),f=d||u||"light";return l.palette=Dp({text:{hint:"dark"===f?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:f,type:f},p),l}(o(o({},a),{},{overrides:wC(a)}))),SC[r].name=n,SC[r]}eg.configure((e=>"njs-".concat("9354","-").concat(e.replace("Mui",""))));var kC=Ot.createContext({language:null,theme:null,translator:null,constraints:{}}),EC=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{};const n=e,r=[],o={get:e=>n[e],set:(e,r)=>{if(void 0===e||"object"==typeof e)throw new Error("Invalid key: ".concat(JSON.stringify(e)));return n[e]=r,t({type:"SET",value:r}),r},clear:e=>{if(void 0===e||"object"==typeof e)throw new Error("Invalid key: ".concat(JSON.stringify(e)));n[e]=null},dispatch:e=>{r.forEach((t=>t(e?{}:n)))}},a=()=>{const[,e]=Ge.exports.useState(n);return Ge.exports.useEffect((()=>(r.push(e),()=>{const t=r.indexOf(e);r.splice(t,1)})),[e]),[o]};return[a,o]};const[RC,LC]=EC({}),[OC,IC]=EC({}),[MC,TC]=EC({}),[PC,NC]=EC({}),[zC,AC]=EC({}),[,_C]=EC({}),DC=e=>{let{type:t,value:n}=e;const r=_C.get(n.id);_C.set(n.id,{});const o=()=>{IC.clear(n.id),AC.set(n.id,{}),AC.dispatch(!0)},a=()=>{n.removeListener("changed",o),LC.clear(n.id),IC.clear(n.id),TC.clear(n.id),NC.clear(n.id),AC.clear(n.id),_C.clear(n.id)};if("SET"===t)r||(n.on("changed",o),n.once("closed",(()=>{a()})));return a},[$C,qC]=EC({},DC),jC=(e,t)=>{const{rpcResultStore:n,key:r,method:a}=t;let i;switch(t.type){case"INVALID":i=o(o({},e),{},{valid:!1,invalid:!0,validating:!0,canCancel:!0,canRetry:!1,rpcRetry:!1});break;case"VALID":i={result:o({},t.result),invalid:!1,valid:!0,validating:!1,canCancel:!1,canRetry:!1,rpcRetry:!1};break;case"CANCELLED":i=o(o({},e),{},{invalid:!0,valid:!1,validating:!1,canCancel:!1,canRetry:!0,rpcRetry:!1});break;default:throw new Error("Undefined action")}let l=n.get(r);return l||(l={}),l[a]=i,n.set(r,l),i};function FC(e,t){const n=e?"".concat(e.id):null,[r]=RC(),[o,a]=Ge.exports.useReducer(jC,n?r.get(n):null),[i]=zC(),[l]=OC();let s;n&&(s=l.get(n),s||(s={},l.set(n,s)));const c=async o=>{let i=s[t];if(!i||i&&i.rpcRetry){i={rpc:e[t](),rpcRetry:!1},s[t]=i,a({type:"INVALID",method:t,key:n,model:e,rpcResultStore:r,canCancel:!0})}try{const o=await i.rpc;a({type:"VALID",result:o,key:n,method:t,model:e,rpcResultStore:r})}catch(e){15!==e.code||o||(i.rpcRetry||(i.rpcRetry=!0),c(!0))}},u={cancel:async()=>{const o=e.session.getObjectApi({handle:-1});await o.cancelRequest(s[t].rpc.requestId),a({type:"CANCELLED",key:n,method:t,model:e,rpcResultStore:r})},retry:()=>{s[t].rpcRetry=!0,c()}};return Ge.exports.useEffect((()=>{e&&c()}),[e,i.get(e&&e.id),n,t]),[o&&o.result,{validating:o&&o.validating,canCancel:o&&o.canCancel,canRetry:o&&o.canRetry},u]}function BC(e){return FC(e,"getLayout")}function WC(e){return FC(e,"getAppLayout")}function HC(e,t){const n=t?"".concat(t.id,"/").concat(JSON.stringify(e)):null,[r]=$C(),[o]=MC(),[a,i]=Ge.exports.useState();let l;n&&(l=o.get(n));for(var s=arguments.length,c=new Array(s>2?s-2:0),u=2;u<s;u++)c[u-2]=arguments[u];return Ge.exports.useEffect((()=>{if(!t)return;(async()=>{if(!l){const r=t.createSessionObject(e);l=r,o.set(n,l)}const a=await l;r.set(n,a),i(a)})()}),[t,...c]),[a]}const UC={qInfo:{qType:"current-selections"},qSelectionObjectDef:{qStateName:"$"},alternateStates:[]};function VC(e){return HC(UC,e)}function GC(e){const[t]=VC(e),[n]=BC(t),[r]=WC(e),[o,a]=Ge.exports.useState(null);return Ge.exports.useEffect((()=>{r&&t&&n&&((e,t,n)=>{const r=[...n.qStateNames||[]].map((e=>({stateName:e,qSelectionObjectDef:{qStateName:e}})));(t&&t.alternateStates?t.alternateStates.map((e=>e.stateName)):[]).join("::")!==(n.qStateNames||[]).map((e=>e)).join("::")&&e.applyPatches([{qOp:"replace",qPath:"/alternateStates",qValue:JSON.stringify(r)}],!0)})(t,n,r)}),[r,t,n]),Ge.exports.useEffect((()=>{if(!n)return;let e=!1,t=!1,r=!1;[n,...n.alternateStates||[]].forEach((n=>{e=e||n.qSelectionObject&&n.qSelectionObject.qBackCount>0,t=t||n.qSelectionObject&&n.qSelectionObject.qForwardCount>0,r=r||(n.qSelectionObject&&n.qSelectionObject.qSelections||[]).filter((e=>!0!==e.qLocked)).length>0})),a({canGoBack:e,canGoForward:t,canClear:r})}),[n]),[o,t,n]}const[KC,XC]=EC({}),[ZC,YC]=EC({}),[QC,JC]=EC({}),[ek,tk]=EC({});function nk(e){if(!e.session)return[];const[t,n,r]=GC(e),[o]=KC(),a=e?e.id:null;let i=o.get(a);return Ge.exports.useEffect((()=>{e&&n&&r&&t&&!i&&(i=function(e){let{app:t,currentSelectionsLayout:n,navState:r}=e;const o="".concat(t.id),a=async function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t=tk.get(o);t&&(await t.endSelections(e),tk.clear(o),JC.get(t.id).emit("deactivated"))},i={begin:async function(e,n){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(e===tk.get(o))return;a(r),tk.set(o,e);const i=Array.isArray(n)?n:[n],l=async n=>{try{await e.beginSelections(i),tk.set(o,e)}catch(e){6003!==e.code||n?tk.clear(o):(await t.abortModal(r),l(!0))}};await l()},end:a};YC.set(o,i);const l={model:t,isInModal:()=>!!tk.get(o),isModal:e=>e?tk.get(o)===e:!!tk.get(o),canGoForward:()=>r.canGoForward,canGoBack:()=>r.canGoBack,canClear:()=>r.canClear,layout:()=>n,forward:()=>i.end().then((()=>t.forward())),back:()=>i.end().then((()=>t.back())),clear:()=>i.end().then((()=>t.clearAll())),clearField(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$";return i.end().then((()=>t.getField(e,n).then((e=>e.clear()))))}};return l}({app:e,currentSelectionsLayout:r,navState:t}),o.set(a,i),o.dispatch(!0))}),[e,n,r,t]),[i,t]}const rk=Ge.exports.forwardRef(((e,t)=>{let{initialContext:n,app:r}=e;const[o]=nk(r),[a,i]=Ge.exports.useState(n),[l,s]=Ge.exports.useState(),{theme:c}=Ge.exports.useMemo((()=>({theme:CC(l)})),[l]),[u,d]=Ge.exports.useState([]);return Ge.exports.useImperativeHandle(t,(()=>({addComponent(e){d([...u,e])},removeComponent(e){const t=u.indexOf(e);-1!==t&&(u.splice(t,1),d([...u]))},setMuiThemeName:s,setContext:i,getAppSelections:()=>o}))),Ot.createElement(xh,{injectFirst:!0},Ot.createElement(ab,{theme:c},Ot.createElement(kC.Provider,{value:a},u)))}));function ok(e){let t,{app:n,context:r}=e;const o=new Promise((e=>{t=e})),a=Ot.createRef(),i=document.createElement("div");i.style.display="none",i.setAttribute("data-nebulajs-version","3.0.2"),i.setAttribute("data-app-id",n.id),document.body.appendChild(i),_p.render(Ot.createElement(rk,{ref:a,app:n,initialContext:r}),i,t);const l={};return[{toggleFocusOfCells(e){Object.keys(l).forEach((t=>{l[t].current.toggleFocus(t===e)}))},cells:l,addCell(e,t){l[e]=t},add(e){(async()=>{await o,a.current.addComponent(e)})()},remove(e){(async()=>{await o,a.current.removeComponent(e)})()},setMuiThemeName(e){(async()=>{await o,a.current.setMuiThemeName(e)})()},context(e){(async()=>{await o,a.current.setContext(e)})()},getAppSelections:async()=>(await o,a.current.getAppSelections())},a,o]}function ak(e){return ng("MuiSvgIcon",e)}rg("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const ik=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],lk=VS("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Lh(n.color)}`],t[`fontSize${Lh(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,a,i,l,s,c,u,d,p,f,m,h,g,v,b;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(a=o.duration)?void 0:a.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(l=i.pxToRem)?void 0:l.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(c=s.pxToRem)?void 0:c.call(s,24))||"1.5rem",large:(null==(u=e.typography)||null==(d=u.pxToRem)?void 0:d.call(u,35))||"2.1875"}[t.fontSize],color:null!=(p=null==(f=(e.vars||e).palette)||null==(m=f[t.color])?void 0:m.main)?p:{action:null==(h=(e.vars||e).palette)||null==(g=h.action)?void 0:g.active,disabled:null==(v=(e.vars||e).palette)||null==(b=v.action)?void 0:b.disabled,inherit:void 0}[t.color]}})),sk=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:a="inherit",component:i="svg",fontSize:l="medium",htmlColor:s,inheritViewBox:c=!1,titleAccess:u,viewBox:d="0 0 24 24"}=n,p=$p(n,ik),f=Dp({},n,{color:a,component:i,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:d}),m={};c||(m.viewBox=d);const h=(e=>{const{color:t,fontSize:n,classes:r}=e;return Qh({root:["root","inherit"!==t&&`color${Lh(t)}`,`fontSize${Lh(n)}`]},ak,r)})(f);return uh.exports.jsxs(lk,Dp({as:i,className:KS(h.root,o),ownerState:f,focusable:"false",color:s,"aria-hidden":!u||void 0,role:u?"img":void 0,ref:t},m,p,{children:[r,u?uh.exports.jsx("title",{children:u}):null]}))}));function ck(e,t){const n=(n,r)=>uh.exports.jsx(sk,Dp({"data-testid":`${t}Icon`,ref:r},n,{children:e}));return n.muiName=sk.muiName,Ge.exports.memo(Ge.exports.forwardRef(n))}sk.muiName="SvgIcon";const uk=e=>e.scrollTop;function dk(e,t){var n,r;const{timeout:o,easing:a,style:i={}}=e;return{duration:null!=(n=i.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=i.transitionTimingFunction)?r:"object"==typeof a?a[t.mode]:a,delay:i.transitionDelay}}function pk(e){return ng("MuiCollapse",e)}rg("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const fk=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],mk=VS("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})((({theme:e,ownerState:t})=>Dp({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===t.state&&Dp({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"}))),hk=VS("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})((({ownerState:e})=>Dp({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),gk=VS("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})((({ownerState:e})=>Dp({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),vk=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiCollapse"}),{addEndListener:r,children:o,className:a,collapsedSize:i="0px",component:l,easing:s,in:c,onEnter:u,onEntered:d,onEntering:p,onExit:f,onExited:m,onExiting:h,orientation:g="vertical",style:v,timeout:b=zS.standard,TransitionComponent:y=bw}=n,x=$p(n,fk),S=Dp({},n,{orientation:g,collapsedSize:i}),w=(e=>{const{orientation:t,classes:n}=e;return Qh({root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]},pk,n)})(S),C=BS(),k=Ge.exports.useRef(),E=Ge.exports.useRef(null),R=Ge.exports.useRef(),L="number"==typeof i?`${i}px`:i,O="horizontal"===g,I=O?"width":"height";Ge.exports.useEffect((()=>()=>{clearTimeout(k.current)}),[]);const M=Ge.exports.useRef(null),T=Dh(t,M),P=e=>t=>{if(e){const n=M.current;void 0===t?e(n):e(n,t)}},N=()=>E.current?E.current[O?"clientWidth":"clientHeight"]:0,z=P(((e,t)=>{E.current&&O&&(E.current.style.position="absolute"),e.style[I]=L,u&&u(e,t)})),A=P(((e,t)=>{const n=N();E.current&&O&&(E.current.style.position="");const{duration:r,easing:o}=dk({style:v,timeout:b,easing:s},{mode:"enter"});if("auto"===b){const t=C.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,R.current=t}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[I]=`${n}px`,e.style.transitionTimingFunction=o,p&&p(e,t)})),_=P(((e,t)=>{e.style[I]="auto",d&&d(e,t)})),D=P((e=>{e.style[I]=`${N()}px`,f&&f(e)})),$=P(m),q=P((e=>{const t=N(),{duration:n,easing:r}=dk({style:v,timeout:b,easing:s},{mode:"exit"});if("auto"===b){const n=C.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,R.current=n}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[I]=L,e.style.transitionTimingFunction=r,h&&h(e)}));return uh.exports.jsx(y,Dp({in:c,onEnter:z,onEntered:_,onEntering:A,onExit:D,onExited:$,onExiting:q,addEndListener:e=>{"auto"===b&&(k.current=setTimeout(e,R.current||0)),r&&r(M.current,e)},nodeRef:M,timeout:"auto"===b?null:b},x,{children:(e,t)=>uh.exports.jsx(mk,Dp({as:l,className:KS(w.root,a,{entered:w.entered,exited:!c&&"0px"===L&&w.hidden}[e]),style:Dp({[O?"minWidth":"minHeight"]:L},v),ownerState:Dp({},S,{state:e}),ref:T},t,{children:uh.exports.jsx(hk,{ownerState:Dp({},S,{state:e}),className:w.wrapper,ref:E,children:uh.exports.jsx(gk,{ownerState:Dp({},S,{state:e}),className:w.wrapperInner,children:o})})}))}))}));vk.muiSupportAuto=!0;const bk=rg("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]);VS(JS,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${bk.region}`]:t.region},t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})((({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&:before":{display:"none"}},[`&.${bk.expanded}`]:{"&:before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}},[`&.${bk.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}}),(({theme:e,ownerState:t})=>Dp({},!t.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!t.disableGutters&&{[`&.${bk.expanded}`]:{margin:"16px 0"}}))),rg("MuiAccordionActions",["root","spacing"]),VS("div",{name:"MuiAccordionActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})((({ownerState:e})=>Dp({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end"},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}}))),rg("MuiAccordionDetails",["root"]),VS("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({padding:e.spacing(1,2,2)})));const yk=rg("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]);VS(tC,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{const n={duration:e.transitions.duration.shortest};return Dp({display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],n),[`&.${yk.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${yk.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${yk.disabled})`]:{cursor:"pointer"}},!t.disableGutters&&{[`&.${yk.expanded}`]:{minHeight:64}})})),VS("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})((({theme:e,ownerState:t})=>Dp({display:"flex",flexGrow:1,margin:"12px 0"},!t.disableGutters&&{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${yk.expanded}`]:{margin:"20px 0"}}))),VS("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})((({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${yk.expanded}`]:{transform:"rotate(180deg)"}})));const xk=rg("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function Sk(e){return ng("MuiIconButton",e)}const wk=rg("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Ck=["edge","children","className","color","disabled","disableFocusRipple","size"],kk=VS(tC,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${Lh(n.color)}`],n.edge&&t[`edge${Lh(n.edge)}`],t[`size${Lh(n.size)}`]]}})((({theme:e,ownerState:t})=>Dp({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})`:eb(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})=>Dp({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&Dp({color:(e.vars||e).palette[t.color].main},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:eb(e.palette[t.color].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)},{[`&.${wk.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),Ek=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:a,color:i="default",disabled:l=!1,disableFocusRipple:s=!1,size:c="medium"}=n,u=$p(n,Ck),d=Dp({},n,{edge:r,color:i,disabled:l,disableFocusRipple:s,size:c}),p=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:a}=e;return Qh({root:["root",n&&"disabled","default"!==r&&`color${Lh(r)}`,o&&`edge${Lh(o)}`,`size${Lh(a)}`]},Sk,t)})(d);return uh.exports.jsx(kk,Dp({className:KS(p.root,a),centerRipple:!0,focusRipple:!s,disabled:l,ref:t,ownerState:d},u,{children:o}))}));function Rk(e){return ng("MuiTypography",e)}ck(uh.exports.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),ck(uh.exports.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),ck(uh.exports.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),ck(uh.exports.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),ck(uh.exports.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),VS(JS,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Lh(n.color||n.severity)}`]]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?tb:nb,r="light"===e.palette.mode?nb:tb,o=t.color||t.severity;return Dp({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},o&&"standard"===t.variant&&{color:e.vars?e.vars.palette.Alert[`${o}Color`]:n(e.palette[o].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${o}StandardBg`]:r(e.palette[o].light,.9),[`& .${xk.icon}`]:e.vars?{color:e.vars.palette.Alert[`${o}IconColor`]}:{color:"dark"===e.palette.mode?e.palette[o].main:e.palette[o].light}},o&&"outlined"===t.variant&&{color:e.vars?e.vars.palette.Alert[`${o}Color`]:n(e.palette[o].light,.6),border:`1px solid ${(e.vars||e).palette[o].light}`,[`& .${xk.icon}`]:e.vars?{color:e.vars.palette.Alert[`${o}IconColor`]}:{color:"dark"===e.palette.mode?e.palette[o].main:e.palette[o].light}},o&&"filled"===t.variant&&Dp({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${o}FilledColor`],backgroundColor:e.vars.palette.Alert[`${o}FilledBg`]}:{backgroundColor:"dark"===e.palette.mode?e.palette[o].dark:e.palette[o].main,color:e.palette.getContrastText("dark"===e.palette.mode?e.palette[o].dark:e.palette[o].main)}))})),VS("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),VS("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),VS("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),rg("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Lk=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Ok=VS("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${Lh(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>Dp({margin:0},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}))),Ik={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Mk={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Tk=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiTypography"}),r=(e=>Mk[e]||e)(n.color),o=bv(Dp({},n,{color:r})),{align:a="inherit",className:i,component:l,gutterBottom:s=!1,noWrap:c=!1,paragraph:u=!1,variant:d="body1",variantMapping:p=Ik}=o,f=$p(o,Lk),m=Dp({},o,{align:a,color:r,className:i,component:l,gutterBottom:s,noWrap:c,paragraph:u,variant:d,variantMapping:p}),h=l||(u?"p":p[d]||Ik[d])||"span",g=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:a,classes:i}=e;return Qh({root:["root",a,"inherit"!==e.align&&`align${Lh(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},Rk,i)})(m);return uh.exports.jsx(Ok,Dp({as:h,ref:t,ownerState:m,className:KS(g.root,i)},f))}));rg("MuiAlertTitle",["root"]),VS(Tk,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2}))),rg("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const Pk=(e,t)=>`${null==e?void 0:e.replace(")","")}, ${t})`;VS(JS,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Lh(n.position)}`],t[`color${Lh(n.color)}`]]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[900];return Dp({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===t.position&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===t.position&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===t.position&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"static"===t.position&&{position:"static"},"relative"===t.position&&{position:"relative"},!e.vars&&Dp({},"default"===t.color&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&"default"!==t.color&&"inherit"!==t.color&&"transparent"!==t.color&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},"inherit"===t.color&&{color:"inherit"},"dark"===e.palette.mode&&!t.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===t.color&&Dp({backgroundColor:"transparent",color:"inherit"},"dark"===e.palette.mode&&{backgroundImage:"none"})),e.vars&&Dp({},"default"===t.color&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Pk(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Pk(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:Pk(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Pk(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===t.color?"inherit":"var(--AppBar-color)"},"transparent"===t.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}));const Nk=VS(Sx,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),zk=Ge.exports.forwardRef((function(e,t){const n=Pv(),r=WS({props:e,name:"MuiPopper"});return uh.exports.jsx(Nk,Dp({direction:null==n?void 0:n.direction},r,{ref:t}))}));function Ak(e){return ng("MuiListSubheader",e)}rg("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const _k=["className","color","component","disableGutters","disableSticky","inset"],Dk=VS("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${Lh(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})((({theme:e,ownerState:t})=>Dp({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},"primary"===t.color&&{color:(e.vars||e).palette.primary.main},"inherit"===t.color&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}))),$k=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiListSubheader"}),{className:r,color:o="default",component:a="li",disableGutters:i=!1,disableSticky:l=!1,inset:s=!1}=n,c=$p(n,_k),u=Dp({},n,{color:o,component:a,disableGutters:i,disableSticky:l,inset:s}),d=(e=>{const{classes:t,color:n,disableGutters:r,inset:o,disableSticky:a}=e;return Qh({root:["root","default"!==n&&`color${Lh(n)}`,!r&&"gutters",o&&"inset",!a&&"sticky"]},Ak,t)})(u);return uh.exports.jsx(Dk,Dp({as:a,className:KS(d.root,r),ref:t,ownerState:u},c))}));ck(uh.exports.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");const qk=rg("MuiChip",["root","sizeSmall","sizeMedium","colorPrimary","colorSecondary","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]);function jk({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)),{})}VS("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,clickable:o,onDelete:a,size:i,variant:l}=n;return[{[`& .${qk.avatar}`]:t.avatar},{[`& .${qk.avatar}`]:t[`avatar${Lh(i)}`]},{[`& .${qk.avatar}`]:t[`avatarColor${Lh(r)}`]},{[`& .${qk.icon}`]:t.icon},{[`& .${qk.icon}`]:t[`icon${Lh(i)}`]},{[`& .${qk.icon}`]:t[`iconColor${Lh(r)}`]},{[`& .${qk.deleteIcon}`]:t.deleteIcon},{[`& .${qk.deleteIcon}`]:t[`deleteIcon${Lh(i)}`]},{[`& .${qk.deleteIcon}`]:t[`deleteIconColor${Lh(r)}`]},{[`& .${qk.deleteIcon}`]:t[`deleteIcon${Lh(l)}Color${Lh(r)}`]},t.root,t[`size${Lh(i)}`],t[`color${Lh(r)}`],o&&t.clickable,o&&"default"!==r&&t[`clickableColor${Lh(r)})`],a&&t.deletable,a&&"default"!==r&&t[`deletableColor${Lh(r)}`],t[l],t[`${l}${Lh(r)}`]]}})((({theme:e,ownerState:t})=>{const n=eb(e.palette.text.primary,.26),r="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return Dp({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${qk.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${qk.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:r,fontSize:e.typography.pxToRem(12)},[`& .${qk.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${qk.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${qk.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${qk.icon}`]:Dp({color:e.vars?e.vars.palette.Chip.defaultIconColor:r,marginLeft:5,marginRight:-6},"small"===t.size&&{fontSize:18,marginLeft:4,marginRight:-4},"default"!==t.color&&{color:"inherit"}),[`& .${qk.deleteIcon}`]:Dp({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:n,fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:eb(n,.4)}},"small"===t.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==t.color&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:eb(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},"small"===t.size&&{height:24},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${qk.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity+e.vars.palette.action.focusOpacity}))`:eb(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&"default"!==t.color&&{[`&.${qk.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})}),(({theme:e,ownerState:t})=>Dp({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity+e.vars.palette.action.hoverOpacity}))`:eb(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${qk.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity+e.vars.palette.action.focusOpacity}))`:eb(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&"default"!==t.color&&{[`&:hover, &.${qk.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})),(({theme:e,ownerState:t})=>Dp({},"outlined"===t.variant&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${qk.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${qk.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${qk.avatar}`]:{marginLeft:4},[`& .${qk.avatarSmall}`]:{marginLeft:2},[`& .${qk.icon}`]:{marginLeft:4},[`& .${qk.iconSmall}`]:{marginLeft:2},[`& .${qk.deleteIcon}`]:{marginRight:5},[`& .${qk.deleteIconSmall}`]:{marginRight:3}},"outlined"===t.variant&&"default"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:eb(e.palette[t.color].main,.7)}`,[`&.${qk.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:eb(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${qk.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:eb(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${qk.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:eb(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}}))),VS("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${Lh(r)}`]]}})((({ownerState:e})=>Dp({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"small"===e.size&&{paddingLeft:8,paddingRight:8})));const Fk=Ge.exports.createContext();function Bk(){return Ge.exports.useContext(Fk)}function Wk(e){return uh.exports.jsx(Sh,Dp({},e,{defaultTheme:FS}))}function Hk(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Uk(e,t=!1){return e&&(Hk(e.value)&&""!==e.value||t&&Hk(e.defaultValue)&&""!==e.defaultValue)}function Vk(e){return ng("MuiInputBase",e)}const Gk=rg("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Kk=["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","startAdornment","type","value"],Xk=(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${Lh(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Zk=(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]},Yk=VS("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Xk})((({theme:e,ownerState:t})=>Dp({},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",[`&.${Gk.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&Dp({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),Qk=VS("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Zk})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=Dp({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"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return Dp({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] + .${Gk.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${Gk.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"})})),Jk=uh.exports.jsx(Wk,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),eE=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiInputBase"}),{"aria-describedby":r,autoComplete:o,autoFocus:a,className:i,components:l={},componentsProps:s={},defaultValue:c,disabled:u,disableInjectingGlobalStyles:d,endAdornment:p,fullWidth:f=!1,id:m,inputComponent:h="input",inputProps:g={},inputRef:v,maxRows:b,minRows:y,multiline:x=!1,name:S,onBlur:w,onChange:C,onClick:k,onFocus:E,onKeyDown:R,onKeyUp:L,placeholder:O,readOnly:I,renderSuffix:M,rows:T,startAdornment:P,type:N="text",value:z}=n,A=$p(n,Kk),_=null!=g.value?g.value:z,{current:D}=Ge.exports.useRef(null!=_),$=Ge.exports.useRef(),q=Ge.exports.useCallback((e=>{}),[]),j=Dh(g.ref,q),F=Dh(v,j),B=Dh($,F),[W,H]=Ge.exports.useState(!1),U=Bk(),V=jk({props:n,muiFormControl:U,states:["color","disabled","error","hiddenLabel","size","required","filled"]});V.focused=U?U.focused:W,Ge.exports.useEffect((()=>{!U&&u&&W&&(H(!1),w&&w())}),[U,u,W,w]);const G=U&&U.onFilled,K=U&&U.onEmpty,X=Ge.exports.useCallback((e=>{Uk(e)?G&&G():K&&K()}),[G,K]);zh((()=>{D&&X({value:_})}),[_,X,D]);Ge.exports.useEffect((()=>{X($.current)}),[]);let Z=h,Y=g;x&&"input"===Z&&(Y=Dp(T?{type:void 0,minRows:T,maxRows:T}:{type:void 0,maxRows:b,minRows:y},Y),Z=jx);Ge.exports.useEffect((()=>{U&&U.setAdornedStart(Boolean(P))}),[U,P]);const Q=Dp({},n,{color:V.color||"primary",disabled:V.disabled,endAdornment:p,error:V.error,focused:V.focused,formControl:U,fullWidth:f,hiddenLabel:V.hiddenLabel,multiline:x,size:V.size,startAdornment:P,type:N}),J=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:a,focused:i,formControl:l,fullWidth:s,hiddenLabel:c,multiline:u,readOnly:d,size:p,startAdornment:f,type:m}=e;return Qh({root:["root",`color${Lh(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",i&&"focused",l&&"formControl","small"===p&&"sizeSmall",u&&"multiline",f&&"adornedStart",a&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===m&&"inputTypeSearch",u&&"inputMultiline","small"===p&&"inputSizeSmall",c&&"inputHiddenLabel",f&&"inputAdornedStart",a&&"inputAdornedEnd",d&&"readOnly"]},Vk,t)})(Q),ee=l.Root||Yk,te=s.root||{},ne=l.Input||Qk;return Y=Dp({},Y,s.input),uh.exports.jsxs(Ge.exports.Fragment,{children:[!d&&Jk,uh.exports.jsxs(ee,Dp({},te,!jb(ee)&&{ownerState:Dp({},Q,te.ownerState)},{ref:t,onClick:e=>{$.current&&e.currentTarget===e.target&&$.current.focus(),k&&k(e)}},A,{className:KS(J.root,te.className,i),children:[P,uh.exports.jsx(Fk.Provider,{value:null,children:uh.exports.jsx(ne,Dp({ownerState:Q,"aria-invalid":V.error,"aria-describedby":r,autoComplete:o,autoFocus:a,defaultValue:c,disabled:V.disabled,id:m,onAnimationStart:e=>{X("mui-auto-fill-cancel"===e.animationName?$.current:{value:"x"})},name:S,placeholder:O,readOnly:I,required:V.required,rows:T,value:_,onKeyDown:R,onKeyUp:L,type:N},Y,!jb(ne)&&{as:Z,ownerState:Dp({},Q,Y.ownerState)},{ref:B,className:KS(J.input,Y.className),onBlur:e=>{w&&w(e),g.onBlur&&g.onBlur(e),U&&U.onBlur?U.onBlur(e):H(!1)},onChange:(e,...t)=>{if(!D){const t=e.target||$.current;if(null==t)throw new Error(Rh(1));X({value:t.value})}g.onChange&&g.onChange(e,...t),C&&C(e,...t)},onFocus:e=>{V.disabled?e.stopPropagation():(E&&E(e),g.onFocus&&g.onFocus(e),U&&U.onFocus?U.onFocus(e):H(!0))}}))}),p,M?M(Dp({},V,{startAdornment:P})):null]}))]})}));function tE(e){return ng("MuiInput",e)}const nE=Dp({},Gk,rg("MuiInput",["root","underline","input"]));function rE(e){return ng("MuiOutlinedInput",e)}const oE=Dp({},Gk,rg("MuiOutlinedInput",["root","notchedOutline","input"]));function aE(e){return ng("MuiFilledInput",e)}const iE=Dp({},Gk,rg("MuiFilledInput",["root","underline","input"]));var lE=ck(uh.exports.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");const sE=rg("MuiAutocomplete",["root","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);VS("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:o,hasPopupIcon:a,inputFocused:i,size:l}=n;return[{[`& .${sE.tag}`]:t.tag},{[`& .${sE.tag}`]:t[`tagSize${Lh(l)}`]},{[`& .${sE.inputRoot}`]:t.inputRoot},{[`& .${sE.input}`]:t.input},{[`& .${sE.input}`]:i&&t.inputFocused},t.root,r&&t.fullWidth,a&&t.hasPopupIcon,o&&t.hasClearIcon]}})((({ownerState:e})=>Dp({[`&.${sE.focused} .${sE.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${sE.clearIndicator}`]:{visibility:"visible"}}},e.fullWidth&&{width:"100%"},{[`& .${sE.tag}`]:Dp({margin:3,maxWidth:"calc(100% - 6px)"},"small"===e.size&&{margin:2,maxWidth:"calc(100% - 4px)"}),[`& .${sE.inputRoot}`]:{flexWrap:"wrap",[`.${sE.hasPopupIcon}&, .${sE.hasClearIcon}&`]:{paddingRight:30},[`.${sE.hasPopupIcon}.${sE.hasClearIcon}&`]:{paddingRight:56},[`& .${sE.input}`]:{width:0,minWidth:30}},[`& .${nE.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${nE.root}.${Gk.sizeSmall}`]:{[`& .${nE.input}`]:{padding:"2px 4px 3px 0"}},[`& .${oE.root}`]:{padding:9,[`.${sE.hasPopupIcon}&, .${sE.hasClearIcon}&`]:{paddingRight:39},[`.${sE.hasPopupIcon}.${sE.hasClearIcon}&`]:{paddingRight:65},[`& .${sE.input}`]:{padding:"7.5px 4px 7.5px 6px"},[`& .${sE.endAdornment}`]:{right:9}},[`& .${oE.root}.${Gk.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${sE.input}`]:{padding:"2.5px 4px 2.5px 6px"}},[`& .${iE.root}`]:{paddingTop:19,paddingLeft:8,[`.${sE.hasPopupIcon}&, .${sE.hasClearIcon}&`]:{paddingRight:39},[`.${sE.hasPopupIcon}.${sE.hasClearIcon}&`]:{paddingRight:65},[`& .${iE.input}`]:{padding:"7px 4px"},[`& .${sE.endAdornment}`]:{right:9}},[`& .${iE.root}.${Gk.sizeSmall}`]:{paddingBottom:1,[`& .${iE.input}`]:{padding:"2.5px 4px"}},[`& .${Gk.hiddenLabel}`]:{paddingTop:8},[`& .${sE.input}`]:Dp({flexGrow:1,textOverflow:"ellipsis",opacity:0},e.inputFocused&&{opacity:1})}))),VS("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"calc(50% - 14px)"}),VS(Ek,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),VS(Ek,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>Dp({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})((({ownerState:e})=>Dp({padding:2,marginRight:-2},e.popupOpen&&{transform:"rotate(180deg)"}))),VS(zk,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${sE.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})((({theme:e,ownerState:t})=>Dp({zIndex:(e.vars||e).zIndex.modal},t.disablePortal&&{position:"absolute"}))),VS(JS,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})((({theme:e})=>Dp({},e.typography.body1,{overflow:"auto"}))),VS("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),VS("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),VS("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})((({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",[`& .${sE.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${sE.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${sE.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:eb(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${sE.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:eb(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${sE.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:eb(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),VS($k,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})((({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),VS("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${sE.option}`]:{paddingLeft:24}});var cE=ck(uh.exports.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function uE(e){return ng("MuiAvatar",e)}const dE=rg("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),pE=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],fE=VS("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})((({theme:e,ownerState:t})=>Dp({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===t.variant&&{borderRadius:(e.vars||e).shape.borderRadius},"square"===t.variant&&{borderRadius:0},t.colorDefault&&Dp({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600]})))),mE=VS("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),hE=VS(cE,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});const gE=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiAvatar"}),{alt:r,children:o,className:a,component:i="div",imgProps:l,sizes:s,src:c,srcSet:u,variant:d="circular"}=n,p=$p(n,pE);let f=null;const m=function({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,a]=Ge.exports.useState(!1);return Ge.exports.useEffect((()=>{if(!n&&!r)return;a(!1);let o=!0;const i=new Image;return i.onload=()=>{o&&a("loaded")},i.onerror=()=>{o&&a("error")},i.crossOrigin=e,i.referrerPolicy=t,i.src=n,r&&(i.srcset=r),()=>{o=!1}}),[e,t,n,r]),o}(Dp({},l,{src:c,srcSet:u})),h=c||u,g=h&&"error"!==m,v=Dp({},n,{colorDefault:!g,component:i,variant:d}),b=(e=>{const{classes:t,variant:n,colorDefault:r}=e;return Qh({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},uE,t)})(v);return f=g?uh.exports.jsx(mE,Dp({alt:r,src:c,srcSet:u,sizes:s,ownerState:v,className:b.img},l)):null!=o?o:h&&r?r[0]:uh.exports.jsx(hE,{className:b.fallback}),uh.exports.jsx(fE,Dp({as:i,ownerState:v,className:KS(b.root,a),ref:t},p,{children:f}))})),vE=rg("MuiAvatarGroup",["root","avatar"]);VS("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:(e,t)=>Dp({[`& .${vE.avatar}`]:t.avatar},t.root)})((({theme:e})=>({[`& .${dE.root}`]:{border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:-8,"&:last-child":{marginLeft:0}},display:"flex",flexDirection:"row-reverse"}))),VS(gE,{name:"MuiAvatarGroup",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})((({theme:e})=>({border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:-8,"&:last-child":{marginLeft:0}})));const bE=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],yE={entering:{opacity:1},entered:{opacity:1}},xE=Ge.exports.forwardRef((function(e,t){const n=BS(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:i,easing:l,in:s,onEnter:c,onEntered:u,onEntering:d,onExit:p,onExited:f,onExiting:m,style:h,timeout:g=r,TransitionComponent:v=bw}=e,b=$p(e,bE),y=Ge.exports.useRef(null),x=Dh(i.ref,t),S=Dh(y,x),w=e=>t=>{if(e){const n=y.current;void 0===t?e(n):e(n,t)}},C=w(d),k=w(((e,t)=>{uk(e);const r=dk({style:h,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=w(u),R=w(m),L=w((e=>{const t=dk({style:h,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=w(f);return uh.exports.jsx(v,Dp({appear:a,in:s,nodeRef:y,onEnter:k,onEntered:E,onEntering:C,onExit:L,onExited:O,onExiting:R,addEndListener:e=>{o&&o(y.current,e)},timeout:g},b,{children:(e,t)=>Ge.exports.cloneElement(i,Dp({style:Dp({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},yE[e],h,i.props.style),ref:S},t))}))}));function SE(e){return ng("MuiBackdrop",e)}rg("MuiBackdrop",["root","invisible"]);const wE=["children","component","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],CE=VS("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>Dp({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"}))),kE=Ge.exports.forwardRef((function(e,t){var n,r;const o=WS({props:e,name:"MuiBackdrop"}),{children:a,component:i="div",components:l={},componentsProps:s={},className:c,invisible:u=!1,open:d,transitionDuration:p,TransitionComponent:f=xE}=o,m=$p(o,wE),h=Dp({},o,{component:i,invisible:u}),g=(e=>{const{classes:t,invisible:n}=e;return Qh({root:["root",n&&"invisible"]},SE,t)})(h);return uh.exports.jsx(f,Dp({in:d,timeout:p},m,{children:uh.exports.jsx(CE,{"aria-hidden":!0,as:null!=(n=l.Root)?n:i,className:KS(g.root,c),ownerState:Dp({},h,null==(r=s.root)?void 0:r.ownerState),classes:g,ref:t,children:a})}))})),EE=e=>!e||!jb(e);function RE(e){return ng("MuiBadge",e)}const LE=rg("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"]),OE=["anchorOrigin","className","component","components","componentsProps","overlap","color","invisible","max","badgeContent","showZero","variant"],IE=VS("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),ME=VS("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${Lh(n.anchorOrigin.vertical)}${Lh(n.anchorOrigin.horizontal)}${Lh(n.overlap)}`],"default"!==n.color&&t[`color${Lh(n.color)}`],n.invisible&&t.invisible]}})((({theme:e,ownerState:t})=>Dp({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})},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},"dot"===t.variant&&{borderRadius:4,height:8,minWidth:8,padding:0},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${LE.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${LE.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${LE.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${LE.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${LE.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${LE.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${LE.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${LE.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}))),TE=Ge.exports.forwardRef((function(e,t){var n,r,o,a;const i=WS({props:e,name:"MuiBadge"}),{anchorOrigin:l={vertical:"top",horizontal:"right"},className:s,component:c="span",components:u={},componentsProps:d={},overlap:p="rectangular",color:f="default",invisible:m=!1,max:h,badgeContent:g,showZero:v=!1,variant:b="standard"}=i,y=$p(i,OE),x=Kh({anchorOrigin:l,color:f,overlap:p,variant:b});let S=m;!1===m&&(0===g&&!v||null==g&&"dot"!==b)&&(S=!0);const{color:w=f,overlap:C=p,anchorOrigin:k=l,variant:E=b}=S?x:i,R=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:a,classes:i={}}=e;return Qh({root:["root"],badge:["badge",a,r&&"invisible",`anchorOrigin${Lh(n.vertical)}${Lh(n.horizontal)}`,`anchorOrigin${Lh(n.vertical)}${Lh(n.horizontal)}${Lh(o)}`,`overlap${Lh(o)}`,"default"!==t&&`color${Lh(t)}`]},RE,i)})(Dp({},i,{anchorOrigin:k,invisible:S,color:w,overlap:C,variant:E}));let L;return"dot"!==E&&(L=g&&Number(g)>h?`${h}+`:g),uh.exports.jsx(Yb,Dp({invisible:m,badgeContent:L,showZero:v,max:h},y,{components:Dp({Root:IE,Badge:ME},u),className:KS(null==(n=d.root)?void 0:n.className,R.root,s),componentsProps:{root:Dp({},d.root,EE(u.Root)&&{as:c,ownerState:Dp({},null==(r=d.root)?void 0:r.ownerState,{anchorOrigin:k,color:w,overlap:C,variant:E})}),badge:Dp({},d.badge,{className:KS(R.badge,null==(o=d.badge)?void 0:o.className)},EE(u.Badge)&&{ownerState:Dp({},null==(a=d.badge)?void 0:a.ownerState,{anchorOrigin:k,color:w,overlap:C,variant:E})})},ref:t}))}));rg("MuiBottomNavigation",["root"]),VS("div",{name:"MuiBottomNavigation",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"flex",justifyContent:"center",height:56,backgroundColor:(e.vars||e).palette.background.paper})));const PE=rg("MuiBottomNavigationAction",["root","iconOnly","selected","label"]);VS(tC,{name:"MuiBottomNavigationAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.showLabel&&!n.selected&&t.iconOnly]}})((({theme:e,ownerState:t})=>Dp({transition:e.transitions.create(["color","padding-top"],{duration:e.transitions.duration.short}),padding:"0px 12px",minWidth:80,maxWidth:168,color:(e.vars||e).palette.text.secondary,flexDirection:"column",flex:"1"},!t.showLabel&&!t.selected&&{paddingTop:14},!t.showLabel&&!t.selected&&!t.label&&{paddingTop:0},{[`&.${PE.selected}`]:{color:(e.vars||e).palette.primary.main}}))),VS("span",{name:"MuiBottomNavigationAction",slot:"Label",overridesResolver:(e,t)=>t.label})((({theme:e,ownerState:t})=>Dp({fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s"},!t.showLabel&&!t.selected&&{opacity:0,transitionDelay:"0s"},{[`&.${PE.selected}`]:{fontSize:e.typography.pxToRem(14)}})));const NE=_v({defaultTheme:jS(),defaultClassName:"MuiBox-root",generateClassName:eg.generate});var zE=ck(uh.exports.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");VS(tC)((({theme:e})=>Dp({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`},"light"===e.palette.mode?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":Dp({},"light"===e.palette.mode?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":Dp({boxShadow:e.shadows[0]},"light"===e.palette.mode?{backgroundColor:rb(e.palette.grey[200],.12)}:{backgroundColor:rb(e.palette.grey[600],.12)})}))),VS(zE)({width:24,height:16});const AE=rg("MuiBreadcrumbs",["root","ol","li","separator"]);VS(Tk,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${AE.li}`]:t.li},t.root]})({}),VS("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),VS("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});const _E=rg("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary"]);VS("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${_E.grouped}`]:t.grouped},{[`& .${_E.grouped}`]:t[`grouped${Lh(n.orientation)}`]},{[`& .${_E.grouped}`]:t[`grouped${Lh(n.variant)}`]},{[`& .${_E.grouped}`]:t[`grouped${Lh(n.variant)}${Lh(n.orientation)}`]},{[`& .${_E.grouped}`]:t[`grouped${Lh(n.variant)}${Lh(n.color)}`]},t.root,t[n.variant],!0===n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,"vertical"===n.orientation&&t.vertical]}})((({theme:e,ownerState:t})=>Dp({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[2]},t.disableElevation&&{boxShadow:"none"},t.fullWidth&&{width:"100%"},"vertical"===t.orientation&&{flexDirection:"column"},{[`& .${_E.grouped}`]:Dp({minWidth:40,"&:not(:first-of-type)":Dp({},"horizontal"===t.orientation&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},"vertical"===t.orientation&&{borderTopRightRadius:0,borderTopLeftRadius:0},"outlined"===t.variant&&"horizontal"===t.orientation&&{marginLeft:-1},"outlined"===t.variant&&"vertical"===t.orientation&&{marginTop:-1}),"&:not(:last-of-type)":Dp({},"horizontal"===t.orientation&&{borderTopRightRadius:0,borderBottomRightRadius:0},"vertical"===t.orientation&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},"text"===t.variant&&"horizontal"===t.orientation&&{borderRight:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"text"===t.variant&&"vertical"===t.orientation&&{borderBottom:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"text"===t.variant&&"inherit"!==t.color&&{borderColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:eb(e.palette[t.color].main,.5)},"outlined"===t.variant&&"horizontal"===t.orientation&&{borderRightColor:"transparent"},"outlined"===t.variant&&"vertical"===t.orientation&&{borderBottomColor:"transparent"},"contained"===t.variant&&"horizontal"===t.orientation&&{borderRight:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${_E.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}},"contained"===t.variant&&"vertical"===t.orientation&&{borderBottom:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${_E.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}},"contained"===t.variant&&"inherit"!==t.color&&{borderColor:(e.vars||e).palette[t.color].dark},{"&:hover":Dp({},"outlined"===t.variant&&"horizontal"===t.orientation&&{borderRightColor:"currentColor"},"outlined"===t.variant&&"vertical"===t.orientation&&{borderBottomColor:"currentColor"})}),"&:hover":Dp({},"contained"===t.variant&&{boxShadow:"none"})},"contained"===t.variant&&{boxShadow:"none"})}))),rg("MuiCard",["root"]),VS(JS,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})((()=>({overflow:"hidden"})));const DE=rg("MuiCardActionArea",["root","focusVisible","focusHighlight"]);VS(tC,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"block",textAlign:"inherit",width:"100%",[`&:hover .${DE.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${DE.focusVisible} .${DE.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}}))),VS("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(e,t)=>t.focusHighlight})((({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}))),rg("MuiCardActions",["root","spacing"]),VS("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})((({ownerState:e})=>Dp({display:"flex",alignItems:"center",padding:8},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}}))),rg("MuiCardContent",["root"]),VS("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})((()=>({padding:16,"&:last-child":{paddingBottom:24}})));const $E=rg("MuiCardHeader",["root","avatar","action","content","title","subheader"]);function qE(e){return ng("PrivateSwitchBase",e)}VS("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,t)=>Dp({[`& .${$E.title}`]:t.title,[`& .${$E.subheader}`]:t.subheader},t.root)})({display:"flex",alignItems:"center",padding:16}),VS("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),VS("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(e,t)=>t.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),VS("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(e,t)=>t.content})({flex:"1 1 auto"}),rg("MuiCardMedia",["root","media","img"]),VS("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:o}=n;return[t.root,r&&t.media,o&&t.img]}})((({ownerState:e})=>Dp({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"}))),rg("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const jE=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],FE=VS(tC)((({ownerState:e})=>Dp({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),BE=VS("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),WE=Ge.exports.forwardRef((function(e,t){const{autoFocus:n,checked:r,checkedIcon:o,className:a,defaultChecked:i,disabled:l,disableFocusRipple:s=!1,edge:c=!1,icon:u,id:d,inputProps:p,inputRef:f,name:m,onBlur:h,onChange:g,onFocus:v,readOnly:b,required:y,tabIndex:x,type:S,value:w}=e,C=$p(e,jE),[k,E]=Ah({controlled:r,default:Boolean(i),name:"SwitchBase",state:"checked"}),R=Bk();let L=l;R&&void 0===L&&(L=R.disabled);const O="checkbox"===S||"radio"===S,I=Dp({},e,{checked:k,disabled:L,disableFocusRipple:s,edge:c}),M=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e;return Qh({root:["root",n&&"checked",r&&"disabled",o&&`edge${Lh(o)}`],input:["input"]},qE,t)})(I);return uh.exports.jsxs(FE,Dp({component:"span",className:KS(M.root,a),centerRipple:!0,focusRipple:!s,disabled:L,tabIndex:null,role:void 0,onFocus:e=>{v&&v(e),R&&R.onFocus&&R.onFocus(e)},onBlur:e=>{h&&h(e),R&&R.onBlur&&R.onBlur(e)},ownerState:I,ref:t},C,{children:[uh.exports.jsx(BE,Dp({autoFocus:n,checked:r,defaultChecked:i,className:M.input,disabled:L,id:O&&d,name:m,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;E(t),g&&g(e,t)},readOnly:b,ref:f,required:y,ownerState:I,tabIndex:x,type:S},"checkbox"===S&&void 0===w?{}:{value:w},p)),k?o:u]}))}));var HE=ck(uh.exports.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"),UE=ck(uh.exports.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"),VE=ck(uh.exports.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 GE(e){return ng("MuiCheckbox",e)}const KE=rg("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),XE=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size"],ZE=VS(WE,{shouldForwardProp:e=>HS(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,"default"!==n.color&&t[`color${Lh(n.color)}`]]}})((({theme:e,ownerState:t})=>Dp({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.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:eb("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${KE.checked}, &.${KE.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${KE.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),YE=uh.exports.jsx(UE,{}),QE=uh.exports.jsx(HE,{}),JE=uh.exports.jsx(VE,{}),eR=Ge.exports.forwardRef((function(e,t){var n,r;const o=WS({props:e,name:"MuiCheckbox"}),{checkedIcon:a=YE,color:i="primary",icon:l=QE,indeterminate:s=!1,indeterminateIcon:c=JE,inputProps:u,size:d="medium"}=o,p=$p(o,XE),f=s?c:l,m=s?c:a,h=Dp({},o,{color:i,indeterminate:s,size:d}),g=(e=>{const{classes:t,indeterminate:n,color:r}=e;return Dp({},t,Qh({root:["root",n&&"indeterminate",`color${Lh(r)}`]},GE,t))})(h);return uh.exports.jsx(ZE,Dp({type:"checkbox",inputProps:Dp({"data-indeterminate":s},u),icon:Ge.exports.cloneElement(f,{fontSize:null!=(n=f.props.fontSize)?n:d}),checkedIcon:Ge.exports.cloneElement(m,{fontSize:null!=(r=m.props.fontSize)?r:d}),ownerState:h,ref:t},p,{classes:g}))}));function tR(e){return ng("MuiCircularProgress",e)}rg("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const nR=["className","color","disableShrink","size","style","thickness","value","variant"];let rR,oR,aR,iR,lR=e=>e;const sR=44,cR=Um(rR||(rR=lR`
|
|
105
|
+
`),$w.rippleVisible,Uw,550,(({theme:e})=>e.transitions.easing.easeInOut),$w.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),$w.child,$w.childLeaving,Vw,550,(({theme:e})=>e.transitions.easing.easeInOut),$w.childPulsate,Gw,(({theme:e})=>e.transitions.easing.easeInOut)),Zw=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:a}=n,i=$p(n,qw),[l,s]=Ge.exports.useState([]),c=Ge.exports.useRef(0),u=Ge.exports.useRef(null);Ge.exports.useEffect((()=>{u.current&&(u.current(),u.current=null)}),[l]);const d=Ge.exports.useRef(!1),p=Ge.exports.useRef(null),f=Ge.exports.useRef(null),m=Ge.exports.useRef(null);Ge.exports.useEffect((()=>()=>{clearTimeout(p.current)}),[]);const h=Ge.exports.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:a,cb:i}=e;s((e=>[...e,uh.exports.jsx(Xw,{classes:{ripple:KS(o.ripple,$w.ripple),rippleVisible:KS(o.rippleVisible,$w.rippleVisible),ripplePulsate:KS(o.ripplePulsate,$w.ripplePulsate),child:KS(o.child,$w.child),childLeaving:KS(o.childLeaving,$w.childLeaving),childPulsate:KS(o.childPulsate,$w.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:a},c.current)])),c.current+=1,u.current=i}),[o]),g=Ge.exports.useCallback(((e={},t={},n)=>{const{pulsate:o=!1,center:a=r||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&d.current)return void(d.current=!1);"touchstart"===(null==e?void 0:e.type)&&(d.current=!0);const l=i?null:m.current,s=l?l.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,g;if(a||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(a)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=()=>{h({pulsate:o,rippleX:c,rippleY:u,rippleSize:g,cb:n})},p.current=setTimeout((()=>{f.current&&(f.current(),f.current=null)}),80)):h({pulsate:o,rippleX:c,rippleY:u,rippleSize:g,cb:n})}),[r,h]),v=Ge.exports.useCallback((()=>{g({},{pulsate:!0})}),[g]),b=Ge.exports.useCallback(((e,t)=>{if(clearTimeout(p.current),"touchend"===(null==e?void 0:e.type)&&f.current)return f.current(),f.current=null,void(p.current=setTimeout((()=>{b(e,t)})));f.current=null,s((e=>e.length>0?e.slice(1):e)),u.current=t}),[]);return Ge.exports.useImperativeHandle(t,(()=>({pulsate:v,start:g,stop:b})),[v,g,b]),uh.exports.jsx(Kw,Dp({className:KS($w.root,o.root,a),ref:m},i,{children:uh.exports.jsx(Ow,{component:null,exit:!0,children:l})}))}));function Yw(e){return ng("MuiButtonBase",e)}const Qw=rg("MuiButtonBase",["root","disabled","focusVisible"]),Jw=["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"],eC=VS("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"},[`&.${Qw.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),tC=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:a,className:i,component:l="button",disabled:s=!1,disableRipple:c=!1,disableTouchRipple:u=!1,focusRipple:d=!1,LinkComponent:p="a",onBlur:f,onClick:m,onContextMenu:h,onDragLeave:g,onFocus:v,onFocusVisible:b,onKeyDown:y,onKeyUp:x,onMouseDown:S,onMouseLeave:w,onMouseUp:C,onTouchEnd:k,onTouchMove:E,onTouchStart:R,tabIndex:L=0,TouchRippleProps:O,touchRippleRef:I,type:M}=n,T=$p(n,Jw),P=Ge.exports.useRef(null),N=Ge.exports.useRef(null),z=Dh(N,I),{isFocusVisibleRef:A,onFocus:_,onBlur:D,ref:$}=Vh(),[q,j]=Ge.exports.useState(!1);s&&q&&j(!1),Ge.exports.useImperativeHandle(r,(()=>({focusVisible:()=>{j(!0),P.current.focus()}})),[]);const[F,B]=Ge.exports.useState(!1);Ge.exports.useEffect((()=>{B(!0)}),[]);const W=F&&!c&&!s;function H(e,t,n=u){return _h((r=>{t&&t(r);return!n&&N.current&&N.current[e](r),!0}))}Ge.exports.useEffect((()=>{q&&d&&!c&&F&&N.current.pulsate()}),[c,d,q,F]);const U=H("start",S),V=H("stop",h),G=H("stop",g),K=H("stop",C),X=H("stop",(e=>{q&&e.preventDefault(),w&&w(e)})),Z=H("start",R),Y=H("stop",k),Q=H("stop",E),J=H("stop",(e=>{D(e),!1===A.current&&j(!1),f&&f(e)}),!1),ee=_h((e=>{P.current||(P.current=e.currentTarget),_(e),!0===A.current&&(j(!0),b&&b(e)),v&&v(e)})),te=()=>{const e=P.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},ne=Ge.exports.useRef(!1),re=_h((e=>{d&&!ne.current&&q&&N.current&&" "===e.key&&(ne.current=!0,N.current.stop(e,(()=>{N.current.start(e)}))),e.target===e.currentTarget&&te()&&" "===e.key&&e.preventDefault(),y&&y(e),e.target===e.currentTarget&&te()&&"Enter"===e.key&&!s&&(e.preventDefault(),m&&m(e))})),oe=_h((e=>{d&&" "===e.key&&N.current&&q&&!e.defaultPrevented&&(ne.current=!1,N.current.stop(e,(()=>{N.current.pulsate(e)}))),x&&x(e),m&&e.target===e.currentTarget&&te()&&" "===e.key&&!e.defaultPrevented&&m(e)}));let ae=l;"button"===ae&&(T.href||T.to)&&(ae=p);const ie={};"button"===ae?(ie.type=void 0===M?"button":M,ie.disabled=s):(T.href||T.to||(ie.role="button"),s&&(ie["aria-disabled"]=s));const le=Dh($,P),se=Dh(t,le),ce=Dp({},n,{centerRipple:o,component:l,disabled:s,disableRipple:c,disableTouchRipple:u,focusRipple:d,tabIndex:L,focusVisible:q}),ue=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=Qh({root:["root",t&&"disabled",n&&"focusVisible"]},Yw,o);return n&&r&&(a.root+=` ${r}`),a})(ce);return uh.exports.jsxs(eC,Dp({as:ae,className:KS(ue.root,i),ownerState:ce,onBlur:J,onClick:m,onContextMenu:V,onFocus:ee,onKeyDown:re,onKeyUp:oe,onMouseDown:U,onMouseLeave:X,onMouseUp:K,onDragLeave:G,onTouchEnd:Y,onTouchMove:Q,onTouchStart:Z,ref:se,tabIndex:s?-1:L,type:M},ie,T,{children:[a,W?uh.exports.jsx(Zw,Dp({ref:z,center:o},O)):null]}))}));function nC(e){return ng("MuiButton",e)}const rC=rg("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","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),oC=Ge.exports.createContext({}),aC=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],iC=["root"],lC=e=>Dp({},"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}}),sC=VS(tC,{shouldForwardProp:e=>HS(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Lh(n.color)}`],t[`size${Lh(n.size)}`],t[`${n.variant}Size${Lh(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;return Dp({},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":Dp({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:eb(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})`:eb(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})`:eb(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:(e.vars||e).palette.grey.A100,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":Dp({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${rC.focusVisible}`]:Dp({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${rC.disabled}`]:Dp({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"outlined"===t.variant&&"secondary"===t.color&&{border:`1px solid ${(e.vars||e).palette.action.disabled}`},"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 ${eb(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).palette.grey[300],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"},[`&.${rC.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${rC.disabled}`]:{boxShadow:"none"}})),cC=VS("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Lh(n.size)}`]]}})((({ownerState:e})=>Dp({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},lC(e)))),uC=VS("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Lh(n.size)}`]]}})((({ownerState:e})=>Dp({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},lC(e)))),dC=Ge.exports.forwardRef((function(e,t){const n=Ge.exports.useContext(oC),r=WS({props:Yh(n,e),name:"MuiButton"}),{children:o,color:a="primary",component:i="button",className:l,disabled:s=!1,disableElevation:c=!1,disableFocusRipple:u=!1,endIcon:d,focusVisibleClassName:p,fullWidth:f=!1,size:m="medium",startIcon:h,type:g,variant:v="text"}=r,b=$p(r,aC),y=Dp({},r,{color:a,component:i,disabled:s,disableElevation:c,disableFocusRipple:u,fullWidth:f,size:m,type:g,variant:v}),x=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:a,classes:i}=e;return Dp({},i,Qh({root:["root",a,`${a}${Lh(t)}`,`size${Lh(o)}`,`${a}Size${Lh(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${Lh(o)}`],endIcon:["endIcon",`iconSize${Lh(o)}`]},nC,i))})(y),{root:S}=x,w=$p(x,iC),C=h&&uh.exports.jsx(cC,{className:w.startIcon,ownerState:y,children:h}),k=d&&uh.exports.jsx(uC,{className:w.endIcon,ownerState:y,children:d});return uh.exports.jsxs(sC,Dp({ownerState:y,className:KS(n.className,S,l),component:i,disabled:s,focusRipple:!u,focusVisibleClassName:KS(w.focusVisible,p),ref:t,type:g},b,{classes:w,children:[C,o,k]}))}));var pC={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 fC="#009845",mC="#3F8AB3",hC="#ffffff",gC="#404040",vC="#333333",bC="#1A1A1A",yC={mode:"light",palette:{primary:{main:gC,contrastText:hC},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:gC,secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)"},action:{active:gC,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:hC,default:hC,lightest:hC,lighter:"#FBFBFB",darker:"#F2F2F2",darkest:"#E6E6E6"},custom:{focusBorder:mC,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(255, 255, 255, 1)"},selected:{main:fC,alternative:"#E4E4E4",excluded:"#BEBEBE",mainContrastText:hC,alternativeContrastText:gC,excludedContrastText:gC},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)"}}},xC={mode:"dark",palette:{primary:{main:vC,contrastText:hC},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:hC,secondary:"rgba(255, 255, 255, 0.6)",disabled:"rgba(255, 255, 255, 0.3)"},action:{active:hC,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:gC,lighter:vC,darker:"#262626",darkest:bC},custom:{focusBorder:mC,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(0, 0, 0, 0.2)"},selected:{main:fC,alternative:vC,excluded:bC,mainContrastText:hC,alternativeContrastText:hC,excludedContrastText:hC},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)"}}},SC={},wC=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","&:focus":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}}},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(rC.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(rC.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(rC.disabled)]:{backgroundColor:e.palette.btn.disabled}},"&:active":{boxShadow:"none",backgroundColor:e.palette.btn.active},["&.".concat(rC.disabled)]:{backgroundColor:e.palette.btn.disabled}}},MuiAccordionSummary:{content:{margin:"8px 0"}}});function CC(e){let t=yC,n="";"string"==typeof e&&(n=e,"light"!==e&&"dark"!==e?console.warn("Invalid theme: '".concat(e,"'")):"dark"===e&&(t=xC));const r=JSON.stringify(t);if(SC[r])return SC[r];const a={palette:o(o({type:t.mode},pC.palette),t.palette),typography:o({},pC.typography),shadows:pC.shadows,props:o({},pC.props),shape:o({},pC.shape)};return SC[r]=jS(function(e){const{defaultProps:t={},mixins:n={},overrides:r={},palette:o={},props:a={},styleOverrides:i={}}=e,l=Dp({},$p(e,Db),{components:{}});Object.keys(t).forEach((e=>{const n=l.components[e]||{};n.defaultProps=t[e],l.components[e]=n})),Object.keys(a).forEach((e=>{const t=l.components[e]||{};t.defaultProps=a[e],l.components[e]=t})),Object.keys(i).forEach((e=>{const t=l.components[e]||{};t.styleOverrides=i[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=kv(e.spacing);const s=wv(e.breakpoints||{}),c=l.spacing;l.mixins=Dp({gutters:(e={})=>Dp({paddingLeft:c(2),paddingRight:c(2)},e,{[s.up("sm")]:Dp({paddingLeft:c(3),paddingRight:c(3)},e[s.up("sm")])})},n);const{type:u,mode:d}=o,p=$p(o,$b),f=d||u||"light";return l.palette=Dp({text:{hint:"dark"===f?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:f,type:f},p),l}(o(o({},a),{},{overrides:wC(a)}))),SC[r].name=n,SC[r]}eg.configure((e=>"njs-".concat("8956","-").concat(e.replace("Mui",""))));var kC=Ot.createContext({language:null,theme:null,translator:null,constraints:{}}),EC=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{};const n=e,r=[],o={get:e=>n[e],set:(e,r)=>{if(void 0===e||"object"==typeof e)throw new Error("Invalid key: ".concat(JSON.stringify(e)));return n[e]=r,t({type:"SET",value:r}),r},clear:e=>{if(void 0===e||"object"==typeof e)throw new Error("Invalid key: ".concat(JSON.stringify(e)));n[e]=null},dispatch:e=>{r.forEach((t=>t(e?{}:n)))}},a=()=>{const[,e]=Ge.exports.useState(n);return Ge.exports.useEffect((()=>(r.push(e),()=>{const t=r.indexOf(e);r.splice(t,1)})),[e]),[o]};return[a,o]};const[RC,LC]=EC({}),[OC,IC]=EC({}),[MC,TC]=EC({}),[PC,NC]=EC({}),[zC,AC]=EC({}),[,_C]=EC({}),DC=e=>{let{type:t,value:n}=e;const r=_C.get(n.id);_C.set(n.id,{});const o=()=>{IC.clear(n.id),AC.set(n.id,{}),AC.dispatch(!0)},a=()=>{n.removeListener("changed",o),LC.clear(n.id),IC.clear(n.id),TC.clear(n.id),NC.clear(n.id),AC.clear(n.id),_C.clear(n.id)};if("SET"===t)r||(n.on("changed",o),n.once("closed",(()=>{a()})));return a},[$C,qC]=EC({},DC),jC=(e,t)=>{const{rpcResultStore:n,key:r,method:a}=t;let i;switch(t.type){case"INVALID":i=o(o({},e),{},{valid:!1,invalid:!0,validating:!0,canCancel:!0,canRetry:!1,rpcRetry:!1});break;case"VALID":i={result:o({},t.result),invalid:!1,valid:!0,validating:!1,canCancel:!1,canRetry:!1,rpcRetry:!1};break;case"CANCELLED":i=o(o({},e),{},{invalid:!0,valid:!1,validating:!1,canCancel:!1,canRetry:!0,rpcRetry:!1});break;default:throw new Error("Undefined action")}let l=n.get(r);return l||(l={}),l[a]=i,n.set(r,l),i};function FC(e,t){const n=e?"".concat(e.id):null,[r]=RC(),[o,a]=Ge.exports.useReducer(jC,n?r.get(n):null),[i]=zC(),[l]=OC();let s;n&&(s=l.get(n),s||(s={},l.set(n,s)));const c=async o=>{let i=s[t];if(!i||i&&i.rpcRetry){i={rpc:e[t](),rpcRetry:!1},s[t]=i,a({type:"INVALID",method:t,key:n,model:e,rpcResultStore:r,canCancel:!0})}try{const o=await i.rpc;a({type:"VALID",result:o,key:n,method:t,model:e,rpcResultStore:r})}catch(e){15!==e.code||o||(i.rpcRetry||(i.rpcRetry=!0),c(!0))}},u={cancel:async()=>{const o=e.session.getObjectApi({handle:-1});await o.cancelRequest(s[t].rpc.requestId),a({type:"CANCELLED",key:n,method:t,model:e,rpcResultStore:r})},retry:()=>{s[t].rpcRetry=!0,c()}};return Ge.exports.useEffect((()=>{e&&c()}),[e,i.get(e&&e.id),n,t]),[o&&o.result,{validating:o&&o.validating,canCancel:o&&o.canCancel,canRetry:o&&o.canRetry},u]}function BC(e){return FC(e,"getLayout")}function WC(e){return FC(e,"getAppLayout")}function HC(e,t){const n=t?"".concat(t.id,"/").concat(JSON.stringify(e)):null,[r]=$C(),[o]=MC(),[a,i]=Ge.exports.useState();let l;n&&(l=o.get(n));for(var s=arguments.length,c=new Array(s>2?s-2:0),u=2;u<s;u++)c[u-2]=arguments[u];return Ge.exports.useEffect((()=>{if(!t)return;(async()=>{if(!l){const r=t.createSessionObject(e);l=r,o.set(n,l)}const a=await l;r.set(n,a),i(a)})()}),[t,...c]),[a]}const UC={qInfo:{qType:"current-selections"},qSelectionObjectDef:{qStateName:"$"},alternateStates:[]};function VC(e){return HC(UC,e)}function GC(e){const[t]=VC(e),[n]=BC(t),[r]=WC(e),[o,a]=Ge.exports.useState(null);return Ge.exports.useEffect((()=>{r&&t&&n&&((e,t,n)=>{const r=[...n.qStateNames||[]].map((e=>({stateName:e,qSelectionObjectDef:{qStateName:e}})));(t&&t.alternateStates?t.alternateStates.map((e=>e.stateName)):[]).join("::")!==(n.qStateNames||[]).map((e=>e)).join("::")&&e.applyPatches([{qOp:"replace",qPath:"/alternateStates",qValue:JSON.stringify(r)}],!0)})(t,n,r)}),[r,t,n]),Ge.exports.useEffect((()=>{if(!n)return;let e=!1,t=!1,r=!1;[n,...n.alternateStates||[]].forEach((n=>{e=e||n.qSelectionObject&&n.qSelectionObject.qBackCount>0,t=t||n.qSelectionObject&&n.qSelectionObject.qForwardCount>0,r=r||(n.qSelectionObject&&n.qSelectionObject.qSelections||[]).filter((e=>!0!==e.qLocked)).length>0})),a({canGoBack:e,canGoForward:t,canClear:r})}),[n]),[o,t,n]}const[KC,XC]=EC({}),[ZC,YC]=EC({}),[QC,JC]=EC({}),[ek,tk]=EC({});function nk(e){if(!e.session)return[];const[t,n,r]=GC(e),[o]=KC(),a=e?e.id:null;let i=o.get(a);return Ge.exports.useEffect((()=>{e&&n&&r&&t&&!i&&(i=function(e){let{app:t,currentSelectionsLayout:n,navState:r}=e;const o="".concat(t.id),a=async function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t=tk.get(o);t&&(await t.endSelections(e),tk.clear(o),JC.get(t.id).emit("deactivated"))},i={begin:async function(e,n){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(e===tk.get(o))return;a(r),tk.set(o,e);const i=Array.isArray(n)?n:[n],l=async n=>{try{await e.beginSelections(i),tk.set(o,e)}catch(e){6003!==e.code||n?tk.clear(o):(await t.abortModal(r),l(!0))}};await l()},end:a};YC.set(o,i);const l={model:t,isInModal:()=>!!tk.get(o),isModal:e=>e?tk.get(o)===e:!!tk.get(o),canGoForward:()=>r.canGoForward,canGoBack:()=>r.canGoBack,canClear:()=>r.canClear,layout:()=>n,forward:()=>i.end().then((()=>t.forward())),back:()=>i.end().then((()=>t.back())),clear:()=>i.end().then((()=>t.clearAll())),clearField(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$";return i.end().then((()=>t.getField(e,n).then((e=>e.clear()))))}};return l}({app:e,currentSelectionsLayout:r,navState:t}),o.set(a,i),o.dispatch(!0))}),[e,n,r,t]),[i,t]}const rk=Ge.exports.forwardRef(((e,t)=>{let{initialContext:n,app:r}=e;const[o]=nk(r),[a,i]=Ge.exports.useState(n),[l,s]=Ge.exports.useState(),{theme:c}=Ge.exports.useMemo((()=>({theme:CC(l)})),[l]),[u,d]=Ge.exports.useState([]);return Ge.exports.useImperativeHandle(t,(()=>({addComponent(e){d([...u,e])},removeComponent(e){const t=u.indexOf(e);-1!==t&&(u.splice(t,1),d([...u]))},setMuiThemeName:s,setContext:i,getAppSelections:()=>o}))),Ot.createElement(xh,{injectFirst:!0},Ot.createElement(ab,{theme:c},Ot.createElement(kC.Provider,{value:a},u)))}));function ok(e){let t,{app:n,context:r}=e;const o=new Promise((e=>{t=e})),a=Ot.createRef(),i=document.createElement("div");i.style.display="none",i.setAttribute("data-nebulajs-version","3.0.3"),i.setAttribute("data-app-id",n.id),document.body.appendChild(i),_p.render(Ot.createElement(rk,{ref:a,app:n,initialContext:r}),i,t);const l={};return[{toggleFocusOfCells(e){Object.keys(l).forEach((t=>{l[t].current.toggleFocus(t===e)}))},cells:l,addCell(e,t){l[e]=t},add(e){(async()=>{await o,a.current.addComponent(e)})()},remove(e){(async()=>{await o,a.current.removeComponent(e)})()},setMuiThemeName(e){(async()=>{await o,a.current.setMuiThemeName(e)})()},context(e){(async()=>{await o,a.current.setContext(e)})()},getAppSelections:async()=>(await o,a.current.getAppSelections())},a,o]}function ak(e){return ng("MuiSvgIcon",e)}rg("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const ik=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],lk=VS("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Lh(n.color)}`],t[`fontSize${Lh(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,a,i,l,s,c,u,d,p,f,m,h,g,v,b;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(a=o.duration)?void 0:a.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(l=i.pxToRem)?void 0:l.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(c=s.pxToRem)?void 0:c.call(s,24))||"1.5rem",large:(null==(u=e.typography)||null==(d=u.pxToRem)?void 0:d.call(u,35))||"2.1875"}[t.fontSize],color:null!=(p=null==(f=(e.vars||e).palette)||null==(m=f[t.color])?void 0:m.main)?p:{action:null==(h=(e.vars||e).palette)||null==(g=h.action)?void 0:g.active,disabled:null==(v=(e.vars||e).palette)||null==(b=v.action)?void 0:b.disabled,inherit:void 0}[t.color]}})),sk=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:a="inherit",component:i="svg",fontSize:l="medium",htmlColor:s,inheritViewBox:c=!1,titleAccess:u,viewBox:d="0 0 24 24"}=n,p=$p(n,ik),f=Dp({},n,{color:a,component:i,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:d}),m={};c||(m.viewBox=d);const h=(e=>{const{color:t,fontSize:n,classes:r}=e;return Qh({root:["root","inherit"!==t&&`color${Lh(t)}`,`fontSize${Lh(n)}`]},ak,r)})(f);return uh.exports.jsxs(lk,Dp({as:i,className:KS(h.root,o),ownerState:f,focusable:"false",color:s,"aria-hidden":!u||void 0,role:u?"img":void 0,ref:t},m,p,{children:[r,u?uh.exports.jsx("title",{children:u}):null]}))}));function ck(e,t){const n=(n,r)=>uh.exports.jsx(sk,Dp({"data-testid":`${t}Icon`,ref:r},n,{children:e}));return n.muiName=sk.muiName,Ge.exports.memo(Ge.exports.forwardRef(n))}sk.muiName="SvgIcon";const uk=e=>e.scrollTop;function dk(e,t){var n,r;const{timeout:o,easing:a,style:i={}}=e;return{duration:null!=(n=i.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=i.transitionTimingFunction)?r:"object"==typeof a?a[t.mode]:a,delay:i.transitionDelay}}function pk(e){return ng("MuiCollapse",e)}rg("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const fk=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],mk=VS("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})((({theme:e,ownerState:t})=>Dp({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===t.state&&Dp({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"}))),hk=VS("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})((({ownerState:e})=>Dp({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),gk=VS("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})((({ownerState:e})=>Dp({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),vk=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiCollapse"}),{addEndListener:r,children:o,className:a,collapsedSize:i="0px",component:l,easing:s,in:c,onEnter:u,onEntered:d,onEntering:p,onExit:f,onExited:m,onExiting:h,orientation:g="vertical",style:v,timeout:b=zS.standard,TransitionComponent:y=bw}=n,x=$p(n,fk),S=Dp({},n,{orientation:g,collapsedSize:i}),w=(e=>{const{orientation:t,classes:n}=e;return Qh({root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]},pk,n)})(S),C=BS(),k=Ge.exports.useRef(),E=Ge.exports.useRef(null),R=Ge.exports.useRef(),L="number"==typeof i?`${i}px`:i,O="horizontal"===g,I=O?"width":"height";Ge.exports.useEffect((()=>()=>{clearTimeout(k.current)}),[]);const M=Ge.exports.useRef(null),T=Dh(t,M),P=e=>t=>{if(e){const n=M.current;void 0===t?e(n):e(n,t)}},N=()=>E.current?E.current[O?"clientWidth":"clientHeight"]:0,z=P(((e,t)=>{E.current&&O&&(E.current.style.position="absolute"),e.style[I]=L,u&&u(e,t)})),A=P(((e,t)=>{const n=N();E.current&&O&&(E.current.style.position="");const{duration:r,easing:o}=dk({style:v,timeout:b,easing:s},{mode:"enter"});if("auto"===b){const t=C.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,R.current=t}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[I]=`${n}px`,e.style.transitionTimingFunction=o,p&&p(e,t)})),_=P(((e,t)=>{e.style[I]="auto",d&&d(e,t)})),D=P((e=>{e.style[I]=`${N()}px`,f&&f(e)})),$=P(m),q=P((e=>{const t=N(),{duration:n,easing:r}=dk({style:v,timeout:b,easing:s},{mode:"exit"});if("auto"===b){const n=C.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,R.current=n}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[I]=L,e.style.transitionTimingFunction=r,h&&h(e)}));return uh.exports.jsx(y,Dp({in:c,onEnter:z,onEntered:_,onEntering:A,onExit:D,onExited:$,onExiting:q,addEndListener:e=>{"auto"===b&&(k.current=setTimeout(e,R.current||0)),r&&r(M.current,e)},nodeRef:M,timeout:"auto"===b?null:b},x,{children:(e,t)=>uh.exports.jsx(mk,Dp({as:l,className:KS(w.root,a,{entered:w.entered,exited:!c&&"0px"===L&&w.hidden}[e]),style:Dp({[O?"minWidth":"minHeight"]:L},v),ownerState:Dp({},S,{state:e}),ref:T},t,{children:uh.exports.jsx(hk,{ownerState:Dp({},S,{state:e}),className:w.wrapper,ref:E,children:uh.exports.jsx(gk,{ownerState:Dp({},S,{state:e}),className:w.wrapperInner,children:o})})}))}))}));vk.muiSupportAuto=!0;const bk=rg("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]);VS(JS,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${bk.region}`]:t.region},t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})((({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&:before":{display:"none"}},[`&.${bk.expanded}`]:{"&:before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}},[`&.${bk.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}}),(({theme:e,ownerState:t})=>Dp({},!t.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!t.disableGutters&&{[`&.${bk.expanded}`]:{margin:"16px 0"}}))),rg("MuiAccordionActions",["root","spacing"]),VS("div",{name:"MuiAccordionActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})((({ownerState:e})=>Dp({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end"},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}}))),rg("MuiAccordionDetails",["root"]),VS("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({padding:e.spacing(1,2,2)})));const yk=rg("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]);VS(tC,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{const n={duration:e.transitions.duration.shortest};return Dp({display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],n),[`&.${yk.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${yk.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${yk.disabled})`]:{cursor:"pointer"}},!t.disableGutters&&{[`&.${yk.expanded}`]:{minHeight:64}})})),VS("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})((({theme:e,ownerState:t})=>Dp({display:"flex",flexGrow:1,margin:"12px 0"},!t.disableGutters&&{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${yk.expanded}`]:{margin:"20px 0"}}))),VS("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})((({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${yk.expanded}`]:{transform:"rotate(180deg)"}})));const xk=rg("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function Sk(e){return ng("MuiIconButton",e)}const wk=rg("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Ck=["edge","children","className","color","disabled","disableFocusRipple","size"],kk=VS(tC,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${Lh(n.color)}`],n.edge&&t[`edge${Lh(n.edge)}`],t[`size${Lh(n.size)}`]]}})((({theme:e,ownerState:t})=>Dp({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})`:eb(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})=>Dp({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&Dp({color:(e.vars||e).palette[t.color].main},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:eb(e.palette[t.color].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)},{[`&.${wk.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),Ek=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:a,color:i="default",disabled:l=!1,disableFocusRipple:s=!1,size:c="medium"}=n,u=$p(n,Ck),d=Dp({},n,{edge:r,color:i,disabled:l,disableFocusRipple:s,size:c}),p=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:a}=e;return Qh({root:["root",n&&"disabled","default"!==r&&`color${Lh(r)}`,o&&`edge${Lh(o)}`,`size${Lh(a)}`]},Sk,t)})(d);return uh.exports.jsx(kk,Dp({className:KS(p.root,a),centerRipple:!0,focusRipple:!s,disabled:l,ref:t,ownerState:d},u,{children:o}))}));function Rk(e){return ng("MuiTypography",e)}ck(uh.exports.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),ck(uh.exports.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),ck(uh.exports.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),ck(uh.exports.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),ck(uh.exports.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),VS(JS,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Lh(n.color||n.severity)}`]]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?tb:nb,r="light"===e.palette.mode?nb:tb,o=t.color||t.severity;return Dp({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},o&&"standard"===t.variant&&{color:e.vars?e.vars.palette.Alert[`${o}Color`]:n(e.palette[o].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${o}StandardBg`]:r(e.palette[o].light,.9),[`& .${xk.icon}`]:e.vars?{color:e.vars.palette.Alert[`${o}IconColor`]}:{color:"dark"===e.palette.mode?e.palette[o].main:e.palette[o].light}},o&&"outlined"===t.variant&&{color:e.vars?e.vars.palette.Alert[`${o}Color`]:n(e.palette[o].light,.6),border:`1px solid ${(e.vars||e).palette[o].light}`,[`& .${xk.icon}`]:e.vars?{color:e.vars.palette.Alert[`${o}IconColor`]}:{color:"dark"===e.palette.mode?e.palette[o].main:e.palette[o].light}},o&&"filled"===t.variant&&Dp({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${o}FilledColor`],backgroundColor:e.vars.palette.Alert[`${o}FilledBg`]}:{backgroundColor:"dark"===e.palette.mode?e.palette[o].dark:e.palette[o].main,color:e.palette.getContrastText("dark"===e.palette.mode?e.palette[o].dark:e.palette[o].main)}))})),VS("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),VS("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),VS("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),rg("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Lk=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Ok=VS("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${Lh(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>Dp({margin:0},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}))),Ik={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Mk={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Tk=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiTypography"}),r=(e=>Mk[e]||e)(n.color),o=bv(Dp({},n,{color:r})),{align:a="inherit",className:i,component:l,gutterBottom:s=!1,noWrap:c=!1,paragraph:u=!1,variant:d="body1",variantMapping:p=Ik}=o,f=$p(o,Lk),m=Dp({},o,{align:a,color:r,className:i,component:l,gutterBottom:s,noWrap:c,paragraph:u,variant:d,variantMapping:p}),h=l||(u?"p":p[d]||Ik[d])||"span",g=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:a,classes:i}=e;return Qh({root:["root",a,"inherit"!==e.align&&`align${Lh(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},Rk,i)})(m);return uh.exports.jsx(Ok,Dp({as:h,ref:t,ownerState:m,className:KS(g.root,i)},f))}));rg("MuiAlertTitle",["root"]),VS(Tk,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2}))),rg("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const Pk=(e,t)=>`${null==e?void 0:e.replace(")","")}, ${t})`;VS(JS,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Lh(n.position)}`],t[`color${Lh(n.color)}`]]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[900];return Dp({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===t.position&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===t.position&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===t.position&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"static"===t.position&&{position:"static"},"relative"===t.position&&{position:"relative"},!e.vars&&Dp({},"default"===t.color&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&"default"!==t.color&&"inherit"!==t.color&&"transparent"!==t.color&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},"inherit"===t.color&&{color:"inherit"},"dark"===e.palette.mode&&!t.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===t.color&&Dp({backgroundColor:"transparent",color:"inherit"},"dark"===e.palette.mode&&{backgroundImage:"none"})),e.vars&&Dp({},"default"===t.color&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Pk(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Pk(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:Pk(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Pk(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===t.color?"inherit":"var(--AppBar-color)"},"transparent"===t.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}));const Nk=VS(Sx,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),zk=Ge.exports.forwardRef((function(e,t){const n=Pv(),r=WS({props:e,name:"MuiPopper"});return uh.exports.jsx(Nk,Dp({direction:null==n?void 0:n.direction},r,{ref:t}))}));function Ak(e){return ng("MuiListSubheader",e)}rg("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const _k=["className","color","component","disableGutters","disableSticky","inset"],Dk=VS("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${Lh(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})((({theme:e,ownerState:t})=>Dp({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},"primary"===t.color&&{color:(e.vars||e).palette.primary.main},"inherit"===t.color&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}))),$k=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiListSubheader"}),{className:r,color:o="default",component:a="li",disableGutters:i=!1,disableSticky:l=!1,inset:s=!1}=n,c=$p(n,_k),u=Dp({},n,{color:o,component:a,disableGutters:i,disableSticky:l,inset:s}),d=(e=>{const{classes:t,color:n,disableGutters:r,inset:o,disableSticky:a}=e;return Qh({root:["root","default"!==n&&`color${Lh(n)}`,!r&&"gutters",o&&"inset",!a&&"sticky"]},Ak,t)})(u);return uh.exports.jsx(Dk,Dp({as:a,className:KS(d.root,r),ref:t,ownerState:u},c))}));ck(uh.exports.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");const qk=rg("MuiChip",["root","sizeSmall","sizeMedium","colorPrimary","colorSecondary","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]);function jk({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)),{})}VS("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,clickable:o,onDelete:a,size:i,variant:l}=n;return[{[`& .${qk.avatar}`]:t.avatar},{[`& .${qk.avatar}`]:t[`avatar${Lh(i)}`]},{[`& .${qk.avatar}`]:t[`avatarColor${Lh(r)}`]},{[`& .${qk.icon}`]:t.icon},{[`& .${qk.icon}`]:t[`icon${Lh(i)}`]},{[`& .${qk.icon}`]:t[`iconColor${Lh(r)}`]},{[`& .${qk.deleteIcon}`]:t.deleteIcon},{[`& .${qk.deleteIcon}`]:t[`deleteIcon${Lh(i)}`]},{[`& .${qk.deleteIcon}`]:t[`deleteIconColor${Lh(r)}`]},{[`& .${qk.deleteIcon}`]:t[`deleteIcon${Lh(l)}Color${Lh(r)}`]},t.root,t[`size${Lh(i)}`],t[`color${Lh(r)}`],o&&t.clickable,o&&"default"!==r&&t[`clickableColor${Lh(r)})`],a&&t.deletable,a&&"default"!==r&&t[`deletableColor${Lh(r)}`],t[l],t[`${l}${Lh(r)}`]]}})((({theme:e,ownerState:t})=>{const n=eb(e.palette.text.primary,.26),r="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return Dp({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${qk.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${qk.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:r,fontSize:e.typography.pxToRem(12)},[`& .${qk.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${qk.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${qk.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${qk.icon}`]:Dp({color:e.vars?e.vars.palette.Chip.defaultIconColor:r,marginLeft:5,marginRight:-6},"small"===t.size&&{fontSize:18,marginLeft:4,marginRight:-4},"default"!==t.color&&{color:"inherit"}),[`& .${qk.deleteIcon}`]:Dp({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:n,fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:eb(n,.4)}},"small"===t.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==t.color&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:eb(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},"small"===t.size&&{height:24},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${qk.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity+e.vars.palette.action.focusOpacity}))`:eb(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&"default"!==t.color&&{[`&.${qk.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})}),(({theme:e,ownerState:t})=>Dp({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity+e.vars.palette.action.hoverOpacity}))`:eb(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${qk.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity+e.vars.palette.action.focusOpacity}))`:eb(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&"default"!==t.color&&{[`&:hover, &.${qk.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})),(({theme:e,ownerState:t})=>Dp({},"outlined"===t.variant&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${qk.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${qk.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${qk.avatar}`]:{marginLeft:4},[`& .${qk.avatarSmall}`]:{marginLeft:2},[`& .${qk.icon}`]:{marginLeft:4},[`& .${qk.iconSmall}`]:{marginLeft:2},[`& .${qk.deleteIcon}`]:{marginRight:5},[`& .${qk.deleteIconSmall}`]:{marginRight:3}},"outlined"===t.variant&&"default"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:eb(e.palette[t.color].main,.7)}`,[`&.${qk.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:eb(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${qk.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:eb(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${qk.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:eb(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}}))),VS("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${Lh(r)}`]]}})((({ownerState:e})=>Dp({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"small"===e.size&&{paddingLeft:8,paddingRight:8})));const Fk=Ge.exports.createContext();function Bk(){return Ge.exports.useContext(Fk)}function Wk(e){return uh.exports.jsx(Sh,Dp({},e,{defaultTheme:FS}))}function Hk(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Uk(e,t=!1){return e&&(Hk(e.value)&&""!==e.value||t&&Hk(e.defaultValue)&&""!==e.defaultValue)}function Vk(e){return ng("MuiInputBase",e)}const Gk=rg("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Kk=["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","startAdornment","type","value"],Xk=(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${Lh(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Zk=(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]},Yk=VS("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Xk})((({theme:e,ownerState:t})=>Dp({},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",[`&.${Gk.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&Dp({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),Qk=VS("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Zk})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=Dp({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"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return Dp({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] + .${Gk.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${Gk.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"})})),Jk=uh.exports.jsx(Wk,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),eE=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiInputBase"}),{"aria-describedby":r,autoComplete:o,autoFocus:a,className:i,components:l={},componentsProps:s={},defaultValue:c,disabled:u,disableInjectingGlobalStyles:d,endAdornment:p,fullWidth:f=!1,id:m,inputComponent:h="input",inputProps:g={},inputRef:v,maxRows:b,minRows:y,multiline:x=!1,name:S,onBlur:w,onChange:C,onClick:k,onFocus:E,onKeyDown:R,onKeyUp:L,placeholder:O,readOnly:I,renderSuffix:M,rows:T,startAdornment:P,type:N="text",value:z}=n,A=$p(n,Kk),_=null!=g.value?g.value:z,{current:D}=Ge.exports.useRef(null!=_),$=Ge.exports.useRef(),q=Ge.exports.useCallback((e=>{}),[]),j=Dh(g.ref,q),F=Dh(v,j),B=Dh($,F),[W,H]=Ge.exports.useState(!1),U=Bk(),V=jk({props:n,muiFormControl:U,states:["color","disabled","error","hiddenLabel","size","required","filled"]});V.focused=U?U.focused:W,Ge.exports.useEffect((()=>{!U&&u&&W&&(H(!1),w&&w())}),[U,u,W,w]);const G=U&&U.onFilled,K=U&&U.onEmpty,X=Ge.exports.useCallback((e=>{Uk(e)?G&&G():K&&K()}),[G,K]);zh((()=>{D&&X({value:_})}),[_,X,D]);Ge.exports.useEffect((()=>{X($.current)}),[]);let Z=h,Y=g;x&&"input"===Z&&(Y=Dp(T?{type:void 0,minRows:T,maxRows:T}:{type:void 0,maxRows:b,minRows:y},Y),Z=jx);Ge.exports.useEffect((()=>{U&&U.setAdornedStart(Boolean(P))}),[U,P]);const Q=Dp({},n,{color:V.color||"primary",disabled:V.disabled,endAdornment:p,error:V.error,focused:V.focused,formControl:U,fullWidth:f,hiddenLabel:V.hiddenLabel,multiline:x,size:V.size,startAdornment:P,type:N}),J=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:a,focused:i,formControl:l,fullWidth:s,hiddenLabel:c,multiline:u,readOnly:d,size:p,startAdornment:f,type:m}=e;return Qh({root:["root",`color${Lh(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",i&&"focused",l&&"formControl","small"===p&&"sizeSmall",u&&"multiline",f&&"adornedStart",a&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===m&&"inputTypeSearch",u&&"inputMultiline","small"===p&&"inputSizeSmall",c&&"inputHiddenLabel",f&&"inputAdornedStart",a&&"inputAdornedEnd",d&&"readOnly"]},Vk,t)})(Q),ee=l.Root||Yk,te=s.root||{},ne=l.Input||Qk;return Y=Dp({},Y,s.input),uh.exports.jsxs(Ge.exports.Fragment,{children:[!d&&Jk,uh.exports.jsxs(ee,Dp({},te,!jb(ee)&&{ownerState:Dp({},Q,te.ownerState)},{ref:t,onClick:e=>{$.current&&e.currentTarget===e.target&&$.current.focus(),k&&k(e)}},A,{className:KS(J.root,te.className,i),children:[P,uh.exports.jsx(Fk.Provider,{value:null,children:uh.exports.jsx(ne,Dp({ownerState:Q,"aria-invalid":V.error,"aria-describedby":r,autoComplete:o,autoFocus:a,defaultValue:c,disabled:V.disabled,id:m,onAnimationStart:e=>{X("mui-auto-fill-cancel"===e.animationName?$.current:{value:"x"})},name:S,placeholder:O,readOnly:I,required:V.required,rows:T,value:_,onKeyDown:R,onKeyUp:L,type:N},Y,!jb(ne)&&{as:Z,ownerState:Dp({},Q,Y.ownerState)},{ref:B,className:KS(J.input,Y.className),onBlur:e=>{w&&w(e),g.onBlur&&g.onBlur(e),U&&U.onBlur?U.onBlur(e):H(!1)},onChange:(e,...t)=>{if(!D){const t=e.target||$.current;if(null==t)throw new Error(Rh(1));X({value:t.value})}g.onChange&&g.onChange(e,...t),C&&C(e,...t)},onFocus:e=>{V.disabled?e.stopPropagation():(E&&E(e),g.onFocus&&g.onFocus(e),U&&U.onFocus?U.onFocus(e):H(!0))}}))}),p,M?M(Dp({},V,{startAdornment:P})):null]}))]})}));function tE(e){return ng("MuiInput",e)}const nE=Dp({},Gk,rg("MuiInput",["root","underline","input"]));function rE(e){return ng("MuiOutlinedInput",e)}const oE=Dp({},Gk,rg("MuiOutlinedInput",["root","notchedOutline","input"]));function aE(e){return ng("MuiFilledInput",e)}const iE=Dp({},Gk,rg("MuiFilledInput",["root","underline","input"]));var lE=ck(uh.exports.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");const sE=rg("MuiAutocomplete",["root","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);VS("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:o,hasPopupIcon:a,inputFocused:i,size:l}=n;return[{[`& .${sE.tag}`]:t.tag},{[`& .${sE.tag}`]:t[`tagSize${Lh(l)}`]},{[`& .${sE.inputRoot}`]:t.inputRoot},{[`& .${sE.input}`]:t.input},{[`& .${sE.input}`]:i&&t.inputFocused},t.root,r&&t.fullWidth,a&&t.hasPopupIcon,o&&t.hasClearIcon]}})((({ownerState:e})=>Dp({[`&.${sE.focused} .${sE.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${sE.clearIndicator}`]:{visibility:"visible"}}},e.fullWidth&&{width:"100%"},{[`& .${sE.tag}`]:Dp({margin:3,maxWidth:"calc(100% - 6px)"},"small"===e.size&&{margin:2,maxWidth:"calc(100% - 4px)"}),[`& .${sE.inputRoot}`]:{flexWrap:"wrap",[`.${sE.hasPopupIcon}&, .${sE.hasClearIcon}&`]:{paddingRight:30},[`.${sE.hasPopupIcon}.${sE.hasClearIcon}&`]:{paddingRight:56},[`& .${sE.input}`]:{width:0,minWidth:30}},[`& .${nE.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${nE.root}.${Gk.sizeSmall}`]:{[`& .${nE.input}`]:{padding:"2px 4px 3px 0"}},[`& .${oE.root}`]:{padding:9,[`.${sE.hasPopupIcon}&, .${sE.hasClearIcon}&`]:{paddingRight:39},[`.${sE.hasPopupIcon}.${sE.hasClearIcon}&`]:{paddingRight:65},[`& .${sE.input}`]:{padding:"7.5px 4px 7.5px 6px"},[`& .${sE.endAdornment}`]:{right:9}},[`& .${oE.root}.${Gk.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${sE.input}`]:{padding:"2.5px 4px 2.5px 6px"}},[`& .${iE.root}`]:{paddingTop:19,paddingLeft:8,[`.${sE.hasPopupIcon}&, .${sE.hasClearIcon}&`]:{paddingRight:39},[`.${sE.hasPopupIcon}.${sE.hasClearIcon}&`]:{paddingRight:65},[`& .${iE.input}`]:{padding:"7px 4px"},[`& .${sE.endAdornment}`]:{right:9}},[`& .${iE.root}.${Gk.sizeSmall}`]:{paddingBottom:1,[`& .${iE.input}`]:{padding:"2.5px 4px"}},[`& .${Gk.hiddenLabel}`]:{paddingTop:8},[`& .${sE.input}`]:Dp({flexGrow:1,textOverflow:"ellipsis",opacity:0},e.inputFocused&&{opacity:1})}))),VS("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"calc(50% - 14px)"}),VS(Ek,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),VS(Ek,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>Dp({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})((({ownerState:e})=>Dp({padding:2,marginRight:-2},e.popupOpen&&{transform:"rotate(180deg)"}))),VS(zk,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${sE.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})((({theme:e,ownerState:t})=>Dp({zIndex:(e.vars||e).zIndex.modal},t.disablePortal&&{position:"absolute"}))),VS(JS,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})((({theme:e})=>Dp({},e.typography.body1,{overflow:"auto"}))),VS("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),VS("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),VS("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})((({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",[`& .${sE.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${sE.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${sE.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:eb(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${sE.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:eb(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${sE.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:eb(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),VS($k,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})((({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),VS("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${sE.option}`]:{paddingLeft:24}});var cE=ck(uh.exports.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function uE(e){return ng("MuiAvatar",e)}const dE=rg("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),pE=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],fE=VS("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})((({theme:e,ownerState:t})=>Dp({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===t.variant&&{borderRadius:(e.vars||e).shape.borderRadius},"square"===t.variant&&{borderRadius:0},t.colorDefault&&Dp({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600]})))),mE=VS("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),hE=VS(cE,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});const gE=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiAvatar"}),{alt:r,children:o,className:a,component:i="div",imgProps:l,sizes:s,src:c,srcSet:u,variant:d="circular"}=n,p=$p(n,pE);let f=null;const m=function({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,a]=Ge.exports.useState(!1);return Ge.exports.useEffect((()=>{if(!n&&!r)return;a(!1);let o=!0;const i=new Image;return i.onload=()=>{o&&a("loaded")},i.onerror=()=>{o&&a("error")},i.crossOrigin=e,i.referrerPolicy=t,i.src=n,r&&(i.srcset=r),()=>{o=!1}}),[e,t,n,r]),o}(Dp({},l,{src:c,srcSet:u})),h=c||u,g=h&&"error"!==m,v=Dp({},n,{colorDefault:!g,component:i,variant:d}),b=(e=>{const{classes:t,variant:n,colorDefault:r}=e;return Qh({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},uE,t)})(v);return f=g?uh.exports.jsx(mE,Dp({alt:r,src:c,srcSet:u,sizes:s,ownerState:v,className:b.img},l)):null!=o?o:h&&r?r[0]:uh.exports.jsx(hE,{className:b.fallback}),uh.exports.jsx(fE,Dp({as:i,ownerState:v,className:KS(b.root,a),ref:t},p,{children:f}))})),vE=rg("MuiAvatarGroup",["root","avatar"]);VS("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:(e,t)=>Dp({[`& .${vE.avatar}`]:t.avatar},t.root)})((({theme:e})=>({[`& .${dE.root}`]:{border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:-8,"&:last-child":{marginLeft:0}},display:"flex",flexDirection:"row-reverse"}))),VS(gE,{name:"MuiAvatarGroup",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})((({theme:e})=>({border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:-8,"&:last-child":{marginLeft:0}})));const bE=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],yE={entering:{opacity:1},entered:{opacity:1}},xE=Ge.exports.forwardRef((function(e,t){const n=BS(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:i,easing:l,in:s,onEnter:c,onEntered:u,onEntering:d,onExit:p,onExited:f,onExiting:m,style:h,timeout:g=r,TransitionComponent:v=bw}=e,b=$p(e,bE),y=Ge.exports.useRef(null),x=Dh(i.ref,t),S=Dh(y,x),w=e=>t=>{if(e){const n=y.current;void 0===t?e(n):e(n,t)}},C=w(d),k=w(((e,t)=>{uk(e);const r=dk({style:h,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=w(u),R=w(m),L=w((e=>{const t=dk({style:h,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=w(f);return uh.exports.jsx(v,Dp({appear:a,in:s,nodeRef:y,onEnter:k,onEntered:E,onEntering:C,onExit:L,onExited:O,onExiting:R,addEndListener:e=>{o&&o(y.current,e)},timeout:g},b,{children:(e,t)=>Ge.exports.cloneElement(i,Dp({style:Dp({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},yE[e],h,i.props.style),ref:S},t))}))}));function SE(e){return ng("MuiBackdrop",e)}rg("MuiBackdrop",["root","invisible"]);const wE=["children","component","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],CE=VS("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>Dp({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"}))),kE=Ge.exports.forwardRef((function(e,t){var n,r;const o=WS({props:e,name:"MuiBackdrop"}),{children:a,component:i="div",components:l={},componentsProps:s={},className:c,invisible:u=!1,open:d,transitionDuration:p,TransitionComponent:f=xE}=o,m=$p(o,wE),h=Dp({},o,{component:i,invisible:u}),g=(e=>{const{classes:t,invisible:n}=e;return Qh({root:["root",n&&"invisible"]},SE,t)})(h);return uh.exports.jsx(f,Dp({in:d,timeout:p},m,{children:uh.exports.jsx(CE,{"aria-hidden":!0,as:null!=(n=l.Root)?n:i,className:KS(g.root,c),ownerState:Dp({},h,null==(r=s.root)?void 0:r.ownerState),classes:g,ref:t,children:a})}))})),EE=e=>!e||!jb(e);function RE(e){return ng("MuiBadge",e)}const LE=rg("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"]),OE=["anchorOrigin","className","component","components","componentsProps","overlap","color","invisible","max","badgeContent","showZero","variant"],IE=VS("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),ME=VS("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${Lh(n.anchorOrigin.vertical)}${Lh(n.anchorOrigin.horizontal)}${Lh(n.overlap)}`],"default"!==n.color&&t[`color${Lh(n.color)}`],n.invisible&&t.invisible]}})((({theme:e,ownerState:t})=>Dp({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})},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},"dot"===t.variant&&{borderRadius:4,height:8,minWidth:8,padding:0},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${LE.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${LE.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${LE.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${LE.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${LE.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${LE.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${LE.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${LE.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}))),TE=Ge.exports.forwardRef((function(e,t){var n,r,o,a;const i=WS({props:e,name:"MuiBadge"}),{anchorOrigin:l={vertical:"top",horizontal:"right"},className:s,component:c="span",components:u={},componentsProps:d={},overlap:p="rectangular",color:f="default",invisible:m=!1,max:h,badgeContent:g,showZero:v=!1,variant:b="standard"}=i,y=$p(i,OE),x=Kh({anchorOrigin:l,color:f,overlap:p,variant:b});let S=m;!1===m&&(0===g&&!v||null==g&&"dot"!==b)&&(S=!0);const{color:w=f,overlap:C=p,anchorOrigin:k=l,variant:E=b}=S?x:i,R=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:a,classes:i={}}=e;return Qh({root:["root"],badge:["badge",a,r&&"invisible",`anchorOrigin${Lh(n.vertical)}${Lh(n.horizontal)}`,`anchorOrigin${Lh(n.vertical)}${Lh(n.horizontal)}${Lh(o)}`,`overlap${Lh(o)}`,"default"!==t&&`color${Lh(t)}`]},RE,i)})(Dp({},i,{anchorOrigin:k,invisible:S,color:w,overlap:C,variant:E}));let L;return"dot"!==E&&(L=g&&Number(g)>h?`${h}+`:g),uh.exports.jsx(Yb,Dp({invisible:m,badgeContent:L,showZero:v,max:h},y,{components:Dp({Root:IE,Badge:ME},u),className:KS(null==(n=d.root)?void 0:n.className,R.root,s),componentsProps:{root:Dp({},d.root,EE(u.Root)&&{as:c,ownerState:Dp({},null==(r=d.root)?void 0:r.ownerState,{anchorOrigin:k,color:w,overlap:C,variant:E})}),badge:Dp({},d.badge,{className:KS(R.badge,null==(o=d.badge)?void 0:o.className)},EE(u.Badge)&&{ownerState:Dp({},null==(a=d.badge)?void 0:a.ownerState,{anchorOrigin:k,color:w,overlap:C,variant:E})})},ref:t}))}));rg("MuiBottomNavigation",["root"]),VS("div",{name:"MuiBottomNavigation",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"flex",justifyContent:"center",height:56,backgroundColor:(e.vars||e).palette.background.paper})));const PE=rg("MuiBottomNavigationAction",["root","iconOnly","selected","label"]);VS(tC,{name:"MuiBottomNavigationAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.showLabel&&!n.selected&&t.iconOnly]}})((({theme:e,ownerState:t})=>Dp({transition:e.transitions.create(["color","padding-top"],{duration:e.transitions.duration.short}),padding:"0px 12px",minWidth:80,maxWidth:168,color:(e.vars||e).palette.text.secondary,flexDirection:"column",flex:"1"},!t.showLabel&&!t.selected&&{paddingTop:14},!t.showLabel&&!t.selected&&!t.label&&{paddingTop:0},{[`&.${PE.selected}`]:{color:(e.vars||e).palette.primary.main}}))),VS("span",{name:"MuiBottomNavigationAction",slot:"Label",overridesResolver:(e,t)=>t.label})((({theme:e,ownerState:t})=>Dp({fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s"},!t.showLabel&&!t.selected&&{opacity:0,transitionDelay:"0s"},{[`&.${PE.selected}`]:{fontSize:e.typography.pxToRem(14)}})));const NE=_v({defaultTheme:jS(),defaultClassName:"MuiBox-root",generateClassName:eg.generate});var zE=ck(uh.exports.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");VS(tC)((({theme:e})=>Dp({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`},"light"===e.palette.mode?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":Dp({},"light"===e.palette.mode?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":Dp({boxShadow:e.shadows[0]},"light"===e.palette.mode?{backgroundColor:rb(e.palette.grey[200],.12)}:{backgroundColor:rb(e.palette.grey[600],.12)})}))),VS(zE)({width:24,height:16});const AE=rg("MuiBreadcrumbs",["root","ol","li","separator"]);VS(Tk,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${AE.li}`]:t.li},t.root]})({}),VS("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),VS("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});const _E=rg("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary"]);VS("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${_E.grouped}`]:t.grouped},{[`& .${_E.grouped}`]:t[`grouped${Lh(n.orientation)}`]},{[`& .${_E.grouped}`]:t[`grouped${Lh(n.variant)}`]},{[`& .${_E.grouped}`]:t[`grouped${Lh(n.variant)}${Lh(n.orientation)}`]},{[`& .${_E.grouped}`]:t[`grouped${Lh(n.variant)}${Lh(n.color)}`]},t.root,t[n.variant],!0===n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,"vertical"===n.orientation&&t.vertical]}})((({theme:e,ownerState:t})=>Dp({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[2]},t.disableElevation&&{boxShadow:"none"},t.fullWidth&&{width:"100%"},"vertical"===t.orientation&&{flexDirection:"column"},{[`& .${_E.grouped}`]:Dp({minWidth:40,"&:not(:first-of-type)":Dp({},"horizontal"===t.orientation&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},"vertical"===t.orientation&&{borderTopRightRadius:0,borderTopLeftRadius:0},"outlined"===t.variant&&"horizontal"===t.orientation&&{marginLeft:-1},"outlined"===t.variant&&"vertical"===t.orientation&&{marginTop:-1}),"&:not(:last-of-type)":Dp({},"horizontal"===t.orientation&&{borderTopRightRadius:0,borderBottomRightRadius:0},"vertical"===t.orientation&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},"text"===t.variant&&"horizontal"===t.orientation&&{borderRight:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"text"===t.variant&&"vertical"===t.orientation&&{borderBottom:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"text"===t.variant&&"inherit"!==t.color&&{borderColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:eb(e.palette[t.color].main,.5)},"outlined"===t.variant&&"horizontal"===t.orientation&&{borderRightColor:"transparent"},"outlined"===t.variant&&"vertical"===t.orientation&&{borderBottomColor:"transparent"},"contained"===t.variant&&"horizontal"===t.orientation&&{borderRight:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${_E.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}},"contained"===t.variant&&"vertical"===t.orientation&&{borderBottom:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${_E.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}},"contained"===t.variant&&"inherit"!==t.color&&{borderColor:(e.vars||e).palette[t.color].dark},{"&:hover":Dp({},"outlined"===t.variant&&"horizontal"===t.orientation&&{borderRightColor:"currentColor"},"outlined"===t.variant&&"vertical"===t.orientation&&{borderBottomColor:"currentColor"})}),"&:hover":Dp({},"contained"===t.variant&&{boxShadow:"none"})},"contained"===t.variant&&{boxShadow:"none"})}))),rg("MuiCard",["root"]),VS(JS,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})((()=>({overflow:"hidden"})));const DE=rg("MuiCardActionArea",["root","focusVisible","focusHighlight"]);VS(tC,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"block",textAlign:"inherit",width:"100%",[`&:hover .${DE.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${DE.focusVisible} .${DE.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}}))),VS("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(e,t)=>t.focusHighlight})((({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}))),rg("MuiCardActions",["root","spacing"]),VS("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})((({ownerState:e})=>Dp({display:"flex",alignItems:"center",padding:8},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}}))),rg("MuiCardContent",["root"]),VS("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})((()=>({padding:16,"&:last-child":{paddingBottom:24}})));const $E=rg("MuiCardHeader",["root","avatar","action","content","title","subheader"]);function qE(e){return ng("PrivateSwitchBase",e)}VS("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,t)=>Dp({[`& .${$E.title}`]:t.title,[`& .${$E.subheader}`]:t.subheader},t.root)})({display:"flex",alignItems:"center",padding:16}),VS("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),VS("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(e,t)=>t.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),VS("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(e,t)=>t.content})({flex:"1 1 auto"}),rg("MuiCardMedia",["root","media","img"]),VS("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:o}=n;return[t.root,r&&t.media,o&&t.img]}})((({ownerState:e})=>Dp({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"}))),rg("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const jE=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],FE=VS(tC)((({ownerState:e})=>Dp({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),BE=VS("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),WE=Ge.exports.forwardRef((function(e,t){const{autoFocus:n,checked:r,checkedIcon:o,className:a,defaultChecked:i,disabled:l,disableFocusRipple:s=!1,edge:c=!1,icon:u,id:d,inputProps:p,inputRef:f,name:m,onBlur:h,onChange:g,onFocus:v,readOnly:b,required:y,tabIndex:x,type:S,value:w}=e,C=$p(e,jE),[k,E]=Ah({controlled:r,default:Boolean(i),name:"SwitchBase",state:"checked"}),R=Bk();let L=l;R&&void 0===L&&(L=R.disabled);const O="checkbox"===S||"radio"===S,I=Dp({},e,{checked:k,disabled:L,disableFocusRipple:s,edge:c}),M=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e;return Qh({root:["root",n&&"checked",r&&"disabled",o&&`edge${Lh(o)}`],input:["input"]},qE,t)})(I);return uh.exports.jsxs(FE,Dp({component:"span",className:KS(M.root,a),centerRipple:!0,focusRipple:!s,disabled:L,tabIndex:null,role:void 0,onFocus:e=>{v&&v(e),R&&R.onFocus&&R.onFocus(e)},onBlur:e=>{h&&h(e),R&&R.onBlur&&R.onBlur(e)},ownerState:I,ref:t},C,{children:[uh.exports.jsx(BE,Dp({autoFocus:n,checked:r,defaultChecked:i,className:M.input,disabled:L,id:O&&d,name:m,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;E(t),g&&g(e,t)},readOnly:b,ref:f,required:y,ownerState:I,tabIndex:x,type:S},"checkbox"===S&&void 0===w?{}:{value:w},p)),k?o:u]}))}));var HE=ck(uh.exports.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"),UE=ck(uh.exports.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"),VE=ck(uh.exports.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 GE(e){return ng("MuiCheckbox",e)}const KE=rg("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),XE=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size"],ZE=VS(WE,{shouldForwardProp:e=>HS(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,"default"!==n.color&&t[`color${Lh(n.color)}`]]}})((({theme:e,ownerState:t})=>Dp({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.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:eb("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${KE.checked}, &.${KE.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${KE.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),YE=uh.exports.jsx(UE,{}),QE=uh.exports.jsx(HE,{}),JE=uh.exports.jsx(VE,{}),eR=Ge.exports.forwardRef((function(e,t){var n,r;const o=WS({props:e,name:"MuiCheckbox"}),{checkedIcon:a=YE,color:i="primary",icon:l=QE,indeterminate:s=!1,indeterminateIcon:c=JE,inputProps:u,size:d="medium"}=o,p=$p(o,XE),f=s?c:l,m=s?c:a,h=Dp({},o,{color:i,indeterminate:s,size:d}),g=(e=>{const{classes:t,indeterminate:n,color:r}=e;return Dp({},t,Qh({root:["root",n&&"indeterminate",`color${Lh(r)}`]},GE,t))})(h);return uh.exports.jsx(ZE,Dp({type:"checkbox",inputProps:Dp({"data-indeterminate":s},u),icon:Ge.exports.cloneElement(f,{fontSize:null!=(n=f.props.fontSize)?n:d}),checkedIcon:Ge.exports.cloneElement(m,{fontSize:null!=(r=m.props.fontSize)?r:d}),ownerState:h,ref:t},p,{classes:g}))}));function tR(e){return ng("MuiCircularProgress",e)}rg("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const nR=["className","color","disableShrink","size","style","thickness","value","variant"];let rR,oR,aR,iR,lR=e=>e;const sR=44,cR=Um(rR||(rR=lR`
|
|
106
106
|
0% {
|
|
107
107
|
transform: rotate(0deg);
|
|
108
108
|
}
|
|
@@ -232,5 +232,5 @@ var zt=Ge.exports,At=Pt.exports;function _t(e){for(var t="https://reactjs.org/do
|
|
|
232
232
|
right: 0;
|
|
233
233
|
top: 0;
|
|
234
234
|
}
|
|
235
|
-
`),oM,(t.vars||t).palette.action.hover)));const aM=Dp({},Ax,rg("MuiSlider",["colorPrimary","colorSecondary","thumbColorPrimary","thumbColorSecondary","sizeSmall","thumbSizeSmall"]));VS("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${Lh(n.color)}`],"medium"!==n.size&&t[`size${Lh(n.size)}`],n.marked&&t.marked,"vertical"===n.orientation&&t.vertical,"inverted"===n.track&&t.trackInverted,!1===n.track&&t.trackFalse]}})((({theme:e,ownerState:t})=>Dp({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:(e.vars||e).palette[t.color].main,WebkitTapHighlightColor:"transparent"},"horizontal"===t.orientation&&Dp({height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}},"small"===t.size&&{height:2},t.marked&&{marginBottom:20}),"vertical"===t.orientation&&Dp({height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}},"small"===t.size&&{width:2},t.marked&&{marginRight:44}),{"@media print":{colorAdjust:"exact"},[`&.${aM.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${aM.dragging}`]:{[`& .${aM.thumb}, & .${aM.track}`]:{transition:"none"}}}))),VS("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})((({ownerState:e})=>Dp({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38},"horizontal"===e.orientation&&{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===e.orientation&&{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"},"inverted"===e.track&&{opacity:1}))),VS("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?nb(e.palette[t.color].main,.62):tb(e.palette[t.color].main,.5);return Dp({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest})},"small"===t.size&&{border:"none"},"horizontal"===t.orientation&&{height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===t.orientation&&{width:"inherit",left:"50%",transform:"translateX(-50%)"},!1===t.track&&{display:"none"},"inverted"===t.track&&{backgroundColor:e.vars?e.vars.palette.Slider[`${t.color}Track`]:n,borderColor:e.vars?e.vars.palette.Slider[`${t.color}Track`]:n})})),VS("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${Lh(n.color)}`],"medium"!==n.size&&t[`thumbSize${Lh(n.size)}`]]}})((({theme:e,ownerState:t})=>Dp({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest})},"small"===t.size&&{width:12,height:12},"horizontal"===t.orientation&&{top:"50%",transform:"translate(-50%, -50%)"},"vertical"===t.orientation&&{left:"50%",transform:"translate(-50%, 50%)"},{"&:before":Dp({position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"small"===t.size&&{boxShadow:"none"}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&:hover, &.${aM.focusVisible}`]:{boxShadow:`0px 0px 0px 8px ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.16)`:eb(e.palette[t.color].main,.16)}`,"@media (hover: none)":{boxShadow:"none"}},[`&.${aM.active}`]:{boxShadow:`0px 0px 0px 14px ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.16)`:eb(e.palette[t.color].main,.16)}`},[`&.${aM.disabled}`]:{"&:hover":{boxShadow:"none"}}}))),VS((function(e){const{children:t,className:n,value:r,theme:o}=e,a=(e=>{const{open:t}=e;return{offset:Hb(t&&Ax.valueLabelOpen),circle:Ax.valueLabelCircle,label:Ax.valueLabelLabel}})(e);return Ge.exports.cloneElement(t,{className:Hb(t.props.className)},uh.exports.jsxs(Ge.exports.Fragment,{children:[t.props.children,uh.exports.jsx("span",{className:Hb(a.offset,n),theme:o,"aria-hidden":!0,children:uh.exports.jsx("span",{className:a.circle,children:uh.exports.jsx("span",{className:a.label,children:r})})})]}))}),{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})((({theme:e,ownerState:t})=>Dp({[`&.${aM.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"},zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),transform:"translateY(-100%) scale(0)",position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem"},"horizontal"===t.orientation&&{top:"-10px",transformOrigin:"bottom center","&:before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"}},"vertical"===t.orientation&&{right:"30px",top:"24px",transformOrigin:"right center","&:before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",right:"-20%",top:"25%"}},"small"===t.size&&{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}))),VS("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>US(e)&&"markActive"!==e,overridesResolver:(e,t)=>t.mark})((({theme:e,ownerState:t,markActive:n})=>Dp({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},"horizontal"===t.orientation&&{top:"50%",transform:"translate(-1px, -50%)"},"vertical"===t.orientation&&{left:"50%",transform:"translate(-50%, 1px)"},n&&{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}))),VS("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>US(e)&&"markLabelActive"!==e,overridesResolver:(e,t)=>t.markLabel})((({theme:e,ownerState:t,markLabelActive:n})=>Dp({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap"},"horizontal"===t.orientation&&{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}},"vertical"===t.orientation&&{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}},n&&{color:(e.vars||e).palette.text.primary}))),rg("MuiSnackbarContent",["root","message","action"]),VS(JS,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>{const t="light"===e.palette.mode?.8:.98,n=rb(e.palette.background.default,t);return Dp({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})})),VS("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),VS("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),rg("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]),VS("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${Lh(n.anchorOrigin.vertical)}${Lh(n.anchorOrigin.horizontal)}`]]}})((({theme:e,ownerState:t})=>Dp({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},"top"===t.anchorOrigin.vertical?{top:8}:{bottom:8},"left"===t.anchorOrigin.horizontal&&{justifyContent:"flex-start"},"right"===t.anchorOrigin.horizontal&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:Dp({},"top"===t.anchorOrigin.vertical?{top:24}:{bottom:24},"center"===t.anchorOrigin.horizontal&&{left:"50%",right:"auto",transform:"translateX(-50%)"},"left"===t.anchorOrigin.horizontal&&{left:24,right:"auto"},"right"===t.anchorOrigin.horizontal&&{right:24,left:"auto"})})));const iM=rg("MuiSpeedDial",["root","fab","directionUp","directionDown","directionLeft","directionRight","actions","actionsClosed"]);VS("div",{name:"MuiSpeedDial",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`direction${Lh(n.direction)}`]]}})((({theme:e,ownerState:t})=>Dp({zIndex:(e.vars||e).zIndex.speedDial,display:"flex",alignItems:"center",pointerEvents:"none"},"up"===t.direction&&{flexDirection:"column-reverse",[`& .${iM.actions}`]:{flexDirection:"column-reverse",marginBottom:-32,paddingBottom:48}},"down"===t.direction&&{flexDirection:"column",[`& .${iM.actions}`]:{flexDirection:"column",marginTop:-32,paddingTop:48}},"left"===t.direction&&{flexDirection:"row-reverse",[`& .${iM.actions}`]:{flexDirection:"row-reverse",marginRight:-32,paddingRight:48}},"right"===t.direction&&{flexDirection:"row",[`& .${iM.actions}`]:{flexDirection:"row",marginLeft:-32,paddingLeft:48}}))),VS(PR,{name:"MuiSpeedDial",slot:"Fab",overridesResolver:(e,t)=>t.fab})((()=>({pointerEvents:"auto"}))),VS("div",{name:"MuiSpeedDial",slot:"Actions",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.actions,!n.open&&t.actionsClosed]}})((({ownerState:e})=>Dp({display:"flex",pointerEvents:"auto"},!e.open&&{transition:"top 0s linear 0.2s",pointerEvents:"none"})));const lM=rg("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);VS(zk,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((({theme:e,ownerState:t,open:n})=>Dp({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${lM.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${lM.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${lM.arrow}`]:Dp({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${lM.arrow}`]:Dp({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),VS("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${Lh(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>{return Dp({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:eb(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(n=16/14,Math.round(1e5*n)/1e5)+"em",fontWeight:e.typography.fontWeightRegular},{[`.${lM.popper}[data-popper-placement*="left"] &`]:Dp({transformOrigin:"right center"},t.isRtl?Dp({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):Dp({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${lM.popper}[data-popper-placement*="right"] &`]:Dp({transformOrigin:"left center"},t.isRtl?Dp({marginRight:"14px"},t.touch&&{marginRight:"24px"}):Dp({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${lM.popper}[data-popper-placement*="top"] &`]:Dp({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${lM.popper}[data-popper-placement*="bottom"] &`]:Dp({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n})),VS("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:eb(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));const sM=rg("MuiSpeedDialAction",["fab","fabClosed","staticTooltip","staticTooltipClosed","staticTooltipLabel","tooltipPlacementLeft","tooltipPlacementRight"]);VS(PR,{name:"MuiSpeedDialAction",slot:"Fab",skipVariantsResolver:!1,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.fab,!n.open&&t.fabClosed]}})((({theme:e,ownerState:t})=>Dp({margin:8,color:(e.vars||e).palette.text.secondary,backgroundColor:(e.vars||e).palette.background.paper,"&:hover":{backgroundColor:e.vars?e.vars.palette.SpeedDialAction.fabHoverBg:rb(e.palette.background.paper,.15)},transition:`${e.transitions.create("transform",{duration:e.transitions.duration.shorter})}, opacity 0.8s`,opacity:1},!t.open&&{opacity:0,transform:"scale(0)"}))),VS("span",{name:"MuiSpeedDialAction",slot:"StaticTooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.staticTooltip,!n.open&&t.staticTooltipClosed,t[`tooltipPlacement${Lh(n.tooltipPlacement)}`]]}})((({theme:e,ownerState:t})=>({position:"relative",display:"flex",alignItems:"center",[`& .${sM.staticTooltipLabel}`]:Dp({transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.shorter}),opacity:1},!t.open&&{opacity:0,transform:"scale(0.5)"},"left"===t.tooltipPlacement&&{transformOrigin:"100% 50%",right:"100%",marginRight:8},"right"===t.tooltipPlacement&&{transformOrigin:"0% 50%",left:"100%",marginLeft:8})}))),VS("span",{name:"MuiSpeedDialAction",slot:"StaticTooltipLabel",overridesResolver:(e,t)=>t.staticTooltipLabel})((({theme:e})=>Dp({position:"absolute"},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.paper,borderRadius:(e.vars||e).shape.borderRadius,boxShadow:(e.vars||e).shadows[1],color:(e.vars||e).palette.text.secondary,padding:"4px 16px",wordBreak:"keep-all"})));var cM=ck(uh.exports.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");function uM(e){return ng("MuiSpeedDialIcon",e)}const dM=rg("MuiSpeedDialIcon",["root","icon","iconOpen","iconWithOpenIconOpen","openIcon","openIconOpen"]),pM=["className","icon","open","openIcon"],fM=VS("span",{name:"MuiSpeedDialIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${dM.icon}`]:t.icon},{[`& .${dM.icon}`]:n.open&&t.iconOpen},{[`& .${dM.icon}`]:n.open&&n.openIcon&&t.iconWithOpenIconOpen},{[`& .${dM.openIcon}`]:t.openIcon},{[`& .${dM.openIcon}`]:n.open&&t.openIconOpen},t.root]}})((({theme:e,ownerState:t})=>({height:24,[`& .${dM.icon}`]:Dp({transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.short})},t.open&&Dp({transform:"rotate(45deg)"},t.openIcon&&{opacity:0})),[`& .${dM.openIcon}`]:Dp({position:"absolute",transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.short}),opacity:0,transform:"rotate(-45deg)"},t.open&&{transform:"rotate(0deg)",opacity:1})}))),mM=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiSpeedDialIcon"}),{className:r,icon:o,openIcon:a}=n,i=$p(n,pM),l=n,s=(e=>{const{classes:t,open:n,openIcon:r}=e;return Qh({root:["root"],icon:["icon",n&&"iconOpen",r&&n&&"iconWithOpenIconOpen"],openIcon:["openIcon",n&&"openIconOpen"]},uM,t)})(l);function c(e,t){return Ge.exports.isValidElement(e)?Ge.exports.cloneElement(e,{className:t}):e}return uh.exports.jsxs(fM,Dp({className:KS(s.root,r),ref:t,ownerState:l},i,{children:[a?c(a,s.openIcon):null,o?c(o,s.icon):uh.exports.jsx(cM,{className:s.icon})]}))}));mM.muiName="SpeedDialIcon";VS("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>[t.root]})((({ownerState:e,theme:t})=>{let n=Dp({display:"flex",flexDirection:"column"},sg({theme:t},pg({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const r=Cg(t),o=Object.keys(t.breakpoints.values).reduce(((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t)),{}),a=pg({values:e.direction,base:o}),i=pg({values:e.spacing,base:o});"object"==typeof a&&Object.keys(a).forEach(((e,t,n)=>{if(!a[e]){const r=t>0?a[n[t-1]]:"column";a[e]=r}}));n=Eh(n,sg({theme:t},i,((t,n)=>{return{"& > :not(style) + :not(style)":{margin:0,[`margin${o=n?a[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:kg(r,t)}};var o})))}return n=dg(t.breakpoints,n),n}));const hM=Ge.exports.createContext({}),gM=Ge.exports.createContext({});rg("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]),VS("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.completed&&t.completed]}})((({ownerState:e})=>Dp({},"horizontal"===e.orientation&&{paddingLeft:8,paddingRight:8},e.alternativeLabel&&{flex:1,position:"relative"})));var vM=ck(uh.exports.jsx("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),bM=ck(uh.exports.jsx("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");function yM(e){return ng("MuiStepIcon",e)}const xM=rg("MuiStepIcon",["root","active","completed","error","text"]);var SM;const wM=["active","className","completed","error","icon"],CM=VS(sk,{name:"MuiStepIcon",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),color:(e.vars||e).palette.text.disabled,[`&.${xM.completed}`]:{color:(e.vars||e).palette.primary.main},[`&.${xM.active}`]:{color:(e.vars||e).palette.primary.main},[`&.${xM.error}`]:{color:(e.vars||e).palette.error.main}}))),kM=VS("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(e,t)=>t.text})((({theme:e})=>({fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily}))),EM=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiStepIcon"}),{active:r=!1,className:o,completed:a=!1,error:i=!1,icon:l}=n,s=$p(n,wM),c=Dp({},n,{active:r,completed:a,error:i}),u=(e=>{const{classes:t,active:n,completed:r,error:o}=e;return Qh({root:["root",n&&"active",r&&"completed",o&&"error"],text:["text"]},yM,t)})(c);if("number"==typeof l||"string"==typeof l){const e=KS(o,u.root);return i?uh.exports.jsx(CM,Dp({as:bM,className:e,ref:t,ownerState:c},s)):a?uh.exports.jsx(CM,Dp({as:vM,className:e,ref:t,ownerState:c},s)):uh.exports.jsxs(CM,Dp({className:e,ref:t,ownerState:c},s,{children:[SM||(SM=uh.exports.jsx("circle",{cx:"12",cy:"12",r:"12"})),uh.exports.jsx(kM,{className:u.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:c,children:l})]}))}return l}));function RM(e){return ng("MuiStepLabel",e)}const LM=rg("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]),OM=["children","className","componentsProps","error","icon","optional","StepIconComponent","StepIconProps"],IM=VS("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation]]}})((({ownerState:e})=>Dp({display:"flex",alignItems:"center",[`&.${LM.alternativeLabel}`]:{flexDirection:"column"},[`&.${LM.disabled}`]:{cursor:"default"}},"vertical"===e.orientation&&{textAlign:"left",padding:"8px 0"}))),MM=VS("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(e,t)=>t.label})((({theme:e})=>Dp({},e.typography.body2,{display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),[`&.${LM.active}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${LM.completed}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${LM.alternativeLabel}`]:{textAlign:"center",marginTop:16},[`&.${LM.error}`]:{color:(e.vars||e).palette.error.main}}))),TM=VS("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(e,t)=>t.iconContainer})((()=>({flexShrink:0,display:"flex",paddingRight:8,[`&.${LM.alternativeLabel}`]:{paddingRight:0}}))),PM=VS("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})((({theme:e})=>({width:"100%",color:(e.vars||e).palette.text.secondary}))),NM=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiStepLabel"}),{children:r,className:o,componentsProps:a={},error:i=!1,icon:l,optional:s,StepIconComponent:c,StepIconProps:u}=n,d=$p(n,OM),{alternativeLabel:p,orientation:f}=Ge.exports.useContext(hM),{active:m,disabled:h,completed:g,icon:v}=Ge.exports.useContext(gM),b=l||v;let y=c;b&&!y&&(y=EM);const x=Dp({},n,{active:m,alternativeLabel:p,completed:g,disabled:h,error:i,orientation:f}),S=(e=>{const{classes:t,orientation:n,active:r,completed:o,error:a,disabled:i,alternativeLabel:l}=e;return Qh({root:["root",n,a&&"error",i&&"disabled",l&&"alternativeLabel"],label:["label",r&&"active",o&&"completed",a&&"error",i&&"disabled",l&&"alternativeLabel"],iconContainer:["iconContainer",r&&"active",o&&"completed",a&&"error",i&&"disabled",l&&"alternativeLabel"],labelContainer:["labelContainer"]},RM,t)})(x);return uh.exports.jsxs(IM,Dp({className:KS(S.root,o),ref:t,ownerState:x},d,{children:[b||y?uh.exports.jsx(TM,{className:S.iconContainer,ownerState:x,children:uh.exports.jsx(y,Dp({completed:g,active:m,error:i,icon:b},u))}):null,uh.exports.jsxs(PM,{className:S.labelContainer,ownerState:x,children:[r?uh.exports.jsx(MM,Dp({className:S.label,ownerState:x},a.label,{children:r})):null,s]})]}))}));NM.muiName="StepLabel";const zM=rg("MuiStepButton",["root","horizontal","vertical","touchRipple"]);VS(tC,{name:"MuiStepButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${zM.touchRipple}`]:t.touchRipple},t.root,t[n.orientation]]}})((({ownerState:e})=>Dp({width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},"vertical"===e.orientation&&{justifyContent:"flex-start",padding:"8px",margin:"-8px"},{[`& .${zM.touchRipple}`]:{color:"rgba(0, 0, 0, 0.3)"}}))),rg("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"]),VS("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.completed&&t.completed]}})((({ownerState:e})=>Dp({flex:"1 1 auto"},"vertical"===e.orientation&&{marginLeft:12},e.alternativeLabel&&{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"}))),VS("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.line,t[`line${Lh(n.orientation)}`]]}})((({ownerState:e,theme:t})=>{const n="light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600];return Dp({display:"block",borderColor:t.vars?t.vars.palette.StepConnector.border:n},"horizontal"===e.orientation&&{borderTopStyle:"solid",borderTopWidth:1},"vertical"===e.orientation&&{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24})})),rg("MuiStepContent",["root","last","transition"]),VS("div",{name:"MuiStepContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.last&&t.last]}})((({ownerState:e,theme:t})=>Dp({marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:t.vars?`1px solid ${t.vars.palette.StepContent.border}`:`1px solid ${"light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600]}`},e.last&&{borderLeft:"none"}))),VS(vk,{name:"MuiStepContent",slot:"Transition",overridesResolver:(e,t)=>t.transition})({}),rg("MuiStepper",["root","horizontal","vertical","alternativeLabel"]),VS("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel]}})((({ownerState:e})=>Dp({display:"flex"},"horizontal"===e.orientation&&{flexDirection:"row",alignItems:"center"},"vertical"===e.orientation&&{flexDirection:"column"},e.alternativeLabel&&{alignItems:"flex-start"}))),VS("div")((({theme:e,ownerState:t})=>Dp({position:"fixed",top:0,left:0,bottom:0,zIndex:e.zIndex.drawer-1},"left"===t.anchor&&{right:"auto"},"right"===t.anchor&&{left:"auto",right:0},"top"===t.anchor&&{bottom:"auto",right:0},"bottom"===t.anchor&&{top:"auto",bottom:0,right:0}))),"undefined"!=typeof navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent);const AM=rg("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);VS("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${Lh(n.edge)}`],t[`size${Lh(n.size)}`]]}})((({ownerState:e})=>Dp({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===e.edge&&{marginLeft:-8},"end"===e.edge&&{marginRight:-8},"small"===e.size&&{width:40,height:24,padding:7,[`& .${AM.thumb}`]:{width:16,height:16},[`& .${AM.switchBase}`]:{padding:4,[`&.${AM.checked}`]:{transform:"translateX(16px)"}}}))),VS(WE,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${AM.input}`]:t.input},"default"!==n.color&&t[`color${Lh(n.color)}`]]}})((({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${AM.checked}`]:{transform:"translateX(20px)"},[`&.${AM.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${AM.checked} + .${AM.track}`]:{opacity:.5},[`&.${AM.disabled} + .${AM.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2)},[`& .${AM.input}`]:{left:"-100%",width:"300%"}})),(({theme:e,ownerState:t})=>Dp({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:eb(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${AM.checked}`]:{color:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:eb(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${AM.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t.color}DisabledColor`]:`${"light"===e.palette.mode?nb(e.palette[t.color].main,.62):tb(e.palette[t.color].main,.55)}`}},[`&.${AM.checked} + .${AM.track}`]:{backgroundColor:(e.vars||e).palette[t.color].main}}))),VS("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})((({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:""+("light"===e.palette.mode?.38:.3)}))),VS("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})));const _M=rg("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);VS(tC,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${Lh(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})((({theme:e,ownerState:t})=>Dp({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:"top"===t.iconPosition||"bottom"===t.iconPosition?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${_M.iconWrapper}`]:Dp({},"top"===t.iconPosition&&{marginBottom:6},"bottom"===t.iconPosition&&{marginTop:6},"start"===t.iconPosition&&{marginRight:e.spacing(1)},"end"===t.iconPosition&&{marginLeft:e.spacing(1)})},"inherit"===t.textColor&&{color:"inherit",opacity:.6,[`&.${_M.selected}`]:{opacity:1},[`&.${_M.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${_M.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${_M.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${_M.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${_M.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})));const DM=Ge.exports.createContext();rg("MuiTable",["root","stickyHeader"]),VS("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>Dp({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":Dp({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})));const $M=Ge.exports.createContext();function qM(e){return ng("MuiTableCell",e)}rg("MuiTableBody",["root"]),VS("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"});const jM=rg("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),FM=["align","className","component","padding","scope","size","sortDirection","variant"],BM=VS("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${Lh(n.size)}`],"normal"!==n.padding&&t[`padding${Lh(n.padding)}`],"inherit"!==n.align&&t[`align${Lh(n.align)}`],n.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>Dp({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid\n ${"light"===e.palette.mode?nb(eb(e.palette.divider,1),.88):tb(eb(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},"head"===t.variant&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},"body"===t.variant&&{color:(e.vars||e).palette.text.primary},"footer"===t.variant&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},"small"===t.size&&{padding:"6px 16px",[`&.${jM.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===t.padding&&{width:48,padding:"0 0 0 4px"},"none"===t.padding&&{padding:0},"left"===t.align&&{textAlign:"left"},"center"===t.align&&{textAlign:"center"},"right"===t.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===t.align&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}))),WM=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiTableCell"}),{align:r="inherit",className:o,component:a,padding:i,scope:l,size:s,sortDirection:c,variant:u}=n,d=$p(n,FM),p=Ge.exports.useContext(DM),f=Ge.exports.useContext($M),m=f&&"head"===f.variant;let h;h=a||(m?"th":"td");let g=l;!g&&m&&(g="col");const v=u||f&&f.variant,b=Dp({},n,{align:r,component:h,padding:i||(p&&p.padding?p.padding:"normal"),size:s||(p&&p.size?p.size:"medium"),sortDirection:c,stickyHeader:"head"===v&&p&&p.stickyHeader,variant:v}),y=(e=>{const{classes:t,variant:n,align:r,padding:o,size:a,stickyHeader:i}=e;return Qh({root:["root",n,i&&"stickyHeader","inherit"!==r&&`align${Lh(r)}`,"normal"!==o&&`padding${Lh(o)}`,`size${Lh(a)}`]},qM,t)})(b);let x=null;return c&&(x="asc"===c?"ascending":"descending"),uh.exports.jsx(BM,Dp({as:h,ref:t,className:KS(y.root,o),"aria-sort":x,scope:g,ownerState:b},d))}));function HM(e){return ng("MuiToolbar",e)}rg("MuiTableContainer",["root"]),VS("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),rg("MuiTableFooter",["root"]),VS("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),rg("MuiTableHead",["root"]),VS("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),rg("MuiToolbar",["root","gutters","regular","dense"]);const UM=["className","component","disableGutters","variant"],VM=VS("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})((({theme:e,ownerState:t})=>Dp({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},"dense"===t.variant&&{minHeight:48})),(({theme:e,ownerState:t})=>"regular"===t.variant&&e.mixins.toolbar)),GM=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiToolbar"}),{className:r,component:o="div",disableGutters:a=!1,variant:i="regular"}=n,l=$p(n,UM),s=Dp({},n,{component:o,disableGutters:a,variant:i}),c=(e=>{const{classes:t,disableGutters:n,variant:r}=e;return Qh({root:["root",!n&&"gutters",r]},HM,t)})(s);return uh.exports.jsx(VM,Dp({as:o,className:KS(c.root,r),ref:t,ownerState:s},l))}));ck(uh.exports.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),ck(uh.exports.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");const KM=rg("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);VS(WM,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),VS(GM,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>Dp({[`& .${KM.actions}`]:t.actions},t.toolbar)})((({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${KM.actions}`]:{flexShrink:0,marginLeft:20}}))),VS("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),VS("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})((({theme:e})=>Dp({},e.typography.body2,{flexShrink:0}))),VS(YI,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>Dp({[`& .${KM.selectIcon}`]:t.selectIcon,[`& .${KM.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${KM.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),VS(XO,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),VS("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})((({theme:e})=>Dp({},e.typography.body2,{flexShrink:0})));const XM=rg("MuiTableRow",["root","selected","hover","head","footer"]);VS("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})((({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${XM.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${XM.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:eb(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:eb(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),ck(uh.exports.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");const ZM=rg("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc"]);VS(tC,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.active&&t.active]}})((({theme:e})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(e.vars||e).palette.text.secondary},"&:hover":{color:(e.vars||e).palette.text.secondary,[`& .${ZM.icon}`]:{opacity:.5}},[`&.${ZM.active}`]:{color:(e.vars||e).palette.text.primary,[`& .${ZM.icon}`]:{opacity:1,color:(e.vars||e).palette.text.secondary}}}))),VS("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,t[`iconDirection${Lh(n.direction)}`]]}})((({theme:e,ownerState:t})=>Dp({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none"},"desc"===t.direction&&{transform:"rotate(0deg)"},"asc"===t.direction&&{transform:"rotate(180deg)"})));const YM=["onChange"],QM={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};const JM=rg("MuiTabScrollButton",["root","vertical","horizontal","disabled"]);VS(tC,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})((({ownerState:e})=>Dp({width:40,flexShrink:0,opacity:.8,[`&.${JM.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})));const eT=rg("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]);VS("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${eT.scrollButtons}`]:t.scrollButtons},{[`& .${eT.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})((({ownerState:e,theme:t})=>Dp({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${eT.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}))),VS("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})((({ownerState:e})=>Dp({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"}))),VS("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})((({ownerState:e})=>Dp({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"}))),VS("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})((({ownerState:e,theme:t})=>Dp({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0}))),VS((function(e){const{onChange:t}=e,n=$p(e,YM),r=Ge.exports.useRef(),o=Ge.exports.useRef(null),a=()=>{r.current=o.current.offsetHeight-o.current.clientHeight};return Ge.exports.useEffect((()=>{const e=Ih((()=>{const e=r.current;a(),e!==r.current&&t(r.current)})),n=Ph(o.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}}),[t]),Ge.exports.useEffect((()=>{a(),t(r.current)}),[t]),uh.exports.jsx("div",Dp({style:QM,ref:o},n))}),{name:"MuiTabs",slot:"ScrollbarSize"})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),rg("MuiTextField",["root"]),VS(jR,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({});const tT=rg("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge"]);VS(tC,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`size${Lh(n.size)}`]]}})((({theme:e,ownerState:t})=>{let n,r="standard"===t.color?e.palette.text.primary:e.palette[t.color].main;return e.vars&&(r="standard"===t.color?e.vars.palette.text.primary:e.vars.palette[t.color].main,n="standard"===t.color?e.vars.palette.text.primaryChannel:e.vars.palette[t.color].mainChannel),Dp({},e.typography.button,{borderRadius:(e.vars||e).shape.borderRadius,padding:11,border:`1px solid ${(e.vars||e).palette.divider}`,color:(e.vars||e).palette.action.active},t.fullWidth&&{width:"100%"},{[`&.${tT.disabled}`]:{color:(e.vars||e).palette.action.disabled,border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:eb(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${tT.selected}`]:{color:r,backgroundColor:e.vars?`rgba(${n} / ${e.vars.palette.action.selectedOpacity})`:eb(r,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${n} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:eb(r,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${n} / ${e.vars.palette.action.selectedOpacity})`:eb(r,e.palette.action.selectedOpacity)}}}},"small"===t.size&&{padding:7,fontSize:e.typography.pxToRem(13)},"large"===t.size&&{padding:15,fontSize:e.typography.pxToRem(15)})}));const nT=rg("MuiToggleButtonGroup",["root","selected","vertical","disabled","grouped","groupedHorizontal","groupedVertical"]);function rT(){const[e,t]=Ge.exports.useState(),[n,r]=Ge.exports.useState(),o=Ge.exports.useCallback((e=>{e&&t(e)}),[]),a=()=>{const{left:t,top:n,width:o,height:a}=e.getBoundingClientRect();r({left:t,top:n,width:o,height:a})};return Ge.exports.useLayoutEffect((()=>{if(e){if("function"==typeof ResizeObserver){let t=new ResizeObserver(a);return t.observe(e),()=>{t.unobserve(e),t.disconnect(e),t=null}}return a(),window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a)}}}),[e]),[o,n,e]}function oT(e){return"large"===e?"20px":"small"===e?"12px":"16px"}function aT(e){let{size:t,style:n={},viewBox:r="0 0 16 16",shapes:a=[]}=e;const l=o({fontSize:oT(t),display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},n);return Ot.createElement("i",{style:l},Ot.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:r,fill:"currentColor"},a.map(((e,t)=>{let{type:n,attrs:r}=e;return Ot.createElement(n,i({key:t},r))}))))}VS("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${nT.grouped}`]:t.grouped},{[`& .${nT.grouped}`]:t[`grouped${Lh(n.orientation)}`]},t.root,"vertical"===n.orientation&&t.vertical,n.fullWidth&&t.fullWidth]}})((({ownerState:e,theme:t})=>Dp({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius},"vertical"===e.orientation&&{flexDirection:"column"},e.fullWidth&&{width:"100%"},{[`& .${nT.grouped}`]:Dp({},"horizontal"===e.orientation?{"&:not(:first-of-type)":{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-of-type)":{borderTopRightRadius:0,borderBottomRightRadius:0},[`&.${nT.selected} + .${nT.grouped}.${nT.selected}`]:{borderLeft:0,marginLeft:0}}:{"&:not(:first-of-type)":{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},"&:not(:last-of-type)":{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`&.${nT.selected} + .${nT.grouped}.${nT.selected}`]:{borderTop:0,marginTop:0}})})));var iT=e=>aT((e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M9.41421356,8 L11.8890873,5.52512627 C12.065864,5.34834957 12.0305087,4.95944084 11.8183766,4.74730881 L11.2526912,4.18162338 C11.0405592,3.96949135 10.6516504,3.93413601 10.4748737,4.1109127 L8,6.58578644 L5.52512627,4.1109127 C5.34834957,3.93413601 4.95944084,3.96949135 4.74730881,4.18162338 L4.25233406,4.67659813 C3.96949135,4.95944084 3.93413601,5.34834957 4.1109127,5.52512627 L6.58578644,8 L4.1109127,10.4748737 C3.93413601,10.6516504 3.96949135,11.0405592 4.18162338,11.2526912 L4.67659813,11.7476659 C4.95944084,12.0305087 5.34834957,12.065864 5.52512627,11.8890873 L8,9.41421356 L10.4748737,11.8890873 C10.6516504,12.065864 11.0405592,12.0305087 11.2526912,11.8183766 L11.8183766,11.2526912 C12.0305087,11.0405592 12.065864,10.6516504 11.8890873,10.4748737 L9.41421356,8 Z M8,0 C12.4,0 16,3.6 16,8 C16,12.4 12.4,16 8,16 C3.6,16 0,12.4 0,8 C0,3.6 3.6,0 8,0 Z"}}]}))(e));var lT=e=>aT((e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M13,7 L8,7 L13,7 L13,4.98151367 C13,2.23029964 10.7614237,0 8,0 C5.23857625,0 3,2.23029964 3,4.98151367 L3,7 L3.75,7 L3,7 L4.5,7 L4.5,5.33193359 C4.5,3.21561511 5.54860291,1.5 8,1.5 C10.4513971,1.5 11.5,3.21561511 11.5,5.33193359 L11.5,7 L12.25,7 L3,7 C2.44771525,7 2,7.44771525 2,8 L2,15 C2,15.5522847 2.44771525,16 3,16 L13,16 C13.5522847,16 14,15.5522847 14,15 L14,8 C14,7.44771525 13.5522847,7 13,7 L3,7 L13,7 Z"}}]}))(e));var sT=e=>aT((e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M2.5,7 L11,7 C11.5522847,7 12,7.44771525 12,8 L12,15 C12,15.5522847 11.5522847,16 11,16 L1,16 C0.44771525,16 0,15.5522847 0,15 L0,8 C0,7.44771525 0.44771525,7 1,7 L1,4.98151367 C1,2.23029964 3.23857625,0 6,0 C8.4241995,0 10.4454541,1.71883353 10.9029715,4 L9.34209114,4 C8.9671727,2.54028848 7.9088888,1.5 6,1.5 C3.54860291,1.5 2.5,3.21561511 2.5,5.33193359 L2.5,7 Z"}}]}))(e)),cT=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function uT(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||cT(r)&&cT(o)))return!1;var r,o;return!0}function dT(e,t){var n;void 0===t&&(t=uT);var r,o=[],a=!1;return function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return a&&n===this&&t(i,o)||(r=e.apply(this,i),a=!0,n=this,o=i),r}}var pT="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function fT(e){cancelAnimationFrame(e.id)}var mT=null;function hT(e){if(void 0===e&&(e=!1),null===mT||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?mT="positive-descending":(t.scrollLeft=1,mT=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),mT}return mT}var gT=function(e,t){return e};function vT(e){var t,n=e.getItemOffset,r=e.getEstimatedTotalSize,o=e.getItemSize,a=e.getOffsetForIndexAndAlignment,i=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,s=e.initInstanceProps,c=e.shouldResetStyleCacheOnItemSizeChange,u=e.validateProps;return t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=s(r.props,Cw(r)),r._outerRef=void 0,r._resetIsScrollingTimeoutId=null,r.state={instance:Cw(r),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof r.props.initialScrollOffset?r.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},r._callOnItemsRendered=void 0,r._callOnItemsRendered=dT((function(e,t,n,o){return r.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:n,visibleStopIndex:o})})),r._callOnScroll=void 0,r._callOnScroll=dT((function(e,t,n){return r.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:n})})),r._getItemStyle=void 0,r._getItemStyle=function(e){var t,a=r.props,i=a.direction,l=a.itemSize,s=a.layout,u=r._getItemStyleCache(c&&l,c&&s,c&&i);if(u.hasOwnProperty(e))t=u[e];else{var d=n(r.props,e,r._instanceProps),p=o(r.props,e,r._instanceProps),f="horizontal"===i||"horizontal"===s,m="rtl"===i,h=f?d:0;u[e]=t={position:"absolute",left:m?void 0:h,right:m?h:void 0,top:f?0:d,height:f?"100%":p,width:f?p:"100%"}}return t},r._getItemStyleCache=void 0,r._getItemStyleCache=dT((function(e,t,n){return{}})),r._onScrollHorizontal=function(e){var t=e.currentTarget,n=t.clientWidth,o=t.scrollLeft,a=t.scrollWidth;r.setState((function(e){if(e.scrollOffset===o)return null;var t=r.props.direction,i=o;if("rtl"===t)switch(hT()){case"negative":i=-o;break;case"positive-descending":i=a-n-o}return i=Math.max(0,Math.min(i,a-n)),{isScrolling:!0,scrollDirection:e.scrollOffset<o?"forward":"backward",scrollOffset:i,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._onScrollVertical=function(e){var t=e.currentTarget,n=t.clientHeight,o=t.scrollHeight,a=t.scrollTop;r.setState((function(e){if(e.scrollOffset===a)return null;var t=Math.max(0,Math.min(a,o-n));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._outerRefSetter=function(e){var t=r.props.outerRef;r._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&fT(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=function(e,t){var n=pT(),r={id:requestAnimationFrame((function o(){pT()-n>=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1,null)}))},r}sw(t,e),t.getDerivedStateFromProps=function(e,t){return bT(e,t),u(e),null};var d=t.prototype;return d.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},d.scrollToItem=function(e,t){void 0===t&&(t="auto");var n=this.props.itemCount,r=this.state.scrollOffset;e=Math.max(0,Math.min(e,n-1)),this.scrollTo(a(this.props,e,t,r,this._instanceProps))},d.componentDidMount=function(){var e=this.props,t=e.direction,n=e.initialScrollOffset,r=e.layout;if("number"==typeof n&&null!=this._outerRef){var o=this._outerRef;"horizontal"===t||"horizontal"===r?o.scrollLeft=n:o.scrollTop=n}this._callPropsCallbacks()},d.componentDidUpdate=function(){var e=this.props,t=e.direction,n=e.layout,r=this.state,o=r.scrollOffset;if(r.scrollUpdateWasRequested&&null!=this._outerRef){var a=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(hT()){case"negative":a.scrollLeft=-o;break;case"positive-ascending":a.scrollLeft=o;break;default:var i=a.clientWidth,l=a.scrollWidth;a.scrollLeft=l-i-o}else a.scrollLeft=o;else a.scrollTop=o}this._callPropsCallbacks()},d.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&fT(this._resetIsScrollingTimeoutId)},d.render=function(){var e=this.props,t=e.children,n=e.className,o=e.direction,a=e.height,i=e.innerRef,l=e.innerElementType,s=e.innerTagName,c=e.itemCount,u=e.itemData,d=e.itemKey,p=void 0===d?gT:d,f=e.layout,m=e.outerElementType,h=e.outerTagName,g=e.style,v=e.useIsScrolling,b=e.width,y=this.state.isScrolling,x="horizontal"===o||"horizontal"===f,S=x?this._onScrollHorizontal:this._onScrollVertical,w=this._getRangeToRender(),C=w[0],k=w[1],E=[];if(c>0)for(var R=C;R<=k;R++)E.push(Ge.exports.createElement(t,{data:u,key:p(R,u),index:R,isScrolling:v?y:void 0,style:this._getItemStyle(R)}));var L=r(this.props,this._instanceProps);return Ge.exports.createElement(m||h||"div",{className:n,onScroll:S,ref:this._outerRefSetter,style:aw({position:"relative",height:a,width:b,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},g)},Ge.exports.createElement(l||s||"div",{children:E,ref:i,style:{height:x?"100%":L,pointerEvents:y?"none":void 0,width:x?L:"100%"}}))},d._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],o=e[3];this._callOnItemsRendered(t,n,r,o)}if("function"==typeof this.props.onScroll){var a=this.state,i=a.scrollDirection,l=a.scrollOffset,s=a.scrollUpdateWasRequested;this._callOnScroll(i,l,s)}},d._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,a=r.scrollDirection,s=r.scrollOffset;if(0===t)return[0,0,0,0];var c=i(this.props,s,this._instanceProps),u=l(this.props,c,s,this._instanceProps),d=o&&"backward"!==a?1:Math.max(1,n),p=o&&"forward"!==a?1:Math.max(1,n);return[Math.max(0,c-d),Math.max(0,Math.min(t-1,u+p)),c,u]},t}(Ge.exports.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var bT=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},yT=vT({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,n,r){var o=e.direction,a=e.height,i=e.itemCount,l=e.itemSize,s=e.layout,c=e.width,u="horizontal"===o||"horizontal"===s?c:a,d=Math.max(0,i*l-u),p=Math.min(d,t*l),f=Math.max(0,t*l-u+l);switch("smart"===n&&(n=r>=f-u&&r<=p+u?"auto":"center"),n){case"start":return p;case"end":return f;case"center":var m=Math.round(f+(p-f)/2);return m<Math.ceil(u/2)?0:m>d+Math.floor(u/2)?d:m;default:return r>=f&&r<=p?r:r<f?f:p}},getStartIndexForOffset:function(e,t){var n=e.itemCount,r=e.itemSize;return Math.max(0,Math.min(n-1,Math.floor(t/r)))},getStopIndexForStartIndex:function(e,t,n){var r=e.direction,o=e.height,a=e.itemCount,i=e.itemSize,l=e.layout,s=e.width,c=t*i,u="horizontal"===r||"horizontal"===l?s:o,d=Math.ceil((u+n-c)/i);return Math.max(0,Math.min(a-1,t+d-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}});var xT=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},ST=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),wT=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},CT=function(e){function t(){var e,n,r;xT(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=wT(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r._lastRenderedStartIndex=-1,r._lastRenderedStopIndex=-1,r._memoizedUnloadedRanges=[],r._onItemsRendered=function(e){var t=e.visibleStartIndex,n=e.visibleStopIndex;r._lastRenderedStartIndex=t,r._lastRenderedStopIndex=n,r._ensureRowsLoaded(t,n)},r._setRef=function(e){r._listRef=e},wT(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),ST(t,[{key:"resetloadMoreItemsCache",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._memoizedUnloadedRanges=[],e&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){return(0,this.props.children)({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(e,t){var n=this.props,r=n.isItemLoaded,o=n.itemCount,a=n.minimumBatchSize,i=void 0===a?10:a,l=n.threshold,s=void 0===l?15:l,c=function(e){for(var t=e.isItemLoaded,n=e.itemCount,r=e.minimumBatchSize,o=e.startIndex,a=e.stopIndex,i=[],l=null,s=null,c=o;c<=a;c++)t(c)?null!==s&&(i.push(l,s),l=s=null):(s=c,null===l&&(l=c));if(null!==s){for(var u=Math.min(Math.max(s,l+r-1),n-1),d=s+1;d<=u&&!t(d);d++)s=d;i.push(l,s)}if(i.length)for(;i[1]-i[0]+1<r&&i[0]>0;){var p=i[0]-1;if(t(p))break;i[0]=p}return i}({isItemLoaded:r,itemCount:o,minimumBatchSize:i,startIndex:Math.max(0,e-s),stopIndex:Math.min(o-1,t+s)});(this._memoizedUnloadedRanges.length!==c.length||this._memoizedUnloadedRanges.some((function(e,t){return c[t]!==e})))&&(this._memoizedUnloadedRanges=c,this._loadUnloadedRanges(c))}},{key:"_loadUnloadedRanges",value:function(e){for(var t=this,n=this.props.loadMoreItems||this.props.loadMoreRows,r=function(r){var o=e[r],a=e[r+1],i=n(o,a);null!=i&&i.then((function(){if(function(e){var t=e.lastRenderedStartIndex,n=e.lastRenderedStopIndex,r=e.startIndex,o=e.stopIndex;return!(r>n||o<t)}({lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:o,stopIndex:a})){if(null==t._listRef)return;"function"==typeof t._listRef.resetAfterIndex?t._listRef.resetAfterIndex(o,!0):("function"==typeof t._listRef._getItemStyleCache&&t._listRef._getItemStyleCache(-1),t._listRef.forceUpdate())}}))},o=0;o<e.length;o+=2)r(o)}}]),t}(Ge.exports.PureComponent);const kT=["S","XS"],ET=e=>e.reduce(((e,t)=>e.concat(t)));function RT(e){return kT.includes(e)}function LT(e){return Array.isArray(e)?Array.from(new Set(e)):void 0}async function OT(e){let{selections:t,elemNumbers:n,isSingleSelect:r=!1}=e,o=Promise.resolve(!1);if(!n.some((e=>Number.isNaN(e)))){const e=n;o=t.select({method:"selectListObjectValues",params:["/qListObjectDef",e,!r]}).then((e=>!1!==e)).catch((()=>!1))}return o}function IT(e,t){if(!e)return[];if(e.length<=1)return e;const{min:n,max:r}=function(e,t){let n=1/0,r=-1/0;return e.forEach((e=>{const o=t.indexOf(e);n=o<n?o:n,r=o>r?o:r})),{min:n,max:r}}(e,t);return t.slice(n,r+1)}function MT(e){let{layout:t,selections:n,pages:r=[],checkboxes:a=!1,selectDisabled:i,doc:l=document,isSingleSelect:s=!1}=e;const[c,u]=Ge.exports.useState(r),[d,p]=Ge.exports.useState(!1),[f,m]=Ge.exports.useState(!1),[h,g]=Ge.exports.useState(s),[v,b]=Ge.exports.useState([]),[y,x]=Ge.exports.useState(!1),[S,w]=Ge.exports.useState([]),C=function(e){if(!e||!e.length)return[];const t=e.map((e=>{const t=e.qMatrix.map((e=>{const[{qElemNumber:t}]=e;return t}));return t}));return ET(t)}(r);Ge.exports.useEffect((()=>{g(s)}),[s]);const k=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(i())return;m(!0);const r=t?e.filter((e=>!v.includes(e))):e;await OT({selections:n,elemNumbers:r,isSingleSelect:h}),m(!1),w([])},E=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];i()||w((n=>{const r=LT([...n,...e]),o=t?r.filter((e=>!v.includes(e))):r;return t?IT(r,C):o}))},R=e=>{(e.ctrlKey||e.metaKey)&&(g(!0),e.currentTarget.focus(),e.preventDefault())},L=Ge.exports.useCallback((e=>{if(f||i())return;const t=+e.currentTarget.getAttribute("data-n");w([t]),R(e)}),[f,i]),O=Ge.exports.useCallback((e=>{if(f||i())return;x(!1),p(!0);const t=+e.currentTarget.getAttribute("data-n");w([t]),R(e)}),[f,i]),I=Ge.exports.useCallback((e=>{const t=+e.currentTarget.getAttribute("data-n");h||!d||f||1===S.length&&S[0]===t||E([t])}),[d,f,S,v,y,i]),M=Ge.exports.useCallback((()=>{p(!1),m(!1),x(!1),g(s)}),[s]),T=Ge.exports.useCallback((e=>{if(h||!d||f||i())return;x(!0);const t=+e.currentTarget.getAttribute("data-n");E([t],!0)}),[d,f,y,S,v,i,t&&t.qListObject.qDimensionInfo.qIsOneAndOnlyOne]);Ge.exports.useEffect((()=>{const e=!d;S&&S.length&&!f&&e&&t&&k(S,y)}),[S,d,i()]),Ge.exports.useEffect((()=>(l.addEventListener("mouseup",M),()=>{l.removeEventListener("mouseup",M)})),[M]),Ge.exports.useEffect((()=>{if(f||d)return;const e=function(e){if(!e||!e.length)return[];const t=e.map((e=>{const t=e.qMatrix.map((e=>{const[t]=e;return!!RT(t.qState)&&t.qElemNumber}));return t.filter((e=>!1!==e))}));return ET(t)}(r);b(e)}),[r]),Ge.exports.useEffect((()=>{if(f||!r||!a&&!d)return;const e=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=e=>t.length<=1&&RT(e)?"A":"S",a=e.map((e=>{const a=e.qMatrix.map((e=>{const[a]=e,i=t.includes(a.qElemNumber);let l;return l=n?i?"S":"A":i?r(a.qState):a.qState,[o(o({},a),{},{qState:l}),e.slice(1)]}));return o(o({},e),{},{qMatrix:a})}));return a}(r,S,h);u(e)}),[S]);const P={};return a?Object.assign(P,{onClick:L}):Object.assign(P,{onMouseUp:I,onMouseDown:O,onMouseEnter:T}),{instantPages:c,interactionEvents:P,select:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];x(!1),p(!0),E(e,t||y);const n=k(e,t||y);return p(!1),n}}}const TT=e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z"}}]});var PT=e=>aT(TT(e));const NT="ListBoxCheckbox",zT={cbIcon:"".concat(NT,"-cbIcon"),cbIconChecked:"".concat(NT,"-cbIconChecked"),cbIconExcluded:"".concat(NT,"-cbIconExcluded"),cbIconAlternative:"".concat(NT,"-cbIconAlternative"),checkbox:"".concat(NT,"-checkbox"),dense:"".concat(NT,"-dense")},AT=VS(eR)((e=>{let{theme:t}=e;return{["& .".concat(zT.cbIcon)]:{borderRadius:3,width:16,height:16,boxShadow:"inset 0 0 0 1px rgba(16,22,26,.2), inset 0 -1px 0 rgba(16,22,26,.1)",backgroundColor:"#f5f8fa",backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.8),hsla(0,0%,100%,0))",display:"flex",alignItems:"center",justifyContent:"center"},["& .".concat(zT.cbIconChecked)]:{borderRadius:3,backgroundColor:t.palette.selected.main,backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,0))","&:before":{display:"block",width:16,height:16,backgroundImage:"url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 5c-.28 0-.53.11-.71.29L7 9.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0012 5z' fill='%23fff'/%3E%3C/svg%3E\")",content:'""'}},["& .".concat(zT.cbIconExcluded)]:{borderRadius:2,width:12,height:12,backgroundColor:t.palette.selected.excluded},["& .".concat(zT.cbIconAlternative)]:{borderRadius:2,width:12,height:12,backgroundColor:t.palette.selected.alternative},["&.".concat(zT.checkbox)]:{margin:0,"&:hover":{backgroundColor:"inherit !important"}},["&.".concat(zT.dense)]:{padding:"4px 8px"}}})),_T=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Ot.createElement("span",{className:e.cbIcon},n&&Ot.createElement("span",{className:t&&n?e.cbIconExcluded:""}))};function DT(e){let{checked:t,label:n,dense:r,excluded:o,showGray:a=!0}=e;return Ot.createElement(AT,{edge:"start",checked:t,disableRipple:!0,className:[zT.checkbox,r&&zT.dense].filter(Boolean).join(" "),inputProps:{"aria-labelledby":n},name:n,icon:_T(zT,a,o),checkedIcon:Ot.createElement("span",{className:zT.cbIconChecked})})}const $T="ListBoxRadioButton",qT={denseRadioButton:"".concat($T,"-denseRadioButton"),radioButton:"".concat($T,"-radioButton")},jT=VS(PI)((()=>({["&.".concat(qT.radioButton)]:{right:"5px"}})));function FT(e){let{checked:t,label:n,dense:r}=e;return Ot.createElement(jT,{checked:t,value:n,name:n,className:qT.radioButton,style:{backgroundColor:"transparent"},disableRipple:!0,size:r?"small":"medium",sx:r&&{padding:"0px 0px 0px 12px"}})}const BT=Object.freeze({ENTER:13,ESCAPE:27,SPACE:32,TAB:9,BACKSPACE:8,DELETE:46,ALT:18,CTRL:17,SHIFT:16,ARROW_UP:38,ARROW_DOWN:40,ARROW_LEFT:37,ARROW_RIGHT:39,PAGE_DOWN:34,PAGE_UP:33,HOME:36,END:35,F10:121,A:65,F:70,ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,SUBTRACTION:189,DECIMAL:190,NUMPAD_DECIMAL:110,isArrow:e=>e===BT.ARROW_UP||e===BT.ARROW_DOWN||e===BT.ARROW_LEFT||e===BT.ARROW_RIGHT});function WT(e){let{setKeyboardActive:t}=e;return e=>{const{keyCode:n}=e.nativeEvent;switch(n){case BT.ENTER:case BT.SPACE:(e=>{const n=e.querySelector(".search input, .value.selector, .value");t(!0),n&&n.focus()})(e.currentTarget);break;case BT.ESCAPE:r=e.currentTarget,t(!1),r.focus();break;default:return}var r;e.preventDefault()}}const HT="RowColumn",UT={row:"".concat(HT,"-row"),rowBorderBottom:"".concat(HT,"-rowBorderBottom"),column:"".concat(HT,"-column"),fieldRoot:"".concat(HT,"-fieldRoot"),cell:"".concat(HT,"-cell"),labelText:"".concat(HT,"-labelText"),labelDense:"".concat(HT,"-labelDense"),highlighted:"".concat(HT,"-highlighted"),checkboxLabel:"".concat(HT,"-checkboxLabel"),icon:"".concat(HT,"-icon"),S:"".concat(HT,"-S"),XS:"".concat(HT,"-XS"),A:"".concat(HT,"-A"),X:"".concat(HT,"-X"),frequencyCount:"".concat(HT,"-frequencyCount"),barContainer:"".concat(HT,"-barContainer"),bar:"".concat(HT,"-bar"),barSelected:"".concat(HT,"-barSelected"),barWithCheckbox:"".concat(HT,"-barWithCheckbox"),barSelectedWithCheckbox:"".concat(HT,"-barSelectedWithCheckbox"),excludedTextWithCheckbox:"".concat(HT,"-excludedTextWithCheckbox")},VT={width:"100%",overflow:"hidden",textOverflow:"ellipsis"},GT=e=>{let{theme:t}=e;return{background:t.palette.selected.main,color:t.palette.selected.mainContrastText,"&:focus":{boxShadow:"inset 0 0 0 2px rgba(0, 0, 0, 0.3)",outline:"none"},"& $cell":{paddingRight:0}}},KT=VS("div")((e=>{let{theme:t}=e;return{["& .".concat(UT.row)]:{flexWrap:"nowrap",color:t.palette.text.primary},["& .".concat(UT.rowBorderBottom)]:{borderBottom:"1px solid ".concat(t.palette.divider)},["& .".concat(UT.column)]:{flexWrap:"nowrap",borderRight:"1px solid ".concat(t.palette.divider),color:t.palette.text.primary},["& .".concat(UT.fieldRoot)]:{"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(t.palette.custom.focusBorder," !important")},"&:focus-visible":{outline:"none"}},["& .".concat(UT.cell)]:{display:"flex",alignItems:"center",minWidth:0,flexGrow:1,paddingLeft:"9px",paddingRight:"9px"},["& .".concat(UT.labelText)]:o({flexBasis:"max-content",lineHeight:"16px",userSelect:"none",whiteSpace:"pre"},VT),["& .".concat(UT.labelDense)]:{fontSize:12},["& .".concat(UT.highlighted)]:{overflow:"visible",width:"100%","& > span":{width:"100%",backgroundColor:"#FFC72A"}},["& .".concat(UT.checkboxLabel)]:{margin:0,width:"100%",height:"100%","& > span:nth-child(1)":{paddingRight:"8px"},"& > span:nth-child(2)":o(o({},VT),{},{display:"flex",alignItems:"center",paddingLeft:0})},["& .".concat(UT.icon)]:{display:"flex",padding:t.spacing(1,1,1,0)},["& .".concat(UT.S)]:o({},GT({theme:t})),["& .".concat(UT.XS)]:o(o({},GT({theme:t})),{},{background:t.palette.selected.excluded,color:t.palette.selected.mainContrastText}),["& .".concat(UT.A)]:{background:t.palette.selected.alternative,color:t.palette.selected.alternativeContrastText},["& .".concat(UT.X)]:{background:t.palette.selected.excluded,color:t.palette.selected.excludedContrastText},["& .".concat(UT.frequencyCount)]:{paddingLeft:"8px",paddingRight:"8px"},["&.".concat(UT.barContainer)]:{height:"100%",display:"inline-block"},["& .".concat(UT.bar)]:{border:"".concat(1,"px solid"),borderColor:"#D9D9D9",height:"16px",position:"absolute",zIndex:"-1",alignSelf:"center",left:"".concat(4,"px"),transition:"width 0.2s",backgroundColor:"#FAFAFA"},["& .".concat(UT.barSelected)]:{opacity:"30%",zIndex:"0",background:t.palette.background.lighter},["& .".concat(UT.barWithCheckbox)]:{left:"".concat(29,"px")},["& .".concat(UT.barSelectedWithCheckbox)]:{background:"#BFE5D0",borderColor:"#BFE5D0"},["& .".concat(UT.excludedTextWithCheckbox)]:{color:"#828282",fontStyle:"italic"}}}));function XT(e){let{index:t,style:n,data:r}=e;const{onClick:o,onMouseDown:a,onMouseUp:i,onMouseEnter:l,pages:s,isLocked:c,column:u=!1,checkboxes:d=!1,dense:p=!1,frequencyMode:f="N",isSingleSelect:m,actions:h,frequencyMax:g="",histogram:v=!1,keyboard:b,showGray:y=!0}=r,x=Ge.exports.useCallback(function(e){let{select:t,confirm:n,cancel:r}=e;const o=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=e&&e.parentElement[t?"nextElementSibling":"previousElementSibling"];return n&&n.querySelector("[role]")};let a=!1;const i=e=>{a=e};return e=>{let l;const{keyCode:s,shiftKey:c=!1}=e.nativeEvent;switch(s){case BT.SHIFT:i(!0);break;case BT.SPACE:t([+e.currentTarget.getAttribute("data-n")]);break;case BT.ARROW_DOWN:case BT.ARROW_RIGHT:l=o(e.currentTarget,!0),c&&l&&(a&&(t([+e.currentTarget.getAttribute("data-n")],!0),i(!1)),t([+l.getAttribute("data-n")],!0));break;case BT.ARROW_UP:case BT.ARROW_LEFT:l=o(e.currentTarget,!1),c&&l&&(a&&(t([+e.currentTarget.getAttribute("data-n")],!0),i(!1)),t([+l.getAttribute("data-n")],!0));break;case BT.ENTER:n();break;case BT.ESCAPE:return void r();default:return}l&&l.focus(),e.preventDefault(),e.stopPropagation()}}(h),[h]),[S,w]=Ge.exports.useState(!1),[C,k]=Ge.exports.useState(),[E,R]=Ge.exports.useState([]);Ge.exports.useEffect((()=>{if(!s)return;let e;const n=s.filter((e=>e.qArea.qTop<=t&&t<e.qArea.qTop+e.qArea.qHeight))[0];if(n){const r=n.qArea;t>=r.qTop&&t<r.qTop+r.qHeight&&([e]=n.qMatrix[t-r.qTop])}k(e)}),[s]);const L=e=>e?"X"===e.qState||"XS"===e.qState||"XL"===e.qState:null,O=e=>e?"A"===e.qState:null;Ge.exports.useEffect((()=>{if(!C)return;const e="S"===C.qState||"XS"===C.qState||"L"===C.qState;w(e);const t=[u?UT.column:UT.row];v&&p||t.push(UT.rowBorderBottom),d||("XS"===C.qState?t.push(y?UT.XS:UT.S):"S"===C.qState||"L"===C.qState?t.push(UT.S):y&&O(C)?t.push(UT.A):y&&L(C)&&t.push(UT.X)),R(t)}),[C&&C.qState]);const I=e=>e.filter((e=>!!e)).join(" ").trim(),M=()=>(O(C)||L(C))&&d,T=e=>{let{lbl:t,ix:n,color:r,highlighted:o=!1}=e;return Ot.createElement(Tk,{component:"span",variant:"body2",key:n,className:I([UT.labelText,o&&UT.highlighted,p&&UT.labelDense,y&&M()&&UT.excludedTextWithCheckbox]),color:r},Ot.createElement("span",{style:{whiteSpace:"pre"}},t))},P=e=>{let{lbl:t,color:n,qElemNumber:r}=e;const o=Ot.createElement(DT,{label:t,checked:S,dense:p,excluded:L(C),showGray:y}),a=Ot.createElement(FT,{label:t,checked:S,dense:p}),i="string"==typeof t?T({lbl:t,color:n,highlighted:!1}):t;return Ot.createElement(UR,{color:n,control:m?a:o,className:UT.checkboxLabel,label:i,key:r})},N=C?C.qText:"",z=()=>C?C.qFrequency?C.qFrequency:"0":"",A=C&&C.qHighlightRanges&&C.qHighlightRanges.qRanges.sort(((e,t)=>e.qCharPos-t.qCharPos))||[],_=function(e,t){if(!t.length)return[];const n=t.reduce(((n,r,o)=>{const a=0===o?0:t[o-1].qCharPos+t[o-1].qCharCount;n.push(...function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const{qCharPos:r,qCharCount:o}=t,a=[];return r>n&&a.push([e.slice(n,r),!1]),a.push([e.slice(r,r+o),!0]),a}(e,r,a));const i=o===t.length-1,l=t[o].qCharPos+t[o].qCharCount;return i&&l<e.length&&n.push([e.slice(l),!1]),n}),[]);return n}(N,A),D=d?P:T,$={alignItems:"center",display:"flex"},q=S&&c,j=!d&&S&&!c,F={display:"flex",alignItems:"center",minWidth:0,flexGrow:1,padding:d?0:void 0},B=0===t;return Ot.createElement(KT,{className:UT.barContainer},Ot.createElement(sL,{container:!0,gap:0,className:I(["value",...E]),classes:{root:UT.fieldRoot},style:n,onClick:o,onMouseDown:a,onMouseUp:i,onMouseEnter:l,onKeyDown:x,onContextMenu:e=>{d&&o(e),e.preventDefault()},role:u?"column":"row",tabIndex:!B||b.enabled&&!b.active?-1:0,"data-n":C&&C.qElemNumber},C&&v&&"0"!==z()&&Ot.createElement("div",{className:I([UT.bar,d&&UT.barWithCheckbox,S&&(d?UT.barSelectedWithCheckbox:UT.barSelected)]),style:{width:(e=>{const t=String(e),n="%"===t.substring(t.length-1),r=parseFloat(n?t:e),o=d?"(".concat(29,"px + ").concat(6,"px)"):"".concat(10,"px");return"calc(".concat(n?r:r/g*100,"% - ").concat(o,")")})(C.qFrequency)}}),Ot.createElement(sL,{item:!0,style:F,className:I([UT.cell,UT.selectedCell]),title:"".concat(N)},0===A.length?D({lbl:N,color:"inherit"}):(e=>{let{lbls:t}=e;const n=t.map(((e,t)=>{let[n,r]=e;return T({ix:t,highlighted:r,lbl:n})}));return d?P({lbl:n}):n})({lbls:_})),"N"!==f&&Ot.createElement(sL,{item:!0,style:{display:"flex",alignItems:"center"},className:UT.frequencyCount},Ot.createElement(Tk,{noWrap:!0,color:"inherit",variant:"body2",className:I([p&&UT.labelDense,UT.labelText,y&&M()&&UT.excludedTextWithCheckbox])},z())),(q||j)&&Ot.createElement(sL,{item:!0,className:UT.icon},q&&Ot.createElement(lT,{style:$,size:"small"}),j&&Ot.createElement(PT,{style:$,size:"small"}))))}const ZT="#BBB",YT="#f1f1f1",QT=100,JT={styledScrollbars:"".concat("ListBox","-styledScrollbars")},eP=VS(yT)((()=>({["&.".concat(JT.styledScrollbars)]:{scrollbarColor:"".concat(ZT," ").concat(YT),"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-track":{backgroundColor:YT},"&::-webkit-scrollbar-thumb":{backgroundColor:ZT,borderRadius:"1rem"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:"#555"}}})));function tP(e){let{model:t,selections:n,direction:r,height:a,width:i,listLayout:l="vertical",frequencyMode:s="N",histogram:c=!1,checkboxes:u=!1,update:d,fetchStart:p,postProcessPages:f,calculatePagesHeight:m=!1,dense:h=!1,keyboard:g={},showGray:v=!0,scrollState:b,sortByState:y,selectDisabled:x=(()=>!1),setCount:S}=e;const[w]=BC(t),C=!(!w||!w.qListObject.qDimensionInfo.qIsOneAndOnlyOne),[k,E]=Ge.exports.useState(null),[R,L]=Ge.exports.useState(!1),{instantPages:O=[],interactionEvents:I,select:M}=MT({layout:w,selections:n,pages:k,checkboxes:u,selectDisabled:x,doc:document,isSingleSelect:C}),T=Ge.exports.useRef(null),P=Ge.exports.useRef({queue:[],validPages:!1}),N=Ge.exports.useRef({pages:[]}),z=Ge.exports.useCallback((e=>{if(!k||!P.current.validPages)return!1;P.current.checkIdx=e;const t=t=>t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight,n=k.filter((e=>t(e)))[0];return n&&t(n)}),[w,k]),A=Ge.exports.useCallback(((e,n)=>{P.current.queue.push({start:e,stop:n});!!T.current&&T.current._listRef.state.isScrolling;return P.current.queue.length>10&&P.current.queue.shift(),clearTimeout(P.current.timeout),L(!0),new Promise((e=>{P.current.timeout=setTimeout((()=>{const n=P.current.queue.slice(-1)[0],r=t.getListObjectData("/qListObjectDef",[{qTop:n.start>QT?n.start-QT:0,qHeight:QT,qLeft:0,qWidth:1},{qTop:n.start,qHeight:QT,qLeft:0,qWidth:1}]).then((t=>{const n=f?f(t):t;P.current.validPages=!0,N.current.pages=n,E(n),L(!1),e()}));p&&p(r)}),0)}))}),[w]),_=()=>{if(P.current.queue=[],P.current.validPages=!1,T.current){if(T.current.resetloadMoreItemsCache(!0),w&&w.qSelectionInfo.qInSelections||0===y)return;T.current._listRef.scrollToItem(0)}};d&&d.call(null,_),Ge.exports.useEffect((()=>{_(),"function"==typeof S&&w&&S(w.qListObject.qSize.qcy)}),[w,w&&w.qListObject.qSize.qcy]),Ge.exports.useEffect((()=>{O&&!R&&E(O)}),[O]);const[D,$]=Ge.exports.useState(!1);if(Ge.exports.useEffect((()=>{b&&!D&&T.current&&(T.current._listRef.scrollToItem(b.initScrollPos),$(!0))}),[T.current]),!w)return null;const q="horizontal"!==l,j=w.qListObject.qSize.qcy,F=k&&k.length&&m?(e=>{const t=e.some((e=>e.qArea.qHeight<QT)),n=Math.max(...e.map((e=>e.qArea.qTop+e.qArea.qHeight)));return t?n:j})(k):j,{itemSize:B,listHeight:W}=function(e){let{isVertical:t,checkboxes:n,dense:r,height:o}=e,a=n?40:33;r&&(a=20);const i=t?a:200;return{itemSize:i,listHeight:o||8*i}}({isVertical:q,checkboxes:u,dense:h,height:a}),H=w&&w.qListObject.qDimensionInfo.qLocked,{frequencyMax:U}=w;return Ot.createElement(CT,{isItemLoaded:z,itemCount:F||1,loadMoreItems:A,threshold:0,minimumBatchSize:QT,ref:T},(e=>{let{onItemsRendered:t,ref:a}=e;return P.current.listRef=a,Ot.createElement(eP,{direction:"rtl"===r?"rtl":"ltr","data-testid":"fixed-size-list",useIsScrolling:!0,height:W,width:i,itemCount:F,layout:l,className:JT.styledScrollbars,itemData:o(o({isLocked:H,column:!q,pages:k},H||x()?{}:I),{},{checkboxes:u,dense:h,frequencyMode:s,isSingleSelect:C,actions:{select:M,confirm:()=>n&&n.confirm.call(n),cancel:()=>n&&n.cancel.call(n)},frequencyMax:U,histogram:c,keyboard:g,showGray:v}),itemSize:B,onItemsRendered:e=>{b&&b.setScrollPos(e.visibleStopIndex),t(o({},e))},ref:a},XT)}))}const nP=e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M15.4,9 C15.8,9 16,9.3 16,9.6 L16,15.4 C16,15.7 15.8,16 15.4,16 L9.6,16 C9.3,16 9,15.8 9,15.4 L9,9.6 C9,9.3 9.3,9 9.6,9 L15.4,9 Z M15,10 L10,10 L10,15 L15,15 L15,10 Z M6.5,0 C6.8,0 7,0.3 7,0.6 L7,6.4 C7,6.8 6.8,7 6.5,7 L0.6,7 C0.3,7 0,6.8 0,6.5 L0,0.6 C0,0.3 0.3,0 0.6,0 L6.5,0 Z M6,2.8 C6.3,2.5 6.3,2.1 6.1,1.8 C5.9,1.5 5.4,1.6 5.1,1.9 L3.1,3.9 L2.4,3.2 C2.1,2.9 1.7,2.9 1.4,3.1 C1.2,3.3 1.2,3.8 1.5,4.1 L2.7,5.3 C3,5.6 3.4,5.6 3.7,5.3 L3.8,5.3 L6,2.8 Z M6.5,9 C6.8,9 7,9.3 7,9.6 L7,15.4 C7,15.8 6.8,16 6.5,16 L0.6,16 C0.3,16 0,15.8 0,15.4 L0,9.6 C0,9.3 0.3,9 0.6,9 L6.5,9 Z M6,11.8 C6.3,11.5 6.3,11.1 6.1,10.8 C5.9,10.6 5.4,10.6 5.1,10.8 L3.1,12.8 L2.3,12 C2,11.7 1.6,11.7 1.3,12 C1.1,12.3 1.1,12.7 1.4,13 L2.6,14.2 C2.9,14.5 3.3,14.5 3.6,14.3 L3.7,14.2 L6,11.8 Z M15.4,0 C15.8,0 16,0.3 16,0.6 L16,6.4 C16,6.8 15.8,7 15.4,7 L9.6,7 C9.3,7 9,6.8 9,6.5 L9,0.6 C9,0.3 9.3,0 9.6,0 L15.4,0 Z M15,2.8 C15.3,2.5 15.3,2.1 15.1,1.8 C14.9,1.5 14.4,1.6 14.1,1.9 L12.1,3.9 L11.3,3.1 C11,2.8 10.6,2.8 10.3,3 C10,3.2 10.1,3.7 10.3,4 L11.5,5.2 C11.8,5.5 12.2,5.5 12.5,5.2 L15,2.8 Z"}}]}),rP=e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),oP=e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),aP=e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]});var iP=e=>{let{layout:t,model:n,translator:r}=e;if(t.qListObject.qDimensionInfo.qIsOneAndOnlyOne)return[];return[{key:"selectAll",type:"menu-icon-button",label:r.get("Selection.SelectAll"),getSvgIconShape:nP,enabled:()=>["qOption","qAlternative","qExcluded","qDeselected"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{n.selectListObjectAll("/qListObjectDef")}},{key:"selectPossible",type:"menu-icon-button",label:r.get("Selection.SelectPossible"),getSvgIconShape:oP,enabled:()=>["qOption"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{n.selectListObjectPossible("/qListObjectDef")}},{key:"selectAlternative",type:"menu-icon-button",label:r.get("Selection.SelectAlternative"),getSvgIconShape:rP,enabled:()=>["qAlternative"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{n.selectListObjectAlternative("/qListObjectDef")}},{key:"selectExcluded",type:"menu-icon-button",label:r.get("Selection.SelectExcluded"),getSvgIconShape:aP,enabled:()=>["qAlternative","qExcluded"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{n.selectListObjectExcluded("/qListObjectDef")}}]};const lP=e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M2,6.5 L3,6.5 C3.55228475,6.5 4,6.94771525 4,7.5 L4,8.5 C4,9.05228475 3.55228475,9.5 3,9.5 L2,9.5 C1.44771525,9.5 1,9.05228475 1,8.5 L1,7.5 C1,6.94771525 1.44771525,6.5 2,6.5 Z M7.5,6.5 L8.5,6.5 C9.05228475,6.5 9.5,6.94771525 9.5,7.5 L9.5,8.5 C9.5,9.05228475 9.05228475,9.5 8.5,9.5 L7.5,9.5 C6.94771525,9.5 6.5,9.05228475 6.5,8.5 L6.5,7.5 C6.5,6.94771525 6.94771525,6.5 7.5,6.5 Z M13,6.5 L14,6.5 C14.5522847,6.5 15,6.94771525 15,7.5 L15,8.5 C15,9.05228475 14.5522847,9.5 14,9.5 L13,9.5 C12.4477153,9.5 12,9.05228475 12,8.5 L12,7.5 C12,6.94771525 12.4477153,6.5 13,6.5 Z"}}]});function sP(e){const t=BS(),n="function"==typeof e.enabled?!e.enabled():!!e.disabled,r="function"==typeof e.getSvgIconShape;return{hidden:!0===e.hidden,disabled:n,style:{backgroundColor:e.active?t.palette.btn.active:void 0},hasSvgIconShape:r}}const cP="njs-cell-action",uP=Ot.forwardRef(((e,t)=>{let{item:n,addAnchor:r=!1}=e;const o=BS(),{hidden:a,disabled:i,style:l,hasSvgIconShape:s}=sP(n);if(a)return null;const c=n.keyboardAction?e=>["Enter"," ","Spacebar"].includes(e.key)&&n.keyboardAction():null;return Ot.createElement(Ek,{ref:r?null:t,title:n.label,onClick:n.action,onKeyDown:c,disabled:i,style:l,className:cP,size:"large"},s&&aT(n.getSvgIconShape()),r&&Ot.createElement("div",{ref:t,style:{bottom:-o.spacing(.5),right:0,position:"absolute",width:"100%",height:0}}))})),dP=e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M9.34535242,8 L13.3273238,11.9819714 C13.6988326,12.3534802 13.6988326,12.955815 13.3273238,13.3273238 C12.955815,13.6988326 12.3534802,13.6988326 11.9819714,13.3273238 L8,9.34535242 L4.01802863,13.3273238 C3.64651982,13.6988326 3.04418502,13.6988326 2.67267621,13.3273238 C2.3011674,12.955815 2.3011674,12.3534802 2.67267621,11.9819714 L6.65464758,8 L2.67267621,4.01802863 C2.3011674,3.64651982 2.3011674,3.04418502 2.67267621,2.67267621 C3.04418502,2.3011674 3.64651982,2.3011674 4.01802863,2.67267621 L8,6.65464758 L11.9819714,2.67267621 C12.3534802,2.3011674 12.955815,2.3011674 13.3273238,2.67267621 C13.6988326,3.04418502 13.6988326,3.64651982 13.3273238,4.01802863 L9.34535242,8 Z"}}]}),pP=e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M9.1661442,6.1661442 C10.7210031,4.61128527 13.2789969,4.61128527 14.8338558,6.1661442 C16.3887147,7.72100313 16.3887147,10.2789969 14.8338558,11.8338558 C13.2789969,13.3887147 10.7210031,13.3887147 9.1661442,11.8338558 C7.61128527,10.2789969 7.61128527,7.77115987 9.1661442,6.1661442 Z M14.1316614,7.72100313 C14.3322884,7.52037618 14.3824451,7.169279 14.1316614,6.9184953 C13.8808777,6.6677116 13.5297806,6.71786834 13.3291536,6.9184953 L12.0250784,8.22257053 L10.7210031,6.9184953 C10.5203762,6.6677116 10.1191223,6.6677116 9.9184953,6.9184953 C9.6677116,7.11912226 9.6677116,7.52037618 9.9184953,7.72100313 L11.2225705,9.02507837 L9.9184953,10.3291536 C9.6677116,10.5297806 9.6677116,10.8808777 9.9184953,11.1316614 C10.169279,11.3824451 10.5203762,11.3824451 10.7210031,11.1316614 L12.0250784,9.82758621 L13.3291536,11.1316614 C13.5297806,11.3824451 13.8808777,11.3824451 14.1316614,11.1316614 C14.3322884,10.9310345 14.3824451,10.5297806 14.1316614,10.3291536 L12.8275862,9.02507837 L14.1316614,7.72100313 Z"}}]});var fP=e=>aT(pP(e));const mP={icon:"".concat("More","-icon")},hP=VS(AO)((e=>{let{theme:t}=e;return{["& .".concat(mP.icon)]:{color:t.palette.text.primary}}}));function gP(e){let{item:t,onActionClick:n=(()=>{})}=e;const{hidden:r,disabled:o,hasSvgIconShape:a}=sP(t);return r?null:Ot.createElement(XO,{title:t.label,onClick:()=>{t.action(),n()},disabled:o},a&&Ot.createElement(bO,{className:mP.icon},aT(t.getSvgIconShape())),Ot.createElement(Tk,{noWrap:!0},t.label))}const vP=Ot.forwardRef(((e,t)=>{let{actions:n=[],show:r=!0,alignTo:a,popoverProps:l={},popoverPaperStyle:s={},onCloseOrActionClick:c=(()=>{})}=e;return n.length>0&&Ot.createElement(hP,i({},l,{onClose:c,ref:t,open:r,anchorEl:a.current,getContentAnchorEl:null,container:a.current,disablePortal:!0,hideBackdrop:!0,style:{pointerEvents:"none"},transitionDuration:0,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{style:o({pointerEvents:"auto",maxWidth:"250px"},s)}}),Ot.createElement(EO,null,n.map(((e,t)=>Ot.createElement(gP,{key:t,item:e,onActionClick:c})))))})),bP="ActionsToolbar",yP={itemSpacing:"".concat(bP,"-itemSpacing"),firstItemSpacing:"".concat(bP,"-firstItemSpacing"),lastItemSpacing:"".concat(bP,"-lastItemSpacing")},xP=VS(AO)((e=>{let{theme:t}=e;return{["& .".concat(yP.itemSpacing)]:{padding:t.spacing(0,.5)},["& .".concat(yP.firstItemSpacing)]:{padding:t.spacing(0,.5,0,0)},["& .".concat(yP.lastItemSpacing)]:{padding:t.spacing(0,0,0,.5)}}})),SP="njs-action-toolbar-popover",wP=Ot.forwardRef(((e,t)=>{let{actions:n=[],first:r=!1,last:o=!1,addAnchor:a=!1}=e;return n.length>0?Ot.createElement(sL,{item:!0,container:!0,gap:0,wrap:"nowrap"},n.map(((e,i)=>{let l=[];const s=r&&0===i,c=o&&n.length-1===i;return s&&!c&&(l=[yP.firstItemSpacing]),c&&!s&&(l=[...l,yP.lastItemSpacing]),s||c||0!==l.length||(l=[yP.itemSpacing]),Ot.createElement(sL,{item:!0,key:e.key,className:l.join(" ").trim()},Ot.createElement(uP,{key:e.key,item:e,ref:0===i?t:null,addAnchor:a}))}))):null})),CP={pointerEvents:"none"},kP={vertical:"top",horizontal:"right"},EP={vertical:"bottom",horizontal:"right"};function RP(e){let{show:t=!0,actions:n=[],maxItems:r=3,selections:o={show:!1,api:null,onConfirm:()=>{},onCancel:()=>{}},more:a={enabled:!1,actions:[],alignTo:null,popoverProps:{},popoverPaperStyle:{}},popover:i={show:!1,anchorEl:null},focusHandler:l=null,actionsRefMock:s=null}=e;const c=function(e){let{api:t,onConfirm:n=(()=>{}),onCancel:r=(()=>{}),onKeyDeactivate:o=(()=>{})}=e;const{translator:a}=Ge.exports.useContext(kC);return[{key:"clear",type:"icon-button",label:a.get("Selection.Clear"),enabled:()=>t.canClear(),action:()=>t.clear(),getSvgIconShape:pP},{key:"cancel",type:"icon-button",label:a.get("Selection.Cancel"),enabled:()=>t.canCancel(),action:()=>{r(),t.cancel()},keyboardAction:e=>{o(e),r(),t.cancel()},getSvgIconShape:dP},{key:"confirm",type:"icon-button",label:a.get("Selection.Confirm"),enabled:()=>t.canConfirm(),action:()=>{n(),t.confirm()},keyboardAction:e=>{o(e),n(),t.confirm()},getSvgIconShape:TT}]}(o),{translator:u,keyboardNavigation:d}=Ge.exports.useContext(kC),[p,f]=Ge.exports.useState(!1),[m,h]=Ge.exports.useState(a.enabled),[g,v]=Ge.exports.useState(a.actions),[b,y]=Ge.exports.useState(a.alignTo),x=Ge.exports.useRef(),S=Ge.exports.useRef(),w=BS(),C=Ge.exports.useMemo((()=>({margin:w.spacing(.5,0)}))),k=e=>{const t=S.current||s;if(!t)return null;const n=t.querySelectorAll("button:not(.Mui-disabled)");return n[e?n.length-1:0]};Ge.exports.useEffect((()=>()=>f(!1)),[i.show]),Ge.exports.useEffect((()=>{h(a.enabled)}),[a.enabled]),Ge.exports.useEffect((()=>{if(!l)return;l.on("focus_toolbar_first",(()=>{const e=k(!1);e&&e.focus()})),l.on("focus_toolbar_last",(()=>{const e=k(!0);e&&e.focus()}))}),[]);const E=Ge.exports.useMemo((()=>n.filter((e=>!e.hidden))),[n]);if(!o.show&&0===E.length)return null;const R={key:"more",label:u.get("Menu.More"),getSvgIconShape:lP,hidden:!1,enabled:()=>m,action:()=>f(!p)};if(E.length>r){const e=E.splice(-(E.length-r)-1);h(!0),v([...e,...a.actions]),y(x)}const L=d&&l&&l.refocusContent?e=>{if("Tab"!==e.key)return;(e.shiftKey&&k(!1)===e.target||!e.shiftKey&&k(!0)===e.target)&&(e.preventDefault(),e.stopPropagation(),l.refocusContent())}:null,O=E.length>0,I=g.length>0,M=O&&o.show||I&&o.show,T=Ot.createElement(sL,{ref:S,onKeyDown:L,container:!0,gap:0,wrap:"nowrap"},O&&Ot.createElement(wP,{actions:E,first:!0,last:!I&&!o.show}),I&&Ot.createElement(wP,{ref:x,actions:[R],first:!O,last:!o.show,addAnchor:!0}),M&&Ot.createElement(sL,{item:!0,className:yP.itemSpacing,style:C},Ot.createElement(RR,{orientation:"vertical"})),o.show&&Ot.createElement(wP,{actions:c,first:!O&&!I,last:!0}),p&&Ot.createElement(vP,{show:p,actions:g,alignTo:b,popoverProps:a.popoverProps,popoverPaperStyle:a.popoverPaperStyle,onCloseOrActionClick:()=>{f(!1)}}));return i.show?Ot.createElement(xP,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:i.show,anchorEl:i.anchorEl,anchorOrigin:kP,transformOrigin:EP,hideBackdrop:!0,style:CP,PaperProps:{className:SP,style:{pointerEvents:"auto",padding:w.spacing(1,1)}}},T):t&&T}var LP=e=>aT((e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M15.7873809,13.80959 C16.1870614,14.209868 15.9872212,15.1104934 15.4876205,15.5107714 C15.08794,15.9110493 14.1886588,16.2112578 13.7889782,15.8109798 L11.0911347,13.1091035 L10.9912145,12.5086866 L10.2917736,11.8082001 C9.19265216,12.5086866 7.89369045,13.0090341 6.49480859,13.0090341 C2.89768383,13.0090341 0,10.1070188 0,6.50451703 C0,2.90201529 2.89768383,0 6.49480859,0 C10.0919334,0 12.9896172,2.90201529 12.9896172,6.50451703 C12.9896172,7.90548992 12.4900165,9.20639333 11.7905756,10.3071577 L12.4900165,11.0076442 L13.0895373,11.1077137 L15.7873809,13.80959 Z M11.2909749,6.50451703 C11.2909749,5.20361362 10.7913743,4.00277971 9.89209309,3.00208478 C8.9928119,2.10145935 7.79377031,1.60111188 6.49480859,1.60111188 C5.19584688,1.60111188 3.99680529,2.10145935 2.99760397,3.00208478 C2.09832278,4.00277971 1.59872212,5.20361362 1.59872212,6.50451703 C1.59872212,7.80542043 2.09832278,9.00625434 2.99760397,9.90687978 C3.89688516,10.8075052 5.09592674,11.3078527 6.49480859,11.3078527 C7.79377031,11.4079222 8.9928119,10.9075747 9.89209309,9.90687978 C10.7913743,9.00625434 11.2909749,7.80542043 11.2909749,6.50451703 Z"}}]}))(e));const OP="/qListObjectDef";function IP(e){let{model:t,keyboard:n,dense:r=!1,visible:o=!0}=e;const{translator:a}=Ge.exports.useContext(kC),[i,l]=Ge.exports.useState(""),[s,c]=Ge.exports.useState(!1),u=BS(),d=async()=>{await t.abortListObjectSearch(OP),c(!1)};Ge.exports.useEffect((()=>{!o&&s&&d()}),[o]);return o?Ot.createElement(gI,{startAdornment:Ot.createElement(IL,{position:"start"},Ot.createElement(LP,{size:r?"small":"normal"})),className:"search",sx:[{border:"none",borderRadius:0,"& fieldset":{border:"1px solid ".concat(u.palette.divider),borderWidth:"1px 0 1px 0",borderRadius:0},"&:hover":{border:"none"}},r&&{fontSize:12,paddingLeft:u.spacing(1),"& input":{paddingTop:"5px",paddingBottom:"5px"}}],size:"small",fullWidth:!0,placeholder:a.get("Listbox.Search"),value:i,onChange:e=>{l(e.target.value),0===e.target.value.length?d():(t.searchListObjectFor(OP,e.target.value),c(!0))},onKeyDown:e=>{switch(e.key){case"Enter":t.acceptListObjectSearch(OP,!0),l("");break;case"Escape":d(),l("")}},inputProps:{tabIndex:!n||n.enabled&&!n.active?-1:0}}):null}function MP(e){return Object.keys(h.prototype).forEach((t=>{e[t]=h.prototype[t]})),h.init(e),e}function TP(e,t){const[n]=nk(e),[r]=BC(t),o=t?t.id:null,[a]=ZC(),[i]=QC(),l=a.get(e.id);let s=i.get(o);return Ge.exports.useEffect((()=>{n&&t&&!s&&(s=function(e){let t,{appSelections:n,appModal:r,model:o}=e,a=!1,i=!1;const l={id:o.id,setLayout(e){t=e},begin(e){const t=(()=>{let e=!1;return{isPrevented:()=>e,preventDefault:()=>{e=!0}}})();return this.emit("activate",t),t.isPrevented()?Promise.resolve():(a=!0,this.emit("activated"),r.begin(o,e,!0))},clear(){return i=!1,this.emit("cleared"),t.qListObject?o.clearSelections("/qListObjectDef"):o.resetMadeSelections()},confirm(){return i=!1,a=!1,this.emit("confirmed"),this.emit("deactivated"),r.end(!0)},cancel(){return i=!1,a=!1,this.emit("canceled"),this.emit("deactivated"),r.end(!1)},async select(e){const t=this.begin([e.params[0]]);if(!n.isModal())return!1;await t;const r=await o[e.method](...e.params);return i="resetMadeSelections"!==e.method,!!r||(o.resetMadeSelections(),!1)},canClear:()=>t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked&&!t.qListObject.qDimensionInfo.qIsOneAndOnlyOne:i,canConfirm:()=>t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked:i,canCancel:()=>!(t&&t.qListObject&&t.qListObject.qDimensionInfo&&t.qListObject.qDimensionInfo.qLocked),isActive:()=>a,isModal:()=>n.isModal(o),goModal:e=>r.begin(o,e,!1),noModal:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return r.end(e)}};return MP(l),l}({appSelections:n,appModal:l,model:t}),i.set(o,s),i.dispatch(!0))}),[n,t]),Ge.exports.useEffect((()=>{s&&s.setLayout(r)}),[s,r]),[s]}function PP(e){let{alignTo:t,show:n,close:r,app:o,fieldName:a,stateName:i="$"}=e;const l=n&&Boolean(t.current),s=BS(),[c]=HC({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:i,qShowAlternatives:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}],qFieldDefs:[a]}}},o,a,i),u=Ge.exports.useCallback((()=>{c.lock("/qListObjectDef")}),[c]),d=Ge.exports.useCallback((()=>{c.unlock("/qListObjectDef")}),[c]),{translator:p}=Ge.exports.useContext(kC),f=Ge.exports.useRef(),[m]=TP(o,c),[h]=BC(c);if(Ge.exports.useEffect((()=>{m&&l&&(m.isModal(c)||m.goModal("/qListObjectDef"))}),[m,l]),!c||!h||!p)return null;const g=!0===h.qListObject.qDimensionInfo.qLocked,v=(e,t)=>{const n="escapeKeyDown"!==t;m.noModal(n),r()},b=iP({layout:h,model:c,translator:p}),y=h.qListObject.qDimensionInfo.qStateCounts,x=y.qSelected+y.qSelectedExcluded+y.qLocked+y.qLockedExcluded>0;return Ot.createElement(AO,{open:l,onClose:v,anchorEl:t.current,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"250px"}}},Ot.createElement(sL,{container:!0,direction:"column",gap:0},Ot.createElement(sL,{item:!0,container:!0,style:{padding:s.spacing(1)}},Ot.createElement(sL,{item:!0},g?Ot.createElement(Ek,{onClick:d,disabled:!g,size:"large"},Ot.createElement(lT,{title:p.get("Listbox.Unlock")})):Ot.createElement(Ek,{onClick:u,disabled:!x,size:"large"},Ot.createElement(sT,{title:p.get("Listbox.Lock")}))),Ot.createElement(sL,{item:!0,xs:!0}),Ot.createElement(sL,{item:!0},Ot.createElement(RP,{more:{enabled:!g,actions:b,alignTo:f,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:!0,api:m,onConfirm:v,onCancel:()=>v(0,"escapeKeyDown")}}))),Ot.createElement(sL,{item:!0,xs:!0},Ot.createElement("div",{ref:f}),Ot.createElement(IP,{model:c,visible:!0}),Ot.createElement(tP,{model:c,selections:m,direction:"ltr"}))))}function NP(e){let{field:t,api:n,stateIx:r=0,skipHandleShowListBoxPopover:o=!1,moreAlignTo:a=null,onClose:i=(()=>{})}=e;const{translator:l}=Ge.exports.useContext(kC),s=a||Ge.exports.useRef(),c=BS(),[u,d]=Ge.exports.useState(!1),p=e=>{e.currentTarget.contains(e.target)&&d(!u)},f=()=>{d(!1),i()},m=t.selections[r];void 0===m.qTotal&&(m.qTotal=0);const h=m.qStateCounts||{qSelected:0,qLocked:0,qExcluded:0,qLockedExcluded:0,qSelectedExcluded:0,qAlternative:0},g=(h.qSelected+h.qLocked)/m.qTotal,v=h.qAlternative/m.qTotal,b=(h.qExcluded+h.qLockedExcluded+h.qSelectedExcluded)/m.qTotal,y=h.qSelected+h.qSelectedExcluded+h.qLocked+h.qLockedExcluded,x=0===y&&0===m.qTotal;let S="";m.qTotal===y&&m.qTotal>1?S=l.get("CurrentSelections.All"):y>1&&m.qTotal?S=l.get("CurrentSelections.Of",[y,m.qTotal]):m.qSelectedFieldSelectionInfo&&(S=m.qSelectedFieldSelectionInfo.map((e=>e.qName)).join(", ")),"$"!==t.states[r]&&(S="".concat(t.states[r],": ").concat(S));const w=[{color:c.palette.selected.main,ratio:g},{color:c.palette.selected.alternative,ratio:v},{color:c.palette.selected.excluded,ratio:b}];w.forEach(((e,t)=>{e.offset=t?w[t-1].offset+w[t-1].ratio:0}));let C=null,k=null,E=null,R=null;return a||(C=Ot.createElement(sL,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:m.qLocked?"0.3":""}},Ot.createElement(Tk,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},m.qField),Ot.createElement(Tk,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},S)),m.qLocked?k=Ot.createElement(sL,{item:!0},Ot.createElement(Ek,{size:"large"},Ot.createElement(lT,null))):m.qOneAndOnlyOne||(k=Ot.createElement(sL,{item:!0},Ot.createElement(Ek,{title:l.get("Selection.Clear"),onClick:e=>{e.stopPropagation(),n.clearField(m.qField,t.states[r])},size:"large"},Ot.createElement(iT,null)))),E=Ot.createElement("div",{style:{height:"4px",position:"absolute",bottom:"0",left:"0",width:"100%"}},!1===x&&w.map((e=>Ot.createElement("div",{key:e.color,style:{position:"absolute",background:e.color,height:"100%",top:0,width:"".concat(100*e.ratio,"%"),left:"".concat(100*e.offset,"%")}})))),R=Ot.createElement(sL,{container:!0,gap:1,ref:s,sx:{backgroundColor:c.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:c.palette.action.hover}},onClick:!1===o&&p||null},C,k,E,u&&Ot.createElement(PP,{alignTo:s,show:u,close:f,app:n.model,fieldName:m.qField,stateName:t.states[r]}))),a?Ot.createElement(PP,{alignTo:s,show:!0,close:f,app:n.model,fieldName:m.qField,stateName:t.states[r]}):R}var zP=e=>aT((e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M8,9 L12.5,4.5 L14,6 L9.5,10.5 L8,12 L2,6 L3.5,4.5 L8,9 Z"}}]}))(e));const AP={item:"".concat("MultiState","-item")},_P=VS(sL)((e=>{let{theme:t}=e;return{["&.".concat(AP.item)]:{backgroundColor:t.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:t.palette.action.hover},height:"100%",alignItems:"center"}}}));function DP(e){let{field:t,api:n,moreAlignTo:r=null,onClose:o=(()=>{})}=e;const[a,i]=Ge.exports.useState(!!r),[l,s]=Ge.exports.useState(-1),[c,u]=Ge.exports.useState(r?r.current:null),d=r||Ge.exports.useRef(),{translator:p}=Ge.exports.useContext(kC),f=p.get("Selection.ClearAllStates"),m=()=>{s(-1),o()};let h=null;r||(h=Ot.createElement(Ot.Fragment,null,Ot.createElement(sL,{item:!0,xs:!0,zeroMinWidth:!0},Ot.createElement(TE,{style:{padding:"0px 8px"},color:"secondary",badgeContent:t.states.length},Ot.createElement(Tk,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},t.name))),Ot.createElement(sL,{item:!0},Ot.createElement("div",{style:{width:"12px"}})),Ot.createElement(sL,{item:!0},Ot.createElement(Ek,{size:"large"},Ot.createElement(zP,null)))));const g=Ot.createElement(tO,{dense:!0},Ot.createElement(fO,{title:f,onClick:()=>{t.states.forEach((e=>n.clearField(t.name,e)))}},Ot.createElement(dC,{variant:"contained",fullWidth:!0},f)),t.states.map(((e,r)=>Ot.createElement(fO,{key:r,title:t.name,onClick:e=>((e,t)=>{e.stopPropagation(),i(!1),s(t)})(e,r)},Ot.createElement(NE,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},Ot.createElement(NP,{field:t,api:n,stateIx:r,skipHandleShowListBoxPopover:!0})))))),v=Ot.createElement(AO,{open:a,onClose:()=>{i(!1),o()},anchorEl:c,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},g),b=r?v:Ot.createElement(_P,{container:!0,gap:0,className:AP.item,onClick:e=>{e.currentTarget.contains(e.target)&&(u(e.currentTarget),d.current=e.currentTarget,i(!a))}},h,a&&v,l>-1&&Ot.createElement(PP,{alignTo:d,show:l>-1,close:m,app:n.model,fieldName:t.selections[l].qField,stateName:t.states[l]}));return r&&l>-1?Ot.createElement(PP,{alignTo:d,show:l>-1,close:m,app:n.model,fieldName:t.selections[l].qField,stateName:t.states[l]}):b}const $P="More",qP={item:"".concat($P,"-item"),badge:"".concat($P,"-badge")},jP=VS(sL)((e=>{let{theme:t}=e;return{["&.".concat(qP.item)]:{backgroundColor:t.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:t.palette.action.hover},height:"100%",alignItems:"center"},["& .".concat(qP.badge)]:{padding:t.spacing(0,1)}}}));function FP(e){let{items:t=[],api:n}=e;const r=BS(),[o,a]=Ge.exports.useState(!1),[i,l]=Ge.exports.useState(-1),[s,c]=Ge.exports.useState(null),u=Ge.exports.useRef(),d=()=>{l(-1)};let p=null;return i>-1&&(p=t[i].states.length>1?Ot.createElement(DP,{field:t[i],api:n,moreAlignTo:u,onClose:d}):Ot.createElement(NP,{field:t[i],api:n,skipHandleShowListBoxPopover:!0,moreAlignTo:u,onClose:d})),Ot.createElement(jP,{container:!0,gap:0,className:qP.item,onClick:e=>{e.currentTarget.contains(e.target)&&(c(e.currentTarget),u.current=e.currentTarget,a(!o))}},Ot.createElement(sL,{item:!0},Ot.createElement(NE,{borderRadius:r.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:r.palette.selected.main,color:r.palette.selected.mainContrastText}},Ot.createElement(Tk,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",t.length))),Ot.createElement(sL,{item:!0},Ot.createElement(Ek,{size:"large"},Ot.createElement(zP,null))),o&&Ot.createElement(AO,{open:o,onClose:()=>{a(!1)},anchorEl:s,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},Ot.createElement(tO,{dense:!0},t.map(((e,t)=>Ot.createElement(fO,{key:t,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),a(!1),l(t)})(e,t)},Ot.createElement(NE,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},e.states.length>1?Ot.createElement(DP,{field:e,api:n}):Ot.createElement(NP,{field:e,api:n}))))))),p)}function BP(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"$";e.qSelections.forEach((e=>{const r=e.qField,o=t[r]=t[r]||{name:r,states:[],selections:[]};-1===o.states.indexOf(n)&&(o.states.push(n),o.selections.push(e))}))}function WP(e){let{api:t,app:n}=e;const r=BS(),[o]=VC(n),[a]=BC(o),[i,l]=Ge.exports.useState({items:[],more:[]}),[s]=ek(),[c,u]=rT(),[d,p]=Ge.exports.useState(0);return Ge.exports.useEffect((()=>{if(!u)return;const{width:e}=u,t=Math.floor(e)-72,n=Math.floor(t/120);p(n)}),[u]),Ge.exports.useEffect((()=>{if(!(n&&o&&a&&d))return;const e=function(e){if(!e)return[];const t={};return e.qSelectionObject&&BP(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach((e=>BP(e.qSelectionObject,t,e.stateName))),Object.keys(t).map((e=>t[e]))}(a);l((t=>{const r=e;if((()=>{const e=s.get(n.id);return e&&"njsListbox"===e.genericType})()&&r.length+1===t.items.length){const e=t.items.filter((e=>!1===r.some((t=>e.name===t.name))))[0],{qField:n}=e.selections[0];e.selections=[{qField:n}];const o=t.items.indexOf(e);r.splice(o,0,e)}let o=[];return d<r.length&&(o=r.splice(d-r.length)),{items:r,more:o}}))}),[n,o,a,t.isInModal(),d]),Ot.createElement(sL,{ref:c,container:!0,gap:0,wrap:"nowrap",style:{height:"100%"}},i.items.map((e=>Ot.createElement(sL,{item:!0,key:"".concat(e.states.join("::"),"::").concat(e.name),style:{position:"relative",maxWidth:"240px",minWidth:"".concat(120,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},e.states.length>1?Ot.createElement(DP,{field:e,api:t}):Ot.createElement(NP,{field:e,api:t})))),i.more.length>0&&Ot.createElement(sL,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:"".concat(72,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},Ot.createElement(FP,{items:i.more,api:t})))}var HP=e=>aT((e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 Z M16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,-5.07265313e-17 13.5,0 L15,0 C15.5522847,1.01453063e-16 16,0.44771525 16,1 L16,2.5 Z M10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 C6,0.223857625 6.22385763,-5.07265313e-17 6.5,0 L9.5,0 C9.77614237,5.07265313e-17 10,0.223857625 10,0.5 Z M1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 5.18696197e-13,2.77614237 5.18696197e-13,2.5 L5.18696197e-13,1 C5.18696197e-13,0.44771525 0.44771525,-1.01453063e-16 1,0 L2.5,0 C2.77614237,5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 5.18696197e-13,15.5522847 5.18696197e-13,15 L5.18696197e-13,13.5 C5.18696197e-13,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M4,7 C7.49095643,7 10,10.1337595 10,12.1872632 C10,12.1872632 8.16051135,9.86624054 4,10 L4,12 C4,12 2.66666667,10.8333333 -1.0658141e-14,8.5 C-2.59348099e-13,8.5 1.33333333,7.33333333 4,5 C4,5 4,5.66666667 4,7 Z"}}]}))(e));var UP=e=>aT((e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M12,7 C12,5.66666667 12,5 12,5 C14.6666667,7.33333333 16,8.5 16,8.5 C13.3333333,10.8333333 12,12 12,12 L12,10 C7.83948865,9.86624054 6,12.1872632 6,12.1872632 C6,10.1337595 8.50904357,7 12,7 Z"}}]}))(e));function VP(e){let{api:t,app:n}=e;const{translator:r}=Ge.exports.useContext(kC),[o]=GC(n);return Ot.createElement(sL,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},Ot.createElement(sL,{item:!0},Ot.createElement(Ek,{style:{marginRight:"8px"},disabled:!o||!o.canGoBack,title:r.get("Navigate.Back"),onClick:()=>t.back(),size:"large"},Ot.createElement(HP,null))),Ot.createElement(sL,{item:!0},Ot.createElement(Ek,{style:{marginRight:"8px"},disabled:!o||!o.canGoForward,title:r.get("Navigate.Forward"),onClick:()=>t.forward(),size:"large"},Ot.createElement(UP,null))),Ot.createElement(sL,{item:!0},Ot.createElement(Ek,{disabled:!o||!o.canClear,title:r.get("Selection.ClearAll"),onClick:()=>t.clear(),size:"large"},Ot.createElement(fP,null))))}function GP(e){let{app:t}=e;const n=BS(),[r]=nk(t);return r?Ot.createElement(sL,{container:!0,gap:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},Ot.createElement(sL,{item:!0,style:{borderRight:"1px solid ".concat(n.palette.divider)}},Ot.createElement(VP,{api:r,app:t})),Ot.createElement(sL,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},Ot.createElement(WP,{api:r,app:t}))):null}function KP(e){let{element:t,app:n}=e;return _p.createPortal(Ot.createElement(GP,{app:n}),t)}var XP=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},ZP=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),YP=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QP=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},JP=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},eN=void 0;eN="undefined"!=typeof window?window:"undefined"!=typeof self?self:global;var tN=null,nN=null,rN=eN.clearTimeout,oN=eN.setTimeout,aN=eN.cancelAnimationFrame||eN.mozCancelAnimationFrame||eN.webkitCancelAnimationFrame,iN=eN.requestAnimationFrame||eN.mozRequestAnimationFrame||eN.webkitRequestAnimationFrame;function lN(e){var t=void 0,n=void 0,r=void 0,o=void 0,a=void 0,i=void 0,l=void 0,s="undefined"!=typeof document&&document.attachEvent;if(!s){i=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},a=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},l=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var t=this;i(this),this.__resizeRAF__&&tN(this.__resizeRAF__),this.__resizeRAF__=nN((function(){a(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))}};var c=!1,u="";r="animationstart";var d="Webkit Moz O ms".split(" "),p="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),f=document.createElement("fakeelement");if(void 0!==f.style.animationName&&(c=!0),!1===c)for(var m=0;m<d.length;m++)if(void 0!==f.style[d[m]+"AnimationName"]){u="-"+d[m].toLowerCase()+"-",r=p[m],c=!0;break}t="@"+u+"keyframes "+(n="resizeanim")+" { from { opacity: 0; } to { opacity: 0; } } ",o=u+"animation: 1ms "+n+"; "}return{addResizeListener:function(a,c){if(s)a.attachEvent("onresize",c);else{if(!a.__resizeTriggers__){var u=a.ownerDocument,d=eN.getComputedStyle(a);d&&"static"===d.position&&(a.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){var r=(t||"")+".resize-triggers { "+(o||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',a=n.head||n.getElementsByTagName("head")[0],i=n.createElement("style");i.id="detectElementResize",i.type="text/css",null!=e&&i.setAttribute("nonce",e),i.styleSheet?i.styleSheet.cssText=r:i.appendChild(n.createTextNode(r)),a.appendChild(i)}}(u),a.__resizeLast__={},a.__resizeListeners__=[],(a.__resizeTriggers__=u.createElement("div")).className="resize-triggers";var p=u.createElement("div");p.className="expand-trigger",p.appendChild(u.createElement("div"));var f=u.createElement("div");f.className="contract-trigger",a.__resizeTriggers__.appendChild(p),a.__resizeTriggers__.appendChild(f),a.appendChild(a.__resizeTriggers__),i(a),a.addEventListener("scroll",l,!0),r&&(a.__resizeTriggers__.__animationListener__=function(e){e.animationName===n&&i(a)},a.__resizeTriggers__.addEventListener(r,a.__resizeTriggers__.__animationListener__))}a.__resizeListeners__.push(c)}},removeResizeListener:function(e,t){if(s)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",l,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(r,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}null==aN||null==iN?(tN=rN,nN=function(e){return oN(e,20)}):(tN=function(e){var t=JP(e,2),n=t[0],r=t[1];aN(n),rN(r)},nN=function(e){var t=iN((function(){rN(n),e()})),n=oN((function(){aN(t),e()}),20);return[t,n]});var sN=function(e){function t(){var e,n,r;XP(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=QP(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.state={height:r.props.defaultHeight||0,width:r.props.defaultWidth||0},r._onResize=function(){var e=r.props,t=e.disableHeight,n=e.disableWidth,o=e.onResize;if(r._parentNode){var a=r._parentNode.offsetHeight||0,i=r._parentNode.offsetWidth||0,l=window.getComputedStyle(r._parentNode)||{},s=parseInt(l.paddingLeft,10)||0,c=parseInt(l.paddingRight,10)||0,u=parseInt(l.paddingTop,10)||0,d=parseInt(l.paddingBottom,10)||0,p=a-u-d,f=i-s-c;(!t&&r.state.height!==p||!n&&r.state.width!==f)&&(r.setState({height:a-u-d,width:i-s-c}),o({height:a,width:i}))}},r._setRef=function(e){r._autoSizer=e},QP(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),ZP(t,[{key:"componentDidMount",value:function(){var e=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._detectElementResize=lN(e),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.disableHeight,o=e.disableWidth,a=e.style,i=this.state,l=i.height,s=i.width,c={overflow:"visible"},u={},d=!1;return r||(0===l&&(d=!0),c.height=0,u.height=l),o||(0===s&&(d=!0),c.width=0,u.width=s),Ge.exports.createElement("div",{className:n,ref:this._setRef,style:YP({},c,a)},!d&&t(u))}}]),t}(Ge.exports.PureComponent);sN.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};const cN={listBoxHeader:"".concat("ListBoxInline","-listBoxHeader")},uN=VS(sL)((()=>({["& .".concat(cN.listBoxHeader)]:{alignSelf:"center",display:"inline-flex"}})));function dN(e){let{app:t,fieldIdentifier:n,stateName:r="$",options:o={},fieldDef:a}=e;const{title:i,direction:l,listLayout:s,search:c=!0,focusSearch:u=!1,toolbar:d=!0,rangeSelect:p=!0,checkboxes:f=!1,properties:m={},sessionModel:h,selectionsApi:g,update:v,fetchStart:b,dense:y=!1,selectDisabled:x=(()=>!1),postProcessPages:S,calculatePagesHeight:w,showGray:C=!0,scrollState:E,setCount:R,shouldConfirmOnBlur:L}=o;let{frequencyMode:O,histogram:I=!1}=o;switch(a&&a.failedToFetchFieldDef&&(I=!1,O="N"),!0){case["none","N","NX_FREQUENCY_NONE"].includes(O):O="N";break;case["value","V","NX_FREQUENCY_VALUE","default"].includes(O):O="V";break;case["percent","P","NX_FREQUENCY_PERCENT"].includes(O):O="P";break;case["relative","R","NX_FREQUENCY_RELATIVE"].includes(O):O="R";break;default:O="N"}const M={qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:r,qShowAlternatives:!0,qFrequencyMode:I&&"N"===O?"V":O,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},title:i};let T;if(k(!0,M,m),n.qLibraryId?(M.qListObjectDef.qLibraryId=n.qLibraryId,T=n.qLibraryId):(M.qListObjectDef.qDef.qFieldDefs=[n],T=n),"N"!==O||I){const e=n.qLibraryId?a:T;M.frequencyMax={qValueExpression:"Max(AGGR(Count([".concat(e,"]), [").concat(e,"]))")}}let[P]=HC(M,h?null:t,T,r);h&&(P=h);let N=TP(g?{}:t,P)[0];g&&(N=g);const z=BS(),A=Ge.exports.useCallback((()=>{P.lock("/qListObjectDef")}),[P]),_=Ge.exports.useCallback((()=>{P.unlock("/qListObjectDef")}),[P]),{translator:D,keyboardNavigation:$}=Ge.exports.useContext(kC),q=Ge.exports.useRef(),[j,F]=(()=>{const[e,t]=Ge.exports.useState({}),n=Ge.exports.useCallback((e=>{t({current:e})}),[t]);return[e,n]})(),[B]=BC(P),[W,H]=Ge.exports.useState(!1),[U,V]=Ge.exports.useState(!1),[G,K]=Ge.exports.useState(!1),X=WT({setKeyboardActive:K}),Z={enabled:$,active:G};Ge.exports.useEffect((()=>{const e=()=>H(!0),t=()=>H(!1);return N&&(N.isModal(P)||(N.on("deactivated",t),N.on("activated",e))),()=>{N&&(N.removeListener("deactivated",e),N.removeListener("activated",t))}}),[N]),Ge.exports.useEffect((()=>{N&&H(N.isActive())}),[N]);const Y=Ge.exports.useRef(null);if(function(e,t,n){const[r,o]=Ge.exports.useState(!1),a=Ge.exports.useRef(r),i=e=>{a.current=e,o(e)};Ge.exports.useEffect((()=>{if(!n)return;const r=n=>{const r=e.current&&e.current.contains(n.target),o=a.current;r||o?r&&i(!1):(t&&t.confirm.call(t),i(!0))};return document.addEventListener("mousedown",r),document.addEventListener("keydown",r),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("keydown",r)}}),[e,t,n])}(Y,N,L),Ge.exports.useEffect((()=>{if(j&&j.current&&(c&&u||"toggle"===c&&U)){const e=j.current.querySelector("input");e&&e.focus()}}),[j&&j.current,U,c,u]),!P||!B||!D)return null;const Q=!0===B.qListObject.qDimensionInfo.qLocked,J=d?iP({layout:B,model:P,translator:D}):[],ee=B.qListObject.qDimensionInfo.qStateCounts,te=ee.qSelected+ee.qSelectedExcluded+ee.qLocked+ee.qLockedExcluded>0,ne=(!0===c||"toggle"===c&&U)&&!x(),re=49+(ne?y?27:40:0)+(y?39:49),oe=()=>{V(!U)};return Ot.createElement(uN,{container:!0,tabIndex:Z.enabled&&!Z.active?0:-1,direction:"column",gap:0,style:{height:"100%",minHeight:"".concat(re,"px")},onKeyDown:X,ref:Y},d&&Ot.createElement(sL,{item:!0,container:!0,style:{padding:z.spacing(1)}},Ot.createElement(sL,{item:!0},Q?Ot.createElement(Ek,{tabIndex:-1,onClick:_,disabled:!Q,size:"large"},Ot.createElement(lT,{title:D.get("Listbox.Unlock")})):"toggle"!==c||te?Ot.createElement(Ek,{onClick:A,tabIndex:-1,disabled:!te,size:"large"},Ot.createElement(sT,null)):Ot.createElement(Ek,{onClick:oe,tabIndex:-1,title:D.get("Listbox.Search"),size:"large"},Ot.createElement(LP,null))),Ot.createElement(sL,{item:!0,className:cN.listBoxHeader},Ot.createElement(Tk,{variant:"h6",noWrap:!0},B.title||B.qListObject.qDimensionInfo.qFallbackTitle)),Ot.createElement(sL,{item:!0,xs:!0}),Ot.createElement(sL,{item:!0},Ot.createElement(RP,{more:{enabled:!Q,actions:J,alignTo:q,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:W,api:N,onConfirm:()=>{},onCancel:()=>{}}}))),Ot.createElement(sL,{item:!0,ref:F},Ot.createElement(IP,{model:P,dense:y,keyboard:Z,visible:ne})),Ot.createElement(sL,{item:!0,xs:!0},Ot.createElement("div",{ref:q}),Ot.createElement(sN,null,(e=>{let{height:t,width:n}=e;return Ot.createElement(tP,{model:P,selections:N,direction:l,listLayout:s,frequencyMode:O,histogram:I,rangeSelect:p,checkboxes:f,height:t,width:n,update:v,fetchStart:b,postProcessPages:S,calculatePagesHeight:w,dense:y,selectDisabled:x,keyboard:Z,showGray:C,scrollState:E,sortByState:M.qListObjectDef.qDef.qSortCriterias[0].qSortByState,setCount:R})}))))}function pN(e){let{app:t,fieldIdentifier:n,stateName:r="$",options:o={}}=e;const[a,i]=Ge.exports.useState(""),[l,s]=Ge.exports.useState(!1);return Ge.exports.useEffect((()=>{!async function(){s(!0);try{const e=await t.getDimension(n.qLibraryId),r=await e.getLayout();i(r.qDim.qFieldDefs?r.qDim.qFieldDefs[0]:""),s(!1)}catch(e){throw s(!1),i({failedToFetchFieldDef:!0}),new Error("Disabling frequency count and histogram: ".concat(e&&e.message))}}()}),[]),l?null:Ot.createElement(dN,{app:t,fieldIdentifier:n,stateName:r,options:o,fieldDef:a})}function fN(e){let{app:t,fieldIdentifier:n,stateName:r,element:o,options:a}=e;const i=a.histogram||"N"!==a.frequencyMode,l=n.qLibraryId&&i?pN:dN;return _p.createPortal(Ot.createElement(l,{app:t,fieldIdentifier:n,stateName:r,element:o,options:a}),o)}const mN=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function hN(e){let[t,n]=e;return(t+(Math.random()*(n-t)|0)).toString(32)}function gN(){return mN.map(hN).join("")}function vN(e,t){for(let n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function bN(e,t){let n=0;for(let r=0;r<e.length;++r)e[r]>t?--e[r]:e[r]===t&&(n=r);return e.splice(n,1),n}function yN(e){let{sn:t,properties:n,fields:r}=e;if(!r.length)return;const a=t.qae.data.targets[0];if(!a)return;const{propertyPath:i}=a,l=i.split("/");let s=n;for(let e=0;e<l.length;e++){const t=l[e];s=t?s[t]:s}const c=function(e){let{dc:t,def:n,properties:r}=e;t.qDimensions=t.qDimensions||[],t.qMeasures=t.qMeasures||[],t.qInterColumnSortOrder=t.qInterColumnSortOrder||[],t.qInitialDataFetch=t.qInitialDataFetch||[],t.qColumnOrder=t.qColumnOrder||[],t.qExpansionState=t.qExpansionState||[];const a=r,i={dimensions:()=>t.qDimensions,measures:()=>t.qMeasures,addDimension(e){const r="string"==typeof e?(e=>({qDef:{qFieldDefs:[e]}}))(e):o(o({},e),{},{qDef:e.qDef||{}});r.qDef.cId=r.qDef.cId||gN(),r.qDef.qSortCriterias=r.qDef.qSortCriterias||[{qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],r.qOtherTotalSpec=r.qOtherTotalSpec||{},r.qAttributeExpressions=r.qAttributeExpressions||[],r.qAttributeDimensions=r.qAttributeDimensions||[],t.qDimensions.length<i.maxDimensions()?(t.qDimensions.push(r),vN(t.qInterColumnSortOrder,t.qDimensions.length-1),n.dimensions.added(r,a)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qDimensions.push(r))},removeDimension(e){const r=t.qDimensions.splice(e,1)[0];bN(t.qInterColumnSortOrder,e),n.dimensions.removed(r,a,e)},addMeasure(e){const r="string"==typeof e?(e=>({qDef:{qDef:e}}))(e):o(o({},e),{},{qDef:e.qDef||{}});r.qDef.cId=r.qDef.cId||gN(),r.qSortBy=r.qSortBy||{qSortByLoadOrder:1,qSortByNumeric:-1},r.qAttributeDimensions=r.qAttributeDimensions||[],r.qAttributeExpressions=r.qAttributeExpressions||[],t.qMeasures.length<i.maxMeasures()?(t.qMeasures.push(r),vN(t.qInterColumnSortOrder,t.qDimensions.length+t.qMeasures.length-1),n.measures.added(r,a)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qMeasures.push(r))},removeMeasure(e){const r=t.qMeasures.splice(e,1)[0];bN(t.qInterColumnSortOrder,t.qDimensions.length+e),n.measures.removed(r,a,e)},maxDimensions:()=>n.dimensions.max(t.qMeasures.length),maxMeasures:()=>n.measures.max(t.qDimensions.length),canAddDimension:()=>t.qDimensions.length<i.maxDimensions(),canAddMeasure:()=>t.qMeasures.length<i.maxMeasures()};return i}({dc:s,def:a,properties:n});r.forEach((e=>{const t=function(e){return"string"==typeof e&&"="===e[0]||"object"==typeof e&&e.qDef&&e.qDef.qDef||"object"==typeof e&&e.qLibraryId&&"measure"===e.type?"measure":"dimension"}(e);"measure"===t?c.addMeasure(e):c.addDimension(e)}))}var xN=(e,t,n)=>{if(null==e||null==t)return n;const r=t.split(".");let o=e;for(let e=0;e<r.length;++e){const t=r[e];if(""!==t){if(void 0===o[t]||null===o[t])return n;o=o[t]}}return o},SN=(e,t,n)=>{if(null==e||null==t)return;const r=t.split("."),o=r[r.length-1];let a=e;for(let e=0;e<r.length-1;++e){const t=r[e];void 0!==a[t]&&null!==a[t]||(a[t]=Number.isNaN(+r[e+1])?{}:[]),a=a[t]}void 0!==n&&"__proto__"!==o&&"constructor"!==o?a[o]=n:delete a[o]},wN=e=>0===Object.keys(e).length&&e.constructor===Object;var CN={isOrderedSubset:function(e,t){if(!(e&&t&&e.length&&t.length))return!1;let n=e.indexOf(t[0]);if(-1!==n){for(let r=0;r<t.length;r++){const o=e.indexOf(t[r]);if(n>o)return!1;n=o}return!0}return!1},indexAdded:function(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},indexRemoved:function(e,t){let n,r=0;for(n=0;n<e.length;++n)e[n]>t?--e[n]:e[n]===t&&(r=n);return e.splice(r,1),r}};const kN=2**53-1;function EN(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function RN(e,t){const n=k(!0,{},t,e);return xN(n,"qOtherTotalSpec.qOtherCounted")||SN(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),xN(n,"qOtherTotalSpec.qOtherLimit")||SN(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function LN(e,t){return k(!0,{},t,e)}function ON(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}var IN={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach((t=>{e.qLayoutExclude.changed[t].to===xN(e,t)&&SN(e,t,e.qLayoutExclude.changed[t].from)}))},isMasterItemProperty:EN,importCommonProperties:function(e,t,n){const r="masterobject"===xN(t,"properties.qInfo.qType")?"masterobject":xN(n,"qInfo.qType");SN(e,"qInfo.qType",r),e.visualization=n.visualization},copyPropertyIfExist:function(e,t,n){t.hasOwnProperty(e)&&(n[e]=t[e])},copyPropertyOrSetDefault:function(e,t,n,r){t.hasOwnProperty(e)?n[e]=t[e]:n[e]=r},createDefaultDimension:RN,createDefaultMeasure:LN,resolveValue:ON,getHypercubePath:function(e){const t=xN(e,"data.targets.0.propertyPath","").split("/");return t.length&&"qHyperCubeDef"===t[t.length-1]&&(t.length-=1),t.join(".")},getDefaultDimension:function(){return{qDef:{autoSort:!0,cId:"",othersLabel:"Others"},qLibraryId:"",qNullSuppression:!1,qOtherLabel:"Others",qOtherTotalSpec:{qOtherLimitMode:"OTHER_GE_LIMIT",qOtherMode:"OTHER_OFF",qOtherSortMode:"OTHER_SORT_DESCENDING",qSuppressOther:!1}}},getDefaultMeasure:function(){return{qDef:{autoSort:!0,cId:"",numFormatFromTemplate:!0},qLibraryId:"",qTrendLines:[]}},setInterColumnSortOrder:function(e){let{exportFormat:t,newHyperCubeDef:n}=e;const r=t.data[0],o=n.qDimensions.length+n.qMeasures.length;n.qInterColumnSortOrder=r.interColumnSortOrder.concat();let a=n.qInterColumnSortOrder.length;if(a!==o)for(n.qLayoutExclude&&(n.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder=r.interColumnSortOrder.concat());a!==o;)a<o?(CN.indexAdded(n.qInterColumnSortOrder,a),++a):(--a,CN.indexRemoved(n.qInterColumnSortOrder,a))},createNewProperties:function(e){let{exportFormat:t,initialProperties:n,hypercubePath:r}=e,o={qLayoutExclude:{disabled:{},quarantine:{}}};return Object.keys(t.properties).forEach((e=>{"qLayoutExclude"===e?t.properties[e].quarantine&&(o.qLayoutExclude.quarantine=k(!0,{},t.properties[e].quarantine)):"qHyperCubeDef"===e&&r?SN(o,"".concat(r,".qHyperCubeDef"),t.properties.qHyperCubeDef):n.hasOwnProperty(e)||EN(e)?o[e]=t.properties[e]:o.qLayoutExclude.disabled[e]=t.properties[e]})),o=k(!0,{},n,o),null===o.components&&(o.components=[]),o},getMaxMinDimensionMeasure:function(e){let{exportFormat:t,dataDefinition:n={}}=e;const r=t.data[0],o=n.dimensions||{max:0},a=n.measures||{max:0},i=ON(a.max,r.dimensions.length,kN),l=ON(a.min,r.dimensions.length,0);return{maxDimensions:ON(o.max,i,kN),minDimensions:ON(o.min,l,0),maxMeasures:i,minMeasures:l}},shouldInitLayoutExclude:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,maxMeasures:o,minMeasures:a}=e;const i=t.data[0];return i.dimensions.length>n&&n>0||i.measures.length>o&&o>0||i.excludedDimensions.length>0&&i.dimensions.length+i.excludedDimensions.length>r||i.excludedMeasures.length>0&&i.measures.length+i.excludedMeasures.length>a||!o&&i.measures.length>0||!n&&i.dimensions.length>0},initLayoutExclude:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,maxMeasures:o,minMeasures:a,newHyperCubeDef:i}=e;const l=t.data[0];i.qLayoutExclude||(i.qLayoutExclude={}),i.qLayoutExclude.qHyperCubeDef||(i.qLayoutExclude.qHyperCubeDef={}),(l.dimensions.length>n&&n>0||l.excludedDimensions&&l.excludedDimensions.length&&l.dimensions.length+l.excludedDimensions.length>r)&&(i.qLayoutExclude.qHyperCubeDef.qDimensions||(i.qLayoutExclude.qHyperCubeDef.qDimensions=[])),(l.measures.length>o&&o>0||l.excludedMeasures&&l.excludedMeasures.length&&l.measures.length+l.excludedMeasures.length>a)&&(i.qLayoutExclude.qHyperCubeDef.qMeasures||(i.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!o&&l.measures.length&&(i.qLayoutExclude.qHyperCubeDef.qMeasures||(i.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!n&&l.dimensions.length&&(i.qLayoutExclude.qHyperCubeDef.qDimensions||(i.qLayoutExclude.qHyperCubeDef.qDimensions=[]))},addDefaultDimensions:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,newHyperCubeDef:o,defaultDimension:a}=e;const i=t.data[0];let l;if(n>0)for(l=0;l<i.dimensions.length;++l)o.qDimensions.length<n?o.qDimensions.push(RN(i.dimensions[l],a)):o.qLayoutExclude.qHyperCubeDef.qDimensions.push(RN(i.dimensions[l],a));else if(i.dimensions.length)for(l=0;l<i.dimensions.length;++l)o.qLayoutExclude.qHyperCubeDef.qDimensions.push(RN(i.dimensions[l],a));if(i.excludedDimensions.length)for(l=0;l<i.excludedDimensions.length;++l)o.qDimensions.length<r?o.qDimensions.push(RN(i.excludedDimensions[l],a)):o.qLayoutExclude.qHyperCubeDef.qDimensions.push(RN(i.excludedDimensions[l],a))},addDefaultMeasures:function(e){let{exportFormat:t,maxMeasures:n,minMeasures:r,newHyperCubeDef:o,defaultMeasure:a}=e;const i=t.data[0];let l;if(n>0)for(l=0;l<i.measures.length;++l)o.qMeasures.length<n?o.qMeasures.push(LN(i.measures[l],a)):o.qLayoutExclude.qHyperCubeDef.qMeasures.push(LN(i.measures[l],a));else if(i.measures.length)for(l=0;l<i.measures.length;++l)o.qLayoutExclude.qHyperCubeDef.qMeasures.push(LN(i.measures[l],a));if(i.excludedMeasures.length)for(l=0;l<i.excludedMeasures.length;++l)o.qMeasures.length<r?o.qMeasures.push(LN(i.excludedMeasures[l],a)):o.qLayoutExclude.qHyperCubeDef.qMeasures.push(LN(i.excludedMeasures[l],a))},updateDimensionsOnAdded:function(e){let{newProperties:t,dataDefinition:n,hypercubePath:r}=e;if(n.dimensions&&"function"==typeof n.dimensions.added){const e=xN(t,r||"").qHyperCubeDef,o=[...e.qDimensions];e.qDimensions=[],o.forEach((r=>{e.qDimensions.push(r),n.dimensions.added(r,t)}))}},updateMeasuresOnAdded:function(e){let{newProperties:t,dataDefinition:n,hypercubePath:r}=e;if(n.measures&&"function"==typeof n.measures.added){const e=xN(t,r||"").qHyperCubeDef,o=[...e.qMeasures];e.qMeasures=[],o.forEach((r=>{e.qMeasures.push(r),n.measures.added(r,t)}))}}};var MN={exportProperties:e=>function(e){let{propertyTree:t,hypercubePath:n}=e;const r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;const t={data:[],properties:{}};for(let n=0;n<e;++n)t.data.push({dimensions:[],measures:[],excludedDimensions:[],excludedMeasures:[],interColumnSortOrder:[]});return t}(),o=t.qProperty,a=xN(o,n||""),i=a.qHyperCubeDef,l=r.data[0];if(i.qInterColumnSortOrder||(i.qInterColumnSortOrder=[]),l.dimensions.push(...i.qDimensions),i.qLayoutExclude&&i.qLayoutExclude.qHyperCubeDef&&i.qLayoutExclude.qHyperCubeDef.qDimensions&&l.excludedDimensions.push(...i.qLayoutExclude.qHyperCubeDef.qDimensions),l.measures.push(...i.qMeasures),i.qLayoutExclude&&i.qLayoutExclude.qHyperCubeDef&&i.qLayoutExclude.qHyperCubeDef.qMeasures&&l.excludedMeasures.push(...i.qLayoutExclude.qHyperCubeDef.qMeasures),l.interColumnSortOrder=i.qInterColumnSortOrder.concat(),i.qLayoutExclude&&i.qLayoutExclude.qHyperCubeDef&&i.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder){const e=i.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder.concat();CN.isOrderedSubset(e,l.interColumnSortOrder)&&(l.interColumnSortOrder=e)}return delete i.qLayoutExclude,Object.keys(o).forEach((e=>{r.properties[e]=o[e]})),n&&(r.properties.qHyperCubeDef=a.qHyperCubeDef,delete a.qHyperCubeDef),o.qLayoutExclude||(o.qLayoutExclude={}),o.qLayoutExclude.disabled&&(Object.keys(o.qLayoutExclude.disabled).forEach((e=>{r.properties.hasOwnProperty(e)||(r.properties[e]=o.qLayoutExclude.disabled[e])})),delete o.qLayoutExclude.disabled),o.qLayoutExclude.changed&&(IN.restoreChangedProperties(o),delete o.qLayoutExclude.changed),o.qLayoutExclude.quarantine&&!wN(o.qLayoutExclude.quarantine)||delete o.qLayoutExclude,r}(e),importProperties:e=>function(e){let{exportFormat:t,initialProperties:n={},dataDefinition:r={},defaultPropertyValues:o={},hypercubePath:a}=e;const i={qChildren:[]},l=IN.createNewProperties({exportFormat:t,initialProperties:n,hypercubePath:a}),s=xN(n,a||"").qHyperCubeDef,c=xN(l,a||"").qHyperCubeDef,{maxDimensions:u,minDimensions:d,maxMeasures:p,minMeasures:f}=IN.getMaxMinDimensionMeasure({exportFormat:t,dataDefinition:r}),{defaultDimension:m=IN.getDefaultDimension(),defaultMeasure:h=IN.getDefaultMeasure()}=o;return c.qDimensions.length=0,c.qMeasures.length=0,IN.shouldInitLayoutExclude({exportFormat:t,maxDimensions:u,minDimensions:d,maxMeasures:p,minMeasures:f})&&IN.initLayoutExclude({exportFormat:t,maxDimensions:u,minDimensions:d,maxMeasures:p,minMeasures:f,newHyperCubeDef:c}),IN.addDefaultDimensions({exportFormat:t,maxDimensions:u,minDimensions:d,newHyperCubeDef:c,defaultDimension:m}),IN.addDefaultMeasures({exportFormat:t,maxMeasures:p,minMeasures:f,newHyperCubeDef:c,defaultMeasure:h}),IN.setInterColumnSortOrder({exportFormat:t,newHyperCubeDef:c}),IN.copyPropertyIfExist("qMaxStackedCells",s,c),IN.copyPropertyIfExist("qNoOfLeftDims",s,c),IN.copyPropertyOrSetDefault("qInitialDataFetch",s,c,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),IN.copyPropertyOrSetDefault("qMode",s,c,"S"),IN.copyPropertyOrSetDefault("qReductionMode",s,c,"N"),IN.copyPropertyOrSetDefault("qSortbyYValue",s,c),IN.copyPropertyOrSetDefault("qIndentMode",s,c),IN.copyPropertyOrSetDefault("qShowTotalsAbove",s,c),IN.importCommonProperties(l,t,n),IN.updateDimensionsOnAdded({newProperties:l,dataDefinition:r,hypercubePath:a}),IN.updateMeasuresOnAdded({newProperties:l,dataDefinition:r,hypercubePath:a}),i.qProperty=l,i}(e)};const TN=e=>xN(e,"data.targets.0.propertyPath"),PN=e=>{if(e.exportProperties)return e.exportProperties;return(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return MN.exportProperties})(TN(e))},NN=e=>{if(e.importProperties)return e.importProperties;return(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return MN.importProperties})(TN(e))},zN=async e=>{let{halo:t,model:n,cellRef:r,newType:a}=e;const i=await n.getFullPropertyTree(),l=r.current.getQae(),s=PN(l),c=await(async e=>{let{halo:t,name:n,version:r}=e;const{types:o}=t;return await o.get({name:n,version:r}).supernova()})({halo:t,name:a}),u=c.qae;return NN(u)({exportFormat:s({propertyTree:i,hypercubePath:IN.getHypercubePath(l)}),initialProperties:o({qInfo:{qType:a},visualization:a},xN(u,"properties.initial",{})),dataDefinition:xN(u,"data.targets.0.",{}),hypercubePath:IN.getHypercubePath(u)})},AN={hypercube:MN};var _N=e=>aT((e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M8.86225926,1.6 L15.7815749,13.5 C16.2829746,14.3 15.8818548,15 14.9793354,15 L1.04042422,15 C0.0853772072,15 -0.232971797,14.3650794 0.172002787,13.6135407 L7.05722041,1.6 C7.55862009,0.8 8.36085958,0.8 8.86225926,1.6 Z M7.962,2.007 C7.95987183,2.02476599 7.95607967,2.03712023 7.94920396,2.05249845 L1.1033193,14 L14.915544,14 L7.99777452,2.10265906 L7.97779697,2.06138411 L7.96394459,2.01964415 L7.962,2.007 Z M7.5,11 L8.5,11 C8.76666667,11 8.95432099,11.1580247 8.99272977,11.4038409 L9,11.5 L9,12.5 C9,12.7666667 8.84197531,12.954321 8.59615912,12.9927298 L8.5,13 L7.5,13 C7.23333333,13 7.04567901,12.8419753 7.00727023,12.5961591 L7,12.5 L7,11.5 C7,11.2333333 7.15802469,11.045679 7.40384088,11.0072702 L7.5,11 L8.5,11 L7.5,11 Z M7.5,5 L8.5,5 C8.76666667,5 8.95432099,5.15802469 8.99272977,5.40384088 L9,5.5 L9,9.5 C9,9.76666667 8.84197531,9.95432099 8.59615912,9.99272977 L8.5,10 L7.5,10 C7.23333333,10 7.04567901,9.84197531 7.00727023,9.59615912 L7,9.5 L7,5.5 C7,5.23333333 7.15802469,5.04567901 7.40384088,5.00727023 L7.5,5 L8.5,5 L7.5,5 Z"}}]}))(e));function DN(e){let{d:t}=e;const n=BS();let r="inherit",o=n.palette.success.main;t.missing?o=n.palette.warning.main:t.error&&(r="error",o=n.palette.error.main);const a={color:o},i=Ot.createElement(Tk,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},Ot.createElement(bL,null,t.missing||t.error?Ot.createElement(_N,{style:a}):Ot.createElement(PT,{style:a})));return Ot.createElement(sL,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},Ot.createElement(sL,{item:!0},i),Ot.createElement(sL,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},Ot.createElement(Tk,{noWrap:!0,component:"p"},Ot.createElement(Tk,{component:"span",variant:"subtitle2",color:r},t.description),Ot.createElement(Tk,{component:"span"}," "),Ot.createElement(Tk,{component:"span",variant:"subtitle2",color:t.error?"error":"inherit",style:{fontWeight:400}},t.label))))}function $N(e){let{data:t}=e;const n=BS();return Ot.createElement(sL,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},t.map(((e,t)=>{const r=e.descriptions.map(((e,t)=>Ot.createElement(DN,{d:e,key:t})));return r.length>0&&Ot.createElement(sL,{container:!0,item:!0,key:t,direction:"column",style:{paddingBottom:n.spacing(2)}},Ot.createElement(Tk,{noWrap:!0,key:t,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),r)})))}function qN(e){let{title:t="Error",message:n="",data:r=[]}=e;return Ot.createElement(sL,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},Ot.createElement(sL,{item:!0},Ot.createElement(_N,{style:{fontSize:"38px"}})),Ot.createElement(sL,{item:!0},Ot.createElement(Tk,{variant:"h6",align:"center","data-tid":"error-title"},t)),Ot.createElement(sL,{item:!0},Ot.createElement(Tk,{variant:"subtitle1",align:"center","data-tid":"error-message"},n)),Ot.createElement($N,{data:r}))}const jN=["size"],FN="Progress",BN={root:"".concat(FN,"-root"),front:"".concat(FN,"-front"),back:"".concat(FN,"-back")},WN=VS("div")((e=>{let{theme:t}=e;return{["&.".concat(BN.root)]:{position:"relative",display:"inline-block"},["& .".concat(BN.front)]:{color:t.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},["& .".concat(BN.back)]:{color:t.palette.divider}}})),HN={small:16,medium:32,large:64,xlarge:128};function UN(e){let{size:t="medium"}=e,n=l(e,jN);const r=HN[t];return Ot.createElement(WN,{className:BN.root},Ot.createElement(mR,i({variant:"determinate",value:100,className:BN.back,size:r,thickness:3},n)),Ot.createElement(mR,i({variant:"indeterminate",disableShrink:!0,className:BN.front,size:r,thickness:3},n)))}const VN=["cancel","translator"],GN=["retry","translator"],KN={stripes:"".concat("LongRunningQuery","-stripes")},XN=VS(sL)((()=>({["& .".concat(KN.stripes)]:{"&::before":{position:"absolute",height:"100%",width:"100%",top:0,left:0,content:'""',backgroundSize:"14.14px 14.14px",backgroundImage:"linear-gradient(135deg, currentColor 10%, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 50%, currentColor 50%, currentColor 59%, rgba(0,0,0,0) 60%, rgba(0,0,0,0) 103%)",opacity:.1}}})));function ZN(e){let{cancel:t,translator:n}=e,r=l(e,VN);return Ot.createElement(Ot.Fragment,null,Ot.createElement(XN,{container:!0,item:!0,direction:"column",alignItems:"center",gap:2},Ot.createElement(sL,{item:!0},Ot.createElement(UN,null)),Ot.createElement(sL,{item:!0},Ot.createElement(Tk,{variant:"h6",align:"center","data-tid":"update-active"},n.get("Object.Update.Active")))),Ot.createElement(sL,i({item:!0},r),Ot.createElement(dC,{variant:"contained",onClick:t},n.get("Cancel"))))}function YN(e){let{retry:t,translator:n}=e,r=l(e,GN);return Ot.createElement(Ot.Fragment,null,Ot.createElement(sL,{item:!0},Ot.createElement(_N,{style:{fontSize:"38px"}})),Ot.createElement(sL,{item:!0},Ot.createElement(Tk,{variant:"h6",align:"center","data-tid":"update-cancelled"},n.get("Object.Update.Cancelled"))),Ot.createElement(sL,{item:!0},Ot.createElement(dC,i({variant:"contained",onClick:t},r),n.get("Retry"))))}function QN(e){let{canCancel:t,canRetry:n,api:r}=e;const{translator:o}=Ge.exports.useContext(kC);return Ot.createElement(sL,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:KN.stripes,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},t&&Ot.createElement(ZN,{cancel:r.cancel,translator:o,className:KN.cancel}),n&&Ot.createElement(YN,{retry:r.retry,translator:o,className:KN.retry}))}function JN(){return Ot.createElement(sL,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},Ot.createElement(UN,{size:"large"}))}const ez="Header",tz={containerStyle:"".concat(ez,"-containerStyle"),containerTitleStyle:"".concat(ez,"-containerTitleStyle")},nz=VS(sL)((e=>{let{theme:t}=e;return{["&.".concat(tz.containerStyle)]:{flexGrow:0},["&.".concat(tz.containerTitleStyle)]:{paddingBottom:t.spacing(1)}}})),rz="njs-cell-title",oz="njs-cell-sub-title";function az(e){let{layout:t,sn:n,anchorEl:r,hovering:o,focusHandler:a}=e;const i=t.showTitles&&!!t.title,l=t.showTitles&&!!t.subtitle,s=t.qSelectionInfo&&t.qSelectionInfo.qInSelections,[c,u]=Ge.exports.useState([]),[d,p]=rT(),[f,m]=Ge.exports.useState(!1);Ge.exports.useEffect((()=>{n&&n.component&&n.component.isHooked&&n.component.observeActions((e=>{u([...e,...n&&n.selectionToolbar&&n.selectionToolbar.items||[]])}))}),[n]),Ge.exports.useEffect((()=>{if(!p)return;const{width:e}=p;m(e<221)}),[p]);const h=i||l,g=[tz.containerStyle,...h?[tz.containerTitleStyle]:[]],v=(o||s)&&(f||!h),b=h&&!v&&!f,y=Ot.createElement(RP,{show:b,selections:{show:s,api:n.component.selections,onKeyDeactivate:a.refocusContent},actions:c,popover:{show:v,anchorEl:r},focusHandler:a});return Ot.createElement(nz,{ref:d,item:!0,container:!0,wrap:"nowrap",className:g.join(" ")},Ot.createElement(sL,{item:!0,zeroMinWidth:!0,xs:!0},Ot.createElement(sL,{container:!0,wrap:"nowrap",direction:"column"},i&&Ot.createElement(Tk,{variant:"h6",noWrap:!0,className:rz},t.title),l&&Ot.createElement(Tk,{variant:"body2",noWrap:!0,className:oz},t.subtitle))),Ot.createElement(sL,{item:!0},y))}const iz={itemStyle:"".concat("Footer","-itemStyle")},lz=VS(sL)((e=>{let{theme:t}=e;return{["& .".concat(iz.itemStyle)]:{minWidth:0,paddingTop:t.spacing(1)}}})),sz="njs-cell-footer";function cz(e){let{layout:t}=e;return t&&t.showTitles&&t.footnote?Ot.createElement(lz,{container:!0},Ot.createElement(sL,{item:!0,className:iz.itemStyle},Ot.createElement(Tk,{noWrap:!0,variant:"body2",className:sz},t.footnote))):null}class uz{constructor(){this.timer=null,this.next=null,this.running=!1}start(){this.running||(this.running=!0,this.scheduleNext())}scheduleNext(){this.timer=setTimeout((()=>{this.doNext()}),10)}async doNext(){const e=this.next;this.next=null,e?(await e(),this.scheduleNext()):this.stop()}schedule(e){this.next=e,this.start()}stop(){this.running&&(clearTimeout(this.timer),this.timer=null,this.running=!1)}}const dz="njs-viz";function pz(e){let{sn:t,snOptions:n,snPlugins:r,layout:a,appLayout:i,halo:l}=e;const{component:s}=t,{theme:c,language:u,constraints:d,keyboardNavigation:p}=Ge.exports.useContext(kC),[f]=Ge.exports.useState((()=>new uz)),[m,h]=Ge.exports.useState(!1),[g,v]=Ge.exports.useState(0),[b,y,x]=rT(),[S,w]=Ge.exports.useState(null),C=Ge.exports.useCallback((e=>{e&&w(e)}),[]);return Ge.exports.useEffect((()=>{if(S)return s.created({options:n}),s.mounted(S),h(!0),()=>{f.stop(),s.willUnmount()}}),[S,s]),Ge.exports.useEffect((()=>{m&&S&&y&&(!s.isHooked&&a&&a.qSelectionInfo&&a.qSelectionInfo.qInSelections||f.schedule((()=>{const e=[];return d.passive||e.push("passive"),d.active||e.push("interact"),d.select||e.push("select"),l.app&&l.app.session&&e.push("fetch"),Promise.resolve(s.render({layout:a,options:n,plugins:r,embed:l.public.nebbie,context:o({constraints:d,theme:l.public.theme,appLayout:i,keyboardNavigation:p},s.isHooked?{}:{logicalSize:t.logicalSize({layout:a}),localeInfo:(i||{}).qLocaleInfo,permissions:e})})).then((e=>{!1!==e&&(0===g&&"function"==typeof n.onInitialRender&&n.onInitialRender.call(null),v(g+1))}))})))}),[y,n,r,S,x,a,i,c,u,d,m,p]),Ot.createElement("div",{ref:b,"data-render-count":g,style:{position:"relative",height:"100%"},className:dz},Ot.createElement("div",{ref:C,style:{position:"absolute",width:"100%",height:"100%"}}))}const fz="njs-cell",mz=(e,t)=>{switch(t.type){case"LOADING":return o(o({},e),{},{loading:!0});case"LOADED":return o(o({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null,sn:t.sn,visualization:t.visualization});case"RENDER":return o(o({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null});case"LONG_RUNNING_QUERY":return o(o({},e),{},{longRunningQuery:!0});case"ERROR":return o(o({},e),{},{loading:!1,longRunningQuery:!1,error:t.error});default:throw new Error("Unhandled type: ".concat(t.type))}};function hz(e){let{delay:t=750}=e;const[n,r]=Ge.exports.useState(!1);return Ge.exports.useEffect((()=>{const e=setTimeout((()=>r(!0)),t);return()=>clearTimeout(e)}),[]),n?Ot.createElement(JN,null):null}const gz=e=>!e.qError||7005===e.qError.qErrorCode,vz=(e,t,n,r,o)=>[...Array(e).keys()].map((e=>{const a=!(!t||!t[e]),i=a&&t[e].qError&&7005===t[e].qError.qErrorCode,l=a&&!i&&t[e].qError,s=i&&t[e].qCalcCondMsg,c="".concat(l?r:i?s||o:a&&t[e].qFallbackTitle||""),u=n(e);return{description:u?"".concat(u).concat(c.length?":":""):null,label:c,missing:t&&!a&&!l&&e>=t.length||i,error:l}})),bz=e=>e&&(Array.isArray(e)?e:[e])||[],yz=(e,t,n,r)=>{const o=r.dimensions.min(),a=r.measures.min(),i=r.resolveLayout(t);return{reqDimErrors:vz(o,bz(i.qDimensionInfo),(e=>r.dimensions.description(n,e)),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:vz(a,bz(i.qMeasureInfo),(e=>r.measures.description(n,e)),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},xz=async(e,t,n,r)=>{let{targets:o}=n;const{hasUnfulfilledErrors:a,aggMinD:i,aggMinM:l,hasLayoutErrors:s,layoutErrors:c}=((e,t,n)=>{let r=!1,o=0,a=0,i=!1,l=!1;const s=[];for(let c=0;c<t.length;++c){const u=t[c],d=u.dimensions.min(),p=u.measures.min(),f=u.resolveLayout(n),m=bz(f.qDimensionInfo).filter(gz),h=bz(f.qMeasureInfo).filter(gz);if(o+=d,a+=p,(m.length<d||h.length<p)&&(r=!0),f.qError){i=!0,l=7005===f.qError.qErrorCode;const t=l&&f.qCalcCondMsg?f.qCalcCondMsg:l?e.get("Visualization.UnfulfilledCalculationCondition"):e.get("Visualization.LayoutError");s.push({title:t,descriptions:[]})}}return{hasUnfulfilledErrors:r,aggMinD:o,aggMinM:a,hasLayoutErrors:i,layoutErrors:s}})(e,o,t),u=[],d=[];let p=null;for(let n=0;n<o.length;++n){const i=o[n];if(!s&&a){const n=p||await r.getProperties();p=n;const o=yz(e,t,n,i);u.push(...o.reqDimErrors),d.push(...o.reqMeasErrors)}}const f=u.filter((e=>!(e.missing||e.error))).length,m=e.get("Visualization.Incomplete.Dimensions",[f,i]),h=d.filter((e=>!(e.missing||e.error))).length,g=e.get("Visualization.Incomplete.Measures",[h,l]),v=[{title:m,descriptions:[...u]},{title:g,descriptions:[...d]}],b=s?c:v;return[s||a,{title:s?c[0].title:e.get("Visualization.Incomplete"),data:b}]},Sz=Ge.exports.forwardRef(((e,t)=>{let{halo:n,model:r,initialSnOptions:a,initialSnPlugins:i,initialError:l,onMount:s,currentId:c}=e;const{app:u,types:d}=n,{nebbie:p}=n.public,{disableCellPadding:f=!1}=n.context||{},{translator:m,language:h,keyboardNavigation:g}=Ge.exports.useContext(kC),v=BS(),[b,y,x]=rT(),[S,w]=Ge.exports.useReducer(mz,{loading:!1,loaded:!1,longRunningQuery:!1,error:(C=l)?{title:C.message}:null,sn:null,visualization:null});var C;const[k,{validating:E,canCancel:R,canRetry:L},O]=BC(r),[I]=WC(u),[M,T,P]=rT(),[N,z]=Ge.exports.useState(a),[A,_]=Ge.exports.useState(i),[D]=TP(u,r),[$,q]=Ge.exports.useState(!1),j=Ge.exports.useRef({enter:null,leave:null}),F=Ge.exports.useRef({focusToolbarButton(e){this.emit(e?"focus_toolbar_last":"focus_toolbar_first")}});Ge.exports.useEffect((()=>{MP(F.current)}),[]),F.current.blurCallback=e=>{n.root.toggleFocusOfCells(),e&&P&&P.focus()},F.current.refocusContent=()=>{S.sn.component&&"function"==typeof S.sn.component.focus&&S.sn.component.focus()};Ge.exports.useEffect((()=>{if(l||!I||!k)return;if(S.visualization===k.visualization&&S.sn)return void(async e=>{const[t,n]=await xz(m,k,e.generator.qae.data,r);w(t?{type:"ERROR",error:n}:{type:"RENDER"}),(e=>{let{sn:t,layout:n,model:r}=e;const o=t&&t.component&&t.component.selections;if(o&&o.id&&r.id&&o.id===r.id){if(n&&n.qSelectionInfo&&n.qSelectionInfo.qInSelections&&!o.isModal()){const{targets:e}=t.generator.qae.data,n=e[0].propertyPath;o.goModal(n)}n.qSelectionInfo&&n.qSelectionInfo.qInSelections||o.isModal()&&o.noModal()}})({sn:S.sn,layout:k,model:r})})(S.sn);const e=d.getSupportedVersion(k.visualization,k.version);if(e)return(async(e,t)=>{w({type:"LOADING"});const n=await(async e=>{let{dispatch:t,types:n,visualization:r,version:o,model:a,app:i,selections:l,nebbie:s,focusHandler:c}=e;try{const e=await(async e=>{let{types:t,name:n,version:r}=e;return await t.get({name:n,version:r}).supernova()})({types:n,name:r,version:o});return e.create({model:a,app:i,selections:l,nebbie:s,focusHandler:c})}catch(e){t({type:"ERROR",error:{title:e.message}})}})({dispatch:w,types:d,visualization:e,version:t,model:r,app:u,selections:D,nebbie:p,focusHandler:F.current});n&&(w({type:"LOADED",sn:n,visualization:e}),s())})(k.visualization,e),()=>{};w({type:"ERROR",error:{title:"Could not find a version of '".concat(k.visualization,"' that supports current object version. Did you forget to register ").concat(k.visualization,"?")}})}),[d,S.sn,r,D,k,I,h]),Ge.exports.useEffect((()=>{if(!E)return;const e=setTimeout((()=>w({type:"LONG_RUNNING_QUERY"})),2e3);return()=>clearTimeout(e)}),[E]),Ge.exports.useImperativeHandle(t,(()=>({getQae:()=>S.sn.generator.qae,toggleFocus(e){"function"==typeof S.sn.component.focus&&(e?S.sn.component.focus():S.sn.component.blur())},setSnOptions:z,setSnPlugins:_,async takeSnapshot(){const{width:e,height:t}=y;let n=JSON.parse(JSON.stringify(k));return"function"==typeof S.sn.component.setSnapshotData&&(n=await S.sn.component.setSnapshotData(n)||n),{key:String(+Date.now()),meta:{language:m.language(),theme:v.name,appLayout:I,size:{width:Math.round(e),height:Math.round(t)}},layout:n}},async exportImage(){if("function"!=typeof n.config.snapshot.capture)throw new Error("Stardust embed has not been configured with snapshot.capture callback");const e=await this.takeSnapshot();return n.config.snapshot.capture(e)}})),[S.sn,T,y,k,v.name,I]);let B=null;return S.loading&&!S.longRunningQuery?B=Ot.createElement(hz,null):S.error?B=Ot.createElement(qN,S.error):S.loaded&&(B=Ot.createElement(pz,{key:k.visualization,sn:S.sn,halo:n,snOptions:N,snPlugins:A,layout:k,appLayout:I})),Ot.createElement(JS,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},elevation:0,square:!0,className:fz,ref:b,onMouseEnter:()=>{j.current.leave&&clearTimeout(j.current.leave),j.enter||(j.current.enter=setTimeout((()=>{q(!0),j.current.enter=null}),250))},onMouseLeave:()=>{j.current.enter&&clearTimeout(j.current.enter),j.current.leave||(j.current.leave=setTimeout((()=>{q(!1),j.current.leave=null}),750))}},Ot.createElement(sL,{container:!0,direction:"column",gap:0,style:o(o({position:"relative",width:"100%",height:"100%"},f?{}:{padding:v.spacing(1)}),S.longRunningQuery?{opacity:"0.3"}:{})},x&&k&&S.sn&&Ot.createElement(az,{layout:k,sn:S.sn,anchorEl:x,hovering:$,focusHandler:F.current}," "),Ot.createElement(sL,{tabIndex:g?0:-1,onKeyDown:g?e=>{["Enter"," ","Spacebar"].includes(e.key)&&n.root.toggleFocusOfCells(c)}:null,item:!0,xs:!0,style:{height:"100%"},ref:M},B),Ot.createElement(cz,{layout:k})),S.longRunningQuery&&Ot.createElement(QN,{canCancel:R,canRetry:L,api:O}))}));function wz(e){let{halo:t,element:n,model:r,initialSnOptions:o,initialSnPlugins:a,onMount:i,initialError:l}=e;const{root:s}=t,c=Ot.createRef(),u=gN(),d=_p.createPortal(Ot.createElement(Sz,{ref:c,halo:t,model:r,currentId:u,initialSnOptions:o,initialSnPlugins:a,initialError:l,onMount:i}),n,r.id),p=()=>{s.remove(d),r.removeListener("closed",p)};return r.on("closed",p),s.add(d),s.addCell(u,c),[p,c]}function Cz(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function kz(e,t){return Cz(e)&&Cz(t)?JSON.stringify(e)===JSON.stringify(t):!Array.isArray(e)&&!Array.isArray(t)&&e===t}function Ez(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;const r=[];return Object.keys(t).forEach((o=>{const a=t[o];"object"!=typeof n[o]||"object"!=typeof a||Array.isArray(a)?kz(a,n[o])||r.push({qPath:e+o,qOp:"add",qValue:JSON.stringify(t[o])}):r.push(...Ez("".concat(e).concat(o,"/"),t[o],n[o]))})),r}function Rz(e){if(!Array.isArray(e))throw new Error("Invalid plugin format: plugins should be an array!");e.forEach((e=>{if("object"!=typeof e)throw new Error("Invalid plugin format: a plugin should be an object");if("object"!=typeof e.info||"string"!=typeof e.info.name)throw new Error("Invalid plugin format: a plugin should have an info object containing a name");if("function"!=typeof e.fn)throw new Error('Invalid plugin format: The plugin "'.concat(e.info.name,'" has no "fn" function'))}))}const Lz=()=>{};function Oz(){let{model:e,halo:t,initialError:n,onDestroy:r=(async()=>{})}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=Lz,i=null,l=null,s=null;const c=new Promise((e=>{s=e}));let u={},d=[];const p=async e=>{l?(async()=>{await c,i.current.setSnOptions(o(o({},u),e))})():u=o(o({},u),e)},f=async e=>{Rz(e),l?(async()=>{await c,i.current.setSnPlugins(e)})():d=e},m={id:e.id,async destroy(){await r(),a(),a=Lz},async convertTo(n){let r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const o=await zN({halo:t,model:e,cellRef:i,newType:n});return r&&(e.__snInterceptor?await e.__snInterceptor.setProperties.call(e,o.qProperty):await e.setProperties(o.qProperty)),o},__DO_NOT_USE__:{mount(r){if(l)throw new Error("Already mounted");return l=r,[a,i]=wz({halo:t,element:r,model:e,initialSnOptions:u,initialSnPlugins:d,initialError:n,onMount:s}),c},async applyProperties(t){const n=Ez("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){p(e)},plugins(e){f(e)},exportImage:()=>i.current.exportImage(),takeSnapshot:()=>i.current.takeSnapshot(),getModel:()=>e}};return m}async function Iz(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:async()=>{};const a=Oz({model:e,halo:n,initialError:r,onDestroy:o});return t.options&&a.__DO_NOT_USE__.options(t.options),t.plugins&&a.__DO_NOT_USE__.plugins(t.plugins),t.element&&await a.__DO_NOT_USE__.mount(t.element),a}async function Mz(e,t){let n,{type:r,version:o,fields:a,properties:i,options:l,plugins:s,element:c}=e,u={};try{const e=t.types.get({name:r,version:o});u=await e.initialProperties(i);const n=await e.supernova();a&&yN({sn:n,properties:u,fields:a}),i&&n&&n.qae.properties.onChange&&n.qae.properties.onChange.call({},u)}catch(e){n=e,u={qInfo:{qType:r},visualization:r}}const d=await t.app.createSessionObject(u);qC.set(d.id,d);const p=(e=>{const t=DC({type:"SET",value:e});return()=>{t(),qC.clear(e.id)}})(d);return Iz(d,{options:l,plugins:s,element:c},t,n,(async()=>{await t.app.destroySessionObject(d.id),p()}))}async function Tz(e,t){let{id:n,options:r,plugins:o,element:a}=e;const i="".concat(n);let l=NC.get(i);l||(l=t.app.getObject(n),NC.set(i,l));const s=await l;return qC.set(i,s),Iz(s,{options:r,plugins:o,element:a},t)}function Pz(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{isEnabled:t=>!0===e[t]}}const Nz=k.bind(null,!0),zz={},{isArray:Az}=Array;function _z(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Dz(e){return void 0===e}function $z(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function qz(e,t){const n=t.substring(1).split("/").slice(0,-1);let r;return n.forEach(((t,o)=>{if(o===n.length)return;r=+t;const a=isNaN(r)?{}:[];e[r||t]=Dz(e[r||t])?a:e[t],e=e[r||t]})),e}function jz(e,t){let n=!0;if(_z(e)&&_z(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((r=>{jz(e[r],t[r])||(n=!1)})),n);if(Az(e)&&Az(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!jz(e[n],t[n]))return!1;return!0}return e===t}zz.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const a=function(e){return e?Nz({},{val:e}).val:e}(t[o]),i=e[o],l="".concat(n,"/").concat(o);jz(a,i)||$z(t,o)||(Dz(i)?r.push({op:"add",path:l,value:a}):_z(a)&&_z(i)?r=r.concat(zz.generate(i,a,l)):Az(a)&&Az(i)?r=r.concat(function(e,t,n){let r=[];const o=e.slice();let a=-1;function i(e,t,n){if(e[n]&&Dz(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(let n=0,r=e.length;n<r;n+=1)if(e[n]&&e[n].qInfo.qId===t)return n;return-1}if(jz(t,o))return r;if(!Dz(t[0])&&Dz(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(let e=o.length-1;e>=0;e-=1)a=i(t,o[e].qInfo&&o[e].qInfo.qId,e),-1===a?(r.push({op:"remove",path:"".concat(n,"/").concat(e)}),o.splice(e,1)):r=r.concat(zz.generate(o[e],t[a],"".concat(n,"/").concat(e)));for(let e=0,l=t.length;e<l;e+=1)a=i(o,t[e].qInfo&&t[e].qInfo.qId),-1===a?(r.push({op:"add",path:"".concat(n,"/").concat(e),value:t[e]}),o.splice(e,0,t[e])):a!==e&&(r.push({op:"move",path:"".concat(n,"/").concat(e),from:"".concat(n,"/").concat(a)}),o.splice(e,0,o.splice(a,1)[0]));return r}(i,a,l)):r.push({op:"replace",path:"".concat(n,"/").concat(o),value:a}))})),Object.keys(e).forEach((o=>{Dz(t[o])&&!$z(e,o)&&r.push({op:"remove",path:"".concat(n,"/").concat(o)})})),r},zz.apply=function(e,t){t.forEach((t=>{let n=qz(e,t.path),r=t.path.split("/").splice(-1)[0],o=r&&isNaN(+r)?n[r]:n[+r]||n;const a=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(n=null,o=e),"add"===t.op||"replace"===t.op)if(Az(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(Az(o)&&Az(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(_z(o)&&_z(t.value))i=o,Object.keys(i).forEach((e=>{Object.getOwnPropertyDescriptor(i,e).configurable&&!$z(i,e)&&delete i[e]})),Nz(o,t.value);else{if(!n)throw new Error("Patchee is not an object we can patch");n[r]=t.value}else if("move"===t.op){const o=qz(e,t.from);Az(n)?n.splice(+r,0,o.splice(+a,1)[0]):(n[r]=o[a],delete o[a])}else"remove"===t.op&&(Az(n)?n.splice(+r,1):delete n[r]);var i}))},zz.clone=function(e){return Nz({},e)},zz.createPatch=function(e,t,n){const r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},zz.updateObject=function(e,t){Object.keys(e).length?zz.apply(e,zz.generate(e,t)):Nz(e,t)};const Fz=e=>t=>{const n=(r=o(o({},t),{},{action(){"function"==typeof t.action&&t.action.call(n,e),n.emit("changed")},enabled:()=>"function"!=typeof t.enabled||t.enabled.call(n,e),active:"function"==typeof t.active?function(){return t.active.call(n,e)}:void 0}),Object.keys(h.prototype).forEach((e=>{r[e]=h.prototype[e]})),h.init(r),r);var r;return n};let Bz,Wz;function Hz(e,t){if(!e)return!0;if(t.length!==e.length)return!0;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!0;return!1}function Uz(e){let{explicitResize:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.__hooks={obsolete:!1,error:!1,waitForData:!1,chain:{promise:null,resolve:()=>{}},list:[],snaps:[],actions:{list:[]},pendingEffects:[],pendingLayoutEffects:[],pendingPromises:[],resizer:{setters:[],explicitResize:t},accessibility:{setter:null}}}function Vz(e){Kz(e.__hooks.list,!0),e.__hooks.obsolete=!0,e.__hooks.list.length=0,e.__hooks.pendingEffects.length=0,e.__hooks.pendingLayoutEffects.length=0,e.__hooks.actions=null,e.__hooks.imperativeHandle=null,e.__hooks.resizer=null,e.__hooks.accessibility=null,e.__actionsDispatch=null,clearTimeout(e.__hooks.micro),cancelAnimationFrame(e.__hooks.macro)}async function Gz(e){if(e.__hooks.obsolete)return Promise.resolve();Wz=-1,Bz=e,Bz.__hooks.initiated&&Bz.__hooks.list.length;try{Bz.fn.call(null)}catch(e){console.error(e)}Bz.__hooks.initiated=!0;const t=Bz.__hooks;return Yz(Bz),Wz=void 0,Bz=void 0,t.chain.promise||(t.chain.promise=new Promise((e=>{t.chain.resolve=e}))),function(e){Kz(e.pendingLayoutEffects)}(t),function(e){if(e.macro)return;e.macro=requestAnimationFrame((()=>{!function(e){Kz(e.pendingEffects),e.macro=null,function(e){if(e.pendingPromises.length||e.micro||e.macro)return;e.chain.promise=null,e.chain.resolve(!e.waitForData)}(e)}(e)}))}(t),t.chain.promise}function Kz(e,t){try{e.forEach((e=>{"function"==typeof e.teardown&&e.teardown(),t||(e.teardown=e.value[0]())}))}catch(e){console.error(e)}e.length=0}function Xz(e,t){try{return Promise.all(e.__hooks.snaps.map((e=>Promise.resolve(e.fn(t))))).then((e=>e[e.length-1]))}catch(e){console.error(e)}return Promise.resolve()}function Zz(e){return e.__hooks.imperativeHandle}function Yz(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function Qz(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,Yz(e))}function Jz(e){if(void 0===Bz)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");const t=Bz.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function eA(e){Jz(++Wz);return Bz.context[e]}function tA(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function nA(e){return{__hooked:!0,fn:e,initiate:Uz,run:Gz,teardown:Vz,runSnaps:Xz,focus:sA,blur:cA,observeActions:Qz,getImperativeHandle:Zz,updateRectOnNextRun:tA}}function rA(e){const t=Jz(++Wz);if(!t.value){t.component=Bz;const n=e=>{if(t.component.__hooks.obsolete)return;const n="function"==typeof e?e(t.value[0]):e;var r;n!==t.value[0]&&(t.value[0]=n,(r=t.component).__hooks.micro||(r.__hooks.micro=setTimeout((()=>{r.__hooks.micro=null,Gz(r)}),0)))};t.value=["function"==typeof e?e():e,n]}return t.value}function oA(e,t){const n=Jz(++Wz);Hz(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===Bz.__hooks.pendingEffects.indexOf(n)&&Bz.__hooks.pendingEffects.push(n))}function aA(e,t){const n=Jz(++Wz);Hz(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],Bz.__hooks.pendingLayoutEffects.push(n))}function iA(e,t){const n=Jz(++Wz);return Hz(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function lA(){return eA("element")}function sA(e){const t=e.__hooks.accessibility;t.active||(t.active=!0,t&&t.setter&&t.setter({active:!0,enabled:t.enabled,blur:t.exitFunction,focus:t.focusFunction,focusSelection:t.focusSelectionFunction}))}function cA(e){const t=e.__hooks.accessibility;t&&t.active&&(t.active=!1,t&&t.setter&&t.setter({active:!1,enabled:t.enabled,blur:t.exitFunction,focus:t.focusFunction,focusSelection:t.focusSelectionFunction}))}const uA={app:null,model:null,actions:null,selections:null,created:()=>{},mounted:()=>{},render:()=>{},resize:()=>{},willUnmount:()=>{},destroy:()=>{},emit:()=>{},getViewState:()=>{},observeActions(){},setSnapshotData:e=>Promise.resolve(e)},dA=Object.keys(uA);function pA(e,t){const n=o({},uA);var r;r=n,Object.keys(h.prototype).forEach((e=>{r[e]=h.prototype[e]})),h.init(r);const a={emit(){n.emit(...arguments)}};Object.keys(e.component||{}).forEach((t=>{-1!==dA.indexOf(t)?n[t]=e.component[t].bind(a):a[t]=e.component[t]}));const i=function(e){let{sn:t,component:n}=e;const r={},o=[],a=Fz(n);return((t.definition.selectionToolbar||{}).items||[]).forEach((e=>{const t=a(e);r[e.key]=t,o.push(t)})),(t.definition.actions||[]).forEach((e=>{const t=a(e);r[e.key]=t})),{actions:r,selectionToolbarItems:o,destroy(){o.length=0}}}({sn:e,component:a}),l=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):null;return Object.assign(a,{model:t.model,app:t.app,global:l,selections:t.selections,actions:i.actions}),Object.assign(n,{actions:i.actions,model:t.model,app:t.app,selections:t.selections}),[n,i]}function fA(e,t,n){"function"==typeof e.component&&(e.component=nA(e.component));const[r,a]=e.component&&e.component.__hooked?function(e,t,n){const r=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):void 0;let a=!1;const i={},l=["appLayout","constraints"],s={};t.model&&t.model.session||(s.select=!0);const c={context:{model:t.model,app:t.app,global:r,selections:t.selections,nebbie:t.nebbie,element:void 0,deviceType:n.deviceType,theme:void 0,translator:n.translator,layout:{},appLayout:{},keyboardNavigation:t.keyboardNavigation,focusHandler:t.focusHandler,constraints:s,options:{},plugins:[]},fn:e.component.fn,created(){},mounted(n){this.context.element=n,e.component.initiate(c,{explicitResize:!!t.explicitResize})},render(t){let n=!a||!1;if(t){if(t.layout&&t.layout!==this.context.layout&&(n=!0,this.context.layout=t.layout),t.context&&t.context.theme&&(this.context.theme=t.context.theme),t.context&&!!t.context.keyboardNavigation!=!!this.context.keyboardNavigation&&(this.context.keyboardNavigation=!!t.context.keyboardNavigation,n=!0),t.context&&t.context.focusHandler&&(this.context.focusHandler=t.context.focusHandler),t.options){const e={};let r=!1;Object.keys(t.options).forEach((n=>{e[n]=t.options[n],this.context.options[n]!==t.options[n]&&(r=!0)})),r&&(this.context.options=e,n=!0)}if(t.plugins){let e=this.context.plugins.length!==t.plugins.length;t.plugins.forEach(((t,n)=>{this.context.plugins[n]!==t&&(e=!0)})),e&&(this.context.plugins=[...t.plugins],n=!0)}l.forEach((e=>{const r=t.context;if(r&&Object.prototype.hasOwnProperty.call(r,e)){let t=JSON.stringify(r[e]);"constraints"===e&&(t=JSON.stringify(o(o({},r[e]),s))),t!==i[e]&&(n=!0,i[e]=t,this.context[e]=JSON.parse(t))}}))}else n=!0;return this.context.theme&&this.context.theme.name()!==i.themeName&&(n=!0,i.themeName=this.context.theme.name()),this.context.translator.language()!==i.language&&(n=!0,i.language=c.context.translator.language()),n?(a=!0,this.currentResult=e.component.run(this),this.currentResult):this.currentResult||Promise.resolve()},resize(){return e.component.updateRectOnNextRun(this),this.render()},willUnmount(){e.component.teardown(this)},setSnapshotData(t){return e.component.runSnaps(this,t)},focus(){e.component.focus(this)},blur(){e.component.blur(this)},getImperativeHandle(){return e.component.getImperativeHandle(this)},destroy(){},observeActions(t){e.component.observeActions(this,t)},isHooked:!0};return l.forEach((e=>{i[e]=JSON.stringify(c.context[e])})),i.themeName=c.context.theme?c.context.theme.name():void 0,i.language=c.context.translator?c.context.translator.language():void 0,Object.assign(c,{selections:t.selections}),[c,null]}(e,t,n):pA(e,t),i=[];return t.model.__snInterceptor&&t.model.__snInterceptor.teardown(),e.qae.properties.onChange&&(t.model.__snInterceptor={setProperties:t.model.setProperties,applyPatches:t.model.applyPatches,teardown:void 0},t.model.setProperties=function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.qae.properties.onChange.call({model:t.model},...r),t.model.__snInterceptor.setProperties.call(this,...r)},t.model.applyPatches=function(n,r){const o=r?"getEffectiveProperties":"getProperties";return t.model[o]().then((o=>{const a=zz.clone(o),i=n.map((e=>({op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath})));zz.apply(o,i),e.qae.properties.onChange.call({model:t.model},o);const l=zz.generate(a,o).map((e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path})));return t.model.__snInterceptor.applyPatches.call(this,l,r)}))},t.model.__snInterceptor.teardown=()=>{t.model.setProperties=t.model.__snInterceptor.setProperties,delete t.model.__snInterceptor},i.push(t.model.__snInterceptor.teardown)),{generator:e,component:r,selectionToolbar:{items:a?a.selectionToolbarItems:[]},destroy(){i.forEach((e=>e()))},logicalSize:e.definition.logicalSize||(()=>!1)}}const mA=()=>{};function hA(e,t){return void 0===e?()=>t:()=>e}function gA(e){const t=e||{};return{min:"function"==typeof t.min?t.min:hA(t.min,0),max:"function"==typeof t.max?t.max:hA(t.max,1e3),added:t.added||t.add||mA,description:t.description||mA,moved:t.moved||t.move||mA,removed:t.removed||t.remove||mA,replaced:t.replaced||t.replace||mA,isDefined:()=>!!e}}function vA(e){const t=e.path||"/qHyperCubeDef",n=t.slice(0,-3);if(!1===/\/(qHyperCube|qListObject)$/.test(n)){const e=n.includes("/qHyperCube")?"qHyperCubeDef":"qListObjectDef";throw new Error("Incorrect definition for ".concat(e," at ").concat(t,". Valid paths include /qHyperCubeDef or /qListObjectDef, e.g. data/qHyperCubeDef"))}return{propertyPath:t,layoutPath:n,resolveLayout:e=>((e,t,n)=>{const r=t.split("/");let o=e;if(void 0===o)return n;for(let e=0;e<r.length;++e)if(""!==r[e]){if(void 0===o[r[e]])return n;o=o[r[e]]}return o})(e,n,{}),dimensions:gA(e.dimensions),measures:gA(e.measures)}}function bA(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.properties||{};t.properties&&(t.properties.initial||t.properties.onChange)&&(n=t.properties.initial,e=t.properties.onChange);const r={properties:{initial:n,onChange:e},data:{targets:((t.data||{}).targets||[]).map(vA)},exportProperties:t.exportProperties,importProperties:t.importProperties};return r}function yA(e,t){let n;n="function"==typeof e?e(t):e;const r={qae:bA(n.qae),component:n.component||{},create:e=>fA(r,e,t),definition:{}};return Object.keys(n).forEach((e=>{r[e]||(r.definition[e]=n[e])})),r}var xA={exports:{}};!function(e,t){var n;t=e.exports=d,n="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var r=Number.MAX_SAFE_INTEGER||9007199254740991,o=t.re=[],a=t.src=[],i=t.tokens={},l=0;function s(e){i[e]=l++}s("NUMERICIDENTIFIER"),a[i.NUMERICIDENTIFIER]="0|[1-9]\\d*",s("NUMERICIDENTIFIERLOOSE"),a[i.NUMERICIDENTIFIERLOOSE]="[0-9]+",s("NONNUMERICIDENTIFIER"),a[i.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",s("MAINVERSION"),a[i.MAINVERSION]="("+a[i.NUMERICIDENTIFIER]+")\\.("+a[i.NUMERICIDENTIFIER]+")\\.("+a[i.NUMERICIDENTIFIER]+")",s("MAINVERSIONLOOSE"),a[i.MAINVERSIONLOOSE]="("+a[i.NUMERICIDENTIFIERLOOSE]+")\\.("+a[i.NUMERICIDENTIFIERLOOSE]+")\\.("+a[i.NUMERICIDENTIFIERLOOSE]+")",s("PRERELEASEIDENTIFIER"),a[i.PRERELEASEIDENTIFIER]="(?:"+a[i.NUMERICIDENTIFIER]+"|"+a[i.NONNUMERICIDENTIFIER]+")",s("PRERELEASEIDENTIFIERLOOSE"),a[i.PRERELEASEIDENTIFIERLOOSE]="(?:"+a[i.NUMERICIDENTIFIERLOOSE]+"|"+a[i.NONNUMERICIDENTIFIER]+")",s("PRERELEASE"),a[i.PRERELEASE]="(?:-("+a[i.PRERELEASEIDENTIFIER]+"(?:\\."+a[i.PRERELEASEIDENTIFIER]+")*))",s("PRERELEASELOOSE"),a[i.PRERELEASELOOSE]="(?:-?("+a[i.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+a[i.PRERELEASEIDENTIFIERLOOSE]+")*))",s("BUILDIDENTIFIER"),a[i.BUILDIDENTIFIER]="[0-9A-Za-z-]+",s("BUILD"),a[i.BUILD]="(?:\\+("+a[i.BUILDIDENTIFIER]+"(?:\\."+a[i.BUILDIDENTIFIER]+")*))",s("FULL"),s("FULLPLAIN"),a[i.FULLPLAIN]="v?"+a[i.MAINVERSION]+a[i.PRERELEASE]+"?"+a[i.BUILD]+"?",a[i.FULL]="^"+a[i.FULLPLAIN]+"$",s("LOOSEPLAIN"),a[i.LOOSEPLAIN]="[v=\\s]*"+a[i.MAINVERSIONLOOSE]+a[i.PRERELEASELOOSE]+"?"+a[i.BUILD]+"?",s("LOOSE"),a[i.LOOSE]="^"+a[i.LOOSEPLAIN]+"$",s("GTLT"),a[i.GTLT]="((?:<|>)?=?)",s("XRANGEIDENTIFIERLOOSE"),a[i.XRANGEIDENTIFIERLOOSE]=a[i.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",s("XRANGEIDENTIFIER"),a[i.XRANGEIDENTIFIER]=a[i.NUMERICIDENTIFIER]+"|x|X|\\*",s("XRANGEPLAIN"),a[i.XRANGEPLAIN]="[v=\\s]*("+a[i.XRANGEIDENTIFIER]+")(?:\\.("+a[i.XRANGEIDENTIFIER]+")(?:\\.("+a[i.XRANGEIDENTIFIER]+")(?:"+a[i.PRERELEASE]+")?"+a[i.BUILD]+"?)?)?",s("XRANGEPLAINLOOSE"),a[i.XRANGEPLAINLOOSE]="[v=\\s]*("+a[i.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[i.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[i.XRANGEIDENTIFIERLOOSE]+")(?:"+a[i.PRERELEASELOOSE]+")?"+a[i.BUILD]+"?)?)?",s("XRANGE"),a[i.XRANGE]="^"+a[i.GTLT]+"\\s*"+a[i.XRANGEPLAIN]+"$",s("XRANGELOOSE"),a[i.XRANGELOOSE]="^"+a[i.GTLT]+"\\s*"+a[i.XRANGEPLAINLOOSE]+"$",s("COERCE"),a[i.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",s("COERCERTL"),o[i.COERCERTL]=new RegExp(a[i.COERCE],"g"),s("LONETILDE"),a[i.LONETILDE]="(?:~>?)",s("TILDETRIM"),a[i.TILDETRIM]="(\\s*)"+a[i.LONETILDE]+"\\s+",o[i.TILDETRIM]=new RegExp(a[i.TILDETRIM],"g");s("TILDE"),a[i.TILDE]="^"+a[i.LONETILDE]+a[i.XRANGEPLAIN]+"$",s("TILDELOOSE"),a[i.TILDELOOSE]="^"+a[i.LONETILDE]+a[i.XRANGEPLAINLOOSE]+"$",s("LONECARET"),a[i.LONECARET]="(?:\\^)",s("CARETTRIM"),a[i.CARETTRIM]="(\\s*)"+a[i.LONECARET]+"\\s+",o[i.CARETTRIM]=new RegExp(a[i.CARETTRIM],"g");s("CARET"),a[i.CARET]="^"+a[i.LONECARET]+a[i.XRANGEPLAIN]+"$",s("CARETLOOSE"),a[i.CARETLOOSE]="^"+a[i.LONECARET]+a[i.XRANGEPLAINLOOSE]+"$",s("COMPARATORLOOSE"),a[i.COMPARATORLOOSE]="^"+a[i.GTLT]+"\\s*("+a[i.LOOSEPLAIN]+")$|^$",s("COMPARATOR"),a[i.COMPARATOR]="^"+a[i.GTLT]+"\\s*("+a[i.FULLPLAIN]+")$|^$",s("COMPARATORTRIM"),a[i.COMPARATORTRIM]="(\\s*)"+a[i.GTLT]+"\\s*("+a[i.LOOSEPLAIN]+"|"+a[i.XRANGEPLAIN]+")",o[i.COMPARATORTRIM]=new RegExp(a[i.COMPARATORTRIM],"g");s("HYPHENRANGE"),a[i.HYPHENRANGE]="^\\s*("+a[i.XRANGEPLAIN]+")\\s+-\\s+("+a[i.XRANGEPLAIN]+")\\s*$",s("HYPHENRANGELOOSE"),a[i.HYPHENRANGELOOSE]="^\\s*("+a[i.XRANGEPLAINLOOSE]+")\\s+-\\s+("+a[i.XRANGEPLAINLOOSE]+")\\s*$",s("STAR"),a[i.STAR]="(<|>)?=?\\s*\\*";for(var c=0;c<l;c++)n(c,a[c]),o[c]||(o[c]=new RegExp(a[c]));function u(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof d)return e;if("string"!=typeof e)return null;if(e.length>256)return null;if(!(t.loose?o[i.LOOSE]:o[i.FULL]).test(e))return null;try{return new d(e,t)}catch(e){return null}}function d(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof d){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof d))return new d(e,t);n("SemVer",e,t),this.options=t,this.loose=!!t.loose;var a=e.trim().match(t.loose?o[i.LOOSE]:o[i.FULL]);if(!a)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>r||this.major<0)throw new TypeError("Invalid major version");if(this.minor>r||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>r||this.patch<0)throw new TypeError("Invalid patch version");a[4]?this.prerelease=a[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<r)return t}return e})):this.prerelease=[],this.build=a[5]?a[5].split("."):[],this.format()}t.parse=u,t.valid=function(e,t){var n=u(e,t);return n?n.version:null},t.clean=function(e,t){var n=u(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null},t.SemVer=d,d.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},d.prototype.toString=function(){return this.version},d.prototype.compare=function(e){return n("SemVer.compare",this.version,this.options,e),e instanceof d||(e=new d(e,this.options)),this.compareMain(e)||this.comparePre(e)},d.prototype.compareMain=function(e){return e instanceof d||(e=new d(e,this.options)),f(this.major,e.major)||f(this.minor,e.minor)||f(this.patch,e.patch)},d.prototype.comparePre=function(e){if(e instanceof d||(e=new d(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],o=e.prerelease[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return f(r,o)}while(++t)},d.prototype.compareBuild=function(e){e instanceof d||(e=new d(e,this.options));var t=0;do{var r=this.build[t],o=e.build[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return f(r,o)}while(++t)},d.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new d(e,n).inc(t,r).version}catch(e){return null}},t.diff=function(e,t){if(v(e,t))return null;var n=u(e),r=u(t),o="";if(n.prerelease.length||r.prerelease.length){o="pre";var a="prerelease"}for(var i in n)if(("major"===i||"minor"===i||"patch"===i)&&n[i]!==r[i])return o+i;return a},t.compareIdentifiers=f;var p=/^[0-9]+$/;function f(e,t){var n=p.test(e),r=p.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1}function m(e,t,n){return new d(e,n).compare(new d(t,n))}function h(e,t,n){return m(e,t,n)>0}function g(e,t,n){return m(e,t,n)<0}function v(e,t,n){return 0===m(e,t,n)}function b(e,t,n){return 0!==m(e,t,n)}function y(e,t,n){return m(e,t,n)>=0}function x(e,t,n){return m(e,t,n)<=0}function S(e,t,n,r){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return v(e,n,r);case"!=":return b(e,n,r);case">":return h(e,n,r);case">=":return y(e,n,r);case"<":return g(e,n,r);case"<=":return x(e,n,r);default:throw new TypeError("Invalid operator: "+t)}}function w(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof w){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof w))return new w(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===C?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(e,t){return f(t,e)},t.major=function(e,t){return new d(e,t).major},t.minor=function(e,t){return new d(e,t).minor},t.patch=function(e,t){return new d(e,t).patch},t.compare=m,t.compareLoose=function(e,t){return m(e,t,!0)},t.compareBuild=function(e,t,n){var r=new d(e,n),o=new d(t,n);return r.compare(o)||r.compareBuild(o)},t.rcompare=function(e,t,n){return m(t,e,n)},t.sort=function(e,n){return e.sort((function(e,r){return t.compareBuild(e,r,n)}))},t.rsort=function(e,n){return e.sort((function(e,r){return t.compareBuild(r,e,n)}))},t.gt=h,t.lt=g,t.eq=v,t.neq=b,t.gte=y,t.lte=x,t.cmp=S,t.Comparator=w;var C={};function k(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof k)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new k(e.raw,t);if(e instanceof w)return new k(e.value,t);if(!(this instanceof k))return new k(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function E(e,t){for(var n=!0,r=e.slice(),o=r.pop();n&&r.length;)n=r.every((function(e){return o.intersects(e,t)})),o=r.pop();return n}function R(e){return!e||"x"===e.toLowerCase()||"*"===e}function L(e,t,n,r,o,a,i,l,s,c,u,d,p){return((t=R(n)?"":R(r)?">="+n+".0.0":R(o)?">="+n+"."+r+".0":">="+t)+" "+(l=R(s)?"":R(c)?"<"+(+s+1)+".0.0":R(u)?"<"+s+"."+(+c+1)+".0":d?"<="+s+"."+c+"."+u+"-"+d:"<="+l)).trim()}function O(e,t,r){for(var o=0;o<e.length;o++)if(!e[o].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(o=0;o<e.length;o++)if(n(e[o].semver),e[o].semver!==C&&e[o].semver.prerelease.length>0){var a=e[o].semver;if(a.major===t.major&&a.minor===t.minor&&a.patch===t.patch)return!0}return!1}return!0}function I(e,t,n){try{t=new k(t,n)}catch(e){return!1}return t.test(e)}function M(e,t,n,r){var o,a,i,l,s;switch(e=new d(e,r),t=new k(t,r),n){case">":o=h,a=x,i=g,l=">",s=">=";break;case"<":o=g,a=y,i=h,l="<",s="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(I(e,t,r))return!1;for(var c=0;c<t.set.length;++c){var u=t.set[c],p=null,f=null;if(u.forEach((function(e){e.semver===C&&(e=new w(">=0.0.0")),p=p||e,f=f||e,o(e.semver,p.semver,r)?p=e:i(e.semver,f.semver,r)&&(f=e)})),p.operator===l||p.operator===s)return!1;if((!f.operator||f.operator===l)&&a(e,f.semver))return!1;if(f.operator===s&&i(e,f.semver))return!1}return!0}w.prototype.parse=function(e){var t=this.options.loose?o[i.COMPARATORLOOSE]:o[i.COMPARATOR],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new d(n[2],this.options.loose):this.semver=C},w.prototype.toString=function(){return this.value},w.prototype.test=function(e){if(n("Comparator.test",e,this.options.loose),this.semver===C||e===C)return!0;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}return S(e,this.operator,this.semver,this.options)},w.prototype.intersects=function(e,t){if(!(e instanceof w))throw new TypeError("a Comparator is required");var n;if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(n=new k(e.value,t),I(this.value,n,t));if(""===e.operator)return""===e.value||(n=new k(this.value,t),I(e.semver,n,t));var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),a=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),l=S(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),s=S(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||o||a&&i||l||s},t.Range=k,k.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},k.prototype.toString=function(){return this.range},k.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var r=t?o[i.HYPHENRANGELOOSE]:o[i.HYPHENRANGE];e=e.replace(r,L),n("hyphen replace",e),e=e.replace(o[i.COMPARATORTRIM],"$1$2$3"),n("comparator trim",e,o[i.COMPARATORTRIM]),e=(e=(e=e.replace(o[i.TILDETRIM],"$1~")).replace(o[i.CARETTRIM],"$1^")).split(/\s+/).join(" ");var a=t?o[i.COMPARATORLOOSE]:o[i.COMPARATOR],l=e.split(" ").map((function(e){return function(e,t){return n("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){n("caret",e,t);var r=t.loose?o[i.CARETLOOSE]:o[i.CARET];return e.replace(r,(function(t,r,o,a,i){var l;return n("caret",e,t,r,o,a,i),R(r)?l="":R(o)?l=">="+r+".0.0 <"+(+r+1)+".0.0":R(a)?l="0"===r?">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":">="+r+"."+o+".0 <"+(+r+1)+".0.0":i?(n("replaceCaret pr",i),l="0"===r?"0"===o?">="+r+"."+o+"."+a+"-"+i+" <"+r+"."+o+"."+(+a+1):">="+r+"."+o+"."+a+"-"+i+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+a+"-"+i+" <"+(+r+1)+".0.0"):(n("no pr"),l="0"===r?"0"===o?">="+r+"."+o+"."+a+" <"+r+"."+o+"."+(+a+1):">="+r+"."+o+"."+a+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+a+" <"+(+r+1)+".0.0"),n("caret return",l),l}))}(e,t)})).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){var r=t.loose?o[i.TILDELOOSE]:o[i.TILDE];return e.replace(r,(function(t,r,o,a,i){var l;return n("tilde",e,t,r,o,a,i),R(r)?l="":R(o)?l=">="+r+".0.0 <"+(+r+1)+".0.0":R(a)?l=">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":i?(n("replaceTilde pr",i),l=">="+r+"."+o+"."+a+"-"+i+" <"+r+"."+(+o+1)+".0"):l=">="+r+"."+o+"."+a+" <"+r+"."+(+o+1)+".0",n("tilde return",l),l}))}(e,t)})).join(" ")}(e,t),n("tildes",e),e=function(e,t){return n("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim();var r=t.loose?o[i.XRANGELOOSE]:o[i.XRANGE];return e.replace(r,(function(r,o,a,i,l,s){n("xRange",e,r,o,a,i,l,s);var c=R(a),u=c||R(i),d=u||R(l),p=d;return"="===o&&p&&(o=""),s=t.includePrerelease?"-0":"",c?r=">"===o||"<"===o?"<0.0.0-0":"*":o&&p?(u&&(i=0),l=0,">"===o?(o=">=",u?(a=+a+1,i=0,l=0):(i=+i+1,l=0)):"<="===o&&(o="<",u?a=+a+1:i=+i+1),r=o+a+"."+i+"."+l+s):u?r=">="+a+".0.0"+s+" <"+(+a+1)+".0.0"+s:d&&(r=">="+a+"."+i+".0"+s+" <"+a+"."+(+i+1)+".0"+s),n("xRange return",r),r}))}(e,t)})).join(" ")}(e,t),n("xrange",e),e=function(e,t){return n("replaceStars",e,t),e.trim().replace(o[i.STAR],"")}(e,t),n("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(l=l.filter((function(e){return!!e.match(a)}))),l=l.map((function(e){return new w(e,this.options)}),this)},k.prototype.intersects=function(e,t){if(!(e instanceof k))throw new TypeError("a Range is required");return this.set.some((function(n){return E(n,t)&&e.set.some((function(e){return E(e,t)&&n.every((function(n){return e.every((function(e){return n.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new k(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},k.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}for(var t=0;t<this.set.length;t++)if(O(this.set[t],e,this.options))return!0;return!1},t.satisfies=I,t.maxSatisfying=function(e,t,n){var r=null,o=null;try{var a=new k(t,n)}catch(e){return null}return e.forEach((function(e){a.test(e)&&(r&&-1!==o.compare(e)||(o=new d(r=e,n)))})),r},t.minSatisfying=function(e,t,n){var r=null,o=null;try{var a=new k(t,n)}catch(e){return null}return e.forEach((function(e){a.test(e)&&(r&&1!==o.compare(e)||(o=new d(r=e,n)))})),r},t.minVersion=function(e,t){e=new k(e,t);var n=new d("0.0.0");if(e.test(n))return n;if(n=new d("0.0.0-0"),e.test(n))return n;n=null;for(var r=0;r<e.set.length;++r){e.set[r].forEach((function(e){var t=new d(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":n&&!h(n,t)||(n=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(n&&e.test(n))return n;return null},t.validRange=function(e,t){try{return new k(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,n){return M(e,t,"<",n)},t.gtr=function(e,t,n){return M(e,t,">",n)},t.outside=M,t.prerelease=function(e,t){var n=u(e,t);return n&&n.prerelease.length?n.prerelease:null},t.intersects=function(e,t,n){return e=new k(e,n),t=new k(t,n),e.intersects(t)},t.coerce=function(e,t){if(e instanceof d)return e;"number"==typeof e&&(e=String(e));if("string"!=typeof e)return null;var n=null;if((t=t||{}).rtl){for(var r;(r=o[i.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),o[i.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;o[i.COERCERTL].lastIndex=-1}else n=e.match(o[i.COERCE]);if(null===n)return null;return u(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}}(xA,xA.exports);const SA={};async function wA(e,t,n,r){let{config:o}=n;const a="".concat(e,"__").concat(t);if(!SA[a]){const n="".concat(e).concat(t&&" v".concat(t)||"");if(r&&"function"!=typeof r)throw new Error("load of visualization '".concat(n,"' is not a fuction, wrap load promise in function"));const i=(r||o.load)({name:e,version:t}),l=Promise.resolve(i);SA[a]=l.then((e=>{if(!e)throw new Error("load() of visualization '".concat(n,"' resolved to an invalid object"));return e})).catch((e=>{throw new Error("Failed to load visualization: '".concat(n,"'"))}))}return SA[a]}function CA(e,t){const n={};let r=null;return{get:e=>n[e],register:(a,i)=>{if(n[a])throw new Error("Supernova '".concat(e,"@").concat(a,"' already registered."));n[a]=function(e,t){let n,r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{meta:i}=a,l={name:e.name,version:e.version,supportsPropertiesVersion:e=>!(e&&i&&i.deps&&i.deps.properties)||xA.exports.satisfies(e,i.deps.properties),supernova:()=>wA(l.name,l.version,t,a.load).then((e=>(n=n||yA(e,t.public.galaxy),r=JSON.stringify(n.qae.properties.initial),n))),initialProperties(e){return this.supernova().then((()=>o(o({qInfo:{qType:l.name},visualization:l.name,version:l.version,showTitles:!0},JSON.parse(r)),e)))}};return l}({name:e,version:a},t,i),r=null},getMatchingVersionFromProperties:e=>{r||(r=function(e){const t=e.filter((e=>"undefined"===e));return[...t,...e.filter((e=>"undefined"!==e)).map((e=>e.split(".").map((e=>parseInt(e,10))))).sort(((e,t)=>e[0]-t[0]||e[1]-t[1]||e[2]-t[2])).map((e=>e.join(".")))]}(Object.keys(n)));for(let t=r.length-1;t>=0;t--){if(n[r[t]].supportsPropertiesVersion(e))return r[t]}return null},versions:n}}function kA(e){let{halo:t,parent:n}=e;const r={},o=n||{get:()=>{}};return{register:(e,n)=>{r[e.name]||(r[e.name]=CA(e.name,t)),r[e.name].register(e.version,n)},getSupportedVersion:(e,t)=>r[e]?r[e].getMatchingVersionFromProperties(t):null,get(e){const{name:t}=e;let{version:n}=e;if(r[t]){if(!r[t].versions[n]){n=Object.keys(r[t].versions)[0]}}else this.register({name:t,version:n});return r[t].get(n)||o.get(e)},getList:()=>Object.keys(r).map((e=>({name:e,versions:Object.keys(r[e].versions).map((e=>"undefined"===e?void 0:e))}))),clearFromCache:e=>{r[e]&&(r[e]=void 0),function(e){Object.keys(SA).forEach((t=>{t.split("__")[0]===e&&(SA[t]=void 0)}))}(e)}}}const EA=["__DO_NOT_USE__"],RA={get:async e=>{const t=await fetch("/njs/snapshot/".concat(e));if(!t.ok)throw new Error(t.statusText);return t.json()},capture:e=>fetch("/njs/capture",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then((e=>e.json()))},LA=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o(o({},e),t)},OA=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[...e,...t].filter(((e,t,n)=>n.indexOf(e)===t))},IA=(e,t)=>({context:LA(e.context,t.context),load:t.load||e.load,snapshot:o({},t.snapshot||e.snapshot),types:OA(e.types,t.types),themes:OA(e.themes,t.themes),flags:LA(e.flags,t.flags),anything:LA(e.anything,t.anything)}),MA=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{__DO_NOT_USE__:t={}}=e,n=l(e,EA),r={update:void 0,fetchStart:void 0,showGray:!0,focusSearch:!1,sessionModel:void 0,selectionsApi:void 0,selectDisabled:void 0,postProcessPages:void 0,calculatePagesHeight:!1},a=o(o(o({},n),r),t);return a};var TA=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=p(t.context.language);function r(e,a){if(a)return r.createConfiguration(a)(e);let i=o(o({},t.context),{},{translator:n.translator});const[l]=ok({app:e,context:i}),s=Ue({themes:t.themes,root:l}),c={galaxy:{translator:n.translator,flags:Pz(t.flags),deviceType:Ve(t.context.deviceType),anything:t.anything},theme:s.externalAPI,translator:n.translator,nebbie:null},u={app:e,root:l,config:t,public:c,context:i,types:null},d=kA({halo:u});t.types.forEach((e=>d.register({name:e.name,version:e.version},{meta:e.meta,load:e.load})));let p=s.setTheme(t.context.theme),f=null,m=null;const h={render:async e=>(await p,e.id?Tz(e,u):Mz(e,u)),context:async e=>{let t;["theme","language","constraints","keyboardNavigation"].forEach((n=>{Object.prototype.hasOwnProperty.call(e,n)&&e[n]!==i[n]&&(t||(t={}),t[n]=e[n])})),t&&(i=o(o(o({},i),t),{},{translator:n.translator}),u.context=i,t.theme&&(p=s.setTheme(t.theme),await p),t.language&&u.public.translator.language(t.language),l.context(i))},selections:async()=>(f||(f={mount(t){m||(m=KP({element:t,app:e}),l.add(m))},unmount(){m&&(l.remove(m),m=null)}}),f),field:async t=>{const n="string"==typeof t?t:t.qLibraryId;if(!n)throw new Error("Field identifier must be provided");const r={fieldName:n,mount(r){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!r)throw new Error("Element for ".concat(n," not provided"));if(this._instance)throw new Error("Field ".concat(n," already mounted"));this._instance=fN({element:r,app:e,fieldIdentifier:t,options:MA(o),stateName:o.stateName||"$"}),l.add(this._instance)},unmount(){this._instance&&(l.remove(this._instance),this._instance=null)}};return r},getRegisteredTypes:d.getList,__DO_NOT_USE__:{types:d}};return u.public.nebbie=h,u.types=d,h}return r.createConfiguration=n=>e(IA(t,n)),r.config=t,r}({context:{theme:"light",language:"en-US",deviceType:"auto",constraints:{},keyboardNavigation:!1,disableCellPadding:!1},load:()=>{},types:[],themes:[],anything:{},snapshot:RA}),PA={exports:{}},NA={exports:{}};!function(e,t){e.exports=function(){function e(){return{getObjectApi:()=>Promise.resolve({id:"sessapi - ".concat(+Date.now())})}}function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?t(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var a=Object.prototype.hasOwnProperty,i=Object.prototype.toString,l=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===i.call(e)},u=function(e){if(!e||"[object Object]"!==i.call(e))return!1;var t,n=a.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&a.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||a.call(e,t)},d=function(e,t){l&&"__proto__"===t.name?l(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},p=function(e,t){if("__proto__"===t){if(!a.call(e,t))return;if(s)return s(e,t).value}return e[t]},f=function e(){var t,n,r,o,a,i,l=arguments[0],s=1,f=arguments.length,m=!1;for("boolean"==typeof l&&(m=l,l=arguments[1]||{},s=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});s<f;++s)if(null!=(t=arguments[s]))for(n in t)r=p(l,n),l!==(o=p(t,n))&&(m&&o&&(u(o)||(a=c(o)))?(a?(a=!1,i=r&&c(r)?r:[]):i=r&&u(r)?r:{},d(l,{name:n,newValue:e(m,i,o)})):void 0!==o&&d(l,{name:n,newValue:o}));return l};const m=globalThis.crypto||{getRandomValues:()=>123456};function h(){return e=>{const t=f({},e);t.qInfo=t.qInfo||{},t.qInfo.qId=t.qInfo.qId||"mock-".concat(([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^m.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16))));const r=t._mock;let o=t;return r&&(delete t._mock,o=f({},t,r)),Promise.resolve(n({on:()=>{},once:()=>{},getLayout:()=>Promise.resolve(o),getProperties:()=>Promise.resolve(t),getEffectiveProperties:()=>Promise.resolve(t),id:t.qInfo.qId},t))}}const g=function(e){let{args:t=[],defaultValue:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"function"==typeof e?e(...t):void 0!==e?e:n},v=function(e){let{defaultValue:t,async:n=!0,delay:r=0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];const l=g(e,{defaultValue:t,args:a});return n?new Promise((e=>{setTimeout((()=>e(l)),r)})):l}},b=["id","session"],y=["addListener","emit","listeners","on","once","removeAllListeners","removeListener","setMaxListerners"];function x(e){return!y.includes(e)}function S(e){const t=g(e.getLayout);return t.qInfo&&t.qInfo.qId}function w(e,t){return e.reduce(((e,r)=>n(n({},e),function(e,t){const r=S(e),{delay:a}=t,{id:i,session:l}=e,s=o(e,b);return{[r]:n({id:g(i,{defaultValue:"object - ".concat(+Date.now())}),session:g(l,{defaultValue:!0}),on:()=>{},once:()=>{}},Object.entries(s).reduce(((e,t)=>{let[r,o]=t;return n(n({},e),{},{[r]:v(o,{async:x(r),delay:a})})}),{}))}}(r,t))),{})}function C(e){if(!e.getLayout)throw new Error('Generic object is missing "getLayout"');if(!S(e))throw new Error('Generic object is missing "qId" for path "getLayout().qInfo.qId"')}function k(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Array.isArray(e)||0===e.length)return()=>{throw new Error('No "genericObjects" specified')};e.forEach(C);const n=w(e,t);return async e=>Promise.resolve(n[e])}function E(){return()=>Promise.resolve({id:"app-layout"})}const R={fromGenericObjects(t){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=new e,o=new h,a=new k(t,n),i=new E,l={id:"app - ".concat(+Date.now()),session:r,createSessionObject:o,getObject:a,getAppLayout:i};return Promise.resolve(l)}(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}};return R}()}(NA),function(e){e.exports=NA.exports}(PA);var zA=n(PA.exports);const AA={generator:yA,hook:nA,theme:We,locale:u};e.EnigmaMocker=zA,e.__DO_NOT_USE__=AA,e.conversion=AN,e.embed=TA,e.onTakeSnapshot=function(e){const t=Jz(++Wz);t.value||(t.value=1,Bz.__hooks.snaps.push(t)),t.fn=e},e.useAction=function(e,t){const[n]=rA({action(){n._config.action.call(null)}});return n.component||(n.component=Bz,Bz.__hooks.actions.list.push(n)),iA((()=>{const t=e();n._config=t,n.active=t.active||!1,n.disabled=t.disabled||!1,n.hidden=t.hidden||!1,n.label=t.label||"",n.getSvgIconShape=t.icon?()=>t.icon:void 0,n.key=t.key||n.component.__hooks.actions.list.length,n.component.__hooks.actions.changed=!0}),t),n.action},e.useApp=function(){const e=eA("app");return e&&e.session?e:void 0},e.useAppLayout=function(){return eA("appLayout")},e.useConstraints=function(){return eA("constraints")},e.useDeviceType=function(){return eA("deviceType")},e.useEffect=oA,e.useElement=lA,e.useEmbed=function(){return eA("nebbie")},e.useGlobal=function(){const e=eA("global");return e&&e.session?e:void 0},e.useImperativeHandle=function(e,t){const n=Jz(++Wz);if(n.imperative||(n.imperative=!0),Hz(n.value?n.value[0]:void 0,t)){const r=e();n.value=[t,r],Bz.__hooks.imperativeHandle=r}},e.useKeyboard=function(){const e=eA("keyboardNavigation"),t=eA("focusHandler");if(!Bz.__hooks.accessibility.exitFunction){const e=function(e){const n=this.__hooks.accessibility;n.enabled&&n.active&&(cA(this),t&&t.blurCallback&&t.blurCallback(e))}.bind(Bz);Bz.__hooks.accessibility.exitFunction=e;const n=function(){const e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),sA(this))}.bind(Bz);Bz.__hooks.accessibility.focusFunction=n;const r=function(e){this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}.bind(Bz);Bz.__hooks.accessibility.focusSelectionFunction=r}const n=Bz.__hooks.accessibility.focusFunction,r=Bz.__hooks.accessibility.exitFunction,o=Bz.__hooks.accessibility.focusSelectionFunction,[a,i]=rA({active:!1,enabled:e,blur:r,focus:n,focusSelection:o});return Bz.__hooks.accessibility.setter=i,Bz.__hooks.accessibility.enabled=e,oA((()=>i({active:!1,enabled:e,blur:r,focus:n,focusSelection:o})),[e]),a},e.useLayout=function(){return eA("layout")},e.useMemo=iA,e.useModel=function(){const e=eA("model");return e&&e.session?e:void 0},e.useOptions=function(){return eA("options")},e.usePlugins=function(){return eA("plugins")},e.usePromise=function(e,t){const[n,r]=rA((()=>({resolved:void 0,rejected:void 0,state:"pending"}))),o=Jz(++Wz);return o.component||(o.component=Bz),aA((()=>{let t=!1;return o.teardown=()=>{t=!0,o.teardown=null;const e=o.component.__hooks.pendingPromises.indexOf(o);e>-1&&o.component.__hooks.pendingPromises.splice(e,1)},e().then((e=>{t||(o.teardown&&o.teardown(),r({resolved:e,rejected:void 0,state:"resolved"}))})).catch((e=>{t||(o.teardown&&o.teardown(),r({resolved:void 0,rejected:e,state:"resolved"}))})),o.component.__hooks.pendingPromises.push(o),()=>{o.teardown&&o.teardown()}}),t),[n.resolved,n.rejected]},e.useRect=function(){const e=lA(),t=Bz.__hooks.resizer,[n,r]=rA((()=>{const{left:t,top:n,width:r,height:o}=e.getBoundingClientRect();return{left:t,top:n,width:r,height:o}}));return t.current=n,-1===t.setters.indexOf(r)&&t.setters.push(r),t.update&&t.resize&&(t.update=!1,t.resize()),aA((()=>{if(t.initiated)return;t.initiated=!0;const n=()=>{const{left:n,top:r,width:o,height:a}=e.getBoundingClientRect(),i=t.current;i.width===o&&i.height===a&&i.left===n&&i.top===r||t.setters.forEach((e=>e({left:n,top:r,width:o,height:a})))};if(t.resize=()=>{n()},t.explicitResize)return()=>{t.resize=void 0};if("function"==typeof ResizeObserver){let r=new ResizeObserver(n);return r.observe(e),()=>{r.unobserve(e),r.disconnect(e),r=null,t.resize=void 0}}}),[e]),n},e.useRenderState=function(){Jz(++Wz);const e=Bz.__hooks;return{pending:()=>{e.waitForData=!0},restore:()=>{e.waitForData=!1}}},e.useSelections=function(){return eA("selections")},e.useStaleLayout=function(){const e=eA("layout"),[t]=rA({current:e});return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current},e.useState=rA,e.useTheme=function(){return eA("theme")},e.useTranslator=function(){return eA("translator")},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
235
|
+
`),oM,(t.vars||t).palette.action.hover)));const aM=Dp({},Ax,rg("MuiSlider",["colorPrimary","colorSecondary","thumbColorPrimary","thumbColorSecondary","sizeSmall","thumbSizeSmall"]));VS("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${Lh(n.color)}`],"medium"!==n.size&&t[`size${Lh(n.size)}`],n.marked&&t.marked,"vertical"===n.orientation&&t.vertical,"inverted"===n.track&&t.trackInverted,!1===n.track&&t.trackFalse]}})((({theme:e,ownerState:t})=>Dp({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:(e.vars||e).palette[t.color].main,WebkitTapHighlightColor:"transparent"},"horizontal"===t.orientation&&Dp({height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}},"small"===t.size&&{height:2},t.marked&&{marginBottom:20}),"vertical"===t.orientation&&Dp({height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}},"small"===t.size&&{width:2},t.marked&&{marginRight:44}),{"@media print":{colorAdjust:"exact"},[`&.${aM.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${aM.dragging}`]:{[`& .${aM.thumb}, & .${aM.track}`]:{transition:"none"}}}))),VS("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})((({ownerState:e})=>Dp({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38},"horizontal"===e.orientation&&{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===e.orientation&&{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"},"inverted"===e.track&&{opacity:1}))),VS("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?nb(e.palette[t.color].main,.62):tb(e.palette[t.color].main,.5);return Dp({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest})},"small"===t.size&&{border:"none"},"horizontal"===t.orientation&&{height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===t.orientation&&{width:"inherit",left:"50%",transform:"translateX(-50%)"},!1===t.track&&{display:"none"},"inverted"===t.track&&{backgroundColor:e.vars?e.vars.palette.Slider[`${t.color}Track`]:n,borderColor:e.vars?e.vars.palette.Slider[`${t.color}Track`]:n})})),VS("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${Lh(n.color)}`],"medium"!==n.size&&t[`thumbSize${Lh(n.size)}`]]}})((({theme:e,ownerState:t})=>Dp({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest})},"small"===t.size&&{width:12,height:12},"horizontal"===t.orientation&&{top:"50%",transform:"translate(-50%, -50%)"},"vertical"===t.orientation&&{left:"50%",transform:"translate(-50%, 50%)"},{"&:before":Dp({position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"small"===t.size&&{boxShadow:"none"}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&:hover, &.${aM.focusVisible}`]:{boxShadow:`0px 0px 0px 8px ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.16)`:eb(e.palette[t.color].main,.16)}`,"@media (hover: none)":{boxShadow:"none"}},[`&.${aM.active}`]:{boxShadow:`0px 0px 0px 14px ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.16)`:eb(e.palette[t.color].main,.16)}`},[`&.${aM.disabled}`]:{"&:hover":{boxShadow:"none"}}}))),VS((function(e){const{children:t,className:n,value:r,theme:o}=e,a=(e=>{const{open:t}=e;return{offset:Hb(t&&Ax.valueLabelOpen),circle:Ax.valueLabelCircle,label:Ax.valueLabelLabel}})(e);return Ge.exports.cloneElement(t,{className:Hb(t.props.className)},uh.exports.jsxs(Ge.exports.Fragment,{children:[t.props.children,uh.exports.jsx("span",{className:Hb(a.offset,n),theme:o,"aria-hidden":!0,children:uh.exports.jsx("span",{className:a.circle,children:uh.exports.jsx("span",{className:a.label,children:r})})})]}))}),{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})((({theme:e,ownerState:t})=>Dp({[`&.${aM.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"},zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),transform:"translateY(-100%) scale(0)",position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem"},"horizontal"===t.orientation&&{top:"-10px",transformOrigin:"bottom center","&:before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"}},"vertical"===t.orientation&&{right:"30px",top:"24px",transformOrigin:"right center","&:before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",right:"-20%",top:"25%"}},"small"===t.size&&{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}))),VS("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>US(e)&&"markActive"!==e,overridesResolver:(e,t)=>t.mark})((({theme:e,ownerState:t,markActive:n})=>Dp({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},"horizontal"===t.orientation&&{top:"50%",transform:"translate(-1px, -50%)"},"vertical"===t.orientation&&{left:"50%",transform:"translate(-50%, 1px)"},n&&{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}))),VS("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>US(e)&&"markLabelActive"!==e,overridesResolver:(e,t)=>t.markLabel})((({theme:e,ownerState:t,markLabelActive:n})=>Dp({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap"},"horizontal"===t.orientation&&{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}},"vertical"===t.orientation&&{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}},n&&{color:(e.vars||e).palette.text.primary}))),rg("MuiSnackbarContent",["root","message","action"]),VS(JS,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>{const t="light"===e.palette.mode?.8:.98,n=rb(e.palette.background.default,t);return Dp({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})})),VS("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),VS("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),rg("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]),VS("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${Lh(n.anchorOrigin.vertical)}${Lh(n.anchorOrigin.horizontal)}`]]}})((({theme:e,ownerState:t})=>Dp({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},"top"===t.anchorOrigin.vertical?{top:8}:{bottom:8},"left"===t.anchorOrigin.horizontal&&{justifyContent:"flex-start"},"right"===t.anchorOrigin.horizontal&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:Dp({},"top"===t.anchorOrigin.vertical?{top:24}:{bottom:24},"center"===t.anchorOrigin.horizontal&&{left:"50%",right:"auto",transform:"translateX(-50%)"},"left"===t.anchorOrigin.horizontal&&{left:24,right:"auto"},"right"===t.anchorOrigin.horizontal&&{right:24,left:"auto"})})));const iM=rg("MuiSpeedDial",["root","fab","directionUp","directionDown","directionLeft","directionRight","actions","actionsClosed"]);VS("div",{name:"MuiSpeedDial",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`direction${Lh(n.direction)}`]]}})((({theme:e,ownerState:t})=>Dp({zIndex:(e.vars||e).zIndex.speedDial,display:"flex",alignItems:"center",pointerEvents:"none"},"up"===t.direction&&{flexDirection:"column-reverse",[`& .${iM.actions}`]:{flexDirection:"column-reverse",marginBottom:-32,paddingBottom:48}},"down"===t.direction&&{flexDirection:"column",[`& .${iM.actions}`]:{flexDirection:"column",marginTop:-32,paddingTop:48}},"left"===t.direction&&{flexDirection:"row-reverse",[`& .${iM.actions}`]:{flexDirection:"row-reverse",marginRight:-32,paddingRight:48}},"right"===t.direction&&{flexDirection:"row",[`& .${iM.actions}`]:{flexDirection:"row",marginLeft:-32,paddingLeft:48}}))),VS(PR,{name:"MuiSpeedDial",slot:"Fab",overridesResolver:(e,t)=>t.fab})((()=>({pointerEvents:"auto"}))),VS("div",{name:"MuiSpeedDial",slot:"Actions",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.actions,!n.open&&t.actionsClosed]}})((({ownerState:e})=>Dp({display:"flex",pointerEvents:"auto"},!e.open&&{transition:"top 0s linear 0.2s",pointerEvents:"none"})));const lM=rg("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);VS(zk,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((({theme:e,ownerState:t,open:n})=>Dp({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${lM.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${lM.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${lM.arrow}`]:Dp({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${lM.arrow}`]:Dp({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),VS("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${Lh(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>{return Dp({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:eb(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(n=16/14,Math.round(1e5*n)/1e5)+"em",fontWeight:e.typography.fontWeightRegular},{[`.${lM.popper}[data-popper-placement*="left"] &`]:Dp({transformOrigin:"right center"},t.isRtl?Dp({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):Dp({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${lM.popper}[data-popper-placement*="right"] &`]:Dp({transformOrigin:"left center"},t.isRtl?Dp({marginRight:"14px"},t.touch&&{marginRight:"24px"}):Dp({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${lM.popper}[data-popper-placement*="top"] &`]:Dp({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${lM.popper}[data-popper-placement*="bottom"] &`]:Dp({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n})),VS("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:eb(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));const sM=rg("MuiSpeedDialAction",["fab","fabClosed","staticTooltip","staticTooltipClosed","staticTooltipLabel","tooltipPlacementLeft","tooltipPlacementRight"]);VS(PR,{name:"MuiSpeedDialAction",slot:"Fab",skipVariantsResolver:!1,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.fab,!n.open&&t.fabClosed]}})((({theme:e,ownerState:t})=>Dp({margin:8,color:(e.vars||e).palette.text.secondary,backgroundColor:(e.vars||e).palette.background.paper,"&:hover":{backgroundColor:e.vars?e.vars.palette.SpeedDialAction.fabHoverBg:rb(e.palette.background.paper,.15)},transition:`${e.transitions.create("transform",{duration:e.transitions.duration.shorter})}, opacity 0.8s`,opacity:1},!t.open&&{opacity:0,transform:"scale(0)"}))),VS("span",{name:"MuiSpeedDialAction",slot:"StaticTooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.staticTooltip,!n.open&&t.staticTooltipClosed,t[`tooltipPlacement${Lh(n.tooltipPlacement)}`]]}})((({theme:e,ownerState:t})=>({position:"relative",display:"flex",alignItems:"center",[`& .${sM.staticTooltipLabel}`]:Dp({transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.shorter}),opacity:1},!t.open&&{opacity:0,transform:"scale(0.5)"},"left"===t.tooltipPlacement&&{transformOrigin:"100% 50%",right:"100%",marginRight:8},"right"===t.tooltipPlacement&&{transformOrigin:"0% 50%",left:"100%",marginLeft:8})}))),VS("span",{name:"MuiSpeedDialAction",slot:"StaticTooltipLabel",overridesResolver:(e,t)=>t.staticTooltipLabel})((({theme:e})=>Dp({position:"absolute"},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.paper,borderRadius:(e.vars||e).shape.borderRadius,boxShadow:(e.vars||e).shadows[1],color:(e.vars||e).palette.text.secondary,padding:"4px 16px",wordBreak:"keep-all"})));var cM=ck(uh.exports.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");function uM(e){return ng("MuiSpeedDialIcon",e)}const dM=rg("MuiSpeedDialIcon",["root","icon","iconOpen","iconWithOpenIconOpen","openIcon","openIconOpen"]),pM=["className","icon","open","openIcon"],fM=VS("span",{name:"MuiSpeedDialIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${dM.icon}`]:t.icon},{[`& .${dM.icon}`]:n.open&&t.iconOpen},{[`& .${dM.icon}`]:n.open&&n.openIcon&&t.iconWithOpenIconOpen},{[`& .${dM.openIcon}`]:t.openIcon},{[`& .${dM.openIcon}`]:n.open&&t.openIconOpen},t.root]}})((({theme:e,ownerState:t})=>({height:24,[`& .${dM.icon}`]:Dp({transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.short})},t.open&&Dp({transform:"rotate(45deg)"},t.openIcon&&{opacity:0})),[`& .${dM.openIcon}`]:Dp({position:"absolute",transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.short}),opacity:0,transform:"rotate(-45deg)"},t.open&&{transform:"rotate(0deg)",opacity:1})}))),mM=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiSpeedDialIcon"}),{className:r,icon:o,openIcon:a}=n,i=$p(n,pM),l=n,s=(e=>{const{classes:t,open:n,openIcon:r}=e;return Qh({root:["root"],icon:["icon",n&&"iconOpen",r&&n&&"iconWithOpenIconOpen"],openIcon:["openIcon",n&&"openIconOpen"]},uM,t)})(l);function c(e,t){return Ge.exports.isValidElement(e)?Ge.exports.cloneElement(e,{className:t}):e}return uh.exports.jsxs(fM,Dp({className:KS(s.root,r),ref:t,ownerState:l},i,{children:[a?c(a,s.openIcon):null,o?c(o,s.icon):uh.exports.jsx(cM,{className:s.icon})]}))}));mM.muiName="SpeedDialIcon";VS("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>[t.root]})((({ownerState:e,theme:t})=>{let n=Dp({display:"flex",flexDirection:"column"},sg({theme:t},pg({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const r=Cg(t),o=Object.keys(t.breakpoints.values).reduce(((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t)),{}),a=pg({values:e.direction,base:o}),i=pg({values:e.spacing,base:o});"object"==typeof a&&Object.keys(a).forEach(((e,t,n)=>{if(!a[e]){const r=t>0?a[n[t-1]]:"column";a[e]=r}}));n=Eh(n,sg({theme:t},i,((t,n)=>{return{"& > :not(style) + :not(style)":{margin:0,[`margin${o=n?a[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:kg(r,t)}};var o})))}return n=dg(t.breakpoints,n),n}));const hM=Ge.exports.createContext({}),gM=Ge.exports.createContext({});rg("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]),VS("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.completed&&t.completed]}})((({ownerState:e})=>Dp({},"horizontal"===e.orientation&&{paddingLeft:8,paddingRight:8},e.alternativeLabel&&{flex:1,position:"relative"})));var vM=ck(uh.exports.jsx("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),bM=ck(uh.exports.jsx("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");function yM(e){return ng("MuiStepIcon",e)}const xM=rg("MuiStepIcon",["root","active","completed","error","text"]);var SM;const wM=["active","className","completed","error","icon"],CM=VS(sk,{name:"MuiStepIcon",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),color:(e.vars||e).palette.text.disabled,[`&.${xM.completed}`]:{color:(e.vars||e).palette.primary.main},[`&.${xM.active}`]:{color:(e.vars||e).palette.primary.main},[`&.${xM.error}`]:{color:(e.vars||e).palette.error.main}}))),kM=VS("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(e,t)=>t.text})((({theme:e})=>({fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily}))),EM=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiStepIcon"}),{active:r=!1,className:o,completed:a=!1,error:i=!1,icon:l}=n,s=$p(n,wM),c=Dp({},n,{active:r,completed:a,error:i}),u=(e=>{const{classes:t,active:n,completed:r,error:o}=e;return Qh({root:["root",n&&"active",r&&"completed",o&&"error"],text:["text"]},yM,t)})(c);if("number"==typeof l||"string"==typeof l){const e=KS(o,u.root);return i?uh.exports.jsx(CM,Dp({as:bM,className:e,ref:t,ownerState:c},s)):a?uh.exports.jsx(CM,Dp({as:vM,className:e,ref:t,ownerState:c},s)):uh.exports.jsxs(CM,Dp({className:e,ref:t,ownerState:c},s,{children:[SM||(SM=uh.exports.jsx("circle",{cx:"12",cy:"12",r:"12"})),uh.exports.jsx(kM,{className:u.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:c,children:l})]}))}return l}));function RM(e){return ng("MuiStepLabel",e)}const LM=rg("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]),OM=["children","className","componentsProps","error","icon","optional","StepIconComponent","StepIconProps"],IM=VS("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation]]}})((({ownerState:e})=>Dp({display:"flex",alignItems:"center",[`&.${LM.alternativeLabel}`]:{flexDirection:"column"},[`&.${LM.disabled}`]:{cursor:"default"}},"vertical"===e.orientation&&{textAlign:"left",padding:"8px 0"}))),MM=VS("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(e,t)=>t.label})((({theme:e})=>Dp({},e.typography.body2,{display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),[`&.${LM.active}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${LM.completed}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${LM.alternativeLabel}`]:{textAlign:"center",marginTop:16},[`&.${LM.error}`]:{color:(e.vars||e).palette.error.main}}))),TM=VS("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(e,t)=>t.iconContainer})((()=>({flexShrink:0,display:"flex",paddingRight:8,[`&.${LM.alternativeLabel}`]:{paddingRight:0}}))),PM=VS("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})((({theme:e})=>({width:"100%",color:(e.vars||e).palette.text.secondary}))),NM=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiStepLabel"}),{children:r,className:o,componentsProps:a={},error:i=!1,icon:l,optional:s,StepIconComponent:c,StepIconProps:u}=n,d=$p(n,OM),{alternativeLabel:p,orientation:f}=Ge.exports.useContext(hM),{active:m,disabled:h,completed:g,icon:v}=Ge.exports.useContext(gM),b=l||v;let y=c;b&&!y&&(y=EM);const x=Dp({},n,{active:m,alternativeLabel:p,completed:g,disabled:h,error:i,orientation:f}),S=(e=>{const{classes:t,orientation:n,active:r,completed:o,error:a,disabled:i,alternativeLabel:l}=e;return Qh({root:["root",n,a&&"error",i&&"disabled",l&&"alternativeLabel"],label:["label",r&&"active",o&&"completed",a&&"error",i&&"disabled",l&&"alternativeLabel"],iconContainer:["iconContainer",r&&"active",o&&"completed",a&&"error",i&&"disabled",l&&"alternativeLabel"],labelContainer:["labelContainer"]},RM,t)})(x);return uh.exports.jsxs(IM,Dp({className:KS(S.root,o),ref:t,ownerState:x},d,{children:[b||y?uh.exports.jsx(TM,{className:S.iconContainer,ownerState:x,children:uh.exports.jsx(y,Dp({completed:g,active:m,error:i,icon:b},u))}):null,uh.exports.jsxs(PM,{className:S.labelContainer,ownerState:x,children:[r?uh.exports.jsx(MM,Dp({className:S.label,ownerState:x},a.label,{children:r})):null,s]})]}))}));NM.muiName="StepLabel";const zM=rg("MuiStepButton",["root","horizontal","vertical","touchRipple"]);VS(tC,{name:"MuiStepButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${zM.touchRipple}`]:t.touchRipple},t.root,t[n.orientation]]}})((({ownerState:e})=>Dp({width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},"vertical"===e.orientation&&{justifyContent:"flex-start",padding:"8px",margin:"-8px"},{[`& .${zM.touchRipple}`]:{color:"rgba(0, 0, 0, 0.3)"}}))),rg("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"]),VS("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.completed&&t.completed]}})((({ownerState:e})=>Dp({flex:"1 1 auto"},"vertical"===e.orientation&&{marginLeft:12},e.alternativeLabel&&{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"}))),VS("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.line,t[`line${Lh(n.orientation)}`]]}})((({ownerState:e,theme:t})=>{const n="light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600];return Dp({display:"block",borderColor:t.vars?t.vars.palette.StepConnector.border:n},"horizontal"===e.orientation&&{borderTopStyle:"solid",borderTopWidth:1},"vertical"===e.orientation&&{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24})})),rg("MuiStepContent",["root","last","transition"]),VS("div",{name:"MuiStepContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.last&&t.last]}})((({ownerState:e,theme:t})=>Dp({marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:t.vars?`1px solid ${t.vars.palette.StepContent.border}`:`1px solid ${"light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600]}`},e.last&&{borderLeft:"none"}))),VS(vk,{name:"MuiStepContent",slot:"Transition",overridesResolver:(e,t)=>t.transition})({}),rg("MuiStepper",["root","horizontal","vertical","alternativeLabel"]),VS("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel]}})((({ownerState:e})=>Dp({display:"flex"},"horizontal"===e.orientation&&{flexDirection:"row",alignItems:"center"},"vertical"===e.orientation&&{flexDirection:"column"},e.alternativeLabel&&{alignItems:"flex-start"}))),VS("div")((({theme:e,ownerState:t})=>Dp({position:"fixed",top:0,left:0,bottom:0,zIndex:e.zIndex.drawer-1},"left"===t.anchor&&{right:"auto"},"right"===t.anchor&&{left:"auto",right:0},"top"===t.anchor&&{bottom:"auto",right:0},"bottom"===t.anchor&&{top:"auto",bottom:0,right:0}))),"undefined"!=typeof navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent);const AM=rg("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);VS("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${Lh(n.edge)}`],t[`size${Lh(n.size)}`]]}})((({ownerState:e})=>Dp({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===e.edge&&{marginLeft:-8},"end"===e.edge&&{marginRight:-8},"small"===e.size&&{width:40,height:24,padding:7,[`& .${AM.thumb}`]:{width:16,height:16},[`& .${AM.switchBase}`]:{padding:4,[`&.${AM.checked}`]:{transform:"translateX(16px)"}}}))),VS(WE,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${AM.input}`]:t.input},"default"!==n.color&&t[`color${Lh(n.color)}`]]}})((({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${AM.checked}`]:{transform:"translateX(20px)"},[`&.${AM.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${AM.checked} + .${AM.track}`]:{opacity:.5},[`&.${AM.disabled} + .${AM.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2)},[`& .${AM.input}`]:{left:"-100%",width:"300%"}})),(({theme:e,ownerState:t})=>Dp({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:eb(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${AM.checked}`]:{color:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:eb(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${AM.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t.color}DisabledColor`]:`${"light"===e.palette.mode?nb(e.palette[t.color].main,.62):tb(e.palette[t.color].main,.55)}`}},[`&.${AM.checked} + .${AM.track}`]:{backgroundColor:(e.vars||e).palette[t.color].main}}))),VS("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})((({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:""+("light"===e.palette.mode?.38:.3)}))),VS("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})));const _M=rg("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);VS(tC,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${Lh(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})((({theme:e,ownerState:t})=>Dp({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:"top"===t.iconPosition||"bottom"===t.iconPosition?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${_M.iconWrapper}`]:Dp({},"top"===t.iconPosition&&{marginBottom:6},"bottom"===t.iconPosition&&{marginTop:6},"start"===t.iconPosition&&{marginRight:e.spacing(1)},"end"===t.iconPosition&&{marginLeft:e.spacing(1)})},"inherit"===t.textColor&&{color:"inherit",opacity:.6,[`&.${_M.selected}`]:{opacity:1},[`&.${_M.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${_M.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${_M.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${_M.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${_M.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})));const DM=Ge.exports.createContext();rg("MuiTable",["root","stickyHeader"]),VS("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>Dp({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":Dp({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})));const $M=Ge.exports.createContext();function qM(e){return ng("MuiTableCell",e)}rg("MuiTableBody",["root"]),VS("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"});const jM=rg("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),FM=["align","className","component","padding","scope","size","sortDirection","variant"],BM=VS("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${Lh(n.size)}`],"normal"!==n.padding&&t[`padding${Lh(n.padding)}`],"inherit"!==n.align&&t[`align${Lh(n.align)}`],n.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>Dp({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid\n ${"light"===e.palette.mode?nb(eb(e.palette.divider,1),.88):tb(eb(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},"head"===t.variant&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},"body"===t.variant&&{color:(e.vars||e).palette.text.primary},"footer"===t.variant&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},"small"===t.size&&{padding:"6px 16px",[`&.${jM.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===t.padding&&{width:48,padding:"0 0 0 4px"},"none"===t.padding&&{padding:0},"left"===t.align&&{textAlign:"left"},"center"===t.align&&{textAlign:"center"},"right"===t.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===t.align&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}))),WM=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiTableCell"}),{align:r="inherit",className:o,component:a,padding:i,scope:l,size:s,sortDirection:c,variant:u}=n,d=$p(n,FM),p=Ge.exports.useContext(DM),f=Ge.exports.useContext($M),m=f&&"head"===f.variant;let h;h=a||(m?"th":"td");let g=l;!g&&m&&(g="col");const v=u||f&&f.variant,b=Dp({},n,{align:r,component:h,padding:i||(p&&p.padding?p.padding:"normal"),size:s||(p&&p.size?p.size:"medium"),sortDirection:c,stickyHeader:"head"===v&&p&&p.stickyHeader,variant:v}),y=(e=>{const{classes:t,variant:n,align:r,padding:o,size:a,stickyHeader:i}=e;return Qh({root:["root",n,i&&"stickyHeader","inherit"!==r&&`align${Lh(r)}`,"normal"!==o&&`padding${Lh(o)}`,`size${Lh(a)}`]},qM,t)})(b);let x=null;return c&&(x="asc"===c?"ascending":"descending"),uh.exports.jsx(BM,Dp({as:h,ref:t,className:KS(y.root,o),"aria-sort":x,scope:g,ownerState:b},d))}));function HM(e){return ng("MuiToolbar",e)}rg("MuiTableContainer",["root"]),VS("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),rg("MuiTableFooter",["root"]),VS("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),rg("MuiTableHead",["root"]),VS("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),rg("MuiToolbar",["root","gutters","regular","dense"]);const UM=["className","component","disableGutters","variant"],VM=VS("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})((({theme:e,ownerState:t})=>Dp({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},"dense"===t.variant&&{minHeight:48})),(({theme:e,ownerState:t})=>"regular"===t.variant&&e.mixins.toolbar)),GM=Ge.exports.forwardRef((function(e,t){const n=WS({props:e,name:"MuiToolbar"}),{className:r,component:o="div",disableGutters:a=!1,variant:i="regular"}=n,l=$p(n,UM),s=Dp({},n,{component:o,disableGutters:a,variant:i}),c=(e=>{const{classes:t,disableGutters:n,variant:r}=e;return Qh({root:["root",!n&&"gutters",r]},HM,t)})(s);return uh.exports.jsx(VM,Dp({as:o,className:KS(c.root,r),ref:t,ownerState:s},l))}));ck(uh.exports.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),ck(uh.exports.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");const KM=rg("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);VS(WM,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),VS(GM,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>Dp({[`& .${KM.actions}`]:t.actions},t.toolbar)})((({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${KM.actions}`]:{flexShrink:0,marginLeft:20}}))),VS("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),VS("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})((({theme:e})=>Dp({},e.typography.body2,{flexShrink:0}))),VS(YI,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>Dp({[`& .${KM.selectIcon}`]:t.selectIcon,[`& .${KM.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${KM.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),VS(XO,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),VS("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})((({theme:e})=>Dp({},e.typography.body2,{flexShrink:0})));const XM=rg("MuiTableRow",["root","selected","hover","head","footer"]);VS("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})((({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${XM.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${XM.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:eb(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:eb(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),ck(uh.exports.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");const ZM=rg("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc"]);VS(tC,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.active&&t.active]}})((({theme:e})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(e.vars||e).palette.text.secondary},"&:hover":{color:(e.vars||e).palette.text.secondary,[`& .${ZM.icon}`]:{opacity:.5}},[`&.${ZM.active}`]:{color:(e.vars||e).palette.text.primary,[`& .${ZM.icon}`]:{opacity:1,color:(e.vars||e).palette.text.secondary}}}))),VS("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,t[`iconDirection${Lh(n.direction)}`]]}})((({theme:e,ownerState:t})=>Dp({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none"},"desc"===t.direction&&{transform:"rotate(0deg)"},"asc"===t.direction&&{transform:"rotate(180deg)"})));const YM=["onChange"],QM={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};const JM=rg("MuiTabScrollButton",["root","vertical","horizontal","disabled"]);VS(tC,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})((({ownerState:e})=>Dp({width:40,flexShrink:0,opacity:.8,[`&.${JM.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})));const eT=rg("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]);VS("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${eT.scrollButtons}`]:t.scrollButtons},{[`& .${eT.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})((({ownerState:e,theme:t})=>Dp({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${eT.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}))),VS("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})((({ownerState:e})=>Dp({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"}))),VS("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})((({ownerState:e})=>Dp({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"}))),VS("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})((({ownerState:e,theme:t})=>Dp({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0}))),VS((function(e){const{onChange:t}=e,n=$p(e,YM),r=Ge.exports.useRef(),o=Ge.exports.useRef(null),a=()=>{r.current=o.current.offsetHeight-o.current.clientHeight};return Ge.exports.useEffect((()=>{const e=Ih((()=>{const e=r.current;a(),e!==r.current&&t(r.current)})),n=Ph(o.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}}),[t]),Ge.exports.useEffect((()=>{a(),t(r.current)}),[t]),uh.exports.jsx("div",Dp({style:QM,ref:o},n))}),{name:"MuiTabs",slot:"ScrollbarSize"})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),rg("MuiTextField",["root"]),VS(jR,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({});const tT=rg("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge"]);VS(tC,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`size${Lh(n.size)}`]]}})((({theme:e,ownerState:t})=>{let n,r="standard"===t.color?e.palette.text.primary:e.palette[t.color].main;return e.vars&&(r="standard"===t.color?e.vars.palette.text.primary:e.vars.palette[t.color].main,n="standard"===t.color?e.vars.palette.text.primaryChannel:e.vars.palette[t.color].mainChannel),Dp({},e.typography.button,{borderRadius:(e.vars||e).shape.borderRadius,padding:11,border:`1px solid ${(e.vars||e).palette.divider}`,color:(e.vars||e).palette.action.active},t.fullWidth&&{width:"100%"},{[`&.${tT.disabled}`]:{color:(e.vars||e).palette.action.disabled,border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:eb(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${tT.selected}`]:{color:r,backgroundColor:e.vars?`rgba(${n} / ${e.vars.palette.action.selectedOpacity})`:eb(r,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${n} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:eb(r,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${n} / ${e.vars.palette.action.selectedOpacity})`:eb(r,e.palette.action.selectedOpacity)}}}},"small"===t.size&&{padding:7,fontSize:e.typography.pxToRem(13)},"large"===t.size&&{padding:15,fontSize:e.typography.pxToRem(15)})}));const nT=rg("MuiToggleButtonGroup",["root","selected","vertical","disabled","grouped","groupedHorizontal","groupedVertical"]);function rT(){const[e,t]=Ge.exports.useState(),[n,r]=Ge.exports.useState(),o=Ge.exports.useCallback((e=>{e&&t(e)}),[]),a=()=>{const{left:t,top:n,width:o,height:a}=e.getBoundingClientRect();r({left:t,top:n,width:o,height:a})};return Ge.exports.useLayoutEffect((()=>{if(e){if("function"==typeof ResizeObserver){let t=new ResizeObserver(a);return t.observe(e),()=>{t.unobserve(e),t.disconnect(e),t=null}}return a(),window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a)}}}),[e]),[o,n,e]}function oT(e){return"large"===e?"20px":"small"===e?"12px":"16px"}function aT(e){let{size:t,style:n={},viewBox:r="0 0 16 16",shapes:a=[]}=e;const l=o({fontSize:oT(t),display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},n);return Ot.createElement("i",{style:l},Ot.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:r,fill:"currentColor"},a.map(((e,t)=>{let{type:n,attrs:r}=e;return Ot.createElement(n,i({key:t},r))}))))}VS("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${nT.grouped}`]:t.grouped},{[`& .${nT.grouped}`]:t[`grouped${Lh(n.orientation)}`]},t.root,"vertical"===n.orientation&&t.vertical,n.fullWidth&&t.fullWidth]}})((({ownerState:e,theme:t})=>Dp({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius},"vertical"===e.orientation&&{flexDirection:"column"},e.fullWidth&&{width:"100%"},{[`& .${nT.grouped}`]:Dp({},"horizontal"===e.orientation?{"&:not(:first-of-type)":{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-of-type)":{borderTopRightRadius:0,borderBottomRightRadius:0},[`&.${nT.selected} + .${nT.grouped}.${nT.selected}`]:{borderLeft:0,marginLeft:0}}:{"&:not(:first-of-type)":{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},"&:not(:last-of-type)":{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`&.${nT.selected} + .${nT.grouped}.${nT.selected}`]:{borderTop:0,marginTop:0}})})));var iT=e=>aT((e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M9.41421356,8 L11.8890873,5.52512627 C12.065864,5.34834957 12.0305087,4.95944084 11.8183766,4.74730881 L11.2526912,4.18162338 C11.0405592,3.96949135 10.6516504,3.93413601 10.4748737,4.1109127 L8,6.58578644 L5.52512627,4.1109127 C5.34834957,3.93413601 4.95944084,3.96949135 4.74730881,4.18162338 L4.25233406,4.67659813 C3.96949135,4.95944084 3.93413601,5.34834957 4.1109127,5.52512627 L6.58578644,8 L4.1109127,10.4748737 C3.93413601,10.6516504 3.96949135,11.0405592 4.18162338,11.2526912 L4.67659813,11.7476659 C4.95944084,12.0305087 5.34834957,12.065864 5.52512627,11.8890873 L8,9.41421356 L10.4748737,11.8890873 C10.6516504,12.065864 11.0405592,12.0305087 11.2526912,11.8183766 L11.8183766,11.2526912 C12.0305087,11.0405592 12.065864,10.6516504 11.8890873,10.4748737 L9.41421356,8 Z M8,0 C12.4,0 16,3.6 16,8 C16,12.4 12.4,16 8,16 C3.6,16 0,12.4 0,8 C0,3.6 3.6,0 8,0 Z"}}]}))(e));var lT=e=>aT((e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M13,7 L8,7 L13,7 L13,4.98151367 C13,2.23029964 10.7614237,0 8,0 C5.23857625,0 3,2.23029964 3,4.98151367 L3,7 L3.75,7 L3,7 L4.5,7 L4.5,5.33193359 C4.5,3.21561511 5.54860291,1.5 8,1.5 C10.4513971,1.5 11.5,3.21561511 11.5,5.33193359 L11.5,7 L12.25,7 L3,7 C2.44771525,7 2,7.44771525 2,8 L2,15 C2,15.5522847 2.44771525,16 3,16 L13,16 C13.5522847,16 14,15.5522847 14,15 L14,8 C14,7.44771525 13.5522847,7 13,7 L3,7 L13,7 Z"}}]}))(e));var sT=e=>aT((e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M2.5,7 L11,7 C11.5522847,7 12,7.44771525 12,8 L12,15 C12,15.5522847 11.5522847,16 11,16 L1,16 C0.44771525,16 0,15.5522847 0,15 L0,8 C0,7.44771525 0.44771525,7 1,7 L1,4.98151367 C1,2.23029964 3.23857625,0 6,0 C8.4241995,0 10.4454541,1.71883353 10.9029715,4 L9.34209114,4 C8.9671727,2.54028848 7.9088888,1.5 6,1.5 C3.54860291,1.5 2.5,3.21561511 2.5,5.33193359 L2.5,7 Z"}}]}))(e)),cT=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function uT(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||cT(r)&&cT(o)))return!1;var r,o;return!0}function dT(e,t){var n;void 0===t&&(t=uT);var r,o=[],a=!1;return function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return a&&n===this&&t(i,o)||(r=e.apply(this,i),a=!0,n=this,o=i),r}}var pT="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function fT(e){cancelAnimationFrame(e.id)}var mT=null;function hT(e){if(void 0===e&&(e=!1),null===mT||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?mT="positive-descending":(t.scrollLeft=1,mT=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),mT}return mT}var gT=function(e,t){return e};function vT(e){var t,n=e.getItemOffset,r=e.getEstimatedTotalSize,o=e.getItemSize,a=e.getOffsetForIndexAndAlignment,i=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,s=e.initInstanceProps,c=e.shouldResetStyleCacheOnItemSizeChange,u=e.validateProps;return t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=s(r.props,Cw(r)),r._outerRef=void 0,r._resetIsScrollingTimeoutId=null,r.state={instance:Cw(r),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof r.props.initialScrollOffset?r.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},r._callOnItemsRendered=void 0,r._callOnItemsRendered=dT((function(e,t,n,o){return r.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:n,visibleStopIndex:o})})),r._callOnScroll=void 0,r._callOnScroll=dT((function(e,t,n){return r.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:n})})),r._getItemStyle=void 0,r._getItemStyle=function(e){var t,a=r.props,i=a.direction,l=a.itemSize,s=a.layout,u=r._getItemStyleCache(c&&l,c&&s,c&&i);if(u.hasOwnProperty(e))t=u[e];else{var d=n(r.props,e,r._instanceProps),p=o(r.props,e,r._instanceProps),f="horizontal"===i||"horizontal"===s,m="rtl"===i,h=f?d:0;u[e]=t={position:"absolute",left:m?void 0:h,right:m?h:void 0,top:f?0:d,height:f?"100%":p,width:f?p:"100%"}}return t},r._getItemStyleCache=void 0,r._getItemStyleCache=dT((function(e,t,n){return{}})),r._onScrollHorizontal=function(e){var t=e.currentTarget,n=t.clientWidth,o=t.scrollLeft,a=t.scrollWidth;r.setState((function(e){if(e.scrollOffset===o)return null;var t=r.props.direction,i=o;if("rtl"===t)switch(hT()){case"negative":i=-o;break;case"positive-descending":i=a-n-o}return i=Math.max(0,Math.min(i,a-n)),{isScrolling:!0,scrollDirection:e.scrollOffset<o?"forward":"backward",scrollOffset:i,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._onScrollVertical=function(e){var t=e.currentTarget,n=t.clientHeight,o=t.scrollHeight,a=t.scrollTop;r.setState((function(e){if(e.scrollOffset===a)return null;var t=Math.max(0,Math.min(a,o-n));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._outerRefSetter=function(e){var t=r.props.outerRef;r._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&fT(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=function(e,t){var n=pT(),r={id:requestAnimationFrame((function o(){pT()-n>=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1,null)}))},r}sw(t,e),t.getDerivedStateFromProps=function(e,t){return bT(e,t),u(e),null};var d=t.prototype;return d.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},d.scrollToItem=function(e,t){void 0===t&&(t="auto");var n=this.props.itemCount,r=this.state.scrollOffset;e=Math.max(0,Math.min(e,n-1)),this.scrollTo(a(this.props,e,t,r,this._instanceProps))},d.componentDidMount=function(){var e=this.props,t=e.direction,n=e.initialScrollOffset,r=e.layout;if("number"==typeof n&&null!=this._outerRef){var o=this._outerRef;"horizontal"===t||"horizontal"===r?o.scrollLeft=n:o.scrollTop=n}this._callPropsCallbacks()},d.componentDidUpdate=function(){var e=this.props,t=e.direction,n=e.layout,r=this.state,o=r.scrollOffset;if(r.scrollUpdateWasRequested&&null!=this._outerRef){var a=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(hT()){case"negative":a.scrollLeft=-o;break;case"positive-ascending":a.scrollLeft=o;break;default:var i=a.clientWidth,l=a.scrollWidth;a.scrollLeft=l-i-o}else a.scrollLeft=o;else a.scrollTop=o}this._callPropsCallbacks()},d.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&fT(this._resetIsScrollingTimeoutId)},d.render=function(){var e=this.props,t=e.children,n=e.className,o=e.direction,a=e.height,i=e.innerRef,l=e.innerElementType,s=e.innerTagName,c=e.itemCount,u=e.itemData,d=e.itemKey,p=void 0===d?gT:d,f=e.layout,m=e.outerElementType,h=e.outerTagName,g=e.style,v=e.useIsScrolling,b=e.width,y=this.state.isScrolling,x="horizontal"===o||"horizontal"===f,S=x?this._onScrollHorizontal:this._onScrollVertical,w=this._getRangeToRender(),C=w[0],k=w[1],E=[];if(c>0)for(var R=C;R<=k;R++)E.push(Ge.exports.createElement(t,{data:u,key:p(R,u),index:R,isScrolling:v?y:void 0,style:this._getItemStyle(R)}));var L=r(this.props,this._instanceProps);return Ge.exports.createElement(m||h||"div",{className:n,onScroll:S,ref:this._outerRefSetter,style:aw({position:"relative",height:a,width:b,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},g)},Ge.exports.createElement(l||s||"div",{children:E,ref:i,style:{height:x?"100%":L,pointerEvents:y?"none":void 0,width:x?L:"100%"}}))},d._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],o=e[3];this._callOnItemsRendered(t,n,r,o)}if("function"==typeof this.props.onScroll){var a=this.state,i=a.scrollDirection,l=a.scrollOffset,s=a.scrollUpdateWasRequested;this._callOnScroll(i,l,s)}},d._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,a=r.scrollDirection,s=r.scrollOffset;if(0===t)return[0,0,0,0];var c=i(this.props,s,this._instanceProps),u=l(this.props,c,s,this._instanceProps),d=o&&"backward"!==a?1:Math.max(1,n),p=o&&"forward"!==a?1:Math.max(1,n);return[Math.max(0,c-d),Math.max(0,Math.min(t-1,u+p)),c,u]},t}(Ge.exports.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var bT=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},yT=vT({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,n,r){var o=e.direction,a=e.height,i=e.itemCount,l=e.itemSize,s=e.layout,c=e.width,u="horizontal"===o||"horizontal"===s?c:a,d=Math.max(0,i*l-u),p=Math.min(d,t*l),f=Math.max(0,t*l-u+l);switch("smart"===n&&(n=r>=f-u&&r<=p+u?"auto":"center"),n){case"start":return p;case"end":return f;case"center":var m=Math.round(f+(p-f)/2);return m<Math.ceil(u/2)?0:m>d+Math.floor(u/2)?d:m;default:return r>=f&&r<=p?r:r<f?f:p}},getStartIndexForOffset:function(e,t){var n=e.itemCount,r=e.itemSize;return Math.max(0,Math.min(n-1,Math.floor(t/r)))},getStopIndexForStartIndex:function(e,t,n){var r=e.direction,o=e.height,a=e.itemCount,i=e.itemSize,l=e.layout,s=e.width,c=t*i,u="horizontal"===r||"horizontal"===l?s:o,d=Math.ceil((u+n-c)/i);return Math.max(0,Math.min(a-1,t+d-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}});var xT=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},ST=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),wT=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},CT=function(e){function t(){var e,n,r;xT(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=wT(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r._lastRenderedStartIndex=-1,r._lastRenderedStopIndex=-1,r._memoizedUnloadedRanges=[],r._onItemsRendered=function(e){var t=e.visibleStartIndex,n=e.visibleStopIndex;r._lastRenderedStartIndex=t,r._lastRenderedStopIndex=n,r._ensureRowsLoaded(t,n)},r._setRef=function(e){r._listRef=e},wT(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),ST(t,[{key:"resetloadMoreItemsCache",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._memoizedUnloadedRanges=[],e&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){return(0,this.props.children)({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(e,t){var n=this.props,r=n.isItemLoaded,o=n.itemCount,a=n.minimumBatchSize,i=void 0===a?10:a,l=n.threshold,s=void 0===l?15:l,c=function(e){for(var t=e.isItemLoaded,n=e.itemCount,r=e.minimumBatchSize,o=e.startIndex,a=e.stopIndex,i=[],l=null,s=null,c=o;c<=a;c++)t(c)?null!==s&&(i.push(l,s),l=s=null):(s=c,null===l&&(l=c));if(null!==s){for(var u=Math.min(Math.max(s,l+r-1),n-1),d=s+1;d<=u&&!t(d);d++)s=d;i.push(l,s)}if(i.length)for(;i[1]-i[0]+1<r&&i[0]>0;){var p=i[0]-1;if(t(p))break;i[0]=p}return i}({isItemLoaded:r,itemCount:o,minimumBatchSize:i,startIndex:Math.max(0,e-s),stopIndex:Math.min(o-1,t+s)});(this._memoizedUnloadedRanges.length!==c.length||this._memoizedUnloadedRanges.some((function(e,t){return c[t]!==e})))&&(this._memoizedUnloadedRanges=c,this._loadUnloadedRanges(c))}},{key:"_loadUnloadedRanges",value:function(e){for(var t=this,n=this.props.loadMoreItems||this.props.loadMoreRows,r=function(r){var o=e[r],a=e[r+1],i=n(o,a);null!=i&&i.then((function(){if(function(e){var t=e.lastRenderedStartIndex,n=e.lastRenderedStopIndex,r=e.startIndex,o=e.stopIndex;return!(r>n||o<t)}({lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:o,stopIndex:a})){if(null==t._listRef)return;"function"==typeof t._listRef.resetAfterIndex?t._listRef.resetAfterIndex(o,!0):("function"==typeof t._listRef._getItemStyleCache&&t._listRef._getItemStyleCache(-1),t._listRef.forceUpdate())}}))},o=0;o<e.length;o+=2)r(o)}}]),t}(Ge.exports.PureComponent);const kT=["S","XS"],ET=e=>e.reduce(((e,t)=>e.concat(t)));function RT(e){return kT.includes(e)}function LT(e){return Array.isArray(e)?Array.from(new Set(e)):void 0}async function OT(e){let{selections:t,elemNumbers:n,isSingleSelect:r=!1}=e,o=Promise.resolve(!1);if(!n.some((e=>Number.isNaN(e)))){const e=n;o=t.select({method:"selectListObjectValues",params:["/qListObjectDef",e,!r]}).then((e=>!1!==e)).catch((()=>!1))}return o}function IT(e,t){if(!e)return[];if(e.length<=1)return e;const{min:n,max:r}=function(e,t){let n=1/0,r=-1/0;return e.forEach((e=>{const o=t.indexOf(e);n=o<n?o:n,r=o>r?o:r})),{min:n,max:r}}(e,t);return t.slice(n,r+1)}function MT(e){let{layout:t,selections:n,pages:r=[],checkboxes:a=!1,selectDisabled:i,doc:l=document,isSingleSelect:s=!1}=e;const[c,u]=Ge.exports.useState(r),[d,p]=Ge.exports.useState(!1),[f,m]=Ge.exports.useState(!1),[h,g]=Ge.exports.useState(s),[v,b]=Ge.exports.useState([]),[y,x]=Ge.exports.useState(!1),[S,w]=Ge.exports.useState([]),C=function(e){if(!e||!e.length)return[];const t=e.map((e=>{const t=e.qMatrix.map((e=>{const[{qElemNumber:t}]=e;return t}));return t}));return ET(t)}(r);Ge.exports.useEffect((()=>{g(s)}),[s]);const k=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(i())return;m(!0);const r=t?e.filter((e=>!v.includes(e))):e;await OT({selections:n,elemNumbers:r,isSingleSelect:h}),m(!1),w([])},E=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];i()||w((n=>{const r=LT([...n,...e]),o=t?r.filter((e=>!v.includes(e))):r;return t?IT(r,C):o}))},R=e=>{(e.ctrlKey||e.metaKey)&&(g(!0),e.currentTarget.focus(),e.preventDefault())},L=Ge.exports.useCallback((e=>{if(f||i())return;const t=+e.currentTarget.getAttribute("data-n");w([t]),R(e)}),[f,i]),O=Ge.exports.useCallback((e=>{if(f||i())return;x(!1),p(!0);const t=+e.currentTarget.getAttribute("data-n");w([t]),R(e)}),[f,i]),I=Ge.exports.useCallback((e=>{const t=+e.currentTarget.getAttribute("data-n");h||!d||f||1===S.length&&S[0]===t||E([t])}),[d,f,S,v,y,i]),M=Ge.exports.useCallback((()=>{p(!1),m(!1),x(!1),g(s)}),[s]),T=Ge.exports.useCallback((e=>{if(h||!d||f||i())return;x(!0);const t=+e.currentTarget.getAttribute("data-n");E([t],!0)}),[d,f,y,S,v,i,t&&t.qListObject.qDimensionInfo.qIsOneAndOnlyOne]);Ge.exports.useEffect((()=>{const e=!d;S&&S.length&&!f&&e&&t&&k(S,y)}),[S,d,i()]),Ge.exports.useEffect((()=>(l.addEventListener("mouseup",M),()=>{l.removeEventListener("mouseup",M)})),[M]),Ge.exports.useEffect((()=>{if(f||d)return;const e=function(e){if(!e||!e.length)return[];const t=e.map((e=>{const t=e.qMatrix.map((e=>{const[t]=e;return!!RT(t.qState)&&t.qElemNumber}));return t.filter((e=>!1!==e))}));return ET(t)}(r);b(e)}),[r]),Ge.exports.useEffect((()=>{if(f||!r||!a&&!d)return;const e=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=e=>t.length<=1&&RT(e)?"A":"S",a=e.map((e=>{const a=e.qMatrix.map((e=>{const[a]=e,i=t.includes(a.qElemNumber);let l;return l=n?i?"S":"A":i?r(a.qState):a.qState,[o(o({},a),{},{qState:l}),e.slice(1)]}));return o(o({},e),{},{qMatrix:a})}));return a}(r,S,h);u(e)}),[S]);const P={};return a?Object.assign(P,{onClick:L}):Object.assign(P,{onMouseUp:I,onMouseDown:O,onMouseEnter:T}),{instantPages:c,interactionEvents:P,select:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];x(!1),p(!0),E(e,t||y);const n=k(e,t||y);return p(!1),n}}}const TT=e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z"}}]});var PT=e=>aT(TT(e));const NT="ListBoxCheckbox",zT={cbIcon:"".concat(NT,"-cbIcon"),cbIconChecked:"".concat(NT,"-cbIconChecked"),cbIconExcluded:"".concat(NT,"-cbIconExcluded"),cbIconAlternative:"".concat(NT,"-cbIconAlternative"),checkbox:"".concat(NT,"-checkbox"),dense:"".concat(NT,"-dense")},AT=VS(eR)((e=>{let{theme:t}=e;return{["& .".concat(zT.cbIcon)]:{borderRadius:3,width:16,height:16,boxShadow:"inset 0 0 0 1px rgba(16,22,26,.2), inset 0 -1px 0 rgba(16,22,26,.1)",backgroundColor:"#f5f8fa",backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.8),hsla(0,0%,100%,0))",display:"flex",alignItems:"center",justifyContent:"center"},["& .".concat(zT.cbIconChecked)]:{borderRadius:3,backgroundColor:t.palette.selected.main,backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,0))","&:before":{display:"block",width:16,height:16,backgroundImage:"url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 5c-.28 0-.53.11-.71.29L7 9.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0012 5z' fill='%23fff'/%3E%3C/svg%3E\")",content:'""'}},["& .".concat(zT.cbIconExcluded)]:{borderRadius:2,width:12,height:12,backgroundColor:t.palette.selected.excluded},["& .".concat(zT.cbIconAlternative)]:{borderRadius:2,width:12,height:12,backgroundColor:t.palette.selected.alternative},["&.".concat(zT.checkbox)]:{margin:0,"&:hover":{backgroundColor:"inherit !important"}},["&.".concat(zT.dense)]:{padding:"4px 8px"}}})),_T=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Ot.createElement("span",{className:e.cbIcon},n&&Ot.createElement("span",{className:t&&n?e.cbIconExcluded:""}))};function DT(e){let{checked:t,label:n,dense:r,excluded:o,showGray:a=!0}=e;return Ot.createElement(AT,{edge:"start",checked:t,disableRipple:!0,className:[zT.checkbox,r&&zT.dense].filter(Boolean).join(" "),inputProps:{"aria-labelledby":n},name:n,icon:_T(zT,a,o),checkedIcon:Ot.createElement("span",{className:zT.cbIconChecked})})}const $T="ListBoxRadioButton",qT={denseRadioButton:"".concat($T,"-denseRadioButton"),radioButton:"".concat($T,"-radioButton")},jT=VS(PI)((()=>({["&.".concat(qT.radioButton)]:{right:"5px"}})));function FT(e){let{checked:t,label:n,dense:r}=e;return Ot.createElement(jT,{checked:t,value:n,name:n,className:qT.radioButton,style:{backgroundColor:"transparent"},disableRipple:!0,size:r?"small":"medium",sx:r&&{padding:"0px 0px 0px 12px"}})}const BT=Object.freeze({ENTER:13,ESCAPE:27,SPACE:32,TAB:9,BACKSPACE:8,DELETE:46,ALT:18,CTRL:17,SHIFT:16,ARROW_UP:38,ARROW_DOWN:40,ARROW_LEFT:37,ARROW_RIGHT:39,PAGE_DOWN:34,PAGE_UP:33,HOME:36,END:35,F10:121,A:65,F:70,ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,SUBTRACTION:189,DECIMAL:190,NUMPAD_DECIMAL:110,isArrow:e=>e===BT.ARROW_UP||e===BT.ARROW_DOWN||e===BT.ARROW_LEFT||e===BT.ARROW_RIGHT});function WT(e){let{setKeyboardActive:t}=e;return e=>{const{keyCode:n}=e.nativeEvent;switch(n){case BT.ENTER:case BT.SPACE:(e=>{const n=e.querySelector(".search input, .value.selector, .value");t(!0),n&&n.focus()})(e.currentTarget);break;case BT.ESCAPE:r=e.currentTarget,t(!1),r.focus();break;default:return}var r;e.preventDefault()}}const HT="RowColumn",UT={row:"".concat(HT,"-row"),rowBorderBottom:"".concat(HT,"-rowBorderBottom"),column:"".concat(HT,"-column"),fieldRoot:"".concat(HT,"-fieldRoot"),cell:"".concat(HT,"-cell"),labelText:"".concat(HT,"-labelText"),labelDense:"".concat(HT,"-labelDense"),highlighted:"".concat(HT,"-highlighted"),checkboxLabel:"".concat(HT,"-checkboxLabel"),icon:"".concat(HT,"-icon"),S:"".concat(HT,"-S"),XS:"".concat(HT,"-XS"),A:"".concat(HT,"-A"),X:"".concat(HT,"-X"),frequencyCount:"".concat(HT,"-frequencyCount"),barContainer:"".concat(HT,"-barContainer"),bar:"".concat(HT,"-bar"),barSelected:"".concat(HT,"-barSelected"),barWithCheckbox:"".concat(HT,"-barWithCheckbox"),barSelectedWithCheckbox:"".concat(HT,"-barSelectedWithCheckbox"),excludedTextWithCheckbox:"".concat(HT,"-excludedTextWithCheckbox")},VT={width:"100%",overflow:"hidden",textOverflow:"ellipsis"},GT=e=>{let{theme:t}=e;return{background:t.palette.selected.main,color:t.palette.selected.mainContrastText,"&:focus":{boxShadow:"inset 0 0 0 2px rgba(0, 0, 0, 0.3)",outline:"none"},"& $cell":{paddingRight:0}}},KT=VS("div")((e=>{let{theme:t}=e;return{["& .".concat(UT.row)]:{flexWrap:"nowrap",color:t.palette.text.primary},["& .".concat(UT.rowBorderBottom)]:{borderBottom:"1px solid ".concat(t.palette.divider)},["& .".concat(UT.column)]:{flexWrap:"nowrap",borderRight:"1px solid ".concat(t.palette.divider),color:t.palette.text.primary},["& .".concat(UT.fieldRoot)]:{"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(t.palette.custom.focusBorder," !important")},"&:focus-visible":{outline:"none"}},["& .".concat(UT.cell)]:{display:"flex",alignItems:"center",minWidth:0,flexGrow:1,paddingLeft:"9px",paddingRight:"9px"},["& .".concat(UT.labelText)]:o({flexBasis:"max-content",lineHeight:"16px",userSelect:"none",whiteSpace:"pre"},VT),["& .".concat(UT.labelDense)]:{fontSize:12},["& .".concat(UT.highlighted)]:{overflow:"visible",width:"100%","& > span":{width:"100%",backgroundColor:"#FFC72A"}},["& .".concat(UT.checkboxLabel)]:{margin:0,width:"100%",height:"100%","& > span:nth-child(1)":{paddingRight:"8px"},"& > span:nth-child(2)":o(o({},VT),{},{display:"flex",alignItems:"center",paddingLeft:0})},["& .".concat(UT.icon)]:{display:"flex",padding:t.spacing(1,1,1,0)},["& .".concat(UT.S)]:o({},GT({theme:t})),["& .".concat(UT.XS)]:o(o({},GT({theme:t})),{},{background:t.palette.selected.excluded,color:t.palette.selected.mainContrastText}),["& .".concat(UT.A)]:{background:t.palette.selected.alternative,color:t.palette.selected.alternativeContrastText},["& .".concat(UT.X)]:{background:t.palette.selected.excluded,color:t.palette.selected.excludedContrastText},["& .".concat(UT.frequencyCount)]:{paddingLeft:"8px",paddingRight:"8px"},["&.".concat(UT.barContainer)]:{height:"100%",display:"inline-block"},["& .".concat(UT.bar)]:{border:"".concat(1,"px solid"),borderColor:"#D9D9D9",height:"16px",position:"absolute",zIndex:"-1",alignSelf:"center",left:"".concat(4,"px"),transition:"width 0.2s",backgroundColor:"#FAFAFA"},["& .".concat(UT.barSelected)]:{opacity:"30%",zIndex:"0",background:t.palette.background.lighter},["& .".concat(UT.barWithCheckbox)]:{left:"".concat(29,"px")},["& .".concat(UT.barSelectedWithCheckbox)]:{background:"#BFE5D0",borderColor:"#BFE5D0"},["& .".concat(UT.excludedTextWithCheckbox)]:{color:"#828282",fontStyle:"italic"}}}));function XT(e){let{index:t,style:n,data:r}=e;const{onClick:o,onMouseDown:a,onMouseUp:i,onMouseEnter:l,pages:s,isLocked:c,column:u=!1,checkboxes:d=!1,dense:p=!1,frequencyMode:f="N",isSingleSelect:m,actions:h,frequencyMax:g="",histogram:v=!1,keyboard:b,showGray:y=!0}=r,x=Ge.exports.useCallback(function(e){let{select:t,confirm:n,cancel:r}=e;const o=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=e&&e.parentElement[t?"nextElementSibling":"previousElementSibling"];return n&&n.querySelector("[role]")};let a=!1;const i=e=>{a=e};return e=>{let l;const{keyCode:s,shiftKey:c=!1}=e.nativeEvent;switch(s){case BT.SHIFT:i(!0);break;case BT.SPACE:t([+e.currentTarget.getAttribute("data-n")]);break;case BT.ARROW_DOWN:case BT.ARROW_RIGHT:l=o(e.currentTarget,!0),c&&l&&(a&&(t([+e.currentTarget.getAttribute("data-n")],!0),i(!1)),t([+l.getAttribute("data-n")],!0));break;case BT.ARROW_UP:case BT.ARROW_LEFT:l=o(e.currentTarget,!1),c&&l&&(a&&(t([+e.currentTarget.getAttribute("data-n")],!0),i(!1)),t([+l.getAttribute("data-n")],!0));break;case BT.ENTER:n();break;case BT.ESCAPE:return void r();default:return}l&&l.focus(),e.preventDefault(),e.stopPropagation()}}(h),[h]),[S,w]=Ge.exports.useState(!1),[C,k]=Ge.exports.useState(),[E,R]=Ge.exports.useState([]);Ge.exports.useEffect((()=>{if(!s)return;let e;const n=s.filter((e=>e.qArea.qTop<=t&&t<e.qArea.qTop+e.qArea.qHeight))[0];if(n){const r=n.qArea;t>=r.qTop&&t<r.qTop+r.qHeight&&([e]=n.qMatrix[t-r.qTop])}k(e)}),[s]);const L=e=>e?"X"===e.qState||"XS"===e.qState||"XL"===e.qState:null,O=e=>e?"A"===e.qState:null;Ge.exports.useEffect((()=>{if(!C)return;const e="S"===C.qState||"XS"===C.qState||"L"===C.qState;w(e);const t=[u?UT.column:UT.row];v&&p||t.push(UT.rowBorderBottom),d||("XS"===C.qState?t.push(y?UT.XS:UT.S):"S"===C.qState||"L"===C.qState?t.push(UT.S):y&&O(C)?t.push(UT.A):y&&L(C)&&t.push(UT.X)),R(t)}),[C&&C.qState]);const I=e=>e.filter((e=>!!e)).join(" ").trim(),M=()=>(O(C)||L(C))&&d,T=e=>{let{lbl:t,ix:n,color:r,highlighted:o=!1}=e;return Ot.createElement(Tk,{component:"span",variant:"body2",key:n,className:I([UT.labelText,o&&UT.highlighted,p&&UT.labelDense,y&&M()&&UT.excludedTextWithCheckbox]),color:r},Ot.createElement("span",{style:{whiteSpace:"pre"}},t))},P=e=>{let{lbl:t,color:n,qElemNumber:r}=e;const o=Ot.createElement(DT,{label:t,checked:S,dense:p,excluded:L(C),showGray:y}),a=Ot.createElement(FT,{label:t,checked:S,dense:p}),i="string"==typeof t?T({lbl:t,color:n,highlighted:!1}):t;return Ot.createElement(UR,{color:n,control:m?a:o,className:UT.checkboxLabel,label:i,key:r})},N=C?C.qText:"",z=()=>C?C.qFrequency?C.qFrequency:"0":"",A=C&&C.qHighlightRanges&&C.qHighlightRanges.qRanges.sort(((e,t)=>e.qCharPos-t.qCharPos))||[],_=function(e,t){if(!t.length)return[];const n=t.reduce(((n,r,o)=>{const a=0===o?0:t[o-1].qCharPos+t[o-1].qCharCount;n.push(...function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const{qCharPos:r,qCharCount:o}=t,a=[];return r>n&&a.push([e.slice(n,r),!1]),a.push([e.slice(r,r+o),!0]),a}(e,r,a));const i=o===t.length-1,l=t[o].qCharPos+t[o].qCharCount;return i&&l<e.length&&n.push([e.slice(l),!1]),n}),[]);return n}(N,A),D=d?P:T,$={alignItems:"center",display:"flex"},q=S&&c,j=!d&&S&&!c,F={display:"flex",alignItems:"center",minWidth:0,flexGrow:1,padding:d?0:void 0},B=0===t;return Ot.createElement(KT,{className:UT.barContainer},Ot.createElement(sL,{container:!0,gap:0,className:I(["value",...E]),classes:{root:UT.fieldRoot},style:n,onClick:o,onMouseDown:a,onMouseUp:i,onMouseEnter:l,onKeyDown:x,onContextMenu:e=>{d&&o(e),e.preventDefault()},role:u?"column":"row",tabIndex:!B||b.enabled&&!b.active?-1:0,"data-n":C&&C.qElemNumber},C&&v&&"0"!==z()&&Ot.createElement("div",{className:I([UT.bar,d&&UT.barWithCheckbox,S&&(d?UT.barSelectedWithCheckbox:UT.barSelected)]),style:{width:(e=>{const t=String(e),n="%"===t.substring(t.length-1),r=parseFloat(n?t:e),o=d?"(".concat(29,"px + ").concat(6,"px)"):"".concat(10,"px");return"calc(".concat(n?r:r/g*100,"% - ").concat(o,")")})(C.qFrequency)}}),Ot.createElement(sL,{item:!0,style:F,className:I([UT.cell,UT.selectedCell]),title:"".concat(N)},0===A.length?D({lbl:N,color:"inherit"}):(e=>{let{lbls:t}=e;const n=t.map(((e,t)=>{let[n,r]=e;return T({ix:t,highlighted:r,lbl:n})}));return d?P({lbl:n}):n})({lbls:_})),"N"!==f&&Ot.createElement(sL,{item:!0,style:{display:"flex",alignItems:"center"},className:UT.frequencyCount},Ot.createElement(Tk,{noWrap:!0,color:"inherit",variant:"body2",className:I([p&&UT.labelDense,UT.labelText,y&&M()&&UT.excludedTextWithCheckbox])},z())),(q||j)&&Ot.createElement(sL,{item:!0,className:UT.icon},q&&Ot.createElement(lT,{style:$,size:"small"}),j&&Ot.createElement(PT,{style:$,size:"small"}))))}const ZT="#BBB",YT="#f1f1f1",QT=100,JT={styledScrollbars:"".concat("ListBox","-styledScrollbars")},eP=VS(yT)((()=>({["&.".concat(JT.styledScrollbars)]:{scrollbarColor:"".concat(ZT," ").concat(YT),"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-track":{backgroundColor:YT},"&::-webkit-scrollbar-thumb":{backgroundColor:ZT,borderRadius:"1rem"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:"#555"}}})));function tP(e){let{model:t,selections:n,direction:r,height:a,width:i,listLayout:l="vertical",frequencyMode:s="N",histogram:c=!1,checkboxes:u=!1,update:d,fetchStart:p,postProcessPages:f,calculatePagesHeight:m=!1,dense:h=!1,keyboard:g={},showGray:v=!0,scrollState:b,sortByState:y,selectDisabled:x=(()=>!1),setCount:S}=e;const[w]=BC(t),C=!(!w||!w.qListObject.qDimensionInfo.qIsOneAndOnlyOne),[k,E]=Ge.exports.useState(null),[R,L]=Ge.exports.useState(!1),{instantPages:O=[],interactionEvents:I,select:M}=MT({layout:w,selections:n,pages:k,checkboxes:u,selectDisabled:x,doc:document,isSingleSelect:C}),T=Ge.exports.useRef(null),P=Ge.exports.useRef({queue:[],validPages:!1}),N=Ge.exports.useRef({pages:[]}),z=Ge.exports.useCallback((e=>{if(!k||!P.current.validPages)return!1;P.current.checkIdx=e;const t=t=>t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight,n=k.filter((e=>t(e)))[0];return n&&t(n)}),[w,k]),A=Ge.exports.useCallback(((e,n)=>{P.current.queue.push({start:e,stop:n});!!T.current&&T.current._listRef.state.isScrolling;return P.current.queue.length>10&&P.current.queue.shift(),clearTimeout(P.current.timeout),L(!0),new Promise((e=>{P.current.timeout=setTimeout((()=>{const n=P.current.queue.slice(-1)[0],r=t.getListObjectData("/qListObjectDef",[{qTop:n.start>QT?n.start-QT:0,qHeight:QT,qLeft:0,qWidth:1},{qTop:n.start,qHeight:QT,qLeft:0,qWidth:1}]).then((t=>{const n=f?f(t):t;P.current.validPages=!0,N.current.pages=n,E(n),L(!1),e()}));p&&p(r)}),0)}))}),[w]),_=()=>{if(P.current.queue=[],P.current.validPages=!1,T.current){if(T.current.resetloadMoreItemsCache(!0),w&&w.qSelectionInfo.qInSelections||0===y)return;T.current._listRef.scrollToItem(0)}};d&&d.call(null,_),Ge.exports.useEffect((()=>{_(),"function"==typeof S&&w&&S(w.qListObject.qSize.qcy)}),[w,w&&w.qListObject.qSize.qcy]),Ge.exports.useEffect((()=>{O&&!R&&E(O)}),[O]);const[D,$]=Ge.exports.useState(!1);if(Ge.exports.useEffect((()=>{b&&!D&&T.current&&(T.current._listRef.scrollToItem(b.initScrollPos),$(!0))}),[T.current]),!w)return null;const q="horizontal"!==l,j=w.qListObject.qSize.qcy,F=k&&k.length&&m?(e=>{const t=e.some((e=>e.qArea.qHeight<QT)),n=Math.max(...e.map((e=>e.qArea.qTop+e.qArea.qHeight)));return t?n:j})(k):j,{itemSize:B,listHeight:W}=function(e){let{isVertical:t,checkboxes:n,dense:r,height:o}=e,a=n?40:33;r&&(a=20);const i=t?a:200;return{itemSize:i,listHeight:o||8*i}}({isVertical:q,checkboxes:u,dense:h,height:a}),H=w&&w.qListObject.qDimensionInfo.qLocked,{frequencyMax:U}=w;return Ot.createElement(CT,{isItemLoaded:z,itemCount:F||1,loadMoreItems:A,threshold:0,minimumBatchSize:QT,ref:T},(e=>{let{onItemsRendered:t,ref:a}=e;return P.current.listRef=a,Ot.createElement(eP,{direction:"rtl"===r?"rtl":"ltr","data-testid":"fixed-size-list",useIsScrolling:!0,height:W,width:i,itemCount:F,layout:l,className:JT.styledScrollbars,itemData:o(o({isLocked:H,column:!q,pages:k},H||x()?{}:I),{},{checkboxes:u,dense:h,frequencyMode:s,isSingleSelect:C,actions:{select:M,confirm:()=>n&&n.confirm.call(n),cancel:()=>n&&n.cancel.call(n)},frequencyMax:U,histogram:c,keyboard:g,showGray:v}),itemSize:B,onItemsRendered:e=>{b&&b.setScrollPos(e.visibleStopIndex),t(o({},e))},ref:a},XT)}))}const nP=e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M15.4,9 C15.8,9 16,9.3 16,9.6 L16,15.4 C16,15.7 15.8,16 15.4,16 L9.6,16 C9.3,16 9,15.8 9,15.4 L9,9.6 C9,9.3 9.3,9 9.6,9 L15.4,9 Z M15,10 L10,10 L10,15 L15,15 L15,10 Z M6.5,0 C6.8,0 7,0.3 7,0.6 L7,6.4 C7,6.8 6.8,7 6.5,7 L0.6,7 C0.3,7 0,6.8 0,6.5 L0,0.6 C0,0.3 0.3,0 0.6,0 L6.5,0 Z M6,2.8 C6.3,2.5 6.3,2.1 6.1,1.8 C5.9,1.5 5.4,1.6 5.1,1.9 L3.1,3.9 L2.4,3.2 C2.1,2.9 1.7,2.9 1.4,3.1 C1.2,3.3 1.2,3.8 1.5,4.1 L2.7,5.3 C3,5.6 3.4,5.6 3.7,5.3 L3.8,5.3 L6,2.8 Z M6.5,9 C6.8,9 7,9.3 7,9.6 L7,15.4 C7,15.8 6.8,16 6.5,16 L0.6,16 C0.3,16 0,15.8 0,15.4 L0,9.6 C0,9.3 0.3,9 0.6,9 L6.5,9 Z M6,11.8 C6.3,11.5 6.3,11.1 6.1,10.8 C5.9,10.6 5.4,10.6 5.1,10.8 L3.1,12.8 L2.3,12 C2,11.7 1.6,11.7 1.3,12 C1.1,12.3 1.1,12.7 1.4,13 L2.6,14.2 C2.9,14.5 3.3,14.5 3.6,14.3 L3.7,14.2 L6,11.8 Z M15.4,0 C15.8,0 16,0.3 16,0.6 L16,6.4 C16,6.8 15.8,7 15.4,7 L9.6,7 C9.3,7 9,6.8 9,6.5 L9,0.6 C9,0.3 9.3,0 9.6,0 L15.4,0 Z M15,2.8 C15.3,2.5 15.3,2.1 15.1,1.8 C14.9,1.5 14.4,1.6 14.1,1.9 L12.1,3.9 L11.3,3.1 C11,2.8 10.6,2.8 10.3,3 C10,3.2 10.1,3.7 10.3,4 L11.5,5.2 C11.8,5.5 12.2,5.5 12.5,5.2 L15,2.8 Z"}}]}),rP=e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),oP=e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),aP=e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]});var iP=e=>{let{layout:t,model:n,translator:r}=e;if(t.qListObject.qDimensionInfo.qIsOneAndOnlyOne)return[];return[{key:"selectAll",type:"menu-icon-button",label:r.get("Selection.SelectAll"),getSvgIconShape:nP,enabled:()=>["qOption","qAlternative","qExcluded","qDeselected"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{n.selectListObjectAll("/qListObjectDef")}},{key:"selectPossible",type:"menu-icon-button",label:r.get("Selection.SelectPossible"),getSvgIconShape:oP,enabled:()=>["qOption"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{n.selectListObjectPossible("/qListObjectDef")}},{key:"selectAlternative",type:"menu-icon-button",label:r.get("Selection.SelectAlternative"),getSvgIconShape:rP,enabled:()=>["qAlternative"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{n.selectListObjectAlternative("/qListObjectDef")}},{key:"selectExcluded",type:"menu-icon-button",label:r.get("Selection.SelectExcluded"),getSvgIconShape:aP,enabled:()=>["qAlternative","qExcluded"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{n.selectListObjectExcluded("/qListObjectDef")}}]};const lP=e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M2,6.5 L3,6.5 C3.55228475,6.5 4,6.94771525 4,7.5 L4,8.5 C4,9.05228475 3.55228475,9.5 3,9.5 L2,9.5 C1.44771525,9.5 1,9.05228475 1,8.5 L1,7.5 C1,6.94771525 1.44771525,6.5 2,6.5 Z M7.5,6.5 L8.5,6.5 C9.05228475,6.5 9.5,6.94771525 9.5,7.5 L9.5,8.5 C9.5,9.05228475 9.05228475,9.5 8.5,9.5 L7.5,9.5 C6.94771525,9.5 6.5,9.05228475 6.5,8.5 L6.5,7.5 C6.5,6.94771525 6.94771525,6.5 7.5,6.5 Z M13,6.5 L14,6.5 C14.5522847,6.5 15,6.94771525 15,7.5 L15,8.5 C15,9.05228475 14.5522847,9.5 14,9.5 L13,9.5 C12.4477153,9.5 12,9.05228475 12,8.5 L12,7.5 C12,6.94771525 12.4477153,6.5 13,6.5 Z"}}]});function sP(e){const t=BS(),n="function"==typeof e.enabled?!e.enabled():!!e.disabled,r="function"==typeof e.getSvgIconShape;return{hidden:!0===e.hidden,disabled:n,style:{backgroundColor:e.active?t.palette.btn.active:void 0},hasSvgIconShape:r}}const cP="njs-cell-action",uP=Ot.forwardRef(((e,t)=>{let{item:n,addAnchor:r=!1}=e;const o=BS(),{hidden:a,disabled:i,style:l,hasSvgIconShape:s}=sP(n);if(a)return null;const c=n.keyboardAction?e=>["Enter"," ","Spacebar"].includes(e.key)&&n.keyboardAction():null;return Ot.createElement(Ek,{ref:r?null:t,title:n.label,onClick:n.action,onKeyDown:c,disabled:i,style:l,className:cP,size:"large"},s&&aT(n.getSvgIconShape()),r&&Ot.createElement("div",{ref:t,style:{bottom:-o.spacing(.5),right:0,position:"absolute",width:"100%",height:0}}))})),dP=e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M9.34535242,8 L13.3273238,11.9819714 C13.6988326,12.3534802 13.6988326,12.955815 13.3273238,13.3273238 C12.955815,13.6988326 12.3534802,13.6988326 11.9819714,13.3273238 L8,9.34535242 L4.01802863,13.3273238 C3.64651982,13.6988326 3.04418502,13.6988326 2.67267621,13.3273238 C2.3011674,12.955815 2.3011674,12.3534802 2.67267621,11.9819714 L6.65464758,8 L2.67267621,4.01802863 C2.3011674,3.64651982 2.3011674,3.04418502 2.67267621,2.67267621 C3.04418502,2.3011674 3.64651982,2.3011674 4.01802863,2.67267621 L8,6.65464758 L11.9819714,2.67267621 C12.3534802,2.3011674 12.955815,2.3011674 13.3273238,2.67267621 C13.6988326,3.04418502 13.6988326,3.64651982 13.3273238,4.01802863 L9.34535242,8 Z"}}]}),pP=e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M9.1661442,6.1661442 C10.7210031,4.61128527 13.2789969,4.61128527 14.8338558,6.1661442 C16.3887147,7.72100313 16.3887147,10.2789969 14.8338558,11.8338558 C13.2789969,13.3887147 10.7210031,13.3887147 9.1661442,11.8338558 C7.61128527,10.2789969 7.61128527,7.77115987 9.1661442,6.1661442 Z M14.1316614,7.72100313 C14.3322884,7.52037618 14.3824451,7.169279 14.1316614,6.9184953 C13.8808777,6.6677116 13.5297806,6.71786834 13.3291536,6.9184953 L12.0250784,8.22257053 L10.7210031,6.9184953 C10.5203762,6.6677116 10.1191223,6.6677116 9.9184953,6.9184953 C9.6677116,7.11912226 9.6677116,7.52037618 9.9184953,7.72100313 L11.2225705,9.02507837 L9.9184953,10.3291536 C9.6677116,10.5297806 9.6677116,10.8808777 9.9184953,11.1316614 C10.169279,11.3824451 10.5203762,11.3824451 10.7210031,11.1316614 L12.0250784,9.82758621 L13.3291536,11.1316614 C13.5297806,11.3824451 13.8808777,11.3824451 14.1316614,11.1316614 C14.3322884,10.9310345 14.3824451,10.5297806 14.1316614,10.3291536 L12.8275862,9.02507837 L14.1316614,7.72100313 Z"}}]});var fP=e=>aT(pP(e));const mP={icon:"".concat("More","-icon")},hP=VS(AO)((e=>{let{theme:t}=e;return{["& .".concat(mP.icon)]:{color:t.palette.text.primary}}}));function gP(e){let{item:t,onActionClick:n=(()=>{})}=e;const{hidden:r,disabled:o,hasSvgIconShape:a}=sP(t);return r?null:Ot.createElement(XO,{title:t.label,onClick:()=>{t.action(),n()},disabled:o},a&&Ot.createElement(bO,{className:mP.icon},aT(t.getSvgIconShape())),Ot.createElement(Tk,{noWrap:!0},t.label))}const vP=Ot.forwardRef(((e,t)=>{let{actions:n=[],show:r=!0,alignTo:a,popoverProps:l={},popoverPaperStyle:s={},onCloseOrActionClick:c=(()=>{})}=e;return n.length>0&&Ot.createElement(hP,i({},l,{onClose:c,ref:t,open:r,anchorEl:a.current,getContentAnchorEl:null,container:a.current,disablePortal:!0,hideBackdrop:!0,style:{pointerEvents:"none"},transitionDuration:0,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{style:o({pointerEvents:"auto",maxWidth:"250px"},s)}}),Ot.createElement(EO,null,n.map(((e,t)=>Ot.createElement(gP,{key:t,item:e,onActionClick:c})))))})),bP="ActionsToolbar",yP={itemSpacing:"".concat(bP,"-itemSpacing"),firstItemSpacing:"".concat(bP,"-firstItemSpacing"),lastItemSpacing:"".concat(bP,"-lastItemSpacing")},xP=VS(AO)((e=>{let{theme:t}=e;return{["& .".concat(yP.itemSpacing)]:{padding:t.spacing(0,.5)},["& .".concat(yP.firstItemSpacing)]:{padding:t.spacing(0,.5,0,0)},["& .".concat(yP.lastItemSpacing)]:{padding:t.spacing(0,0,0,.5)}}})),SP="njs-action-toolbar-popover",wP=Ot.forwardRef(((e,t)=>{let{actions:n=[],first:r=!1,last:o=!1,addAnchor:a=!1}=e;return n.length>0?Ot.createElement(sL,{item:!0,container:!0,gap:0,wrap:"nowrap"},n.map(((e,i)=>{let l=[];const s=r&&0===i,c=o&&n.length-1===i;return s&&!c&&(l=[yP.firstItemSpacing]),c&&!s&&(l=[...l,yP.lastItemSpacing]),s||c||0!==l.length||(l=[yP.itemSpacing]),Ot.createElement(sL,{item:!0,key:e.key,className:l.join(" ").trim()},Ot.createElement(uP,{key:e.key,item:e,ref:0===i?t:null,addAnchor:a}))}))):null})),CP={pointerEvents:"none"},kP={vertical:"top",horizontal:"right"},EP={vertical:"bottom",horizontal:"right"};function RP(e){let{show:t=!0,actions:n=[],maxItems:r=3,selections:o={show:!1,api:null,onConfirm:()=>{},onCancel:()=>{}},more:a={enabled:!1,actions:[],alignTo:null,popoverProps:{},popoverPaperStyle:{}},popover:i={show:!1,anchorEl:null},focusHandler:l=null,actionsRefMock:s=null}=e;const c=function(e){let{api:t,onConfirm:n=(()=>{}),onCancel:r=(()=>{}),onKeyDeactivate:o=(()=>{})}=e;const{translator:a}=Ge.exports.useContext(kC);return[{key:"clear",type:"icon-button",label:a.get("Selection.Clear"),enabled:()=>t.canClear(),action:()=>t.clear(),getSvgIconShape:pP},{key:"cancel",type:"icon-button",label:a.get("Selection.Cancel"),enabled:()=>t.canCancel(),action:()=>{r(),t.cancel()},keyboardAction:e=>{o(e),r(),t.cancel()},getSvgIconShape:dP},{key:"confirm",type:"icon-button",label:a.get("Selection.Confirm"),enabled:()=>t.canConfirm(),action:()=>{n(),t.confirm()},keyboardAction:e=>{o(e),n(),t.confirm()},getSvgIconShape:TT}]}(o),{translator:u,keyboardNavigation:d}=Ge.exports.useContext(kC),[p,f]=Ge.exports.useState(!1),[m,h]=Ge.exports.useState(a.enabled),[g,v]=Ge.exports.useState(a.actions),[b,y]=Ge.exports.useState(a.alignTo),x=Ge.exports.useRef(),S=Ge.exports.useRef(),w=BS(),C=Ge.exports.useMemo((()=>({margin:w.spacing(.5,0)}))),k=e=>{const t=S.current||s;if(!t)return null;const n=t.querySelectorAll("button:not(.Mui-disabled)");return n[e?n.length-1:0]};Ge.exports.useEffect((()=>()=>f(!1)),[i.show]),Ge.exports.useEffect((()=>{h(a.enabled)}),[a.enabled]),Ge.exports.useEffect((()=>{if(!l)return;l.on("focus_toolbar_first",(()=>{const e=k(!1);e&&e.focus()})),l.on("focus_toolbar_last",(()=>{const e=k(!0);e&&e.focus()}))}),[]);const E=Ge.exports.useMemo((()=>n.filter((e=>!e.hidden))),[n]);if(!o.show&&0===E.length)return null;const R={key:"more",label:u.get("Menu.More"),getSvgIconShape:lP,hidden:!1,enabled:()=>m,action:()=>f(!p)};if(E.length>r){const e=E.splice(-(E.length-r)-1);h(!0),v([...e,...a.actions]),y(x)}const L=d&&l&&l.refocusContent?e=>{if("Tab"!==e.key)return;(e.shiftKey&&k(!1)===e.target||!e.shiftKey&&k(!0)===e.target)&&(e.preventDefault(),e.stopPropagation(),l.refocusContent())}:null,O=E.length>0,I=g.length>0,M=O&&o.show||I&&o.show,T=Ot.createElement(sL,{ref:S,onKeyDown:L,container:!0,gap:0,wrap:"nowrap"},O&&Ot.createElement(wP,{actions:E,first:!0,last:!I&&!o.show}),I&&Ot.createElement(wP,{ref:x,actions:[R],first:!O,last:!o.show,addAnchor:!0}),M&&Ot.createElement(sL,{item:!0,className:yP.itemSpacing,style:C},Ot.createElement(RR,{orientation:"vertical"})),o.show&&Ot.createElement(wP,{actions:c,first:!O&&!I,last:!0}),p&&Ot.createElement(vP,{show:p,actions:g,alignTo:b,popoverProps:a.popoverProps,popoverPaperStyle:a.popoverPaperStyle,onCloseOrActionClick:()=>{f(!1)}}));return i.show?Ot.createElement(xP,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:i.show,anchorEl:i.anchorEl,anchorOrigin:kP,transformOrigin:EP,hideBackdrop:!0,style:CP,PaperProps:{className:SP,style:{pointerEvents:"auto",padding:w.spacing(1,1)}}},T):t&&T}var LP=e=>aT((e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M15.7873809,13.80959 C16.1870614,14.209868 15.9872212,15.1104934 15.4876205,15.5107714 C15.08794,15.9110493 14.1886588,16.2112578 13.7889782,15.8109798 L11.0911347,13.1091035 L10.9912145,12.5086866 L10.2917736,11.8082001 C9.19265216,12.5086866 7.89369045,13.0090341 6.49480859,13.0090341 C2.89768383,13.0090341 0,10.1070188 0,6.50451703 C0,2.90201529 2.89768383,0 6.49480859,0 C10.0919334,0 12.9896172,2.90201529 12.9896172,6.50451703 C12.9896172,7.90548992 12.4900165,9.20639333 11.7905756,10.3071577 L12.4900165,11.0076442 L13.0895373,11.1077137 L15.7873809,13.80959 Z M11.2909749,6.50451703 C11.2909749,5.20361362 10.7913743,4.00277971 9.89209309,3.00208478 C8.9928119,2.10145935 7.79377031,1.60111188 6.49480859,1.60111188 C5.19584688,1.60111188 3.99680529,2.10145935 2.99760397,3.00208478 C2.09832278,4.00277971 1.59872212,5.20361362 1.59872212,6.50451703 C1.59872212,7.80542043 2.09832278,9.00625434 2.99760397,9.90687978 C3.89688516,10.8075052 5.09592674,11.3078527 6.49480859,11.3078527 C7.79377031,11.4079222 8.9928119,10.9075747 9.89209309,9.90687978 C10.7913743,9.00625434 11.2909749,7.80542043 11.2909749,6.50451703 Z"}}]}))(e));const OP="/qListObjectDef";function IP(e){let{selections:t,model:n,keyboard:r,dense:o=!1,visible:a=!0}=e;const{translator:i}=Ge.exports.useContext(kC),[l,s]=Ge.exports.useState(""),c=BS(),u=async()=>{if(t.isModal())try{await n.abortListObjectSearch(OP)}finally{s("")}};Ge.exports.useEffect((()=>{a||u()}),[a]),Ge.exports.useEffect((()=>(t.on("deactivated",u),()=>{t.removeListener&&t.removeListener("deactivated",u)})),[]);return a?Ot.createElement(gI,{startAdornment:Ot.createElement(IL,{position:"start"},Ot.createElement(LP,{size:o?"small":"normal"})),className:"search",sx:[{border:"none",borderRadius:0,"& fieldset":{border:"1px solid ".concat(c.palette.divider),borderWidth:"1px 0 1px 0",borderRadius:0},"&:hover":{border:"none"}},o&&{fontSize:12,paddingLeft:c.spacing(1),"& input":{paddingTop:"5px",paddingBottom:"5px"}}],size:"small",fullWidth:!0,placeholder:i.get("Listbox.Search"),value:l,onFocus:()=>{t.isModal()||t.begin(["/qListObjectDef"])},onChange:async e=>(s(e.target.value),e.target.value.length?n.searchListObjectFor(OP,e.target.value):u()),onKeyDown:e=>{let r;switch(e.key){case"Enter":r=n.acceptListObjectSearch(OP,!0),s("");break;case"Escape":r=t.isActive()&&t.cancel(),e.preventDefault(),e.stopPropagation()}return r},inputProps:{tabIndex:!r||r.enabled&&!r.active?-1:0}}):null}function MP(e){return Object.keys(h.prototype).forEach((t=>{e[t]=h.prototype[t]})),h.init(e),e}function TP(e,t){const[n]=nk(e),[r]=BC(t),o=t?t.id:null,[a]=ZC(),[i]=QC(),l=a.get(e.id);let s=i.get(o);return Ge.exports.useEffect((()=>{n&&t&&!s&&(s=function(e){let t,{appSelections:n,appModal:r,model:o}=e,a=!1,i=!1;const l={id:o.id,setLayout(e){t=e},begin(e){const t=(()=>{let e=!1;return{isPrevented:()=>e,preventDefault:()=>{e=!0}}})();return this.emit("activate",t),t.isPrevented()?Promise.resolve():(a=!0,this.emit("activated"),r.begin(o,e,!0))},clear(){return i=!1,this.emit("cleared"),t.qListObject?o.clearSelections("/qListObjectDef"):o.resetMadeSelections()},confirm(){return i=!1,a=!1,this.emit("confirmed"),this.emit("deactivated"),r.end(!0)},cancel(){return i=!1,a=!1,this.emit("canceled"),this.emit("deactivated"),r.end(!1)},async select(e){const t=this.begin([e.params[0]]);if(!n.isModal())return!1;await t;const r=await o[e.method](...e.params);return i="resetMadeSelections"!==e.method,!!r||(o.resetMadeSelections(),!1)},canClear:()=>t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked&&!t.qListObject.qDimensionInfo.qIsOneAndOnlyOne:i,canConfirm:()=>t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked:i,canCancel:()=>!(t&&t.qListObject&&t.qListObject.qDimensionInfo&&t.qListObject.qDimensionInfo.qLocked),isActive:()=>a,isModal:()=>n.isModal(o),goModal:e=>r.begin(o,e,!1),noModal:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return r.end(e)}};return MP(l),l}({appSelections:n,appModal:l,model:t}),i.set(o,s),i.dispatch(!0))}),[n,t]),Ge.exports.useEffect((()=>{s&&s.setLayout(r)}),[s,r]),[s]}function PP(e){let{alignTo:t,show:n,close:r,app:o,fieldName:a,stateName:i="$"}=e;const l=n&&Boolean(t.current),s=BS(),[c]=HC({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:i,qShowAlternatives:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}],qFieldDefs:[a]}}},o,a,i),u=Ge.exports.useCallback((()=>{c.lock("/qListObjectDef")}),[c]),d=Ge.exports.useCallback((()=>{c.unlock("/qListObjectDef")}),[c]),{translator:p}=Ge.exports.useContext(kC),f=Ge.exports.useRef(),[m]=TP(o,c),[h]=BC(c);if(Ge.exports.useEffect((()=>{m&&l&&(m.isModal(c)||m.goModal("/qListObjectDef"))}),[m,l]),!c||!h||!p)return null;const g=!0===h.qListObject.qDimensionInfo.qLocked,v=(e,t)=>{const n="escapeKeyDown"!==t;m.noModal(n),r()},b=iP({layout:h,model:c,translator:p}),y=h.qListObject.qDimensionInfo.qStateCounts,x=y.qSelected+y.qSelectedExcluded+y.qLocked+y.qLockedExcluded>0;return Ot.createElement(AO,{open:l,onClose:v,anchorEl:t.current,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"250px"}}},Ot.createElement(sL,{container:!0,direction:"column",gap:0},Ot.createElement(sL,{item:!0,container:!0,style:{padding:s.spacing(1)}},Ot.createElement(sL,{item:!0},g?Ot.createElement(Ek,{onClick:d,disabled:!g,size:"large"},Ot.createElement(lT,{title:p.get("Listbox.Unlock")})):Ot.createElement(Ek,{onClick:u,disabled:!x,size:"large"},Ot.createElement(sT,{title:p.get("Listbox.Lock")}))),Ot.createElement(sL,{item:!0,xs:!0}),Ot.createElement(sL,{item:!0},Ot.createElement(RP,{more:{enabled:!g,actions:b,alignTo:f,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:!0,api:m,onConfirm:v,onCancel:()=>v(0,"escapeKeyDown")}}))),Ot.createElement(sL,{item:!0,xs:!0},Ot.createElement("div",{ref:f}),Ot.createElement(IP,{selections:m,model:c,visible:!0}),Ot.createElement(tP,{model:c,selections:m,direction:"ltr"}))))}function NP(e){let{field:t,api:n,stateIx:r=0,skipHandleShowListBoxPopover:o=!1,moreAlignTo:a=null,onClose:i=(()=>{})}=e;const{translator:l}=Ge.exports.useContext(kC),s=a||Ge.exports.useRef(),c=BS(),[u,d]=Ge.exports.useState(!1),p=e=>{e.currentTarget.contains(e.target)&&d(!u)},f=()=>{d(!1),i()},m=t.selections[r];void 0===m.qTotal&&(m.qTotal=0);const h=m.qStateCounts||{qSelected:0,qLocked:0,qExcluded:0,qLockedExcluded:0,qSelectedExcluded:0,qAlternative:0},g=(h.qSelected+h.qLocked)/m.qTotal,v=h.qAlternative/m.qTotal,b=(h.qExcluded+h.qLockedExcluded+h.qSelectedExcluded)/m.qTotal,y=h.qSelected+h.qSelectedExcluded+h.qLocked+h.qLockedExcluded,x=0===y&&0===m.qTotal;let S="";m.qTotal===y&&m.qTotal>1?S=l.get("CurrentSelections.All"):y>1&&m.qTotal?S=l.get("CurrentSelections.Of",[y,m.qTotal]):m.qSelectedFieldSelectionInfo&&(S=m.qSelectedFieldSelectionInfo.map((e=>e.qName)).join(", ")),"$"!==t.states[r]&&(S="".concat(t.states[r],": ").concat(S));const w=[{color:c.palette.selected.main,ratio:g},{color:c.palette.selected.alternative,ratio:v},{color:c.palette.selected.excluded,ratio:b}];w.forEach(((e,t)=>{e.offset=t?w[t-1].offset+w[t-1].ratio:0}));let C=null,k=null,E=null,R=null;return a||(C=Ot.createElement(sL,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:m.qLocked?"0.3":""}},Ot.createElement(Tk,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},m.qField),Ot.createElement(Tk,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},S)),m.qLocked?k=Ot.createElement(sL,{item:!0},Ot.createElement(Ek,{size:"large"},Ot.createElement(lT,null))):m.qOneAndOnlyOne||(k=Ot.createElement(sL,{item:!0},Ot.createElement(Ek,{title:l.get("Selection.Clear"),onClick:e=>{e.stopPropagation(),n.clearField(m.qField,t.states[r])},size:"large"},Ot.createElement(iT,null)))),E=Ot.createElement("div",{style:{height:"4px",position:"absolute",bottom:"0",left:"0",width:"100%"}},!1===x&&w.map((e=>Ot.createElement("div",{key:e.color,style:{position:"absolute",background:e.color,height:"100%",top:0,width:"".concat(100*e.ratio,"%"),left:"".concat(100*e.offset,"%")}})))),R=Ot.createElement(sL,{container:!0,gap:1,ref:s,sx:{backgroundColor:c.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:c.palette.action.hover}},onClick:!1===o&&p||null},C,k,E,u&&Ot.createElement(PP,{alignTo:s,show:u,close:f,app:n.model,fieldName:m.qField,stateName:t.states[r]}))),a?Ot.createElement(PP,{alignTo:s,show:!0,close:f,app:n.model,fieldName:m.qField,stateName:t.states[r]}):R}var zP=e=>aT((e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M8,9 L12.5,4.5 L14,6 L9.5,10.5 L8,12 L2,6 L3.5,4.5 L8,9 Z"}}]}))(e));const AP={item:"".concat("MultiState","-item")},_P=VS(sL)((e=>{let{theme:t}=e;return{["&.".concat(AP.item)]:{backgroundColor:t.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:t.palette.action.hover},height:"100%",alignItems:"center"}}}));function DP(e){let{field:t,api:n,moreAlignTo:r=null,onClose:o=(()=>{})}=e;const[a,i]=Ge.exports.useState(!!r),[l,s]=Ge.exports.useState(-1),[c,u]=Ge.exports.useState(r?r.current:null),d=r||Ge.exports.useRef(),{translator:p}=Ge.exports.useContext(kC),f=p.get("Selection.ClearAllStates"),m=()=>{s(-1),o()};let h=null;r||(h=Ot.createElement(Ot.Fragment,null,Ot.createElement(sL,{item:!0,xs:!0,zeroMinWidth:!0},Ot.createElement(TE,{style:{padding:"0px 8px"},color:"secondary",badgeContent:t.states.length},Ot.createElement(Tk,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},t.name))),Ot.createElement(sL,{item:!0},Ot.createElement("div",{style:{width:"12px"}})),Ot.createElement(sL,{item:!0},Ot.createElement(Ek,{size:"large"},Ot.createElement(zP,null)))));const g=Ot.createElement(tO,{dense:!0},Ot.createElement(fO,{title:f,onClick:()=>{t.states.forEach((e=>n.clearField(t.name,e)))}},Ot.createElement(dC,{variant:"contained",fullWidth:!0},f)),t.states.map(((e,r)=>Ot.createElement(fO,{key:r,title:t.name,onClick:e=>((e,t)=>{e.stopPropagation(),i(!1),s(t)})(e,r)},Ot.createElement(NE,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},Ot.createElement(NP,{field:t,api:n,stateIx:r,skipHandleShowListBoxPopover:!0})))))),v=Ot.createElement(AO,{open:a,onClose:()=>{i(!1),o()},anchorEl:c,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},g),b=r?v:Ot.createElement(_P,{container:!0,gap:0,className:AP.item,onClick:e=>{e.currentTarget.contains(e.target)&&(u(e.currentTarget),d.current=e.currentTarget,i(!a))}},h,a&&v,l>-1&&Ot.createElement(PP,{alignTo:d,show:l>-1,close:m,app:n.model,fieldName:t.selections[l].qField,stateName:t.states[l]}));return r&&l>-1?Ot.createElement(PP,{alignTo:d,show:l>-1,close:m,app:n.model,fieldName:t.selections[l].qField,stateName:t.states[l]}):b}const $P="More",qP={item:"".concat($P,"-item"),badge:"".concat($P,"-badge")},jP=VS(sL)((e=>{let{theme:t}=e;return{["&.".concat(qP.item)]:{backgroundColor:t.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:t.palette.action.hover},height:"100%",alignItems:"center"},["& .".concat(qP.badge)]:{padding:t.spacing(0,1)}}}));function FP(e){let{items:t=[],api:n}=e;const r=BS(),[o,a]=Ge.exports.useState(!1),[i,l]=Ge.exports.useState(-1),[s,c]=Ge.exports.useState(null),u=Ge.exports.useRef(),d=()=>{l(-1)};let p=null;return i>-1&&(p=t[i].states.length>1?Ot.createElement(DP,{field:t[i],api:n,moreAlignTo:u,onClose:d}):Ot.createElement(NP,{field:t[i],api:n,skipHandleShowListBoxPopover:!0,moreAlignTo:u,onClose:d})),Ot.createElement(jP,{container:!0,gap:0,className:qP.item,onClick:e=>{e.currentTarget.contains(e.target)&&(c(e.currentTarget),u.current=e.currentTarget,a(!o))}},Ot.createElement(sL,{item:!0},Ot.createElement(NE,{borderRadius:r.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:r.palette.selected.main,color:r.palette.selected.mainContrastText}},Ot.createElement(Tk,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",t.length))),Ot.createElement(sL,{item:!0},Ot.createElement(Ek,{size:"large"},Ot.createElement(zP,null))),o&&Ot.createElement(AO,{open:o,onClose:()=>{a(!1)},anchorEl:s,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},Ot.createElement(tO,{dense:!0},t.map(((e,t)=>Ot.createElement(fO,{key:t,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),a(!1),l(t)})(e,t)},Ot.createElement(NE,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},e.states.length>1?Ot.createElement(DP,{field:e,api:n}):Ot.createElement(NP,{field:e,api:n}))))))),p)}function BP(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"$";e.qSelections.forEach((e=>{const r=e.qField,o=t[r]=t[r]||{name:r,states:[],selections:[]};-1===o.states.indexOf(n)&&(o.states.push(n),o.selections.push(e))}))}function WP(e){let{api:t,app:n}=e;const r=BS(),[o]=VC(n),[a]=BC(o),[i,l]=Ge.exports.useState({items:[],more:[]}),[s]=ek(),[c,u]=rT(),[d,p]=Ge.exports.useState(0);return Ge.exports.useEffect((()=>{if(!u)return;const{width:e}=u,t=Math.floor(e)-72,n=Math.floor(t/120);p(n)}),[u]),Ge.exports.useEffect((()=>{if(!(n&&o&&a&&d))return;const e=function(e){if(!e)return[];const t={};return e.qSelectionObject&&BP(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach((e=>BP(e.qSelectionObject,t,e.stateName))),Object.keys(t).map((e=>t[e]))}(a);l((t=>{const r=e;if((()=>{const e=s.get(n.id);return e&&"njsListbox"===e.genericType})()&&r.length+1===t.items.length){const e=t.items.filter((e=>!1===r.some((t=>e.name===t.name))))[0],{qField:n}=e.selections[0];e.selections=[{qField:n}];const o=t.items.indexOf(e);r.splice(o,0,e)}let o=[];return d<r.length&&(o=r.splice(d-r.length)),{items:r,more:o}}))}),[n,o,a,t.isInModal(),d]),Ot.createElement(sL,{ref:c,container:!0,gap:0,wrap:"nowrap",style:{height:"100%"}},i.items.map((e=>Ot.createElement(sL,{item:!0,key:"".concat(e.states.join("::"),"::").concat(e.name),style:{position:"relative",maxWidth:"240px",minWidth:"".concat(120,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},e.states.length>1?Ot.createElement(DP,{field:e,api:t}):Ot.createElement(NP,{field:e,api:t})))),i.more.length>0&&Ot.createElement(sL,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:"".concat(72,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},Ot.createElement(FP,{items:i.more,api:t})))}var HP=e=>aT((e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 Z M16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,-5.07265313e-17 13.5,0 L15,0 C15.5522847,1.01453063e-16 16,0.44771525 16,1 L16,2.5 Z M10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 C6,0.223857625 6.22385763,-5.07265313e-17 6.5,0 L9.5,0 C9.77614237,5.07265313e-17 10,0.223857625 10,0.5 Z M1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 5.18696197e-13,2.77614237 5.18696197e-13,2.5 L5.18696197e-13,1 C5.18696197e-13,0.44771525 0.44771525,-1.01453063e-16 1,0 L2.5,0 C2.77614237,5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 5.18696197e-13,15.5522847 5.18696197e-13,15 L5.18696197e-13,13.5 C5.18696197e-13,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M4,7 C7.49095643,7 10,10.1337595 10,12.1872632 C10,12.1872632 8.16051135,9.86624054 4,10 L4,12 C4,12 2.66666667,10.8333333 -1.0658141e-14,8.5 C-2.59348099e-13,8.5 1.33333333,7.33333333 4,5 C4,5 4,5.66666667 4,7 Z"}}]}))(e));var UP=e=>aT((e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M12,7 C12,5.66666667 12,5 12,5 C14.6666667,7.33333333 16,8.5 16,8.5 C13.3333333,10.8333333 12,12 12,12 L12,10 C7.83948865,9.86624054 6,12.1872632 6,12.1872632 C6,10.1337595 8.50904357,7 12,7 Z"}}]}))(e));function VP(e){let{api:t,app:n}=e;const{translator:r}=Ge.exports.useContext(kC),[o]=GC(n);return Ot.createElement(sL,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},Ot.createElement(sL,{item:!0},Ot.createElement(Ek,{style:{marginRight:"8px"},disabled:!o||!o.canGoBack,title:r.get("Navigate.Back"),onClick:()=>t.back(),size:"large"},Ot.createElement(HP,null))),Ot.createElement(sL,{item:!0},Ot.createElement(Ek,{style:{marginRight:"8px"},disabled:!o||!o.canGoForward,title:r.get("Navigate.Forward"),onClick:()=>t.forward(),size:"large"},Ot.createElement(UP,null))),Ot.createElement(sL,{item:!0},Ot.createElement(Ek,{disabled:!o||!o.canClear,title:r.get("Selection.ClearAll"),onClick:()=>t.clear(),size:"large"},Ot.createElement(fP,null))))}function GP(e){let{app:t}=e;const n=BS(),[r]=nk(t);return r?Ot.createElement(sL,{container:!0,gap:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},Ot.createElement(sL,{item:!0,style:{borderRight:"1px solid ".concat(n.palette.divider)}},Ot.createElement(VP,{api:r,app:t})),Ot.createElement(sL,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},Ot.createElement(WP,{api:r,app:t}))):null}function KP(e){let{element:t,app:n}=e;return _p.createPortal(Ot.createElement(GP,{app:n}),t)}var XP=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},ZP=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),YP=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QP=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},JP=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},eN=void 0;eN="undefined"!=typeof window?window:"undefined"!=typeof self?self:global;var tN=null,nN=null,rN=eN.clearTimeout,oN=eN.setTimeout,aN=eN.cancelAnimationFrame||eN.mozCancelAnimationFrame||eN.webkitCancelAnimationFrame,iN=eN.requestAnimationFrame||eN.mozRequestAnimationFrame||eN.webkitRequestAnimationFrame;function lN(e){var t=void 0,n=void 0,r=void 0,o=void 0,a=void 0,i=void 0,l=void 0,s="undefined"!=typeof document&&document.attachEvent;if(!s){i=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},a=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},l=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var t=this;i(this),this.__resizeRAF__&&tN(this.__resizeRAF__),this.__resizeRAF__=nN((function(){a(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))}};var c=!1,u="";r="animationstart";var d="Webkit Moz O ms".split(" "),p="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),f=document.createElement("fakeelement");if(void 0!==f.style.animationName&&(c=!0),!1===c)for(var m=0;m<d.length;m++)if(void 0!==f.style[d[m]+"AnimationName"]){u="-"+d[m].toLowerCase()+"-",r=p[m],c=!0;break}t="@"+u+"keyframes "+(n="resizeanim")+" { from { opacity: 0; } to { opacity: 0; } } ",o=u+"animation: 1ms "+n+"; "}return{addResizeListener:function(a,c){if(s)a.attachEvent("onresize",c);else{if(!a.__resizeTriggers__){var u=a.ownerDocument,d=eN.getComputedStyle(a);d&&"static"===d.position&&(a.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){var r=(t||"")+".resize-triggers { "+(o||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',a=n.head||n.getElementsByTagName("head")[0],i=n.createElement("style");i.id="detectElementResize",i.type="text/css",null!=e&&i.setAttribute("nonce",e),i.styleSheet?i.styleSheet.cssText=r:i.appendChild(n.createTextNode(r)),a.appendChild(i)}}(u),a.__resizeLast__={},a.__resizeListeners__=[],(a.__resizeTriggers__=u.createElement("div")).className="resize-triggers";var p=u.createElement("div");p.className="expand-trigger",p.appendChild(u.createElement("div"));var f=u.createElement("div");f.className="contract-trigger",a.__resizeTriggers__.appendChild(p),a.__resizeTriggers__.appendChild(f),a.appendChild(a.__resizeTriggers__),i(a),a.addEventListener("scroll",l,!0),r&&(a.__resizeTriggers__.__animationListener__=function(e){e.animationName===n&&i(a)},a.__resizeTriggers__.addEventListener(r,a.__resizeTriggers__.__animationListener__))}a.__resizeListeners__.push(c)}},removeResizeListener:function(e,t){if(s)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",l,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(r,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}null==aN||null==iN?(tN=rN,nN=function(e){return oN(e,20)}):(tN=function(e){var t=JP(e,2),n=t[0],r=t[1];aN(n),rN(r)},nN=function(e){var t=iN((function(){rN(n),e()})),n=oN((function(){aN(t),e()}),20);return[t,n]});var sN=function(e){function t(){var e,n,r;XP(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=QP(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.state={height:r.props.defaultHeight||0,width:r.props.defaultWidth||0},r._onResize=function(){var e=r.props,t=e.disableHeight,n=e.disableWidth,o=e.onResize;if(r._parentNode){var a=r._parentNode.offsetHeight||0,i=r._parentNode.offsetWidth||0,l=window.getComputedStyle(r._parentNode)||{},s=parseInt(l.paddingLeft,10)||0,c=parseInt(l.paddingRight,10)||0,u=parseInt(l.paddingTop,10)||0,d=parseInt(l.paddingBottom,10)||0,p=a-u-d,f=i-s-c;(!t&&r.state.height!==p||!n&&r.state.width!==f)&&(r.setState({height:a-u-d,width:i-s-c}),o({height:a,width:i}))}},r._setRef=function(e){r._autoSizer=e},QP(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),ZP(t,[{key:"componentDidMount",value:function(){var e=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._detectElementResize=lN(e),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.disableHeight,o=e.disableWidth,a=e.style,i=this.state,l=i.height,s=i.width,c={overflow:"visible"},u={},d=!1;return r||(0===l&&(d=!0),c.height=0,u.height=l),o||(0===s&&(d=!0),c.width=0,u.width=s),Ge.exports.createElement("div",{className:n,ref:this._setRef,style:YP({},c,a)},!d&&t(u))}}]),t}(Ge.exports.PureComponent);sN.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};const cN={listBoxHeader:"".concat("ListBoxInline","-listBoxHeader")},uN=VS(sL)((()=>({["& .".concat(cN.listBoxHeader)]:{alignSelf:"center",display:"inline-flex"}})));function dN(e){let{app:t,fieldIdentifier:n,stateName:r="$",options:o={},fieldDef:a}=e;const{title:i,direction:l,listLayout:s,search:c=!0,focusSearch:u=!1,toolbar:d=!0,rangeSelect:p=!0,checkboxes:f=!1,properties:m={},sessionModel:h,selectionsApi:g,update:v,fetchStart:b,dense:y=!1,selectDisabled:x=(()=>!1),postProcessPages:S,calculatePagesHeight:w,showGray:C=!0,scrollState:E,setCount:R,shouldConfirmOnBlur:L}=o;let{frequencyMode:O,histogram:I=!1}=o;switch(a&&a.failedToFetchFieldDef&&(I=!1,O="N"),!0){case["none","N","NX_FREQUENCY_NONE"].includes(O):O="N";break;case["value","V","NX_FREQUENCY_VALUE","default"].includes(O):O="V";break;case["percent","P","NX_FREQUENCY_PERCENT"].includes(O):O="P";break;case["relative","R","NX_FREQUENCY_RELATIVE"].includes(O):O="R";break;default:O="N"}const M={qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:r,qShowAlternatives:!0,qFrequencyMode:I&&"N"===O?"V":O,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},title:i};let T;if(k(!0,M,m),n.qLibraryId?(M.qListObjectDef.qLibraryId=n.qLibraryId,T=n.qLibraryId):(M.qListObjectDef.qDef.qFieldDefs=[n],T=n),"N"!==O||I){const e=n.qLibraryId?a:T;M.frequencyMax={qValueExpression:"Max(AGGR(Count([".concat(e,"]), [").concat(e,"]))")}}let[P]=HC(M,h?null:t,T,r);h&&(P=h);let N=TP(g?{}:t,P)[0];g&&(N=g);const z=BS(),A=Ge.exports.useCallback((()=>{P.lock("/qListObjectDef")}),[P]),_=Ge.exports.useCallback((()=>{P.unlock("/qListObjectDef")}),[P]),{translator:D,keyboardNavigation:$}=Ge.exports.useContext(kC),q=Ge.exports.useRef(),[j,F]=(()=>{const[e,t]=Ge.exports.useState({}),n=Ge.exports.useCallback((e=>{t({current:e})}),[t]);return[e,n]})(),[B]=BC(P),[W,H]=Ge.exports.useState(!1),[U,V]=Ge.exports.useState(!1),[G,K]=Ge.exports.useState(!1),X=WT({setKeyboardActive:K}),Z={enabled:$,active:G};Ge.exports.useEffect((()=>{const e=()=>{H(!0)},t=()=>{H(!1),"toggle"===c&&V(!1)};return N&&(N.isModal()||(N.on("deactivated",t),N.on("activated",e)),H(N.isActive())),()=>{N&&(N.removeListener("deactivated",e),N.removeListener("activated",t))}}),[N]);const Y=Ge.exports.useRef(null);if(function(e,t,n){const[r,o]=Ge.exports.useState(!1),a=Ge.exports.useRef(r),i=e=>{a.current=e,o(e)};Ge.exports.useEffect((()=>{if(!n)return;const r=n=>{const r=e.current&&e.current.contains(n.target),o=a.current;r||o?r&&i(!1):(t&&t.confirm.call(t),i(!0))};return document.addEventListener("mousedown",r),document.addEventListener("keydown",r),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("keydown",r)}}),[e,t,n])}(Y,N,L),Ge.exports.useEffect((()=>{if(j&&j.current&&(c&&u||"toggle"===c&&U)){const e=j.current.querySelector("input");e&&e.focus()}}),[j&&j.current,U,c,u]),!P||!B||!D)return null;const Q=!0===B.qListObject.qDimensionInfo.qLocked,J=d?iP({layout:B,model:P,translator:D}):[],ee=B.qListObject.qDimensionInfo.qStateCounts,te=ee.qSelected+ee.qSelectedExcluded+ee.qLocked+ee.qLockedExcluded>0,ne=(!0===c||"toggle"===c&&U)&&!x(),re=49+(ne?y?27:40:0)+(y?39:49),oe=()=>{V(!U)};return Ot.createElement(uN,{container:!0,tabIndex:Z.enabled&&!Z.active?0:-1,direction:"column",gap:0,style:{height:"100%",minHeight:"".concat(re,"px")},onKeyDown:X,ref:Y},d&&Ot.createElement(sL,{item:!0,container:!0,style:{padding:z.spacing(1)}},Ot.createElement(sL,{item:!0},Q?Ot.createElement(Ek,{tabIndex:-1,onClick:_,disabled:!Q,size:"large"},Ot.createElement(lT,{title:D.get("Listbox.Unlock")})):"toggle"!==c||te?Ot.createElement(Ek,{onClick:A,tabIndex:-1,disabled:!te,size:"large"},Ot.createElement(sT,null)):Ot.createElement(Ek,{onClick:oe,tabIndex:-1,title:D.get("Listbox.Search"),size:"large"},Ot.createElement(LP,null))),Ot.createElement(sL,{item:!0,className:cN.listBoxHeader},Ot.createElement(Tk,{variant:"h6",noWrap:!0},B.title||B.qListObject.qDimensionInfo.qFallbackTitle)),Ot.createElement(sL,{item:!0,xs:!0}),Ot.createElement(sL,{item:!0},Ot.createElement(RP,{more:{enabled:!Q,actions:J,alignTo:q,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:W,api:N,onConfirm:()=>{},onCancel:()=>{}}}))),Ot.createElement(sL,{item:!0,ref:F},Ot.createElement(IP,{selections:N,model:P,dense:y,keyboard:Z,visible:ne,searchContainerRef:F})),Ot.createElement(sL,{item:!0,xs:!0},Ot.createElement("div",{ref:q}),Ot.createElement(sN,null,(e=>{let{height:t,width:n}=e;return Ot.createElement(tP,{model:P,selections:N,direction:l,listLayout:s,frequencyMode:O,histogram:I,rangeSelect:p,checkboxes:f,height:t,width:n,update:v,fetchStart:b,postProcessPages:S,calculatePagesHeight:w,dense:y,selectDisabled:x,keyboard:Z,showGray:C,scrollState:E,sortByState:M.qListObjectDef.qDef.qSortCriterias[0].qSortByState,setCount:R})}))))}function pN(e){let{app:t,fieldIdentifier:n,stateName:r="$",options:o={}}=e;const[a,i]=Ge.exports.useState(""),[l,s]=Ge.exports.useState(!1);return Ge.exports.useEffect((()=>{!async function(){s(!0);try{const e=await t.getDimension(n.qLibraryId),r=await e.getLayout();i(r.qDim.qFieldDefs?r.qDim.qFieldDefs[0]:""),s(!1)}catch(e){throw s(!1),i({failedToFetchFieldDef:!0}),new Error("Disabling frequency count and histogram: ".concat(e&&e.message))}}()}),[]),l?null:Ot.createElement(dN,{app:t,fieldIdentifier:n,stateName:r,options:o,fieldDef:a})}function fN(e){let{app:t,fieldIdentifier:n,stateName:r,element:o,options:a}=e;const i=a.histogram||"N"!==a.frequencyMode,l=n.qLibraryId&&i?pN:dN;return _p.createPortal(Ot.createElement(l,{app:t,fieldIdentifier:n,stateName:r,element:o,options:a}),o)}const mN=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function hN(e){let[t,n]=e;return(t+(Math.random()*(n-t)|0)).toString(32)}function gN(){return mN.map(hN).join("")}function vN(e,t){for(let n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function bN(e,t){let n=0;for(let r=0;r<e.length;++r)e[r]>t?--e[r]:e[r]===t&&(n=r);return e.splice(n,1),n}function yN(e){let{sn:t,properties:n,fields:r}=e;if(!r.length)return;const a=t.qae.data.targets[0];if(!a)return;const{propertyPath:i}=a,l=i.split("/");let s=n;for(let e=0;e<l.length;e++){const t=l[e];s=t?s[t]:s}const c=function(e){let{dc:t,def:n,properties:r}=e;t.qDimensions=t.qDimensions||[],t.qMeasures=t.qMeasures||[],t.qInterColumnSortOrder=t.qInterColumnSortOrder||[],t.qInitialDataFetch=t.qInitialDataFetch||[],t.qColumnOrder=t.qColumnOrder||[],t.qExpansionState=t.qExpansionState||[];const a=r,i={dimensions:()=>t.qDimensions,measures:()=>t.qMeasures,addDimension(e){const r="string"==typeof e?(e=>({qDef:{qFieldDefs:[e]}}))(e):o(o({},e),{},{qDef:e.qDef||{}});r.qDef.cId=r.qDef.cId||gN(),r.qDef.qSortCriterias=r.qDef.qSortCriterias||[{qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],r.qOtherTotalSpec=r.qOtherTotalSpec||{},r.qAttributeExpressions=r.qAttributeExpressions||[],r.qAttributeDimensions=r.qAttributeDimensions||[],t.qDimensions.length<i.maxDimensions()?(t.qDimensions.push(r),vN(t.qInterColumnSortOrder,t.qDimensions.length-1),n.dimensions.added(r,a)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qDimensions.push(r))},removeDimension(e){const r=t.qDimensions.splice(e,1)[0];bN(t.qInterColumnSortOrder,e),n.dimensions.removed(r,a,e)},addMeasure(e){const r="string"==typeof e?(e=>({qDef:{qDef:e}}))(e):o(o({},e),{},{qDef:e.qDef||{}});r.qDef.cId=r.qDef.cId||gN(),r.qSortBy=r.qSortBy||{qSortByLoadOrder:1,qSortByNumeric:-1},r.qAttributeDimensions=r.qAttributeDimensions||[],r.qAttributeExpressions=r.qAttributeExpressions||[],t.qMeasures.length<i.maxMeasures()?(t.qMeasures.push(r),vN(t.qInterColumnSortOrder,t.qDimensions.length+t.qMeasures.length-1),n.measures.added(r,a)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qMeasures.push(r))},removeMeasure(e){const r=t.qMeasures.splice(e,1)[0];bN(t.qInterColumnSortOrder,t.qDimensions.length+e),n.measures.removed(r,a,e)},maxDimensions:()=>n.dimensions.max(t.qMeasures.length),maxMeasures:()=>n.measures.max(t.qDimensions.length),canAddDimension:()=>t.qDimensions.length<i.maxDimensions(),canAddMeasure:()=>t.qMeasures.length<i.maxMeasures()};return i}({dc:s,def:a,properties:n});r.forEach((e=>{const t=function(e){return"string"==typeof e&&"="===e[0]||"object"==typeof e&&e.qDef&&e.qDef.qDef||"object"==typeof e&&e.qLibraryId&&"measure"===e.type?"measure":"dimension"}(e);"measure"===t?c.addMeasure(e):c.addDimension(e)}))}var xN=(e,t,n)=>{if(null==e||null==t)return n;const r=t.split(".");let o=e;for(let e=0;e<r.length;++e){const t=r[e];if(""!==t){if(void 0===o[t]||null===o[t])return n;o=o[t]}}return o},SN=(e,t,n)=>{if(null==e||null==t)return;const r=t.split("."),o=r[r.length-1];let a=e;for(let e=0;e<r.length-1;++e){const t=r[e];void 0!==a[t]&&null!==a[t]||(a[t]=Number.isNaN(+r[e+1])?{}:[]),a=a[t]}void 0!==n&&"__proto__"!==o&&"constructor"!==o?a[o]=n:delete a[o]},wN=e=>0===Object.keys(e).length&&e.constructor===Object;var CN={isOrderedSubset:function(e,t){if(!(e&&t&&e.length&&t.length))return!1;let n=e.indexOf(t[0]);if(-1!==n){for(let r=0;r<t.length;r++){const o=e.indexOf(t[r]);if(n>o)return!1;n=o}return!0}return!1},indexAdded:function(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},indexRemoved:function(e,t){let n,r=0;for(n=0;n<e.length;++n)e[n]>t?--e[n]:e[n]===t&&(r=n);return e.splice(r,1),r}};const kN=2**53-1;function EN(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function RN(e,t){const n=k(!0,{},t,e);return xN(n,"qOtherTotalSpec.qOtherCounted")||SN(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),xN(n,"qOtherTotalSpec.qOtherLimit")||SN(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function LN(e,t){return k(!0,{},t,e)}function ON(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}var IN={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach((t=>{e.qLayoutExclude.changed[t].to===xN(e,t)&&SN(e,t,e.qLayoutExclude.changed[t].from)}))},isMasterItemProperty:EN,importCommonProperties:function(e,t,n){const r="masterobject"===xN(t,"properties.qInfo.qType")?"masterobject":xN(n,"qInfo.qType");SN(e,"qInfo.qType",r),e.visualization=n.visualization},copyPropertyIfExist:function(e,t,n){t.hasOwnProperty(e)&&(n[e]=t[e])},copyPropertyOrSetDefault:function(e,t,n,r){t.hasOwnProperty(e)?n[e]=t[e]:n[e]=r},createDefaultDimension:RN,createDefaultMeasure:LN,resolveValue:ON,getHypercubePath:function(e){const t=xN(e,"data.targets.0.propertyPath","").split("/");return t.length&&"qHyperCubeDef"===t[t.length-1]&&(t.length-=1),t.join(".")},getDefaultDimension:function(){return{qDef:{autoSort:!0,cId:"",othersLabel:"Others"},qLibraryId:"",qNullSuppression:!1,qOtherLabel:"Others",qOtherTotalSpec:{qOtherLimitMode:"OTHER_GE_LIMIT",qOtherMode:"OTHER_OFF",qOtherSortMode:"OTHER_SORT_DESCENDING",qSuppressOther:!1}}},getDefaultMeasure:function(){return{qDef:{autoSort:!0,cId:"",numFormatFromTemplate:!0},qLibraryId:"",qTrendLines:[]}},setInterColumnSortOrder:function(e){let{exportFormat:t,newHyperCubeDef:n}=e;const r=t.data[0],o=n.qDimensions.length+n.qMeasures.length;n.qInterColumnSortOrder=r.interColumnSortOrder.concat();let a=n.qInterColumnSortOrder.length;if(a!==o)for(n.qLayoutExclude&&(n.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder=r.interColumnSortOrder.concat());a!==o;)a<o?(CN.indexAdded(n.qInterColumnSortOrder,a),++a):(--a,CN.indexRemoved(n.qInterColumnSortOrder,a))},createNewProperties:function(e){let{exportFormat:t,initialProperties:n,hypercubePath:r}=e,o={qLayoutExclude:{disabled:{},quarantine:{}}};return Object.keys(t.properties).forEach((e=>{"qLayoutExclude"===e?t.properties[e].quarantine&&(o.qLayoutExclude.quarantine=k(!0,{},t.properties[e].quarantine)):"qHyperCubeDef"===e&&r?SN(o,"".concat(r,".qHyperCubeDef"),t.properties.qHyperCubeDef):n.hasOwnProperty(e)||EN(e)?o[e]=t.properties[e]:o.qLayoutExclude.disabled[e]=t.properties[e]})),o=k(!0,{},n,o),null===o.components&&(o.components=[]),o},getMaxMinDimensionMeasure:function(e){let{exportFormat:t,dataDefinition:n={}}=e;const r=t.data[0],o=n.dimensions||{max:0},a=n.measures||{max:0},i=ON(a.max,r.dimensions.length,kN),l=ON(a.min,r.dimensions.length,0);return{maxDimensions:ON(o.max,i,kN),minDimensions:ON(o.min,l,0),maxMeasures:i,minMeasures:l}},shouldInitLayoutExclude:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,maxMeasures:o,minMeasures:a}=e;const i=t.data[0];return i.dimensions.length>n&&n>0||i.measures.length>o&&o>0||i.excludedDimensions.length>0&&i.dimensions.length+i.excludedDimensions.length>r||i.excludedMeasures.length>0&&i.measures.length+i.excludedMeasures.length>a||!o&&i.measures.length>0||!n&&i.dimensions.length>0},initLayoutExclude:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,maxMeasures:o,minMeasures:a,newHyperCubeDef:i}=e;const l=t.data[0];i.qLayoutExclude||(i.qLayoutExclude={}),i.qLayoutExclude.qHyperCubeDef||(i.qLayoutExclude.qHyperCubeDef={}),(l.dimensions.length>n&&n>0||l.excludedDimensions&&l.excludedDimensions.length&&l.dimensions.length+l.excludedDimensions.length>r)&&(i.qLayoutExclude.qHyperCubeDef.qDimensions||(i.qLayoutExclude.qHyperCubeDef.qDimensions=[])),(l.measures.length>o&&o>0||l.excludedMeasures&&l.excludedMeasures.length&&l.measures.length+l.excludedMeasures.length>a)&&(i.qLayoutExclude.qHyperCubeDef.qMeasures||(i.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!o&&l.measures.length&&(i.qLayoutExclude.qHyperCubeDef.qMeasures||(i.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!n&&l.dimensions.length&&(i.qLayoutExclude.qHyperCubeDef.qDimensions||(i.qLayoutExclude.qHyperCubeDef.qDimensions=[]))},addDefaultDimensions:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,newHyperCubeDef:o,defaultDimension:a}=e;const i=t.data[0];let l;if(n>0)for(l=0;l<i.dimensions.length;++l)o.qDimensions.length<n?o.qDimensions.push(RN(i.dimensions[l],a)):o.qLayoutExclude.qHyperCubeDef.qDimensions.push(RN(i.dimensions[l],a));else if(i.dimensions.length)for(l=0;l<i.dimensions.length;++l)o.qLayoutExclude.qHyperCubeDef.qDimensions.push(RN(i.dimensions[l],a));if(i.excludedDimensions.length)for(l=0;l<i.excludedDimensions.length;++l)o.qDimensions.length<r?o.qDimensions.push(RN(i.excludedDimensions[l],a)):o.qLayoutExclude.qHyperCubeDef.qDimensions.push(RN(i.excludedDimensions[l],a))},addDefaultMeasures:function(e){let{exportFormat:t,maxMeasures:n,minMeasures:r,newHyperCubeDef:o,defaultMeasure:a}=e;const i=t.data[0];let l;if(n>0)for(l=0;l<i.measures.length;++l)o.qMeasures.length<n?o.qMeasures.push(LN(i.measures[l],a)):o.qLayoutExclude.qHyperCubeDef.qMeasures.push(LN(i.measures[l],a));else if(i.measures.length)for(l=0;l<i.measures.length;++l)o.qLayoutExclude.qHyperCubeDef.qMeasures.push(LN(i.measures[l],a));if(i.excludedMeasures.length)for(l=0;l<i.excludedMeasures.length;++l)o.qMeasures.length<r?o.qMeasures.push(LN(i.excludedMeasures[l],a)):o.qLayoutExclude.qHyperCubeDef.qMeasures.push(LN(i.excludedMeasures[l],a))},updateDimensionsOnAdded:function(e){let{newProperties:t,dataDefinition:n,hypercubePath:r}=e;if(n.dimensions&&"function"==typeof n.dimensions.added){const e=xN(t,r||"").qHyperCubeDef,o=[...e.qDimensions];e.qDimensions=[],o.forEach((r=>{e.qDimensions.push(r),n.dimensions.added(r,t)}))}},updateMeasuresOnAdded:function(e){let{newProperties:t,dataDefinition:n,hypercubePath:r}=e;if(n.measures&&"function"==typeof n.measures.added){const e=xN(t,r||"").qHyperCubeDef,o=[...e.qMeasures];e.qMeasures=[],o.forEach((r=>{e.qMeasures.push(r),n.measures.added(r,t)}))}}};var MN={exportProperties:e=>function(e){let{propertyTree:t,hypercubePath:n}=e;const r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;const t={data:[],properties:{}};for(let n=0;n<e;++n)t.data.push({dimensions:[],measures:[],excludedDimensions:[],excludedMeasures:[],interColumnSortOrder:[]});return t}(),o=t.qProperty,a=xN(o,n||""),i=a.qHyperCubeDef,l=r.data[0];if(i.qInterColumnSortOrder||(i.qInterColumnSortOrder=[]),l.dimensions.push(...i.qDimensions),i.qLayoutExclude&&i.qLayoutExclude.qHyperCubeDef&&i.qLayoutExclude.qHyperCubeDef.qDimensions&&l.excludedDimensions.push(...i.qLayoutExclude.qHyperCubeDef.qDimensions),l.measures.push(...i.qMeasures),i.qLayoutExclude&&i.qLayoutExclude.qHyperCubeDef&&i.qLayoutExclude.qHyperCubeDef.qMeasures&&l.excludedMeasures.push(...i.qLayoutExclude.qHyperCubeDef.qMeasures),l.interColumnSortOrder=i.qInterColumnSortOrder.concat(),i.qLayoutExclude&&i.qLayoutExclude.qHyperCubeDef&&i.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder){const e=i.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder.concat();CN.isOrderedSubset(e,l.interColumnSortOrder)&&(l.interColumnSortOrder=e)}return delete i.qLayoutExclude,Object.keys(o).forEach((e=>{r.properties[e]=o[e]})),n&&(r.properties.qHyperCubeDef=a.qHyperCubeDef,delete a.qHyperCubeDef),o.qLayoutExclude||(o.qLayoutExclude={}),o.qLayoutExclude.disabled&&(Object.keys(o.qLayoutExclude.disabled).forEach((e=>{r.properties.hasOwnProperty(e)||(r.properties[e]=o.qLayoutExclude.disabled[e])})),delete o.qLayoutExclude.disabled),o.qLayoutExclude.changed&&(IN.restoreChangedProperties(o),delete o.qLayoutExclude.changed),o.qLayoutExclude.quarantine&&!wN(o.qLayoutExclude.quarantine)||delete o.qLayoutExclude,r}(e),importProperties:e=>function(e){let{exportFormat:t,initialProperties:n={},dataDefinition:r={},defaultPropertyValues:o={},hypercubePath:a}=e;const i={qChildren:[]},l=IN.createNewProperties({exportFormat:t,initialProperties:n,hypercubePath:a}),s=xN(n,a||"").qHyperCubeDef,c=xN(l,a||"").qHyperCubeDef,{maxDimensions:u,minDimensions:d,maxMeasures:p,minMeasures:f}=IN.getMaxMinDimensionMeasure({exportFormat:t,dataDefinition:r}),{defaultDimension:m=IN.getDefaultDimension(),defaultMeasure:h=IN.getDefaultMeasure()}=o;return c.qDimensions.length=0,c.qMeasures.length=0,IN.shouldInitLayoutExclude({exportFormat:t,maxDimensions:u,minDimensions:d,maxMeasures:p,minMeasures:f})&&IN.initLayoutExclude({exportFormat:t,maxDimensions:u,minDimensions:d,maxMeasures:p,minMeasures:f,newHyperCubeDef:c}),IN.addDefaultDimensions({exportFormat:t,maxDimensions:u,minDimensions:d,newHyperCubeDef:c,defaultDimension:m}),IN.addDefaultMeasures({exportFormat:t,maxMeasures:p,minMeasures:f,newHyperCubeDef:c,defaultMeasure:h}),IN.setInterColumnSortOrder({exportFormat:t,newHyperCubeDef:c}),IN.copyPropertyIfExist("qMaxStackedCells",s,c),IN.copyPropertyIfExist("qNoOfLeftDims",s,c),IN.copyPropertyOrSetDefault("qInitialDataFetch",s,c,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),IN.copyPropertyOrSetDefault("qMode",s,c,"S"),IN.copyPropertyOrSetDefault("qReductionMode",s,c,"N"),IN.copyPropertyOrSetDefault("qSortbyYValue",s,c),IN.copyPropertyOrSetDefault("qIndentMode",s,c),IN.copyPropertyOrSetDefault("qShowTotalsAbove",s,c),IN.importCommonProperties(l,t,n),IN.updateDimensionsOnAdded({newProperties:l,dataDefinition:r,hypercubePath:a}),IN.updateMeasuresOnAdded({newProperties:l,dataDefinition:r,hypercubePath:a}),i.qProperty=l,i}(e)};const TN=e=>xN(e,"data.targets.0.propertyPath"),PN=e=>{if(e.exportProperties)return e.exportProperties;return(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return MN.exportProperties})(TN(e))},NN=e=>{if(e.importProperties)return e.importProperties;return(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return MN.importProperties})(TN(e))},zN=async e=>{let{halo:t,model:n,cellRef:r,newType:a}=e;const i=await n.getFullPropertyTree(),l=r.current.getQae(),s=PN(l),c=await(async e=>{let{halo:t,name:n,version:r}=e;const{types:o}=t;return await o.get({name:n,version:r}).supernova()})({halo:t,name:a}),u=c.qae;return NN(u)({exportFormat:s({propertyTree:i,hypercubePath:IN.getHypercubePath(l)}),initialProperties:o({qInfo:{qType:a},visualization:a},xN(u,"properties.initial",{})),dataDefinition:xN(u,"data.targets.0.",{}),hypercubePath:IN.getHypercubePath(u)})},AN={hypercube:MN};var _N=e=>aT((e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M8.86225926,1.6 L15.7815749,13.5 C16.2829746,14.3 15.8818548,15 14.9793354,15 L1.04042422,15 C0.0853772072,15 -0.232971797,14.3650794 0.172002787,13.6135407 L7.05722041,1.6 C7.55862009,0.8 8.36085958,0.8 8.86225926,1.6 Z M7.962,2.007 C7.95987183,2.02476599 7.95607967,2.03712023 7.94920396,2.05249845 L1.1033193,14 L14.915544,14 L7.99777452,2.10265906 L7.97779697,2.06138411 L7.96394459,2.01964415 L7.962,2.007 Z M7.5,11 L8.5,11 C8.76666667,11 8.95432099,11.1580247 8.99272977,11.4038409 L9,11.5 L9,12.5 C9,12.7666667 8.84197531,12.954321 8.59615912,12.9927298 L8.5,13 L7.5,13 C7.23333333,13 7.04567901,12.8419753 7.00727023,12.5961591 L7,12.5 L7,11.5 C7,11.2333333 7.15802469,11.045679 7.40384088,11.0072702 L7.5,11 L8.5,11 L7.5,11 Z M7.5,5 L8.5,5 C8.76666667,5 8.95432099,5.15802469 8.99272977,5.40384088 L9,5.5 L9,9.5 C9,9.76666667 8.84197531,9.95432099 8.59615912,9.99272977 L8.5,10 L7.5,10 C7.23333333,10 7.04567901,9.84197531 7.00727023,9.59615912 L7,9.5 L7,5.5 C7,5.23333333 7.15802469,5.04567901 7.40384088,5.00727023 L7.5,5 L8.5,5 L7.5,5 Z"}}]}))(e));function DN(e){let{d:t}=e;const n=BS();let r="inherit",o=n.palette.success.main;t.missing?o=n.palette.warning.main:t.error&&(r="error",o=n.palette.error.main);const a={color:o},i=Ot.createElement(Tk,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},Ot.createElement(bL,null,t.missing||t.error?Ot.createElement(_N,{style:a}):Ot.createElement(PT,{style:a})));return Ot.createElement(sL,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},Ot.createElement(sL,{item:!0},i),Ot.createElement(sL,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},Ot.createElement(Tk,{noWrap:!0,component:"p"},Ot.createElement(Tk,{component:"span",variant:"subtitle2",color:r},t.description),Ot.createElement(Tk,{component:"span"}," "),Ot.createElement(Tk,{component:"span",variant:"subtitle2",color:t.error?"error":"inherit",style:{fontWeight:400}},t.label))))}function $N(e){let{data:t}=e;const n=BS();return Ot.createElement(sL,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},t.map(((e,t)=>{const r=e.descriptions.map(((e,t)=>Ot.createElement(DN,{d:e,key:t})));return r.length>0&&Ot.createElement(sL,{container:!0,item:!0,key:t,direction:"column",style:{paddingBottom:n.spacing(2)}},Ot.createElement(Tk,{noWrap:!0,key:t,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),r)})))}function qN(e){let{title:t="Error",message:n="",data:r=[]}=e;return Ot.createElement(sL,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},Ot.createElement(sL,{item:!0},Ot.createElement(_N,{style:{fontSize:"38px"}})),Ot.createElement(sL,{item:!0},Ot.createElement(Tk,{variant:"h6",align:"center","data-tid":"error-title"},t)),Ot.createElement(sL,{item:!0},Ot.createElement(Tk,{variant:"subtitle1",align:"center","data-tid":"error-message"},n)),Ot.createElement($N,{data:r}))}const jN=["size"],FN="Progress",BN={root:"".concat(FN,"-root"),front:"".concat(FN,"-front"),back:"".concat(FN,"-back")},WN=VS("div")((e=>{let{theme:t}=e;return{["&.".concat(BN.root)]:{position:"relative",display:"inline-block"},["& .".concat(BN.front)]:{color:t.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},["& .".concat(BN.back)]:{color:t.palette.divider}}})),HN={small:16,medium:32,large:64,xlarge:128};function UN(e){let{size:t="medium"}=e,n=l(e,jN);const r=HN[t];return Ot.createElement(WN,{className:BN.root},Ot.createElement(mR,i({variant:"determinate",value:100,className:BN.back,size:r,thickness:3},n)),Ot.createElement(mR,i({variant:"indeterminate",disableShrink:!0,className:BN.front,size:r,thickness:3},n)))}const VN=["cancel","translator"],GN=["retry","translator"],KN={stripes:"".concat("LongRunningQuery","-stripes")},XN=VS(sL)((()=>({["& .".concat(KN.stripes)]:{"&::before":{position:"absolute",height:"100%",width:"100%",top:0,left:0,content:'""',backgroundSize:"14.14px 14.14px",backgroundImage:"linear-gradient(135deg, currentColor 10%, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 50%, currentColor 50%, currentColor 59%, rgba(0,0,0,0) 60%, rgba(0,0,0,0) 103%)",opacity:.1}}})));function ZN(e){let{cancel:t,translator:n}=e,r=l(e,VN);return Ot.createElement(Ot.Fragment,null,Ot.createElement(XN,{container:!0,item:!0,direction:"column",alignItems:"center",gap:2},Ot.createElement(sL,{item:!0},Ot.createElement(UN,null)),Ot.createElement(sL,{item:!0},Ot.createElement(Tk,{variant:"h6",align:"center","data-tid":"update-active"},n.get("Object.Update.Active")))),Ot.createElement(sL,i({item:!0},r),Ot.createElement(dC,{variant:"contained",onClick:t},n.get("Cancel"))))}function YN(e){let{retry:t,translator:n}=e,r=l(e,GN);return Ot.createElement(Ot.Fragment,null,Ot.createElement(sL,{item:!0},Ot.createElement(_N,{style:{fontSize:"38px"}})),Ot.createElement(sL,{item:!0},Ot.createElement(Tk,{variant:"h6",align:"center","data-tid":"update-cancelled"},n.get("Object.Update.Cancelled"))),Ot.createElement(sL,{item:!0},Ot.createElement(dC,i({variant:"contained",onClick:t},r),n.get("Retry"))))}function QN(e){let{canCancel:t,canRetry:n,api:r}=e;const{translator:o}=Ge.exports.useContext(kC);return Ot.createElement(sL,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:KN.stripes,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},t&&Ot.createElement(ZN,{cancel:r.cancel,translator:o,className:KN.cancel}),n&&Ot.createElement(YN,{retry:r.retry,translator:o,className:KN.retry}))}function JN(){return Ot.createElement(sL,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},Ot.createElement(UN,{size:"large"}))}const ez="Header",tz={containerStyle:"".concat(ez,"-containerStyle"),containerTitleStyle:"".concat(ez,"-containerTitleStyle")},nz=VS(sL)((e=>{let{theme:t}=e;return{["&.".concat(tz.containerStyle)]:{flexGrow:0},["&.".concat(tz.containerTitleStyle)]:{paddingBottom:t.spacing(1)}}})),rz="njs-cell-title",oz="njs-cell-sub-title";function az(e){let{layout:t,sn:n,anchorEl:r,hovering:o,focusHandler:a}=e;const i=t.showTitles&&!!t.title,l=t.showTitles&&!!t.subtitle,s=t.qSelectionInfo&&t.qSelectionInfo.qInSelections,[c,u]=Ge.exports.useState([]),[d,p]=rT(),[f,m]=Ge.exports.useState(!1);Ge.exports.useEffect((()=>{n&&n.component&&n.component.isHooked&&n.component.observeActions((e=>{u([...e,...n&&n.selectionToolbar&&n.selectionToolbar.items||[]])}))}),[n]),Ge.exports.useEffect((()=>{if(!p)return;const{width:e}=p;m(e<221)}),[p]);const h=i||l,g=[tz.containerStyle,...h?[tz.containerTitleStyle]:[]],v=(o||s)&&(f||!h),b=h&&!v&&!f,y=Ot.createElement(RP,{show:b,selections:{show:s,api:n.component.selections,onKeyDeactivate:a.refocusContent},actions:c,popover:{show:v,anchorEl:r},focusHandler:a});return Ot.createElement(nz,{ref:d,item:!0,container:!0,wrap:"nowrap",className:g.join(" ")},Ot.createElement(sL,{item:!0,zeroMinWidth:!0,xs:!0},Ot.createElement(sL,{container:!0,wrap:"nowrap",direction:"column"},i&&Ot.createElement(Tk,{variant:"h6",noWrap:!0,className:rz},t.title),l&&Ot.createElement(Tk,{variant:"body2",noWrap:!0,className:oz},t.subtitle))),Ot.createElement(sL,{item:!0},y))}const iz={itemStyle:"".concat("Footer","-itemStyle")},lz=VS(sL)((e=>{let{theme:t}=e;return{["& .".concat(iz.itemStyle)]:{minWidth:0,paddingTop:t.spacing(1)}}})),sz="njs-cell-footer";function cz(e){let{layout:t}=e;return t&&t.showTitles&&t.footnote?Ot.createElement(lz,{container:!0},Ot.createElement(sL,{item:!0,className:iz.itemStyle},Ot.createElement(Tk,{noWrap:!0,variant:"body2",className:sz},t.footnote))):null}class uz{constructor(){this.timer=null,this.next=null,this.running=!1}start(){this.running||(this.running=!0,this.scheduleNext())}scheduleNext(){this.timer=setTimeout((()=>{this.doNext()}),10)}async doNext(){const e=this.next;this.next=null,e?(await e(),this.scheduleNext()):this.stop()}schedule(e){this.next=e,this.start()}stop(){this.running&&(clearTimeout(this.timer),this.timer=null,this.running=!1)}}const dz="njs-viz";function pz(e){let{sn:t,snOptions:n,snPlugins:r,layout:a,appLayout:i,halo:l}=e;const{component:s}=t,{theme:c,language:u,constraints:d,keyboardNavigation:p}=Ge.exports.useContext(kC),[f]=Ge.exports.useState((()=>new uz)),[m,h]=Ge.exports.useState(!1),[g,v]=Ge.exports.useState(0),[b,y,x]=rT(),[S,w]=Ge.exports.useState(null),C=Ge.exports.useCallback((e=>{e&&w(e)}),[]);return Ge.exports.useEffect((()=>{if(S)return s.created({options:n}),s.mounted(S),h(!0),()=>{f.stop(),s.willUnmount()}}),[S,s]),Ge.exports.useEffect((()=>{m&&S&&y&&(!s.isHooked&&a&&a.qSelectionInfo&&a.qSelectionInfo.qInSelections||f.schedule((()=>{const e=[];return d.passive||e.push("passive"),d.active||e.push("interact"),d.select||e.push("select"),l.app&&l.app.session&&e.push("fetch"),Promise.resolve(s.render({layout:a,options:n,plugins:r,embed:l.public.nebbie,context:o({constraints:d,theme:l.public.theme,appLayout:i,keyboardNavigation:p},s.isHooked?{}:{logicalSize:t.logicalSize({layout:a}),localeInfo:(i||{}).qLocaleInfo,permissions:e})})).then((e=>{!1!==e&&(0===g&&"function"==typeof n.onInitialRender&&n.onInitialRender.call(null),v(g+1))}))})))}),[y,n,r,S,x,a,i,c,u,d,m,p]),Ot.createElement("div",{ref:b,"data-render-count":g,style:{position:"relative",height:"100%"},className:dz},Ot.createElement("div",{ref:C,style:{position:"absolute",width:"100%",height:"100%"}}))}const fz="njs-cell",mz=(e,t)=>{switch(t.type){case"LOADING":return o(o({},e),{},{loading:!0});case"LOADED":return o(o({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null,sn:t.sn,visualization:t.visualization});case"RENDER":return o(o({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null});case"LONG_RUNNING_QUERY":return o(o({},e),{},{longRunningQuery:!0});case"ERROR":return o(o({},e),{},{loading:!1,longRunningQuery:!1,error:t.error});default:throw new Error("Unhandled type: ".concat(t.type))}};function hz(e){let{delay:t=750}=e;const[n,r]=Ge.exports.useState(!1);return Ge.exports.useEffect((()=>{const e=setTimeout((()=>r(!0)),t);return()=>clearTimeout(e)}),[]),n?Ot.createElement(JN,null):null}const gz=e=>!e.qError||7005===e.qError.qErrorCode,vz=(e,t,n,r,o)=>[...Array(e).keys()].map((e=>{const a=!(!t||!t[e]),i=a&&t[e].qError&&7005===t[e].qError.qErrorCode,l=a&&!i&&t[e].qError,s=i&&t[e].qCalcCondMsg,c="".concat(l?r:i?s||o:a&&t[e].qFallbackTitle||""),u=n(e);return{description:u?"".concat(u).concat(c.length?":":""):null,label:c,missing:t&&!a&&!l&&e>=t.length||i,error:l}})),bz=e=>e&&(Array.isArray(e)?e:[e])||[],yz=(e,t,n,r)=>{const o=r.dimensions.min(),a=r.measures.min(),i=r.resolveLayout(t);return{reqDimErrors:vz(o,bz(i.qDimensionInfo),(e=>r.dimensions.description(n,e)),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:vz(a,bz(i.qMeasureInfo),(e=>r.measures.description(n,e)),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},xz=async(e,t,n,r)=>{let{targets:o}=n;const{hasUnfulfilledErrors:a,aggMinD:i,aggMinM:l,hasLayoutErrors:s,layoutErrors:c}=((e,t,n)=>{let r=!1,o=0,a=0,i=!1,l=!1;const s=[];for(let c=0;c<t.length;++c){const u=t[c],d=u.dimensions.min(),p=u.measures.min(),f=u.resolveLayout(n),m=bz(f.qDimensionInfo).filter(gz),h=bz(f.qMeasureInfo).filter(gz);if(o+=d,a+=p,(m.length<d||h.length<p)&&(r=!0),f.qError){i=!0,l=7005===f.qError.qErrorCode;const t=l&&f.qCalcCondMsg?f.qCalcCondMsg:l?e.get("Visualization.UnfulfilledCalculationCondition"):e.get("Visualization.LayoutError");s.push({title:t,descriptions:[]})}}return{hasUnfulfilledErrors:r,aggMinD:o,aggMinM:a,hasLayoutErrors:i,layoutErrors:s}})(e,o,t),u=[],d=[];let p=null;for(let n=0;n<o.length;++n){const i=o[n];if(!s&&a){const n=p||await r.getProperties();p=n;const o=yz(e,t,n,i);u.push(...o.reqDimErrors),d.push(...o.reqMeasErrors)}}const f=u.filter((e=>!(e.missing||e.error))).length,m=e.get("Visualization.Incomplete.Dimensions",[f,i]),h=d.filter((e=>!(e.missing||e.error))).length,g=e.get("Visualization.Incomplete.Measures",[h,l]),v=[{title:m,descriptions:[...u]},{title:g,descriptions:[...d]}],b=s?c:v;return[s||a,{title:s?c[0].title:e.get("Visualization.Incomplete"),data:b}]},Sz=Ge.exports.forwardRef(((e,t)=>{let{halo:n,model:r,initialSnOptions:a,initialSnPlugins:i,initialError:l,onMount:s,currentId:c}=e;const{app:u,types:d}=n,{nebbie:p}=n.public,{disableCellPadding:f=!1}=n.context||{},{translator:m,language:h,keyboardNavigation:g}=Ge.exports.useContext(kC),v=BS(),[b,y,x]=rT(),[S,w]=Ge.exports.useReducer(mz,{loading:!1,loaded:!1,longRunningQuery:!1,error:(C=l)?{title:C.message}:null,sn:null,visualization:null});var C;const[k,{validating:E,canCancel:R,canRetry:L},O]=BC(r),[I]=WC(u),[M,T,P]=rT(),[N,z]=Ge.exports.useState(a),[A,_]=Ge.exports.useState(i),[D]=TP(u,r),[$,q]=Ge.exports.useState(!1),j=Ge.exports.useRef({enter:null,leave:null}),F=Ge.exports.useRef({focusToolbarButton(e){this.emit(e?"focus_toolbar_last":"focus_toolbar_first")}});Ge.exports.useEffect((()=>{MP(F.current)}),[]),F.current.blurCallback=e=>{n.root.toggleFocusOfCells(),e&&P&&P.focus()},F.current.refocusContent=()=>{S.sn.component&&"function"==typeof S.sn.component.focus&&S.sn.component.focus()};Ge.exports.useEffect((()=>{if(l||!I||!k)return;if(S.visualization===k.visualization&&S.sn)return void(async e=>{const[t,n]=await xz(m,k,e.generator.qae.data,r);w(t?{type:"ERROR",error:n}:{type:"RENDER"}),(e=>{let{sn:t,layout:n,model:r}=e;const o=t&&t.component&&t.component.selections;if(o&&o.id&&r.id&&o.id===r.id){if(n&&n.qSelectionInfo&&n.qSelectionInfo.qInSelections&&!o.isModal()){const{targets:e}=t.generator.qae.data,n=e[0].propertyPath;o.goModal(n)}n.qSelectionInfo&&n.qSelectionInfo.qInSelections||o.isModal()&&o.noModal()}})({sn:S.sn,layout:k,model:r})})(S.sn);const e=d.getSupportedVersion(k.visualization,k.version);if(e)return(async(e,t)=>{w({type:"LOADING"});const n=await(async e=>{let{dispatch:t,types:n,visualization:r,version:o,model:a,app:i,selections:l,nebbie:s,focusHandler:c}=e;try{const e=await(async e=>{let{types:t,name:n,version:r}=e;return await t.get({name:n,version:r}).supernova()})({types:n,name:r,version:o});return e.create({model:a,app:i,selections:l,nebbie:s,focusHandler:c})}catch(e){t({type:"ERROR",error:{title:e.message}})}})({dispatch:w,types:d,visualization:e,version:t,model:r,app:u,selections:D,nebbie:p,focusHandler:F.current});n&&(w({type:"LOADED",sn:n,visualization:e}),s())})(k.visualization,e),()=>{};w({type:"ERROR",error:{title:"Could not find a version of '".concat(k.visualization,"' that supports current object version. Did you forget to register ").concat(k.visualization,"?")}})}),[d,S.sn,r,D,k,I,h]),Ge.exports.useEffect((()=>{if(!E)return;const e=setTimeout((()=>w({type:"LONG_RUNNING_QUERY"})),2e3);return()=>clearTimeout(e)}),[E]),Ge.exports.useImperativeHandle(t,(()=>({getQae:()=>S.sn.generator.qae,toggleFocus(e){"function"==typeof S.sn.component.focus&&(e?S.sn.component.focus():S.sn.component.blur())},setSnOptions:z,setSnPlugins:_,async takeSnapshot(){const{width:e,height:t}=y;let n=JSON.parse(JSON.stringify(k));return"function"==typeof S.sn.component.setSnapshotData&&(n=await S.sn.component.setSnapshotData(n)||n),{key:String(+Date.now()),meta:{language:m.language(),theme:v.name,appLayout:I,size:{width:Math.round(e),height:Math.round(t)}},layout:n}},async exportImage(){if("function"!=typeof n.config.snapshot.capture)throw new Error("Stardust embed has not been configured with snapshot.capture callback");const e=await this.takeSnapshot();return n.config.snapshot.capture(e)}})),[S.sn,T,y,k,v.name,I]);let B=null;return S.loading&&!S.longRunningQuery?B=Ot.createElement(hz,null):S.error?B=Ot.createElement(qN,S.error):S.loaded&&(B=Ot.createElement(pz,{key:k.visualization,sn:S.sn,halo:n,snOptions:N,snPlugins:A,layout:k,appLayout:I})),Ot.createElement(JS,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},elevation:0,square:!0,className:fz,ref:b,onMouseEnter:()=>{j.current.leave&&clearTimeout(j.current.leave),j.enter||(j.current.enter=setTimeout((()=>{q(!0),j.current.enter=null}),250))},onMouseLeave:()=>{j.current.enter&&clearTimeout(j.current.enter),j.current.leave||(j.current.leave=setTimeout((()=>{q(!1),j.current.leave=null}),750))}},Ot.createElement(sL,{container:!0,direction:"column",gap:0,style:o(o({position:"relative",width:"100%",height:"100%"},f?{}:{padding:v.spacing(1)}),S.longRunningQuery?{opacity:"0.3"}:{})},x&&k&&S.sn&&Ot.createElement(az,{layout:k,sn:S.sn,anchorEl:x,hovering:$,focusHandler:F.current}," "),Ot.createElement(sL,{tabIndex:g?0:-1,onKeyDown:g?e=>{["Enter"," ","Spacebar"].includes(e.key)&&n.root.toggleFocusOfCells(c)}:null,item:!0,xs:!0,style:{height:"100%"},ref:M},B),Ot.createElement(cz,{layout:k})),S.longRunningQuery&&Ot.createElement(QN,{canCancel:R,canRetry:L,api:O}))}));function wz(e){let{halo:t,element:n,model:r,initialSnOptions:o,initialSnPlugins:a,onMount:i,initialError:l}=e;const{root:s}=t,c=Ot.createRef(),u=gN(),d=_p.createPortal(Ot.createElement(Sz,{ref:c,halo:t,model:r,currentId:u,initialSnOptions:o,initialSnPlugins:a,initialError:l,onMount:i}),n,r.id),p=()=>{s.remove(d),r.removeListener("closed",p)};return r.on("closed",p),s.add(d),s.addCell(u,c),[p,c]}function Cz(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function kz(e,t){return Cz(e)&&Cz(t)?JSON.stringify(e)===JSON.stringify(t):!Array.isArray(e)&&!Array.isArray(t)&&e===t}function Ez(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;const r=[];return Object.keys(t).forEach((o=>{const a=t[o];"object"!=typeof n[o]||"object"!=typeof a||Array.isArray(a)?kz(a,n[o])||r.push({qPath:e+o,qOp:"add",qValue:JSON.stringify(t[o])}):r.push(...Ez("".concat(e).concat(o,"/"),t[o],n[o]))})),r}function Rz(e){if(!Array.isArray(e))throw new Error("Invalid plugin format: plugins should be an array!");e.forEach((e=>{if("object"!=typeof e)throw new Error("Invalid plugin format: a plugin should be an object");if("object"!=typeof e.info||"string"!=typeof e.info.name)throw new Error("Invalid plugin format: a plugin should have an info object containing a name");if("function"!=typeof e.fn)throw new Error('Invalid plugin format: The plugin "'.concat(e.info.name,'" has no "fn" function'))}))}const Lz=()=>{};function Oz(){let{model:e,halo:t,initialError:n,onDestroy:r=(async()=>{})}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=Lz,i=null,l=null,s=null;const c=new Promise((e=>{s=e}));let u={},d=[];const p=async e=>{l?(async()=>{await c,i.current.setSnOptions(o(o({},u),e))})():u=o(o({},u),e)},f=async e=>{Rz(e),l?(async()=>{await c,i.current.setSnPlugins(e)})():d=e},m={id:e.id,async destroy(){await r(),a(),a=Lz},async convertTo(n){let r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const o=await zN({halo:t,model:e,cellRef:i,newType:n});return r&&(e.__snInterceptor?await e.__snInterceptor.setProperties.call(e,o.qProperty):await e.setProperties(o.qProperty)),o},__DO_NOT_USE__:{mount(r){if(l)throw new Error("Already mounted");return l=r,[a,i]=wz({halo:t,element:r,model:e,initialSnOptions:u,initialSnPlugins:d,initialError:n,onMount:s}),c},async applyProperties(t){const n=Ez("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){p(e)},plugins(e){f(e)},exportImage:()=>i.current.exportImage(),takeSnapshot:()=>i.current.takeSnapshot(),getModel:()=>e}};return m}async function Iz(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:async()=>{};const a=Oz({model:e,halo:n,initialError:r,onDestroy:o});return t.options&&a.__DO_NOT_USE__.options(t.options),t.plugins&&a.__DO_NOT_USE__.plugins(t.plugins),t.element&&await a.__DO_NOT_USE__.mount(t.element),a}async function Mz(e,t){let n,{type:r,version:o,fields:a,properties:i,options:l,plugins:s,element:c}=e,u={};try{const e=t.types.get({name:r,version:o});u=await e.initialProperties(i);const n=await e.supernova();a&&yN({sn:n,properties:u,fields:a}),i&&n&&n.qae.properties.onChange&&n.qae.properties.onChange.call({},u)}catch(e){n=e,u={qInfo:{qType:r},visualization:r}}const d=await t.app.createSessionObject(u);qC.set(d.id,d);const p=(e=>{const t=DC({type:"SET",value:e});return()=>{t(),qC.clear(e.id)}})(d);return Iz(d,{options:l,plugins:s,element:c},t,n,(async()=>{await t.app.destroySessionObject(d.id),p()}))}async function Tz(e,t){let{id:n,options:r,plugins:o,element:a}=e;const i="".concat(n);let l=NC.get(i);l||(l=t.app.getObject(n),NC.set(i,l));const s=await l;return qC.set(i,s),Iz(s,{options:r,plugins:o,element:a},t)}function Pz(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{isEnabled:t=>!0===e[t]}}const Nz=k.bind(null,!0),zz={},{isArray:Az}=Array;function _z(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Dz(e){return void 0===e}function $z(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function qz(e,t){const n=t.substring(1).split("/").slice(0,-1);let r;return n.forEach(((t,o)=>{if(o===n.length)return;r=+t;const a=isNaN(r)?{}:[];e[r||t]=Dz(e[r||t])?a:e[t],e=e[r||t]})),e}function jz(e,t){let n=!0;if(_z(e)&&_z(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((r=>{jz(e[r],t[r])||(n=!1)})),n);if(Az(e)&&Az(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!jz(e[n],t[n]))return!1;return!0}return e===t}zz.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const a=function(e){return e?Nz({},{val:e}).val:e}(t[o]),i=e[o],l="".concat(n,"/").concat(o);jz(a,i)||$z(t,o)||(Dz(i)?r.push({op:"add",path:l,value:a}):_z(a)&&_z(i)?r=r.concat(zz.generate(i,a,l)):Az(a)&&Az(i)?r=r.concat(function(e,t,n){let r=[];const o=e.slice();let a=-1;function i(e,t,n){if(e[n]&&Dz(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(let n=0,r=e.length;n<r;n+=1)if(e[n]&&e[n].qInfo.qId===t)return n;return-1}if(jz(t,o))return r;if(!Dz(t[0])&&Dz(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(let e=o.length-1;e>=0;e-=1)a=i(t,o[e].qInfo&&o[e].qInfo.qId,e),-1===a?(r.push({op:"remove",path:"".concat(n,"/").concat(e)}),o.splice(e,1)):r=r.concat(zz.generate(o[e],t[a],"".concat(n,"/").concat(e)));for(let e=0,l=t.length;e<l;e+=1)a=i(o,t[e].qInfo&&t[e].qInfo.qId),-1===a?(r.push({op:"add",path:"".concat(n,"/").concat(e),value:t[e]}),o.splice(e,0,t[e])):a!==e&&(r.push({op:"move",path:"".concat(n,"/").concat(e),from:"".concat(n,"/").concat(a)}),o.splice(e,0,o.splice(a,1)[0]));return r}(i,a,l)):r.push({op:"replace",path:"".concat(n,"/").concat(o),value:a}))})),Object.keys(e).forEach((o=>{Dz(t[o])&&!$z(e,o)&&r.push({op:"remove",path:"".concat(n,"/").concat(o)})})),r},zz.apply=function(e,t){t.forEach((t=>{let n=qz(e,t.path),r=t.path.split("/").splice(-1)[0],o=r&&isNaN(+r)?n[r]:n[+r]||n;const a=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(n=null,o=e),"add"===t.op||"replace"===t.op)if(Az(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(Az(o)&&Az(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(_z(o)&&_z(t.value))i=o,Object.keys(i).forEach((e=>{Object.getOwnPropertyDescriptor(i,e).configurable&&!$z(i,e)&&delete i[e]})),Nz(o,t.value);else{if(!n)throw new Error("Patchee is not an object we can patch");n[r]=t.value}else if("move"===t.op){const o=qz(e,t.from);Az(n)?n.splice(+r,0,o.splice(+a,1)[0]):(n[r]=o[a],delete o[a])}else"remove"===t.op&&(Az(n)?n.splice(+r,1):delete n[r]);var i}))},zz.clone=function(e){return Nz({},e)},zz.createPatch=function(e,t,n){const r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},zz.updateObject=function(e,t){Object.keys(e).length?zz.apply(e,zz.generate(e,t)):Nz(e,t)};const Fz=e=>t=>{const n=(r=o(o({},t),{},{action(){"function"==typeof t.action&&t.action.call(n,e),n.emit("changed")},enabled:()=>"function"!=typeof t.enabled||t.enabled.call(n,e),active:"function"==typeof t.active?function(){return t.active.call(n,e)}:void 0}),Object.keys(h.prototype).forEach((e=>{r[e]=h.prototype[e]})),h.init(r),r);var r;return n};let Bz,Wz;function Hz(e,t){if(!e)return!0;if(t.length!==e.length)return!0;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!0;return!1}function Uz(e){let{explicitResize:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.__hooks={obsolete:!1,error:!1,waitForData:!1,chain:{promise:null,resolve:()=>{}},list:[],snaps:[],menus:[],actions:{list:[]},pendingEffects:[],pendingLayoutEffects:[],pendingPromises:[],resizer:{setters:[],explicitResize:t},accessibility:{setter:null}}}function Vz(e){Kz(e.__hooks.list,!0),e.__hooks.obsolete=!0,e.__hooks.list.length=0,e.__hooks.pendingEffects.length=0,e.__hooks.pendingLayoutEffects.length=0,e.__hooks.actions=null,e.__hooks.imperativeHandle=null,e.__hooks.resizer=null,e.__hooks.accessibility=null,e.__actionsDispatch=null,clearTimeout(e.__hooks.micro),cancelAnimationFrame(e.__hooks.macro)}async function Gz(e){if(e.__hooks.obsolete)return Promise.resolve();Wz=-1,Bz=e,Bz.__hooks.initiated&&Bz.__hooks.list.length;try{Bz.fn.call(null)}catch(e){console.error(e)}Bz.__hooks.initiated=!0;const t=Bz.__hooks;return Qz(Bz),Wz=void 0,Bz=void 0,t.chain.promise||(t.chain.promise=new Promise((e=>{t.chain.resolve=e}))),function(e){Kz(e.pendingLayoutEffects)}(t),function(e){if(e.macro)return;e.macro=requestAnimationFrame((()=>{!function(e){Kz(e.pendingEffects),e.macro=null,function(e){if(e.pendingPromises.length||e.micro||e.macro)return;e.chain.promise=null,e.chain.resolve(!e.waitForData)}(e)}(e)}))}(t),t.chain.promise}function Kz(e,t){try{e.forEach((e=>{"function"==typeof e.teardown&&e.teardown(),t||(e.teardown=e.value[0]())}))}catch(e){console.error(e)}e.length=0}function Xz(e,t){try{return Promise.all(e.__hooks.snaps.map((e=>Promise.resolve(e.fn(t))))).then((e=>e[e.length-1]))}catch(e){console.error(e)}return Promise.resolve()}function Zz(e,t,n){try{return Promise.all(e.__hooks.menus.map((e=>Promise.resolve(e.fn(t,n))))).then((e=>e[e.length-1]))}catch(e){console.error(e)}return Promise.resolve()}function Yz(e){return e.__hooks.imperativeHandle}function Qz(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function Jz(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,Qz(e))}function eA(e){if(void 0===Bz)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");const t=Bz.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function tA(e){eA(++Wz);return Bz.context[e]}function nA(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function rA(e){return{__hooked:!0,fn:e,initiate:Uz,run:Gz,teardown:Vz,runSnaps:Xz,runMenu:Zz,focus:cA,blur:uA,observeActions:Jz,getImperativeHandle:Yz,updateRectOnNextRun:nA}}function oA(e){const t=eA(++Wz);if(!t.value){t.component=Bz;const n=e=>{if(t.component.__hooks.obsolete)return;const n="function"==typeof e?e(t.value[0]):e;var r;n!==t.value[0]&&(t.value[0]=n,(r=t.component).__hooks.micro||(r.__hooks.micro=setTimeout((()=>{r.__hooks.micro=null,Gz(r)}),0)))};t.value=["function"==typeof e?e():e,n]}return t.value}function aA(e,t){const n=eA(++Wz);Hz(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===Bz.__hooks.pendingEffects.indexOf(n)&&Bz.__hooks.pendingEffects.push(n))}function iA(e,t){const n=eA(++Wz);Hz(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],Bz.__hooks.pendingLayoutEffects.push(n))}function lA(e,t){const n=eA(++Wz);return Hz(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function sA(){return tA("element")}function cA(e){const t=e.__hooks.accessibility;t.active||(t.active=!0,t&&t.setter&&t.setter({active:!0,enabled:t.enabled,blur:t.exitFunction,focus:t.focusFunction,focusSelection:t.focusSelectionFunction}))}function uA(e){const t=e.__hooks.accessibility;t&&t.active&&(t.active=!1,t&&t.setter&&t.setter({active:!1,enabled:t.enabled,blur:t.exitFunction,focus:t.focusFunction,focusSelection:t.focusSelectionFunction}))}const dA={app:null,model:null,actions:null,selections:null,created:()=>{},mounted:()=>{},render:()=>{},resize:()=>{},willUnmount:()=>{},destroy:()=>{},emit:()=>{},getViewState:()=>{},observeActions(){},setSnapshotData:e=>Promise.resolve(e)},pA=Object.keys(dA);function fA(e,t){const n=o({},dA);var r;r=n,Object.keys(h.prototype).forEach((e=>{r[e]=h.prototype[e]})),h.init(r);const a={emit(){n.emit(...arguments)}};Object.keys(e.component||{}).forEach((t=>{-1!==pA.indexOf(t)?n[t]=e.component[t].bind(a):a[t]=e.component[t]}));const i=function(e){let{sn:t,component:n}=e;const r={},o=[],a=Fz(n);return((t.definition.selectionToolbar||{}).items||[]).forEach((e=>{const t=a(e);r[e.key]=t,o.push(t)})),(t.definition.actions||[]).forEach((e=>{const t=a(e);r[e.key]=t})),{actions:r,selectionToolbarItems:o,destroy(){o.length=0}}}({sn:e,component:a}),l=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):null;return Object.assign(a,{model:t.model,app:t.app,global:l,selections:t.selections,actions:i.actions}),Object.assign(n,{actions:i.actions,model:t.model,app:t.app,selections:t.selections}),[n,i]}function mA(e,t,n){"function"==typeof e.component&&(e.component=rA(e.component));const[r,a]=e.component&&e.component.__hooked?function(e,t,n){const r=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):void 0;let a=!1;const i={},l=["appLayout","constraints"],s={};t.model&&t.model.session||(s.select=!0);const c={context:{model:t.model,app:t.app,global:r,selections:t.selections,nebbie:t.nebbie,element:void 0,deviceType:n.deviceType,theme:void 0,translator:n.translator,layout:{},appLayout:{},keyboardNavigation:t.keyboardNavigation,focusHandler:t.focusHandler,constraints:s,options:{},plugins:[]},fn:e.component.fn,created(){},mounted(n){this.context.element=n,e.component.initiate(c,{explicitResize:!!t.explicitResize})},render(t){let n=!a||!1;if(t){if(t.layout&&t.layout!==this.context.layout&&(n=!0,this.context.layout=t.layout),t.context&&t.context.theme&&(this.context.theme=t.context.theme),t.context&&!!t.context.keyboardNavigation!=!!this.context.keyboardNavigation&&(this.context.keyboardNavigation=!!t.context.keyboardNavigation,n=!0),t.context&&t.context.focusHandler&&(this.context.focusHandler=t.context.focusHandler),t.options){const e={};let r=!1;Object.keys(t.options).forEach((n=>{e[n]=t.options[n],this.context.options[n]!==t.options[n]&&(r=!0)})),r&&(this.context.options=e,n=!0)}if(t.plugins){let e=this.context.plugins.length!==t.plugins.length;t.plugins.forEach(((t,n)=>{this.context.plugins[n]!==t&&(e=!0)})),e&&(this.context.plugins=[...t.plugins],n=!0)}l.forEach((e=>{const r=t.context;if(r&&Object.prototype.hasOwnProperty.call(r,e)){let t=JSON.stringify(r[e]);"constraints"===e&&(t=JSON.stringify(o(o({},r[e]),s))),t!==i[e]&&(n=!0,i[e]=t,this.context[e]=JSON.parse(t))}}))}else n=!0;return this.context.theme&&this.context.theme.name()!==i.themeName&&(n=!0,i.themeName=this.context.theme.name()),this.context.translator.language()!==i.language&&(n=!0,i.language=c.context.translator.language()),n?(a=!0,this.currentResult=e.component.run(this),this.currentResult):this.currentResult||Promise.resolve()},resize(){return e.component.updateRectOnNextRun(this),this.render()},willUnmount(){e.component.teardown(this)},setSnapshotData(t){return e.component.runSnaps(this,t)},onContextMenu(t,n){return e.component.runMenu(this,t,n)},focus(){e.component.focus(this)},blur(){e.component.blur(this)},getImperativeHandle(){return e.component.getImperativeHandle(this)},destroy(){},observeActions(t){e.component.observeActions(this,t)},isHooked:!0};return l.forEach((e=>{i[e]=JSON.stringify(c.context[e])})),i.themeName=c.context.theme?c.context.theme.name():void 0,i.language=c.context.translator?c.context.translator.language():void 0,Object.assign(c,{selections:t.selections}),[c,null]}(e,t,n):fA(e,t),i=[];return t.model.__snInterceptor&&t.model.__snInterceptor.teardown(),e.qae.properties.onChange&&(t.model.__snInterceptor={setProperties:t.model.setProperties,applyPatches:t.model.applyPatches,teardown:void 0},t.model.setProperties=function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.qae.properties.onChange.call({model:t.model},...r),t.model.__snInterceptor.setProperties.call(this,...r)},t.model.applyPatches=function(n,r){const o=r?"getEffectiveProperties":"getProperties";return t.model[o]().then((o=>{const a=zz.clone(o),i=n.map((e=>({op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath})));zz.apply(o,i),e.qae.properties.onChange.call({model:t.model},o);const l=zz.generate(a,o).map((e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path})));return t.model.__snInterceptor.applyPatches.call(this,l,r)}))},t.model.__snInterceptor.teardown=()=>{t.model.setProperties=t.model.__snInterceptor.setProperties,delete t.model.__snInterceptor},i.push(t.model.__snInterceptor.teardown)),{generator:e,component:r,selectionToolbar:{items:a?a.selectionToolbarItems:[]},destroy(){i.forEach((e=>e()))},logicalSize:e.definition.logicalSize||(()=>!1)}}const hA=()=>{};function gA(e,t){return void 0===e?()=>t:()=>e}function vA(e){const t=e||{};return{min:"function"==typeof t.min?t.min:gA(t.min,0),max:"function"==typeof t.max?t.max:gA(t.max,1e3),added:t.added||t.add||hA,description:t.description||hA,moved:t.moved||t.move||hA,removed:t.removed||t.remove||hA,replaced:t.replaced||t.replace||hA,isDefined:()=>!!e}}function bA(e){const t=e.path||"/qHyperCubeDef",n=t.slice(0,-3);if(!1===/\/(qHyperCube|qListObject)$/.test(n)){const e=n.includes("/qHyperCube")?"qHyperCubeDef":"qListObjectDef";throw new Error("Incorrect definition for ".concat(e," at ").concat(t,". Valid paths include /qHyperCubeDef or /qListObjectDef, e.g. data/qHyperCubeDef"))}return{propertyPath:t,layoutPath:n,resolveLayout:e=>((e,t,n)=>{const r=t.split("/");let o=e;if(void 0===o)return n;for(let e=0;e<r.length;++e)if(""!==r[e]){if(void 0===o[r[e]])return n;o=o[r[e]]}return o})(e,n,{}),dimensions:vA(e.dimensions),measures:vA(e.measures)}}function yA(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.properties||{};t.properties&&(t.properties.initial||t.properties.onChange)&&(n=t.properties.initial,e=t.properties.onChange);const r={properties:{initial:n,onChange:e},data:{targets:((t.data||{}).targets||[]).map(bA)},exportProperties:t.exportProperties,importProperties:t.importProperties};return r}function xA(e,t){let n;n="function"==typeof e?e(t):e;const r={qae:yA(n.qae),component:n.component||{},create:e=>mA(r,e,t),definition:{}};return Object.keys(n).forEach((e=>{r[e]||(r.definition[e]=n[e])})),r}var SA={exports:{}};!function(e,t){var n;t=e.exports=d,n="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var r=Number.MAX_SAFE_INTEGER||9007199254740991,o=t.re=[],a=t.src=[],i=t.tokens={},l=0;function s(e){i[e]=l++}s("NUMERICIDENTIFIER"),a[i.NUMERICIDENTIFIER]="0|[1-9]\\d*",s("NUMERICIDENTIFIERLOOSE"),a[i.NUMERICIDENTIFIERLOOSE]="[0-9]+",s("NONNUMERICIDENTIFIER"),a[i.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",s("MAINVERSION"),a[i.MAINVERSION]="("+a[i.NUMERICIDENTIFIER]+")\\.("+a[i.NUMERICIDENTIFIER]+")\\.("+a[i.NUMERICIDENTIFIER]+")",s("MAINVERSIONLOOSE"),a[i.MAINVERSIONLOOSE]="("+a[i.NUMERICIDENTIFIERLOOSE]+")\\.("+a[i.NUMERICIDENTIFIERLOOSE]+")\\.("+a[i.NUMERICIDENTIFIERLOOSE]+")",s("PRERELEASEIDENTIFIER"),a[i.PRERELEASEIDENTIFIER]="(?:"+a[i.NUMERICIDENTIFIER]+"|"+a[i.NONNUMERICIDENTIFIER]+")",s("PRERELEASEIDENTIFIERLOOSE"),a[i.PRERELEASEIDENTIFIERLOOSE]="(?:"+a[i.NUMERICIDENTIFIERLOOSE]+"|"+a[i.NONNUMERICIDENTIFIER]+")",s("PRERELEASE"),a[i.PRERELEASE]="(?:-("+a[i.PRERELEASEIDENTIFIER]+"(?:\\."+a[i.PRERELEASEIDENTIFIER]+")*))",s("PRERELEASELOOSE"),a[i.PRERELEASELOOSE]="(?:-?("+a[i.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+a[i.PRERELEASEIDENTIFIERLOOSE]+")*))",s("BUILDIDENTIFIER"),a[i.BUILDIDENTIFIER]="[0-9A-Za-z-]+",s("BUILD"),a[i.BUILD]="(?:\\+("+a[i.BUILDIDENTIFIER]+"(?:\\."+a[i.BUILDIDENTIFIER]+")*))",s("FULL"),s("FULLPLAIN"),a[i.FULLPLAIN]="v?"+a[i.MAINVERSION]+a[i.PRERELEASE]+"?"+a[i.BUILD]+"?",a[i.FULL]="^"+a[i.FULLPLAIN]+"$",s("LOOSEPLAIN"),a[i.LOOSEPLAIN]="[v=\\s]*"+a[i.MAINVERSIONLOOSE]+a[i.PRERELEASELOOSE]+"?"+a[i.BUILD]+"?",s("LOOSE"),a[i.LOOSE]="^"+a[i.LOOSEPLAIN]+"$",s("GTLT"),a[i.GTLT]="((?:<|>)?=?)",s("XRANGEIDENTIFIERLOOSE"),a[i.XRANGEIDENTIFIERLOOSE]=a[i.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",s("XRANGEIDENTIFIER"),a[i.XRANGEIDENTIFIER]=a[i.NUMERICIDENTIFIER]+"|x|X|\\*",s("XRANGEPLAIN"),a[i.XRANGEPLAIN]="[v=\\s]*("+a[i.XRANGEIDENTIFIER]+")(?:\\.("+a[i.XRANGEIDENTIFIER]+")(?:\\.("+a[i.XRANGEIDENTIFIER]+")(?:"+a[i.PRERELEASE]+")?"+a[i.BUILD]+"?)?)?",s("XRANGEPLAINLOOSE"),a[i.XRANGEPLAINLOOSE]="[v=\\s]*("+a[i.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[i.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[i.XRANGEIDENTIFIERLOOSE]+")(?:"+a[i.PRERELEASELOOSE]+")?"+a[i.BUILD]+"?)?)?",s("XRANGE"),a[i.XRANGE]="^"+a[i.GTLT]+"\\s*"+a[i.XRANGEPLAIN]+"$",s("XRANGELOOSE"),a[i.XRANGELOOSE]="^"+a[i.GTLT]+"\\s*"+a[i.XRANGEPLAINLOOSE]+"$",s("COERCE"),a[i.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",s("COERCERTL"),o[i.COERCERTL]=new RegExp(a[i.COERCE],"g"),s("LONETILDE"),a[i.LONETILDE]="(?:~>?)",s("TILDETRIM"),a[i.TILDETRIM]="(\\s*)"+a[i.LONETILDE]+"\\s+",o[i.TILDETRIM]=new RegExp(a[i.TILDETRIM],"g");s("TILDE"),a[i.TILDE]="^"+a[i.LONETILDE]+a[i.XRANGEPLAIN]+"$",s("TILDELOOSE"),a[i.TILDELOOSE]="^"+a[i.LONETILDE]+a[i.XRANGEPLAINLOOSE]+"$",s("LONECARET"),a[i.LONECARET]="(?:\\^)",s("CARETTRIM"),a[i.CARETTRIM]="(\\s*)"+a[i.LONECARET]+"\\s+",o[i.CARETTRIM]=new RegExp(a[i.CARETTRIM],"g");s("CARET"),a[i.CARET]="^"+a[i.LONECARET]+a[i.XRANGEPLAIN]+"$",s("CARETLOOSE"),a[i.CARETLOOSE]="^"+a[i.LONECARET]+a[i.XRANGEPLAINLOOSE]+"$",s("COMPARATORLOOSE"),a[i.COMPARATORLOOSE]="^"+a[i.GTLT]+"\\s*("+a[i.LOOSEPLAIN]+")$|^$",s("COMPARATOR"),a[i.COMPARATOR]="^"+a[i.GTLT]+"\\s*("+a[i.FULLPLAIN]+")$|^$",s("COMPARATORTRIM"),a[i.COMPARATORTRIM]="(\\s*)"+a[i.GTLT]+"\\s*("+a[i.LOOSEPLAIN]+"|"+a[i.XRANGEPLAIN]+")",o[i.COMPARATORTRIM]=new RegExp(a[i.COMPARATORTRIM],"g");s("HYPHENRANGE"),a[i.HYPHENRANGE]="^\\s*("+a[i.XRANGEPLAIN]+")\\s+-\\s+("+a[i.XRANGEPLAIN]+")\\s*$",s("HYPHENRANGELOOSE"),a[i.HYPHENRANGELOOSE]="^\\s*("+a[i.XRANGEPLAINLOOSE]+")\\s+-\\s+("+a[i.XRANGEPLAINLOOSE]+")\\s*$",s("STAR"),a[i.STAR]="(<|>)?=?\\s*\\*";for(var c=0;c<l;c++)n(c,a[c]),o[c]||(o[c]=new RegExp(a[c]));function u(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof d)return e;if("string"!=typeof e)return null;if(e.length>256)return null;if(!(t.loose?o[i.LOOSE]:o[i.FULL]).test(e))return null;try{return new d(e,t)}catch(e){return null}}function d(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof d){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof d))return new d(e,t);n("SemVer",e,t),this.options=t,this.loose=!!t.loose;var a=e.trim().match(t.loose?o[i.LOOSE]:o[i.FULL]);if(!a)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>r||this.major<0)throw new TypeError("Invalid major version");if(this.minor>r||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>r||this.patch<0)throw new TypeError("Invalid patch version");a[4]?this.prerelease=a[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<r)return t}return e})):this.prerelease=[],this.build=a[5]?a[5].split("."):[],this.format()}t.parse=u,t.valid=function(e,t){var n=u(e,t);return n?n.version:null},t.clean=function(e,t){var n=u(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null},t.SemVer=d,d.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},d.prototype.toString=function(){return this.version},d.prototype.compare=function(e){return n("SemVer.compare",this.version,this.options,e),e instanceof d||(e=new d(e,this.options)),this.compareMain(e)||this.comparePre(e)},d.prototype.compareMain=function(e){return e instanceof d||(e=new d(e,this.options)),f(this.major,e.major)||f(this.minor,e.minor)||f(this.patch,e.patch)},d.prototype.comparePre=function(e){if(e instanceof d||(e=new d(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],o=e.prerelease[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return f(r,o)}while(++t)},d.prototype.compareBuild=function(e){e instanceof d||(e=new d(e,this.options));var t=0;do{var r=this.build[t],o=e.build[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return f(r,o)}while(++t)},d.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new d(e,n).inc(t,r).version}catch(e){return null}},t.diff=function(e,t){if(v(e,t))return null;var n=u(e),r=u(t),o="";if(n.prerelease.length||r.prerelease.length){o="pre";var a="prerelease"}for(var i in n)if(("major"===i||"minor"===i||"patch"===i)&&n[i]!==r[i])return o+i;return a},t.compareIdentifiers=f;var p=/^[0-9]+$/;function f(e,t){var n=p.test(e),r=p.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1}function m(e,t,n){return new d(e,n).compare(new d(t,n))}function h(e,t,n){return m(e,t,n)>0}function g(e,t,n){return m(e,t,n)<0}function v(e,t,n){return 0===m(e,t,n)}function b(e,t,n){return 0!==m(e,t,n)}function y(e,t,n){return m(e,t,n)>=0}function x(e,t,n){return m(e,t,n)<=0}function S(e,t,n,r){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return v(e,n,r);case"!=":return b(e,n,r);case">":return h(e,n,r);case">=":return y(e,n,r);case"<":return g(e,n,r);case"<=":return x(e,n,r);default:throw new TypeError("Invalid operator: "+t)}}function w(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof w){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof w))return new w(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===C?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(e,t){return f(t,e)},t.major=function(e,t){return new d(e,t).major},t.minor=function(e,t){return new d(e,t).minor},t.patch=function(e,t){return new d(e,t).patch},t.compare=m,t.compareLoose=function(e,t){return m(e,t,!0)},t.compareBuild=function(e,t,n){var r=new d(e,n),o=new d(t,n);return r.compare(o)||r.compareBuild(o)},t.rcompare=function(e,t,n){return m(t,e,n)},t.sort=function(e,n){return e.sort((function(e,r){return t.compareBuild(e,r,n)}))},t.rsort=function(e,n){return e.sort((function(e,r){return t.compareBuild(r,e,n)}))},t.gt=h,t.lt=g,t.eq=v,t.neq=b,t.gte=y,t.lte=x,t.cmp=S,t.Comparator=w;var C={};function k(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof k)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new k(e.raw,t);if(e instanceof w)return new k(e.value,t);if(!(this instanceof k))return new k(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function E(e,t){for(var n=!0,r=e.slice(),o=r.pop();n&&r.length;)n=r.every((function(e){return o.intersects(e,t)})),o=r.pop();return n}function R(e){return!e||"x"===e.toLowerCase()||"*"===e}function L(e,t,n,r,o,a,i,l,s,c,u,d,p){return((t=R(n)?"":R(r)?">="+n+".0.0":R(o)?">="+n+"."+r+".0":">="+t)+" "+(l=R(s)?"":R(c)?"<"+(+s+1)+".0.0":R(u)?"<"+s+"."+(+c+1)+".0":d?"<="+s+"."+c+"."+u+"-"+d:"<="+l)).trim()}function O(e,t,r){for(var o=0;o<e.length;o++)if(!e[o].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(o=0;o<e.length;o++)if(n(e[o].semver),e[o].semver!==C&&e[o].semver.prerelease.length>0){var a=e[o].semver;if(a.major===t.major&&a.minor===t.minor&&a.patch===t.patch)return!0}return!1}return!0}function I(e,t,n){try{t=new k(t,n)}catch(e){return!1}return t.test(e)}function M(e,t,n,r){var o,a,i,l,s;switch(e=new d(e,r),t=new k(t,r),n){case">":o=h,a=x,i=g,l=">",s=">=";break;case"<":o=g,a=y,i=h,l="<",s="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(I(e,t,r))return!1;for(var c=0;c<t.set.length;++c){var u=t.set[c],p=null,f=null;if(u.forEach((function(e){e.semver===C&&(e=new w(">=0.0.0")),p=p||e,f=f||e,o(e.semver,p.semver,r)?p=e:i(e.semver,f.semver,r)&&(f=e)})),p.operator===l||p.operator===s)return!1;if((!f.operator||f.operator===l)&&a(e,f.semver))return!1;if(f.operator===s&&i(e,f.semver))return!1}return!0}w.prototype.parse=function(e){var t=this.options.loose?o[i.COMPARATORLOOSE]:o[i.COMPARATOR],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new d(n[2],this.options.loose):this.semver=C},w.prototype.toString=function(){return this.value},w.prototype.test=function(e){if(n("Comparator.test",e,this.options.loose),this.semver===C||e===C)return!0;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}return S(e,this.operator,this.semver,this.options)},w.prototype.intersects=function(e,t){if(!(e instanceof w))throw new TypeError("a Comparator is required");var n;if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(n=new k(e.value,t),I(this.value,n,t));if(""===e.operator)return""===e.value||(n=new k(this.value,t),I(e.semver,n,t));var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),a=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),l=S(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),s=S(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||o||a&&i||l||s},t.Range=k,k.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},k.prototype.toString=function(){return this.range},k.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var r=t?o[i.HYPHENRANGELOOSE]:o[i.HYPHENRANGE];e=e.replace(r,L),n("hyphen replace",e),e=e.replace(o[i.COMPARATORTRIM],"$1$2$3"),n("comparator trim",e,o[i.COMPARATORTRIM]),e=(e=(e=e.replace(o[i.TILDETRIM],"$1~")).replace(o[i.CARETTRIM],"$1^")).split(/\s+/).join(" ");var a=t?o[i.COMPARATORLOOSE]:o[i.COMPARATOR],l=e.split(" ").map((function(e){return function(e,t){return n("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){n("caret",e,t);var r=t.loose?o[i.CARETLOOSE]:o[i.CARET];return e.replace(r,(function(t,r,o,a,i){var l;return n("caret",e,t,r,o,a,i),R(r)?l="":R(o)?l=">="+r+".0.0 <"+(+r+1)+".0.0":R(a)?l="0"===r?">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":">="+r+"."+o+".0 <"+(+r+1)+".0.0":i?(n("replaceCaret pr",i),l="0"===r?"0"===o?">="+r+"."+o+"."+a+"-"+i+" <"+r+"."+o+"."+(+a+1):">="+r+"."+o+"."+a+"-"+i+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+a+"-"+i+" <"+(+r+1)+".0.0"):(n("no pr"),l="0"===r?"0"===o?">="+r+"."+o+"."+a+" <"+r+"."+o+"."+(+a+1):">="+r+"."+o+"."+a+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+a+" <"+(+r+1)+".0.0"),n("caret return",l),l}))}(e,t)})).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){var r=t.loose?o[i.TILDELOOSE]:o[i.TILDE];return e.replace(r,(function(t,r,o,a,i){var l;return n("tilde",e,t,r,o,a,i),R(r)?l="":R(o)?l=">="+r+".0.0 <"+(+r+1)+".0.0":R(a)?l=">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":i?(n("replaceTilde pr",i),l=">="+r+"."+o+"."+a+"-"+i+" <"+r+"."+(+o+1)+".0"):l=">="+r+"."+o+"."+a+" <"+r+"."+(+o+1)+".0",n("tilde return",l),l}))}(e,t)})).join(" ")}(e,t),n("tildes",e),e=function(e,t){return n("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim();var r=t.loose?o[i.XRANGELOOSE]:o[i.XRANGE];return e.replace(r,(function(r,o,a,i,l,s){n("xRange",e,r,o,a,i,l,s);var c=R(a),u=c||R(i),d=u||R(l),p=d;return"="===o&&p&&(o=""),s=t.includePrerelease?"-0":"",c?r=">"===o||"<"===o?"<0.0.0-0":"*":o&&p?(u&&(i=0),l=0,">"===o?(o=">=",u?(a=+a+1,i=0,l=0):(i=+i+1,l=0)):"<="===o&&(o="<",u?a=+a+1:i=+i+1),r=o+a+"."+i+"."+l+s):u?r=">="+a+".0.0"+s+" <"+(+a+1)+".0.0"+s:d&&(r=">="+a+"."+i+".0"+s+" <"+a+"."+(+i+1)+".0"+s),n("xRange return",r),r}))}(e,t)})).join(" ")}(e,t),n("xrange",e),e=function(e,t){return n("replaceStars",e,t),e.trim().replace(o[i.STAR],"")}(e,t),n("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(l=l.filter((function(e){return!!e.match(a)}))),l=l.map((function(e){return new w(e,this.options)}),this)},k.prototype.intersects=function(e,t){if(!(e instanceof k))throw new TypeError("a Range is required");return this.set.some((function(n){return E(n,t)&&e.set.some((function(e){return E(e,t)&&n.every((function(n){return e.every((function(e){return n.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new k(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},k.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}for(var t=0;t<this.set.length;t++)if(O(this.set[t],e,this.options))return!0;return!1},t.satisfies=I,t.maxSatisfying=function(e,t,n){var r=null,o=null;try{var a=new k(t,n)}catch(e){return null}return e.forEach((function(e){a.test(e)&&(r&&-1!==o.compare(e)||(o=new d(r=e,n)))})),r},t.minSatisfying=function(e,t,n){var r=null,o=null;try{var a=new k(t,n)}catch(e){return null}return e.forEach((function(e){a.test(e)&&(r&&1!==o.compare(e)||(o=new d(r=e,n)))})),r},t.minVersion=function(e,t){e=new k(e,t);var n=new d("0.0.0");if(e.test(n))return n;if(n=new d("0.0.0-0"),e.test(n))return n;n=null;for(var r=0;r<e.set.length;++r){e.set[r].forEach((function(e){var t=new d(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":n&&!h(n,t)||(n=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(n&&e.test(n))return n;return null},t.validRange=function(e,t){try{return new k(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,n){return M(e,t,"<",n)},t.gtr=function(e,t,n){return M(e,t,">",n)},t.outside=M,t.prerelease=function(e,t){var n=u(e,t);return n&&n.prerelease.length?n.prerelease:null},t.intersects=function(e,t,n){return e=new k(e,n),t=new k(t,n),e.intersects(t)},t.coerce=function(e,t){if(e instanceof d)return e;"number"==typeof e&&(e=String(e));if("string"!=typeof e)return null;var n=null;if((t=t||{}).rtl){for(var r;(r=o[i.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),o[i.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;o[i.COERCERTL].lastIndex=-1}else n=e.match(o[i.COERCE]);if(null===n)return null;return u(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}}(SA,SA.exports);const wA={};async function CA(e,t,n,r){let{config:o}=n;const a="".concat(e,"__").concat(t);if(!wA[a]){const n="".concat(e).concat(t&&" v".concat(t)||"");if(r&&"function"!=typeof r)throw new Error("load of visualization '".concat(n,"' is not a fuction, wrap load promise in function"));const i=(r||o.load)({name:e,version:t}),l=Promise.resolve(i);wA[a]=l.then((e=>{if(!e)throw new Error("load() of visualization '".concat(n,"' resolved to an invalid object"));return e})).catch((e=>{throw new Error("Failed to load visualization: '".concat(n,"'"))}))}return wA[a]}function kA(e,t){const n={};let r=null;return{get:e=>n[e],register:(a,i)=>{if(n[a])throw new Error("Supernova '".concat(e,"@").concat(a,"' already registered."));n[a]=function(e,t){let n,r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{meta:i}=a,l={name:e.name,version:e.version,supportsPropertiesVersion:e=>!(e&&i&&i.deps&&i.deps.properties)||SA.exports.satisfies(e,i.deps.properties),supernova:()=>CA(l.name,l.version,t,a.load).then((e=>(n=n||xA(e,t.public.galaxy),r=JSON.stringify(n.qae.properties.initial),n))),initialProperties(e){return this.supernova().then((()=>o(o({qInfo:{qType:l.name},visualization:l.name,version:l.version,showTitles:!0},JSON.parse(r)),e)))}};return l}({name:e,version:a},t,i),r=null},getMatchingVersionFromProperties:e=>{r||(r=function(e){const t=e.filter((e=>"undefined"===e));return[...t,...e.filter((e=>"undefined"!==e)).map((e=>e.split(".").map((e=>parseInt(e,10))))).sort(((e,t)=>e[0]-t[0]||e[1]-t[1]||e[2]-t[2])).map((e=>e.join(".")))]}(Object.keys(n)));for(let t=r.length-1;t>=0;t--){if(n[r[t]].supportsPropertiesVersion(e))return r[t]}return null},versions:n}}function EA(e){let{halo:t,parent:n}=e;const r={},o=n||{get:()=>{}};return{register:(e,n)=>{r[e.name]||(r[e.name]=kA(e.name,t)),r[e.name].register(e.version,n)},getSupportedVersion:(e,t)=>r[e]?r[e].getMatchingVersionFromProperties(t):null,get(e){const{name:t}=e;let{version:n}=e;if(r[t]){if(!r[t].versions[n]){n=Object.keys(r[t].versions)[0]}}else this.register({name:t,version:n});return r[t].get(n)||o.get(e)},getList:()=>Object.keys(r).map((e=>({name:e,versions:Object.keys(r[e].versions).map((e=>"undefined"===e?void 0:e))}))),clearFromCache:e=>{r[e]&&(r[e]=void 0),function(e){Object.keys(wA).forEach((t=>{t.split("__")[0]===e&&(wA[t]=void 0)}))}(e)}}}const RA=["__DO_NOT_USE__"],LA={get:async e=>{const t=await fetch("/njs/snapshot/".concat(e));if(!t.ok)throw new Error(t.statusText);return t.json()},capture:e=>fetch("/njs/capture",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then((e=>e.json()))},OA=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o(o({},e),t)},IA=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[...e,...t].filter(((e,t,n)=>n.indexOf(e)===t))},MA=(e,t)=>({context:OA(e.context,t.context),load:t.load||e.load,snapshot:o({},t.snapshot||e.snapshot),types:IA(e.types,t.types),themes:IA(e.themes,t.themes),flags:OA(e.flags,t.flags),anything:OA(e.anything,t.anything)}),TA=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{__DO_NOT_USE__:t={}}=e,n=l(e,RA),r={update:void 0,fetchStart:void 0,showGray:!0,focusSearch:!1,sessionModel:void 0,selectionsApi:void 0,selectDisabled:void 0,postProcessPages:void 0,calculatePagesHeight:!1},a=o(o(o({},n),r),t);return a};var PA=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=p(t.context.language);function r(e,a){if(a)return r.createConfiguration(a)(e);let i=o(o({},t.context),{},{translator:n.translator});const[l]=ok({app:e,context:i}),s=Ue({themes:t.themes,root:l}),c={galaxy:{translator:n.translator,flags:Pz(t.flags),deviceType:Ve(t.context.deviceType),anything:t.anything},theme:s.externalAPI,translator:n.translator,nebbie:null},u={app:e,root:l,config:t,public:c,context:i,types:null},d=EA({halo:u});t.types.forEach((e=>d.register({name:e.name,version:e.version},{meta:e.meta,load:e.load})));let p=s.setTheme(t.context.theme),f=null,m=null;const h={render:async e=>(await p,e.id?Tz(e,u):Mz(e,u)),context:async e=>{let t;["theme","language","constraints","keyboardNavigation"].forEach((n=>{Object.prototype.hasOwnProperty.call(e,n)&&e[n]!==i[n]&&(t||(t={}),t[n]=e[n])})),t&&(i=o(o(o({},i),t),{},{translator:n.translator}),u.context=i,t.theme&&(p=s.setTheme(t.theme),await p),t.language&&u.public.translator.language(t.language),l.context(i))},selections:async()=>(f||(f={mount(t){m||(m=KP({element:t,app:e}),l.add(m))},unmount(){m&&(l.remove(m),m=null)}}),f),field:async t=>{const n="string"==typeof t?t:t.qLibraryId;if(!n)throw new Error("Field identifier must be provided");const r={fieldName:n,mount(r){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!r)throw new Error("Element for ".concat(n," not provided"));if(this._instance)throw new Error("Field ".concat(n," already mounted"));this._instance=fN({element:r,app:e,fieldIdentifier:t,options:TA(o),stateName:o.stateName||"$"}),l.add(this._instance)},unmount(){this._instance&&(l.remove(this._instance),this._instance=null)}};return r},getRegisteredTypes:d.getList,__DO_NOT_USE__:{types:d}};return u.public.nebbie=h,u.types=d,h}return r.createConfiguration=n=>e(MA(t,n)),r.config=t,r}({context:{theme:"light",language:"en-US",deviceType:"auto",constraints:{},keyboardNavigation:!1,disableCellPadding:!1},load:()=>{},types:[],themes:[],anything:{},snapshot:LA}),NA={exports:{}},zA={exports:{}};!function(e,t){e.exports=function(){function e(){return{getObjectApi:()=>Promise.resolve({id:"sessapi - ".concat(+Date.now())})}}function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?t(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var a=Object.prototype.hasOwnProperty,i=Object.prototype.toString,l=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===i.call(e)},u=function(e){if(!e||"[object Object]"!==i.call(e))return!1;var t,n=a.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&a.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||a.call(e,t)},d=function(e,t){l&&"__proto__"===t.name?l(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},p=function(e,t){if("__proto__"===t){if(!a.call(e,t))return;if(s)return s(e,t).value}return e[t]},f=function e(){var t,n,r,o,a,i,l=arguments[0],s=1,f=arguments.length,m=!1;for("boolean"==typeof l&&(m=l,l=arguments[1]||{},s=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});s<f;++s)if(null!=(t=arguments[s]))for(n in t)r=p(l,n),l!==(o=p(t,n))&&(m&&o&&(u(o)||(a=c(o)))?(a?(a=!1,i=r&&c(r)?r:[]):i=r&&u(r)?r:{},d(l,{name:n,newValue:e(m,i,o)})):void 0!==o&&d(l,{name:n,newValue:o}));return l};const m=globalThis.crypto||{getRandomValues:()=>123456};function h(){return e=>{const t=f({},e);t.qInfo=t.qInfo||{},t.qInfo.qId=t.qInfo.qId||"mock-".concat(([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^m.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16))));const r=t._mock;let o=t;return r&&(delete t._mock,o=f({},t,r)),Promise.resolve(n({on:()=>{},once:()=>{},getLayout:()=>Promise.resolve(o),getProperties:()=>Promise.resolve(t),getEffectiveProperties:()=>Promise.resolve(t),id:t.qInfo.qId},t))}}const g=function(e){let{args:t=[],defaultValue:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"function"==typeof e?e(...t):void 0!==e?e:n},v=function(e){let{defaultValue:t,async:n=!0,delay:r=0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];const l=g(e,{defaultValue:t,args:a});return n?new Promise((e=>{setTimeout((()=>e(l)),r)})):l}},b=["id","session"],y=["addListener","emit","listeners","on","once","removeAllListeners","removeListener","setMaxListerners"];function x(e){return!y.includes(e)}function S(e){const t=g(e.getLayout);return t.qInfo&&t.qInfo.qId}function w(e,t){return e.reduce(((e,r)=>n(n({},e),function(e,t){const r=S(e),{delay:a}=t,{id:i,session:l}=e,s=o(e,b);return{[r]:n({id:g(i,{defaultValue:"object - ".concat(+Date.now())}),session:g(l,{defaultValue:!0}),on:()=>{},once:()=>{}},Object.entries(s).reduce(((e,t)=>{let[r,o]=t;return n(n({},e),{},{[r]:v(o,{async:x(r),delay:a})})}),{}))}}(r,t))),{})}function C(e){if(!e.getLayout)throw new Error('Generic object is missing "getLayout"');if(!S(e))throw new Error('Generic object is missing "qId" for path "getLayout().qInfo.qId"')}function k(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Array.isArray(e)||0===e.length)return()=>{throw new Error('No "genericObjects" specified')};e.forEach(C);const n=w(e,t);return async e=>Promise.resolve(n[e])}function E(){return()=>Promise.resolve({id:"app-layout"})}const R={fromGenericObjects(t){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=new e,o=new h,a=new k(t,n),i=new E,l={id:"app - ".concat(+Date.now()),session:r,createSessionObject:o,getObject:a,getAppLayout:i};return Promise.resolve(l)}(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}};return R}()}(zA),function(e){e.exports=zA.exports}(NA);var AA=n(NA.exports);const _A={generator:xA,hook:rA,theme:We,locale:u};e.EnigmaMocker=AA,e.__DO_NOT_USE__=_A,e.conversion=AN,e.embed=PA,e.onContextMenu=function(e){const t=eA(++Wz);t.value||(t.value=1,Bz.__hooks.menus.push(t)),t.fn=e},e.onTakeSnapshot=function(e){const t=eA(++Wz);t.value||(t.value=1,Bz.__hooks.snaps.push(t)),t.fn=e},e.useAction=function(e,t){const[n]=oA({action(){n._config.action.call(null)}});return n.component||(n.component=Bz,Bz.__hooks.actions.list.push(n)),lA((()=>{const t=e();n._config=t,n.active=t.active||!1,n.disabled=t.disabled||!1,n.hidden=t.hidden||!1,n.label=t.label||"",n.getSvgIconShape=t.icon?()=>t.icon:void 0,n.key=t.key||n.component.__hooks.actions.list.length,n.component.__hooks.actions.changed=!0}),t),n.action},e.useApp=function(){const e=tA("app");return e&&e.session?e:void 0},e.useAppLayout=function(){return tA("appLayout")},e.useConstraints=function(){return tA("constraints")},e.useDeviceType=function(){return tA("deviceType")},e.useEffect=aA,e.useElement=sA,e.useEmbed=function(){return tA("nebbie")},e.useGlobal=function(){const e=tA("global");return e&&e.session?e:void 0},e.useImperativeHandle=function(e,t){const n=eA(++Wz);if(n.imperative||(n.imperative=!0),Hz(n.value?n.value[0]:void 0,t)){const r=e();n.value=[t,r],Bz.__hooks.imperativeHandle=r}},e.useKeyboard=function(){const e=tA("keyboardNavigation"),t=tA("focusHandler");if(!Bz.__hooks.accessibility.exitFunction){const e=function(e){const n=this.__hooks.accessibility;n.enabled&&n.active&&(uA(this),t&&t.blurCallback&&t.blurCallback(e))}.bind(Bz);Bz.__hooks.accessibility.exitFunction=e;const n=function(){const e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),cA(this))}.bind(Bz);Bz.__hooks.accessibility.focusFunction=n;const r=function(e){this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}.bind(Bz);Bz.__hooks.accessibility.focusSelectionFunction=r}const n=Bz.__hooks.accessibility.focusFunction,r=Bz.__hooks.accessibility.exitFunction,o=Bz.__hooks.accessibility.focusSelectionFunction,[a,i]=oA({active:!1,enabled:e,blur:r,focus:n,focusSelection:o});return Bz.__hooks.accessibility.setter=i,Bz.__hooks.accessibility.enabled=e,aA((()=>i({active:!1,enabled:e,blur:r,focus:n,focusSelection:o})),[e]),a},e.useLayout=function(){return tA("layout")},e.useMemo=lA,e.useModel=function(){const e=tA("model");return e&&e.session?e:void 0},e.useOptions=function(){return tA("options")},e.usePlugins=function(){return tA("plugins")},e.usePromise=function(e,t){const[n,r]=oA((()=>({resolved:void 0,rejected:void 0,state:"pending"}))),o=eA(++Wz);return o.component||(o.component=Bz),iA((()=>{let t=!1;return o.teardown=()=>{t=!0,o.teardown=null;const e=o.component.__hooks.pendingPromises.indexOf(o);e>-1&&o.component.__hooks.pendingPromises.splice(e,1)},e().then((e=>{t||(o.teardown&&o.teardown(),r({resolved:e,rejected:void 0,state:"resolved"}))})).catch((e=>{t||(o.teardown&&o.teardown(),r({resolved:void 0,rejected:e,state:"resolved"}))})),o.component.__hooks.pendingPromises.push(o),()=>{o.teardown&&o.teardown()}}),t),[n.resolved,n.rejected]},e.useRect=function(){const e=sA(),t=Bz.__hooks.resizer,[n,r]=oA((()=>{const{left:t,top:n,width:r,height:o}=e.getBoundingClientRect();return{left:t,top:n,width:r,height:o}}));return t.current=n,-1===t.setters.indexOf(r)&&t.setters.push(r),t.update&&t.resize&&(t.update=!1,t.resize()),iA((()=>{if(t.initiated)return;t.initiated=!0;const n=()=>{const{left:n,top:r,width:o,height:a}=e.getBoundingClientRect(),i=t.current;i.width===o&&i.height===a&&i.left===n&&i.top===r||t.setters.forEach((e=>e({left:n,top:r,width:o,height:a})))};if(t.resize=()=>{n()},t.explicitResize)return()=>{t.resize=void 0};if("function"==typeof ResizeObserver){let r=new ResizeObserver(n);return r.observe(e),()=>{r.unobserve(e),r.disconnect(e),r=null,t.resize=void 0}}}),[e]),n},e.useRenderState=function(){eA(++Wz);const e=Bz.__hooks;return{pending:()=>{e.waitForData=!0},restore:()=>{e.waitForData=!1}}},e.useSelections=function(){return tA("selections")},e.useStaleLayout=function(){const e=tA("layout"),[t]=oA({current:e});return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current},e.useState=oA,e.useTheme=function(){return tA("theme")},e.useTranslator=function(){return tA("translator")},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
236
236
|
//# sourceMappingURL=stardust.js.map
|