@mui/material 5.8.1 → 5.8.2
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/Accordion/accordionClasses.d.ts +18 -18
- package/AccordionActions/accordionActionsClasses.d.ts +10 -10
- package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
- package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
- package/Alert/alertClasses.d.ts +44 -44
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/backdropClasses.d.ts +10 -10
- package/Badge/badgeClasses.d.ts +56 -56
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/buttonClasses.d.ts +76 -76
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +61 -4
- package/Card/cardClasses.d.ts +8 -8
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
- package/CardActions/cardActionsClasses.d.ts +10 -10
- package/CardContent/cardContentClasses.d.ts +8 -8
- package/CardHeader/cardHeaderClasses.d.ts +18 -18
- package/CardMedia/cardMediaClasses.d.ts +12 -12
- package/Checkbox/checkboxClasses.d.ts +18 -18
- package/Chip/chipClasses.d.ts +80 -80
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/index.d.ts +2 -2
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/containerClasses.d.ts +6 -6
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/Divider/dividerClasses.d.ts +34 -34
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
- package/FormGroup/formGroupClasses.d.ts +12 -12
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/gridClasses.d.ts +48 -48
- package/Grow/Grow.js +4 -3
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/iconButtonClasses.d.ts +26 -26
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/Input/inputClasses.d.ts +34 -34
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/inputBaseClasses.d.ts +44 -44
- package/InputLabel/InputLabel.d.ts +5 -0
- package/InputLabel/InputLabel.js +6 -0
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/linkClasses.d.ts +18 -18
- package/List/listClasses.d.ts +14 -14
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemButton/listItemButtonClasses.d.ts +22 -22
- package/ListItemIcon/listItemIconClasses.d.ts +10 -10
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
- package/ListItemText/listItemTextClasses.d.ts +18 -18
- package/ListSubheader/listSubheaderClasses.d.ts +18 -18
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/NativeSelect/nativeSelectClasses.d.ts +32 -32
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/Paper/paperClasses.d.ts +39 -39
- package/Popover/popoverClasses.d.ts +10 -10
- package/Popper/Popper.d.ts +29 -29
- package/Radio/radioClasses.d.ts +16 -16
- package/RadioGroup/RadioGroupContext.d.ts +11 -11
- package/RadioGroup/useRadioGroup.d.ts +4 -4
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/selectClasses.d.ts +30 -30
- package/Skeleton/skeletonClasses.d.ts +24 -24
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/speedDialClasses.d.ts +22 -22
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
- package/Step/StepContext.d.ts +20 -20
- package/Step/stepClasses.d.ts +16 -16
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/StepperContext.d.ts +18 -18
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/svgIconClasses.d.ts +24 -24
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/tabClasses.d.ts +26 -26
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/Table/tableClasses.d.ts +10 -10
- package/TableBody/tableBodyClasses.d.ts +8 -8
- package/TableCell/tableCellClasses.d.ts +32 -32
- package/TableContainer/tableContainerClasses.d.ts +8 -8
- package/TableFooter/tableFooterClasses.d.ts +8 -8
- package/TableHead/tableHeadClasses.d.ts +8 -8
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Typography/typographyClasses.d.ts +50 -50
- package/className/index.d.ts +1 -1
- package/darkScrollbar/index.d.ts +28 -28
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Grow/Grow.js +4 -3
- package/legacy/InputLabel/InputLabel.js +6 -0
- package/legacy/index.js +1 -1
- package/locale/index.d.ts +71 -71
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Grow/Grow.js +4 -3
- package/modern/InputLabel/InputLabel.js +6 -0
- package/modern/index.js +1 -1
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Grow/Grow.js +4 -3
- package/node/InputLabel/InputLabel.js +6 -0
- package/node/index.js +1 -1
- package/package.json +4 -4
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -13
- package/transitions/utils.d.ts +23 -23
- package/umd/material-ui.development.js +56 -37
- package/umd/material-ui.production.min.js +2 -2
- package/useMediaQuery/useMediaQuery.d.ts +31 -31
- package/useTouchRipple/index.d.ts +1 -1
- package/useTouchRipple/useTouchRipple.d.ts +28 -28
- package/utils/getScrollbarSize.d.ts +2 -2
- package/utils/ownerDocument.d.ts +2 -2
- package/utils/ownerWindow.d.ts +2 -2
- package/utils/setRef.d.ts +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MUI v5.8.
|
|
1
|
+
/** @license MUI v5.8.2
|
|
2
2
|
*
|
|
3
3
|
* This source code is licensed under the MIT license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
object-assign
|
|
9
9
|
(c) Sindre Sorhus
|
|
10
10
|
@license MIT
|
|
11
|
-
*/Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;!function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},o=0;o<10;o++)t["_"+String.fromCharCode(o)]=o;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()||Object.assign;function ro(){}function no(){}no.resetWarningCache=ro;var ao=function(){function e(e,t,o,r,n,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:no,resetWarningCache:ro};return o.PropTypes=o,o},io=A((function(e){e.exports=ao()})),so=io;io.elementType,io.bool,io.func,io.object,io.oneOfType,io.element;var lo=A((function(e,t){var o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var r=Symbol.for;o=r("react.element"),t.Fragment=r("react.fragment")}var n=i.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a=Object.prototype.hasOwnProperty,s={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,r){var i,l={},c=null,d=null;for(i in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)a.call(t,i)&&!s.hasOwnProperty(i)&&(l[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps)void 0===l[i]&&(l[i]=t[i]);return{$$typeof:o,type:e,key:c,ref:d,props:l,_owner:n.current}}t.jsx=l,t.jsxs=l}));lo.Fragment,lo.jsx,lo.jsxs;var co=A((function(e,t){}));co.Fragment,co.jsx,co.jsxs;var uo=A((function(e){e.exports=lo})),po=uo.jsx,mo=uo.jsxs;const fo=Ve({key:"css",prepend:!0});function ho(e){const{styles:t,defaultTheme:o={}}=e;return po(Ut,{styles:"function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?o:e);var r}:t})}function go(e,t){return oo(e,t)}function vo(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function bo(e,t,o={clone:!0}){const r=o.clone?L({},e):e;return vo(e)&&vo(t)&&Object.keys(t).forEach((n=>{"__proto__"!==n&&(vo(t[n])&&n in e&&vo(e[n])?r[n]=bo(e[n],t[n],o):r[n]=t[n])})),r}function yo(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function xo(e){if("string"!=typeof e)throw new Error(yo(7));return e.charAt(0).toUpperCase()+e.slice(1)}function wo(...e){return e.reduce(((e,t)=>null==t?e:function(...o){e.apply(this,o),t.apply(this,o)}),(()=>{}))}function So(e,t=166){let o;function r(...r){clearTimeout(o),o=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(o)},r}function Co(e,t){return a.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}function ko(e){return e&&e.ownerDocument||document}function Ro(e){return ko(e).defaultView||window}function Mo(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var $o="undefined"!=typeof window?a.useLayoutEffect:a.useEffect;let To=0;const Io=a.useId;function Po(e){if(void 0!==Io){const t=Io();return null!=e?e:t}return function(e){const[t,o]=a.useState(e),r=e||t;return a.useEffect((()=>{null==t&&(To+=1,o(`mui-${To}`))}),[t]),r}(e)}function Oo({controlled:e,default:t,name:o,state:r="value"}){const{current:n}=a.useRef(void 0!==e),[i,s]=a.useState(t);return[n?e:i,a.useCallback((e=>{n||s(e)}),[])]}function Lo(e){const t=a.useRef(e);return $o((()=>{t.current=e})),a.useCallback(((...e)=>(0,t.current)(...e)),[])}function Eo(e,t){return a.useMemo((()=>null==e&&null==t?null:o=>{Mo(e,o),Mo(t,o)}),[e,t])}let Ao,No=!0,zo=!1;const Bo={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Fo(e){e.metaKey||e.altKey||e.ctrlKey||(No=!0)}function Do(){No=!1}function Wo(){"hidden"===this.visibilityState&&zo&&(No=!0)}function Ho(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return No||function(e){const{type:t,tagName:o}=e;return!("INPUT"!==o||!Bo[t]||e.readOnly)||"TEXTAREA"===o&&!e.readOnly||!!e.isContentEditable}(t)}function Vo(){const e=a.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Fo,!0),t.addEventListener("mousedown",Do,!0),t.addEventListener("pointerdown",Do,!0),t.addEventListener("touchstart",Do,!0),t.addEventListener("visibilitychange",Wo,!0))}),[]),t=a.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Ho(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(zo=!0,window.clearTimeout(Ao),Ao=window.setTimeout((()=>{zo=!1}),100),t.current=!1,!0)},ref:e}}function jo(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Uo;function Go(){if(Uo)return Uo;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Uo="reverse",e.scrollLeft>0?Uo="default":(e.scrollLeft=1,0===e.scrollLeft&&(Uo="negative")),document.body.removeChild(e),Uo}function _o(e,t){const o=e.scrollLeft;if("rtl"!==t)return o;switch(Go()){case"negative":return e.scrollWidth-e.clientWidth+o;case"reverse":return e.scrollWidth-e.clientWidth-o;default:return o}}var qo=e=>{const t=a.useRef({});return a.useEffect((()=>{t.current=e})),t.current};var Ko={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function Xo(e,t){const o=L({},t);return Object.keys(e).forEach((t=>{void 0===o[t]&&(o[t]=e[t])})),o}function Yo(e,t,o){const r={};return Object.keys(e).forEach((n=>{r[n]=e[n].reduce(((e,r)=>(r&&(o&&o[r]&&e.push(o[r]),e.push(t(r))),e)),[]).join(" ")})),r}const Zo=e=>e;var Jo=(()=>{let e=Zo;return{configure(t){e=t},generate:t=>e(t),reset(){e=Zo}}})();const Qo={active:"Mui-active",checked:"Mui-checked",completed:"Mui-completed",disabled:"Mui-disabled",error:"Mui-error",expanded:"Mui-expanded",focused:"Mui-focused",focusVisible:"Mui-focusVisible",required:"Mui-required",selected:"Mui-selected"};function er(e,t){return Qo[t]||`${Jo.generate(e)}-${t}`}function tr(e,t){const o={};return t.forEach((t=>{o[t]=er(e,t)})),o}function or(e,t){return t?bo(e,t,{clone:!1}):e}const rr={xs:0,sm:600,md:900,lg:1200,xl:1536},nr={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${rr[e]}px)`};function ar(e,t,o){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||nr;return t.reduce(((r,n,a)=>(r[e.up(e.keys[a])]=o(t[a]),r)),{})}if("object"==typeof t){const e=r.breakpoints||nr;return Object.keys(t).reduce(((r,n)=>{if(-1!==Object.keys(e.values||rr).indexOf(n)){r[e.up(n)]=o(t[n],n)}else{const e=n;r[e]=t[e]}return r}),{})}return o(t)}function ir({values:e,breakpoints:t,base:o}){const r=o||function(e,t){if("object"!=typeof e)return{};const o={},r=Object.keys(t);return Array.isArray(e)?r.forEach(((t,r)=>{r<e.length&&(o[t]=!0)})):r.forEach((t=>{null!=e[t]&&(o[t]=!0)})),o}(e,t),n=Object.keys(r);if(0===n.length)return e;let a;return n.reduce(((t,o,r)=>(Array.isArray(e)?(t[o]=null!=e[r]?e[r]:e[a],a=r):(t[o]=null!=e[o]?e[o]:e[a]||e,a=o),t)),{})}function sr(e,t,o=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&o){const o=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=o)return o}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function lr(e,t,o,r=o){let n;return n="function"==typeof e?e(o):Array.isArray(e)?e[o]||r:sr(e,o)||r,t&&(n=t(n)),n}function cr(e){const{prop:t,cssProperty:o=e.prop,themeKey:r,transform:n}=e,a=e=>{if(null==e[t])return null;const a=e[t],i=sr(e.theme,r)||{};return ar(e,a,(e=>{let r=lr(i,n,e);return e===r&&"string"==typeof e&&(r=lr(i,n,`${t}${"default"===e?"":xo(e)}`,e)),!1===o?r:{[o]:r}}))};return a.propTypes={},a.filterProps=[t],a}function dr(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((o=>{e[o]=t})),e)),{}),o=e=>Object.keys(e).reduce(((o,r)=>t[r]?or(o,t[r](e)):o),{});return o.propTypes={},o.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),o}const ur={m:"margin",p:"padding"},pr={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},mr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},fr=function(e){const t={};return o=>(void 0===t[o]&&(t[o]=e(o)),t[o])}((e=>{if(e.length>2){if(!mr[e])return[e];e=mr[e]}const[t,o]=e.split(""),r=ur[t],n=pr[o]||"";return Array.isArray(n)?n.map((e=>r+e)):[r+n]})),hr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd","p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function gr(e,t,o,r){var n;const a=null!=(n=sr(e,t,!1))?n:o;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>{}}function vr(e){return gr(e,"spacing",8)}function br(e,t){if("string"==typeof t||null==t)return t;const o=e(Math.abs(t));return t>=0?o:"number"==typeof o?-o:`-${o}`}function yr(e,t,o,r){if(-1===t.indexOf(o))return null;const n=function(e,t){return o=>e.reduce(((e,r)=>(e[r]=br(t,o),e)),{})}(fr(o),r);return ar(e,e[o],n)}function xr(e){return function(e,t){const o=vr(e.theme);return Object.keys(e).map((r=>yr(e,t,r,o))).reduce(or,{})}(e,hr)}function wr(e){return"number"!=typeof e?e:`${e}px solid`}xr.propTypes={},xr.filterProps=hr;const Sr=cr({prop:"border",themeKey:"borders",transform:wr}),Cr=cr({prop:"borderTop",themeKey:"borders",transform:wr}),kr=cr({prop:"borderRight",themeKey:"borders",transform:wr}),Rr=cr({prop:"borderBottom",themeKey:"borders",transform:wr}),Mr=cr({prop:"borderLeft",themeKey:"borders",transform:wr}),$r=cr({prop:"borderColor",themeKey:"palette"}),Tr=cr({prop:"borderTopColor",themeKey:"palette"}),Ir=cr({prop:"borderRightColor",themeKey:"palette"}),Pr=cr({prop:"borderBottomColor",themeKey:"palette"}),Or=cr({prop:"borderLeftColor",themeKey:"palette"}),Lr=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=gr(e.theme,"shape.borderRadius",4),o=e=>({borderRadius:br(t,e)});return ar(e,e.borderRadius,o)}return null};Lr.propTypes={},Lr.filterProps=["borderRadius"];var Er=dr(Sr,Cr,kr,Rr,Mr,$r,Tr,Ir,Pr,Or,Lr);var Ar=dr(cr({prop:"displayPrint",cssProperty:!1,transform:e=>({"@media print":{display:e}})}),cr({prop:"display"}),cr({prop:"overflow"}),cr({prop:"textOverflow"}),cr({prop:"visibility"}),cr({prop:"whiteSpace"}));var Nr=dr(cr({prop:"flexBasis"}),cr({prop:"flexDirection"}),cr({prop:"flexWrap"}),cr({prop:"justifyContent"}),cr({prop:"alignItems"}),cr({prop:"alignContent"}),cr({prop:"order"}),cr({prop:"flex"}),cr({prop:"flexGrow"}),cr({prop:"flexShrink"}),cr({prop:"alignSelf"}),cr({prop:"justifyItems"}),cr({prop:"justifySelf"}));const zr=e=>{if(void 0!==e.gap&&null!==e.gap){const t=gr(e.theme,"spacing",8),o=e=>({gap:br(t,e)});return ar(e,e.gap,o)}return null};zr.propTypes={},zr.filterProps=["gap"];const Br=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=gr(e.theme,"spacing",8),o=e=>({columnGap:br(t,e)});return ar(e,e.columnGap,o)}return null};Br.propTypes={},Br.filterProps=["columnGap"];const Fr=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=gr(e.theme,"spacing",8),o=e=>({rowGap:br(t,e)});return ar(e,e.rowGap,o)}return null};Fr.propTypes={},Fr.filterProps=["rowGap"];var Dr=dr(zr,Br,Fr,cr({prop:"gridColumn"}),cr({prop:"gridRow"}),cr({prop:"gridAutoFlow"}),cr({prop:"gridAutoColumns"}),cr({prop:"gridAutoRows"}),cr({prop:"gridTemplateColumns"}),cr({prop:"gridTemplateRows"}),cr({prop:"gridTemplateAreas"}),cr({prop:"gridArea"}));var Wr=dr(cr({prop:"color",themeKey:"palette"}),cr({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),cr({prop:"backgroundColor",themeKey:"palette"}));var Hr=dr(cr({prop:"position"}),cr({prop:"zIndex",themeKey:"zIndex"}),cr({prop:"top"}),cr({prop:"right"}),cr({prop:"bottom"}),cr({prop:"left"}));var Vr=cr({prop:"boxShadow",themeKey:"shadows"});function jr(e){return e<=1&&0!==e?100*e+"%":e}const Ur=cr({prop:"width",transform:jr}),Gr=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var o,r,n;return{maxWidth:(null==(o=e.theme)||null==(r=o.breakpoints)||null==(n=r.values)?void 0:n[t])||rr[t]||jr(t)}};return ar(e,e.maxWidth,t)}return null};Gr.filterProps=["maxWidth"];const _r=cr({prop:"minWidth",transform:jr}),qr=cr({prop:"height",transform:jr}),Kr=cr({prop:"maxHeight",transform:jr}),Xr=cr({prop:"minHeight",transform:jr});cr({prop:"size",cssProperty:"width",transform:jr}),cr({prop:"size",cssProperty:"height",transform:jr});var Yr=dr(Ur,Gr,_r,qr,Kr,Xr,cr({prop:"boxSizing"}));const Zr=cr({prop:"fontFamily",themeKey:"typography"}),Jr=cr({prop:"fontSize",themeKey:"typography"}),Qr=cr({prop:"fontStyle",themeKey:"typography"}),en=cr({prop:"fontWeight",themeKey:"typography"}),tn=cr({prop:"letterSpacing"}),on=cr({prop:"textTransform"}),rn=cr({prop:"lineHeight"}),nn=cr({prop:"textAlign"});var an=dr(cr({prop:"typography",cssProperty:!1,themeKey:"typography"}),Zr,Jr,Qr,en,tn,rn,nn,on);const sn={borders:Er.filterProps,display:Ar.filterProps,flexbox:Nr.filterProps,grid:Dr.filterProps,positions:Hr.filterProps,palette:Wr.filterProps,shadows:Vr.filterProps,sizing:Yr.filterProps,spacing:xr.filterProps,typography:an.filterProps},ln={borders:Er,display:Ar,flexbox:Nr,grid:Dr,positions:Hr,palette:Wr,shadows:Vr,sizing:Yr,spacing:xr,typography:an},cn=Object.keys(sn).reduce(((e,t)=>(sn[t].forEach((o=>{e[o]=ln[t]})),e)),{});const dn=function(e=ln){const t=Object.keys(e).reduce(((t,o)=>(e[o].filterProps.forEach((r=>{t[r]=e[o]})),t)),{});function o(e,o,r){const n={[e]:o,theme:r},a=t[e];return a?a(n):{[e]:o}}return function e(r){const{sx:n,theme:a={}}=r||{};if(!n)return null;function i(r){let n=r;if("function"==typeof r)n=r(a);else if("object"!=typeof r)return r;if(!n)return null;const i=function(e={}){var t;return(null==e||null==(t=e.keys)?void 0:t.reduce(((t,o)=>(t[e.up(o)]={},t)),{}))||{}}(a.breakpoints),s=Object.keys(i);let l=i;return Object.keys(n).forEach((r=>{const i=(s=n[r],c=a,"function"==typeof s?s(c):s);var s,c;if(null!=i)if("object"==typeof i)if(t[r])l=or(l,o(r,i,a));else{const t=ar({theme:a},i,(e=>({[r]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),o=new Set(t);return e.every((e=>o.size===Object.keys(e).length))}(t,i)?l=or(l,t):l[r]=e({sx:i,theme:a})}else l=or(l,o(r,i,a))})),function(e,t){return e.reduce(((e,t)=>{const o=e[t];return(!o||0===Object.keys(o).length)&&delete e[t],e}),t)}(s,l)}return Array.isArray(n)?n.map(i):i(n)}}();dn.filterProps=["sx"];var un=dn;const pn=["sx"];function mn(e){const{sx:t}=e,o=E(e,pn),{systemProps:r,otherProps:n}=(e=>{const t={systemProps:{},otherProps:{}};return Object.keys(e).forEach((o=>{cn[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]})),t})(o);let a;return a=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const o=t(...e);return vo(o)?L({},r,o):r}:L({},r,t),L({},n,{sx:a})}function fn(e){var t,o,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(o=fn(e[t]))&&(r&&(r+=" "),r+=o);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function hn(){for(var e,t,o=0,r="";o<arguments.length;)(e=arguments[o++])&&(t=fn(e))&&(r&&(r+=" "),r+=t);return r}const gn=["values","unit","step"];function vn(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:r=5}=e,n=E(e,gn),a=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>L({},e,{[t.key]:t.val})),{})})(t),i=Object.keys(a);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${o})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${o})`}function c(e,n){const a=i.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${o}) and (max-width:${(-1!==a&&"number"==typeof t[i[a]]?t[i[a]]:n)-r/100}${o})`}return L({keys:i,values:a,up:s,down:l,between:c,only:function(e){return i.indexOf(e)+1<i.length?c(e,i[i.indexOf(e)+1]):s(e)},not:function(e){const t=i.indexOf(e);return 0===t?s(i[1]):t===i.length-1?l(i[t]):c(e,i[i.indexOf(e)+1]).replace("@media","@media not all and")},unit:o},n)}var bn={borderRadius:4};function yn(e=8){if(e.mui)return e;const t=vr({spacing:e}),o=(...e)=>(0===e.length?[1]:e).map((e=>{const o=t(e);return"number"==typeof o?`${o}px`:o})).join(" ");return o.mui=!0,o}const xn=["breakpoints","palette","spacing","shape"];function wn(e={},...t){const{breakpoints:o={},palette:r={},spacing:n,shape:a={}}=e,i=E(e,xn),s=vn(o),l=yn(n);let c=bo({breakpoints:s,direction:"ltr",components:{},palette:L({mode:"light"},r),spacing:l,shape:L({},bn,a)},i);return c=t.reduce(((e,t)=>bo(e,t)),c),c}var Sn=a.createContext(null);function Cn(){return a.useContext(Sn)}var kn="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Rn(e){const{children:t,theme:o}=e,r=Cn(),n=a.useMemo((()=>{const e=null===r?o:function(e,t){if("function"==typeof t)return t(e);return L({},e,t)}(r,o);return null!=e&&(e[kn]=null!==r),e}),[o,r]);return po(Sn.Provider,{value:n,children:t})}function Mn(e=null){const t=Cn();return t&&(o=t,0!==Object.keys(o).length)?t:e;var o}const $n=wn();function Tn(e=$n){return Mn(e)}const In=["className","component"];const Pn=["variant"];function On(e){return 0===e.length}function Ln(e){const{variant:t}=e,o=E(e,Pn);let r=t||"";return Object.keys(o).sort().forEach((t=>{r+="color"===t?On(r)?e[t]:xo(e[t]):`${On(r)?t:xo(t)}${xo(e[t].toString())}`})),r}const En=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],An=["theme"],Nn=["theme"];function zn(e){return 0===Object.keys(e).length}function Bn(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Fn=wn();function Dn(e={}){const{defaultTheme:t=Fn,rootShouldForwardProp:o=Bn,slotShouldForwardProp:r=Bn,styleFunctionSx:n=un}=e;return(e,a={})=>{const{name:i,slot:s,skipVariantsResolver:l,skipSx:c,overridesResolver:d}=a,u=E(a,En),p=void 0!==l?l:s&&"Root"!==s||!1,m=c||!1;let f=Bn;"Root"===s?f=o:s&&(f=r);const h=go(e,L({shouldForwardProp:f,label:undefined},u)),g=(e,...o)=>{const r=o?o.map((e=>"function"==typeof e&&e.__emotion_real!==e?o=>{let{theme:r}=o,n=E(o,An);return e(L({theme:zn(r)?t:r},n))}:e)):[];let a=e;i&&d&&r.push((e=>{const o=zn(e.theme)?t:e.theme,r=((e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null)(i,o);if(r){const t={};return Object.entries(r).forEach((([r,n])=>{t[r]="function"==typeof n?n(L({},e,{theme:o})):n})),d(e,t)}return null})),i&&!p&&r.push((e=>{const o=zn(e.theme)?t:e.theme;return((e,t,o,r)=>{var n,a;const{ownerState:i={}}=e,s=[],l=null==o||null==(n=o.components)||null==(a=n[r])?void 0:a.variants;return l&&l.forEach((o=>{let r=!0;Object.keys(o.props).forEach((t=>{i[t]!==o.props[t]&&e[t]!==o.props[t]&&(r=!1)})),r&&s.push(t[Ln(o.props)])})),s})(e,((e,t)=>{let o=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(o=t.components[e].variants);const r={};return o.forEach((e=>{const t=Ln(e.props);r[t]=e.style})),r})(i,o),o,i)})),m||r.push((e=>{const o=zn(e.theme)?t:e.theme;return n(L({},e,{theme:o}))}));const s=r.length-o.length;if(Array.isArray(e)&&s>0){const t=new Array(s).fill("");a=[...e,...t],a.raw=[...e.raw,...t]}else"function"==typeof e&&e.__emotion_real!==e&&(a=o=>{let{theme:r}=o,n=E(o,Nn);return e(L({theme:zn(r)?t:r},n))});return h(a,...r)};return h.withConfig&&(g.withConfig=h.withConfig),g}}var Wn=Dn();function Hn(e){const{theme:t,name:o,props:r}=e;return t&&t.components&&t.components[o]&&t.components[o].defaultProps?Xo(t.components[o].defaultProps,r):r}function Vn({props:e,name:t,defaultTheme:o}){return Hn({theme:Tn(o),name:t,props:e})}function jn(e,t=0,o=1){return Math.min(Math.max(t,e),o)}function Un(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let o=e.match(t);return o&&1===o[0].length&&(o=o.map((e=>e+e))),o?`rgb${4===o.length?"a":""}(${o.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function Gn(e){if(e.type)return e;if("#"===e.charAt(0))return Gn(Un(e));const t=e.indexOf("("),o=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(o))throw new Error(yo(9,e));let r,n=e.substring(t+1,e.length-1);if("color"===o){if(n=n.split(" "),r=n.shift(),4===n.length&&"/"===n[3].charAt(0)&&(n[3]=n[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error(yo(10,r))}else n=n.split(",");return n=n.map((e=>parseFloat(e))),{type:o,values:n,colorSpace:r}}const _n=e=>{const t=Gn(e);return t.values.slice(0,3).map(((e,o)=>-1!==t.type.indexOf("hsl")&&0!==o?`${e}%`:e)).join(" ")};function qn(e){const{type:t,colorSpace:o}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${o} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function Kn(e){e=Gn(e);const{values:t}=e,o=t[0],r=t[1]/100,n=t[2]/100,a=r*Math.min(n,1-n),i=(e,t=(e+o/30)%12)=>n-a*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),qn({type:s,values:l})}function Xn(e){let t="hsl"===(e=Gn(e)).type?Gn(Kn(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Yn(e,t){const o=Xn(e),r=Xn(t);return(Math.max(o,r)+.05)/(Math.min(o,r)+.05)}function Zn(e,t){return e=Gn(e),t=jn(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,qn(e)}function Jn(e,t){if(e=Gn(e),t=jn(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let o=0;o<3;o+=1)e.values[o]*=1-t;return qn(e)}function Qn(e,t){if(e=Gn(e),t=jn(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let o=0;o<3;o+=1)e.values[o]+=(255-e.values[o])*t;else if(-1!==e.type.indexOf("color"))for(let o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*t;return qn(e)}function ea(e,t=.15){return Xn(e)>.5?Jn(e,t):Qn(e,t)}function ta(e){const t=Tn();return po(Vt.Provider,{value:"object"==typeof t?t:{},children:e.children})}function oa(e){const{children:t,theme:o}=e;return po(Rn,{theme:o,children:po(ta,{children:t})})}const ra=(e,t,o,r=[])=>{let n=e;t.forEach(((e,a)=>{a===t.length-1?Array.isArray(n)?n[Number(e)]=o:n&&"object"==typeof n&&(n[e]=o):n&&"object"==typeof n&&(n[e]||(n[e]=r.includes(e)?[]:{}),n=n[e])}))},na=(e,t)=>{if("number"==typeof t){if(["lineHeight","fontWeight","opacity","zIndex"].some((t=>e.includes(t))))return t;return e[e.length-1].toLowerCase().indexOf("opacity")>=0?t:`${t}px`}return t};function aa(e,t){const{prefix:o,basePrefix:r="",shouldSkipGeneratingVar:n}=t||{},a={},i={},s={};var l,c;return l=(e,t,l)=>{if(("string"==typeof t||"number"==typeof t)&&("string"==typeof t&&t.match(/var\(\s*--/)&&(t=!r&&o?t.replace(/var\(\s*--/g,`var(--${o}-`):o?t.replace(new RegExp(`var\\(\\s*--${r}`,"g"),`var(--${o}`):t.replace(new RegExp(`var\\(\\s*--${r}-`,"g"),"var(--")),!n||n&&!n(e,t))){const r=`--${o?`${o}-`:""}${e.join("-")}`;Object.assign(a,{[r]:na(e,t)}),ra(i,e,`var(${r})`,l)}ra(s,e,t,l)},c=e=>"vars"===e[0],function e(t,o=[],r=[]){Object.entries(t).forEach((([t,n])=>{(!c||c&&!c([...o,t]))&&null!=n&&("object"==typeof n&&Object.keys(n).length>0?e(n,[...o,t],Array.isArray(n)?[...r,t]:r):l([...o,t],n,r))}))}(e),{css:a,vars:i,parsedTheme:s}}const ia="mui-mode",sa="mui-color-scheme",la="data-mui-color-scheme";function ca(e){const{enableSystem:t=!1,defaultLightColorScheme:o="light",defaultDarkColorScheme:r="dark",modeStorageKey:n=ia,colorSchemeStorageKey:a=sa,attribute:i=la,colorSchemeNode:s="document.documentElement"}=e||{};return po("script",{dangerouslySetInnerHTML:{__html:`(function() { try {\n var mode = localStorage.getItem('${n}');\n var colorScheme = '';\n if (mode === 'system' || (!mode && !!${t})) {\n // handle system mode\n var mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = localStorage.getItem('${a}-dark') || '${r}';\n } else {\n colorScheme = localStorage.getItem('${a}-light') || '${o}';\n }\n }\n if (mode === 'light') {\n colorScheme = localStorage.getItem('${a}-light') || '${o}';\n }\n if (mode === 'dark') {\n colorScheme = localStorage.getItem('${a}-dark') || '${r}';\n }\n if (colorScheme) {\n ${s}.setAttribute('${i}', colorScheme);\n }\n } catch (e) {} })();`}})}function da(e){if("undefined"!=typeof window&&"system"===e){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}function ua(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function pa(e,t){if("undefined"==typeof window)return;let o;try{o=localStorage.getItem(e)||void 0}catch(e){}return o||t}function ma(e){const{defaultMode:t="light",defaultLightColorScheme:o,defaultDarkColorScheme:r,supportedColorSchemes:n=[],modeStorageKey:i=ia,colorSchemeStorageKey:s=sa,storageWindow:l=("undefined"==typeof window?void 0:window)}=e,c=n.join(","),[d,u]=a.useState((()=>{const e=pa(i,t);return{mode:e,systemMode:da(e),lightColorScheme:pa(`${s}-light`)||o,darkColorScheme:pa(`${s}-dark`)||r}})),p=function(e){return ua(e,(t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0))}(d),m=a.useCallback((e=>{u((o=>{const r=e||t;return e===o.mode?o:("undefined"!=typeof localStorage&&localStorage.setItem(i,r),L({},o,{mode:r,systemMode:da(r)}))}))}),[i,t]),f=a.useCallback((e=>{e&&"string"!=typeof e?e.light&&!c.includes(e.light)||e.dark&&!c.includes(e.dark)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):(u((t=>{const n=L({},t);return(e.light||null===e.light)&&(n.lightColorScheme=null===e.light?o:e.light),(e.dark||null===e.dark)&&(n.darkColorScheme=null===e.dark?r:e.dark),n})),e.light&&localStorage.setItem(`${s}-light`,e.light),e.dark&&localStorage.setItem(`${s}-dark`,e.dark)):e&&!c.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):u((t=>{const n=L({},t);return e?(ua(t,(t=>{localStorage.setItem(`${s}-${t}`,e),"light"===t&&(n.lightColorScheme=e),"dark"===t&&(n.darkColorScheme=e)})),n):(n.lightColorScheme=o,n.darkColorScheme=r,n)}))}),[c,s,o,r]),h=a.useCallback((e=>{"system"===d.mode&&u((t=>L({},t,{systemMode:e.matches?"dark":"light"})))}),[d.mode]),g=a.useRef(h);return g.current=h,a.useEffect((()=>{const e=(...e)=>g.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>t.removeListener(e)}),[]),a.useEffect((()=>{d.mode&&localStorage.setItem(i,d.mode),ua(d,(e=>{"light"===e&&localStorage.setItem(`${s}-light`,d.lightColorScheme),"dark"===e&&localStorage.setItem(`${s}-dark`,d.darkColorScheme)}))}),[d,s,i]),a.useEffect((()=>{const e=e=>{const o=e.newValue;"string"!=typeof e.key||!e.key.startsWith(s)||o&&!c.match(o)||(e.key.endsWith("light")&&f({light:o}),e.key.endsWith("dark")&&f({dark:o})),e.key!==i||o&&!["light","dark","system"].includes(o)||m(o||t)};if(l)return l.addEventListener("storage",e),()=>l.removeEventListener("storage",e)}),[f,m,i,s,c,t,l]),L({},d,{colorScheme:p,setMode:m,setColorScheme:f})}function fa(e=""){function t(...o){if(!o.length)return"";const r=o[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...o.slice(1))})`}return(o,...r)=>`var(--${e?`${e}-`:""}${o}${t(...r)})`}const ha=["colorSchemes","components"];const ga=["className","component","disableGutters","fixed","maxWidth","classes"],va=wn(),ba=Wn("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`maxWidth${xo(String(o.maxWidth))}`],o.fixed&&t.fixed,o.disableGutters&&t.disableGutters]}}),ya=e=>Vn({props:e,name:"MuiContainer",defaultTheme:va});const xa=["defaultProps","mixins","overrides","palette","props","styleOverrides"],wa=["type","mode"];function Sa(e){return"string"==typeof e}function Ca(e,t={},o){return Sa(e)?t:L({},t,{ownerState:L({},t.ownerState,o)})}function ka(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function Ra(e={}){const{ignoreAccents:t=!0,ignoreCase:o=!0,limit:r,matchFrom:n="any",stringify:a,trim:i=!1}=e;return(e,{inputValue:s,getOptionLabel:l})=>{let c=i?s.trim():s;o&&(c=c.toLowerCase()),t&&(c=ka(c));const d=e.filter((e=>{let r=(a||l)(e);return o&&(r=r.toLowerCase()),t&&(r=ka(r)),"start"===n?0===r.indexOf(c):r.indexOf(c)>-1}));return"number"==typeof r?d.slice(0,r):d}}function Ma(e,t){for(let o=0;o<e.length;o+=1)if(t(e[o]))return o;return-1}const $a=Ra();function Ta(e){const{autoComplete:t=!1,autoHighlight:o=!1,autoSelect:r=!1,blurOnSelect:n=!1,disabled:i,clearOnBlur:s=!e.freeSolo,clearOnEscape:l=!1,componentName:c="useAutocomplete",defaultValue:d=(e.multiple?[]:null),disableClearable:u=!1,disableCloseOnSelect:p=!1,disabledItemsFocusable:m=!1,disableListWrap:f=!1,filterOptions:h=$a,filterSelectedOptions:g=!1,freeSolo:v=!1,getOptionDisabled:b,getOptionLabel:y=(e=>{var t;return null!=(t=e.label)?t:e}),isOptionEqualToValue:x=((e,t)=>e===t),groupBy:w,handleHomeEndKeys:S=!e.freeSolo,id:C,includeInputInList:k=!1,inputValue:R,multiple:M=!1,onChange:$,onClose:T,onHighlightChange:I,onInputChange:P,onOpen:O,open:E,openOnFocus:A=!1,options:N,readOnly:z=!1,selectOnFocus:B=!e.freeSolo,value:F}=e,D=Po(C);let W=y;W=e=>{const t=y(e);return"string"!=typeof t?String(t):t};const H=a.useRef(!1),V=a.useRef(!0),j=a.useRef(null),U=a.useRef(null),[G,_]=a.useState(null),[q,K]=a.useState(-1),X=o?0:-1,Y=a.useRef(X),[Z,J]=Oo({controlled:F,default:d,name:c}),[Q,ee]=Oo({controlled:R,default:"",name:c,state:"inputValue"}),[te,oe]=a.useState(!1),re=a.useCallback(((e,t)=>{if(!(M?Z.length<t.length:null!==t)&&!s)return;let o;if(M)o="";else if(null==t)o="";else{const e=W(t);o="string"==typeof e?e:""}Q!==o&&(ee(o),P&&P(e,o,"reset"))}),[W,Q,M,P,ee,s,Z]),ne=a.useRef();a.useEffect((()=>{const e=Z!==ne.current;ne.current=Z,te&&!e||v&&!e||re(null,Z)}),[Z,re,te,ne,v]);const[ae,ie]=Oo({controlled:E,default:!1,name:c,state:"open"}),[se,le]=a.useState(!0),ce=!M&&null!=Z&&Q===W(Z),de=ae&&!z,ue=de?h(N.filter((e=>!g||!(M?Z:[Z]).some((t=>null!==t&&x(e,t))))),{inputValue:ce&&se?"":Q,getOptionLabel:W}):[],pe=ae&&ue.length>0&&!z,me=Lo((e=>{-1===e?j.current.focus():G.querySelector(`[data-tag-index="${e}"]`).focus()}));a.useEffect((()=>{M&&q>Z.length-1&&(K(-1),me(-1))}),[Z,M,q,me]);const fe=Lo((({event:e,index:t,reason:o="auto"})=>{if(Y.current=t,-1===t?j.current.removeAttribute("aria-activedescendant"):j.current.setAttribute("aria-activedescendant",`${D}-option-${t}`),I&&I(e,-1===t?null:ue[t],o),!U.current)return;const r=U.current.querySelector('[role="option"].Mui-focused');r&&(r.classList.remove("Mui-focused"),r.classList.remove("Mui-focusVisible"));const n=U.current.parentElement.querySelector('[role="listbox"]');if(!n)return;if(-1===t)return void(n.scrollTop=0);const a=U.current.querySelector(`[data-option-index="${t}"]`);if(a&&(a.classList.add("Mui-focused"),"keyboard"===o&&a.classList.add("Mui-focusVisible"),n.scrollHeight>n.clientHeight&&"mouse"!==o)){const e=a,t=n.clientHeight+n.scrollTop,o=e.offsetTop+e.offsetHeight;o>t?n.scrollTop=o-n.clientHeight:e.offsetTop-e.offsetHeight*(w?1.3:0)<n.scrollTop&&(n.scrollTop=e.offsetTop-e.offsetHeight*(w?1.3:0))}})),he=Lo((({event:e,diff:o,direction:r="next",reason:n="auto"})=>{if(!de)return;const a=function(e,t){if(!U.current||-1===e)return-1;let o=e;for(;;){if("next"===t&&o===ue.length||"previous"===t&&-1===o)return-1;const e=U.current.querySelector(`[data-option-index="${o}"]`),r=!m&&(!e||e.disabled||"true"===e.getAttribute("aria-disabled"));if(!(e&&!e.hasAttribute("tabindex")||r))return o;o+="next"===t?1:-1}}((()=>{const e=ue.length-1;if("reset"===o)return X;if("start"===o)return 0;if("end"===o)return e;const t=Y.current+o;return t<0?-1===t&&k?-1:f&&-1!==Y.current||Math.abs(o)>1?0:e:t>e?t===e+1&&k?-1:f||Math.abs(o)>1?e:0:t})(),r);if(fe({index:a,reason:n,event:e}),t&&"reset"!==o)if(-1===a)j.current.value=Q;else{const e=W(ue[a]);j.current.value=e;0===e.toLowerCase().indexOf(Q.toLowerCase())&&Q.length>0&&j.current.setSelectionRange(Q.length,e.length)}})),ge=a.useCallback((()=>{if(!de)return;const e=M?Z[0]:Z;if(0!==ue.length&&null!=e){if(U.current)if(null==e)Y.current>=ue.length-1?fe({index:ue.length-1}):fe({index:Y.current});else{const t=ue[Y.current];if(M&&t&&-1!==Ma(Z,(e=>x(t,e))))return;const o=Ma(ue,(t=>x(t,e)));-1===o?he({diff:"reset"}):fe({index:o})}}else he({diff:"reset"})}),[ue.length,!M&&Z,g,he,fe,de,Q,M]),ve=Lo((e=>{Mo(U,e),e&&ge()}));a.useEffect((()=>{ge()}),[ge]);const be=e=>{ae||(ie(!0),le(!0),O&&O(e))},ye=(e,t)=>{ae&&(ie(!1),T&&T(e,t))},xe=(e,t,o,r)=>{if(M){if(Z.length===t.length&&Z.every(((e,o)=>e===t[o])))return}else if(Z===t)return;$&&$(e,t,o,r),J(t)},we=a.useRef(!1),Se=(e,t,o="selectOption",r="options")=>{let a=o,i=t;if(M){i=Array.isArray(Z)?Z.slice():[];const e=Ma(i,(e=>x(t,e)));-1===e?i.push(t):"freeSolo"!==r&&(i.splice(e,1),a="removeOption")}re(e,i),xe(e,i,a,{option:t}),p||e.ctrlKey||e.metaKey||ye(e,a),(!0===n||"touch"===n&&we.current||"mouse"===n&&!we.current)&&j.current.blur()};const Ce=(e,t)=>{if(!M)return;""===Q&&ye(e,"toggleInput");let o=q;-1===q?""===Q&&"previous"===t&&(o=Z.length-1):(o+="next"===t?1:-1,o<0&&(o=0),o===Z.length&&(o=-1)),o=function(e,t){if(-1===e)return-1;let o=e;for(;;){if("next"===t&&o===Z.length||"previous"===t&&-1===o)return-1;const e=G.querySelector(`[data-tag-index="${o}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return o;o+="next"===t?1:-1}}(o,t),K(o),me(o)},ke=e=>{H.current=!0,ee(""),P&&P(e,"","clear"),xe(e,M?[]:null,"clear")},Re=e=>o=>{if(e.onKeyDown&&e.onKeyDown(o),!o.defaultMuiPrevented&&(-1!==q&&-1===["ArrowLeft","ArrowRight"].indexOf(o.key)&&(K(-1),me(-1)),229!==o.which))switch(o.key){case"Home":de&&S&&(o.preventDefault(),he({diff:"start",direction:"next",reason:"keyboard",event:o}));break;case"End":de&&S&&(o.preventDefault(),he({diff:"end",direction:"previous",reason:"keyboard",event:o}));break;case"PageUp":o.preventDefault(),he({diff:-5,direction:"previous",reason:"keyboard",event:o}),be(o);break;case"PageDown":o.preventDefault(),he({diff:5,direction:"next",reason:"keyboard",event:o}),be(o);break;case"ArrowDown":o.preventDefault(),he({diff:1,direction:"next",reason:"keyboard",event:o}),be(o);break;case"ArrowUp":o.preventDefault(),he({diff:-1,direction:"previous",reason:"keyboard",event:o}),be(o);break;case"ArrowLeft":Ce(o,"previous");break;case"ArrowRight":Ce(o,"next");break;case"Enter":if(-1!==Y.current&&de){const e=ue[Y.current],r=!!b&&b(e);if(o.preventDefault(),r)return;Se(o,e,"selectOption"),t&&j.current.setSelectionRange(j.current.value.length,j.current.value.length)}else v&&""!==Q&&!1===ce&&(M&&o.preventDefault(),Se(o,Q,"createOption","freeSolo"));break;case"Escape":de?(o.preventDefault(),o.stopPropagation(),ye(o,"escape")):l&&(""!==Q||M&&Z.length>0)&&(o.preventDefault(),o.stopPropagation(),ke(o));break;case"Backspace":if(M&&!z&&""===Q&&Z.length>0){const e=-1===q?Z.length-1:q,t=Z.slice();t.splice(e,1),xe(o,t,"removeOption",{option:Z[e]})}}},Me=e=>{oe(!0),A&&!H.current&&be(e)},$e=e=>{null!==U.current&&U.current.parentElement.contains(document.activeElement)?j.current.focus():(oe(!1),V.current=!0,H.current=!1,r&&-1!==Y.current&&de?Se(e,ue[Y.current],"blur"):r&&v&&""!==Q?Se(e,Q,"blur","freeSolo"):s&&re(e,Z),ye(e,"blur"))},Te=e=>{const t=e.target.value;Q!==t&&(ee(t),le(!1),P&&P(e,t,"input")),""===t?u||M||xe(e,null,"clear"):be(e)},Ie=e=>{fe({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"mouse"})},Pe=()=>{we.current=!0},Oe=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Se(e,ue[t],"selectOption"),we.current=!1},Le=e=>t=>{const o=Z.slice();o.splice(e,1),xe(t,o,"removeOption",{option:Z[e]})},Ee=e=>{ae?ye(e,"toggleInput"):be(e)},Ae=e=>{e.target.getAttribute("id")!==D&&e.preventDefault()},Ne=()=>{j.current.focus(),B&&V.current&&j.current.selectionEnd-j.current.selectionStart==0&&j.current.select(),V.current=!1},ze=e=>{""!==Q&&ae||Ee(e)};let Be=v&&Q.length>0;Be=Be||(M?Z.length>0:null!==Z);let Fe=ue;return w&&(Fe=ue.reduce(((e,t,o)=>{const r=w(t);return e.length>0&&e[e.length-1].group===r?e[e.length-1].options.push(t):e.push({key:o,index:o,group:r,options:[t]}),e}),[])),i&&te&&$e(),{getRootProps:(e={})=>L({"aria-owns":pe?`${D}-listbox`:null},e,{onKeyDown:Re(e),onMouseDown:Ae,onClick:Ne}),getInputLabelProps:()=>({id:`${D}-label`,htmlFor:D}),getInputProps:()=>({id:D,value:Q,onBlur:$e,onFocus:Me,onChange:Te,onMouseDown:ze,"aria-activedescendant":de?"":null,"aria-autocomplete":t?"both":"list","aria-controls":pe?`${D}-listbox`:void 0,"aria-expanded":pe,autoComplete:"off",ref:j,autoCapitalize:"none",spellCheck:"false",role:"combobox"}),getClearProps:()=>({tabIndex:-1,onClick:ke}),getPopupIndicatorProps:()=>({tabIndex:-1,onClick:Ee}),getTagProps:({index:e})=>L({key:e,"data-tag-index":e,tabIndex:-1},!z&&{onDelete:Le(e)}),getListboxProps:()=>({role:"listbox",id:`${D}-listbox`,"aria-labelledby":`${D}-label`,ref:ve,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{const o=(M?Z:[Z]).some((e=>null!=e&&x(t,e))),r=!!b&&b(t);return{key:W(t),tabIndex:-1,role:"option",id:`${D}-option-${e}`,onMouseOver:Ie,onClick:Oe,onTouchStart:Pe,"data-option-index":e,"aria-disabled":r,"aria-selected":o}},id:D,inputValue:Q,value:Z,dirty:Be,popupOpen:de,focused:te||-1!==q,anchorEl:G,setAnchorEl:_,focusedTag:q,groupedOptions:Fe}}function Ia(e){return er("BaseBadge",e)}tr("BaseBadge",["root","badge","invisible"]);const Pa=["badgeContent","component","children","className","components","componentsProps","invisible","max","showZero"];var Oa=a.forwardRef((function(e,t){const{component:o,children:r,className:n,components:a={},componentsProps:i={},max:s=99,showZero:l=!1}=e,c=E(e,Pa),{badgeContent:d,max:u,displayValue:p,invisible:m}=function(e){const{badgeContent:t,invisible:o=!1,max:r=99,showZero:n=!1}=e,a=qo({badgeContent:t,max:r});let i=o;!1!==o||0!==t||n||(i=!0);const{badgeContent:s,max:l=r}=i?a:e;return{badgeContent:s,invisible:i,max:l,displayValue:s&&Number(s)>l?`${l}+`:s}}(L({},e,{max:s})),f=L({},e,{badgeContent:d,invisible:m,max:u,showZero:l}),h=(e=>{const{invisible:t}=e;return Yo({root:["root"],badge:["badge",t&&"invisible"]},Ia,void 0)})(f),g=o||a.Root||"span",v=Ca(g,L({},c,i.root),f),b=a.Badge||"span",y=Ca(b,i.badge,f);return mo(g,L({},v,{ref:t},c,{className:hn(h.root,v.className,n),children:[r,po(b,L({},y,{className:hn(h.badge,y.className),children:p}))]}))}));function La(e){return e.substring(2).toLowerCase()}function Ea(e){const{children:t,disableReactTree:o=!1,mouseEvent:r="onClick",onClickAway:n,touchEvent:i="onTouchEnd"}=e,s=a.useRef(!1),l=a.useRef(null),c=a.useRef(!1),d=a.useRef(!1);a.useEffect((()=>(setTimeout((()=>{c.current=!0}),0),()=>{c.current=!1})),[]);const u=Eo(t.ref,l),p=Lo((e=>{const t=d.current;d.current=!1;const r=ko(l.current);if(!c.current||!l.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,r))return;if(s.current)return void(s.current=!1);let a;a=e.composedPath?e.composedPath().indexOf(l.current)>-1:!r.documentElement.contains(e.target)||l.current.contains(e.target),a||!o&&t||n(e)})),m=e=>o=>{d.current=!0;const r=t.props[e];r&&r(o)},f={ref:u};return!1!==i&&(f[i]=m(i)),a.useEffect((()=>{if(!1!==i){const e=La(i),t=ko(l.current),o=()=>{s.current=!0};return t.addEventListener(e,p),t.addEventListener("touchmove",o),()=>{t.removeEventListener(e,p),t.removeEventListener("touchmove",o)}}}),[p,i]),!1!==r&&(f[r]=m(r)),a.useEffect((()=>{if(!1!==r){const e=La(r),t=ko(l.current);return t.addEventListener(e,p),()=>{t.removeEventListener(e,p)}}}),[p,r]),po(a.Fragment,{children:a.cloneElement(t,f)})}var Aa="top",Na="bottom",za="right",Ba="left",Fa="auto",Da=[Aa,Na,za,Ba],Wa="start",Ha="end",Va="viewport",ja="popper",Ua=Da.reduce((function(e,t){return e.concat([t+"-"+Wa,t+"-"+Ha])}),[]),Ga=[].concat(Da,[Fa]).reduce((function(e,t){return e.concat([t,t+"-"+Wa,t+"-"+Ha])}),[]),_a=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function qa(e){return e?(e.nodeName||"").toLowerCase():null}function Ka(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Xa(e){return e instanceof Ka(e).Element||e instanceof Element}function Ya(e){return e instanceof Ka(e).HTMLElement||e instanceof HTMLElement}function Za(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Ka(e).ShadowRoot||e instanceof ShadowRoot)}var Ja={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var o=t.styles[e]||{},r=t.attributes[e]||{},n=t.elements[e];Ya(n)&&qa(n)&&(Object.assign(n.style,o),Object.keys(r).forEach((function(e){var t=r[e];!1===t?n.removeAttribute(e):n.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],n=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:o[e]).reduce((function(e,t){return e[t]="",e}),{});Ya(r)&&qa(r)&&(Object.assign(r.style,a),Object.keys(n).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Qa(e){return e.split("-")[0]}var ei=Math.max,ti=Math.min,oi=Math.round;function ri(e,t){void 0===t&&(t=!1);var o=e.getBoundingClientRect(),r=1,n=1;if(Ya(e)&&t){var a=e.offsetHeight,i=e.offsetWidth;i>0&&(r=oi(o.width)/i||1),a>0&&(n=oi(o.height)/a||1)}return{width:o.width/r,height:o.height/n,top:o.top/n,right:o.right/r,bottom:o.bottom/n,left:o.left/r,x:o.left/r,y:o.top/n}}function ni(e){var t=ri(e),o=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-o)<=1&&(o=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:r}}function ai(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&Za(o)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ii(e){return Ka(e).getComputedStyle(e)}function si(e){return["table","td","th"].indexOf(qa(e))>=0}function li(e){return((Xa(e)?e.ownerDocument:e.document)||window.document).documentElement}function ci(e){return"html"===qa(e)?e:e.assignedSlot||e.parentNode||(Za(e)?e.host:null)||li(e)}function di(e){return Ya(e)&&"fixed"!==ii(e).position?e.offsetParent:null}function ui(e){for(var t=Ka(e),o=di(e);o&&si(o)&&"static"===ii(o).position;)o=di(o);return o&&("html"===qa(o)||"body"===qa(o)&&"static"===ii(o).position)?t:o||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Ya(e)&&"fixed"===ii(e).position)return null;var o=ci(e);for(Za(o)&&(o=o.host);Ya(o)&&["html","body"].indexOf(qa(o))<0;){var r=ii(o);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return o;o=o.parentNode}return null}(e)||t}function pi(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function mi(e,t,o){return ei(e,ti(t,o))}function fi(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function hi(e,t){return t.reduce((function(t,o){return t[o]=e,t}),{})}function gi(e){return e.split("-")[1]}var vi={top:"auto",right:"auto",bottom:"auto",left:"auto"};function bi(e){var t,o=e.popper,r=e.popperRect,n=e.placement,a=e.variation,i=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,u=e.isFixed,p=i.x,m=void 0===p?0:p,f=i.y,h=void 0===f?0:f,g="function"==typeof d?d({x:m,y:h}):{x:m,y:h};m=g.x,h=g.y;var v=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),y=Ba,x=Aa,w=window;if(c){var S=ui(o),C="clientHeight",k="clientWidth";if(S===Ka(o)&&"static"!==ii(S=li(o)).position&&"absolute"===s&&(C="scrollHeight",k="scrollWidth"),S=S,n===Aa||(n===Ba||n===za)&&a===Ha)x=Na,h-=(u&&S===w&&w.visualViewport?w.visualViewport.height:S[C])-r.height,h*=l?1:-1;if(n===Ba||(n===Aa||n===Na)&&a===Ha)y=za,m-=(u&&S===w&&w.visualViewport?w.visualViewport.width:S[k])-r.width,m*=l?1:-1}var R,M=Object.assign({position:s},c&&vi),$=!0===d?function(e){var t=e.x,o=e.y,r=window.devicePixelRatio||1;return{x:oi(t*r)/r||0,y:oi(o*r)/r||0}}({x:m,y:h}):{x:m,y:h};return m=$.x,h=$.y,l?Object.assign({},M,((R={})[x]=b?"0":"",R[y]=v?"0":"",R.transform=(w.devicePixelRatio||1)<=1?"translate("+m+"px, "+h+"px)":"translate3d("+m+"px, "+h+"px, 0)",R)):Object.assign({},M,((t={})[x]=b?h+"px":"",t[y]=v?m+"px":"",t.transform="",t))}var yi={passive:!0};var xi={left:"right",right:"left",bottom:"top",top:"bottom"};function wi(e){return e.replace(/left|right|bottom|top/g,(function(e){return xi[e]}))}var Si={start:"end",end:"start"};function Ci(e){return e.replace(/start|end/g,(function(e){return Si[e]}))}function ki(e){var t=Ka(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ri(e){return ri(li(e)).left+ki(e).scrollLeft}function Mi(e){var t=ii(e),o=t.overflow,r=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+n+r)}function $i(e){return["html","body","#document"].indexOf(qa(e))>=0?e.ownerDocument.body:Ya(e)&&Mi(e)?e:$i(ci(e))}function Ti(e,t){var o;void 0===t&&(t=[]);var r=$i(e),n=r===(null==(o=e.ownerDocument)?void 0:o.body),a=Ka(r),i=n?[a].concat(a.visualViewport||[],Mi(r)?r:[]):r,s=t.concat(i);return n?s:s.concat(Ti(ci(i)))}function Ii(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Pi(e,t){return t===Va?Ii(function(e){var t=Ka(e),o=li(e),r=t.visualViewport,n=o.clientWidth,a=o.clientHeight,i=0,s=0;return r&&(n=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=r.offsetLeft,s=r.offsetTop)),{width:n,height:a,x:i+Ri(e),y:s}}(e)):Xa(t)?function(e){var t=ri(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Ii(function(e){var t,o=li(e),r=ki(e),n=null==(t=e.ownerDocument)?void 0:t.body,a=ei(o.scrollWidth,o.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),i=ei(o.scrollHeight,o.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),s=-r.scrollLeft+Ri(e),l=-r.scrollTop;return"rtl"===ii(n||o).direction&&(s+=ei(o.clientWidth,n?n.clientWidth:0)-a),{width:a,height:i,x:s,y:l}}(li(e)))}function Oi(e,t,o){var r="clippingParents"===t?function(e){var t=Ti(ci(e)),o=["absolute","fixed"].indexOf(ii(e).position)>=0&&Ya(e)?ui(e):e;return Xa(o)?t.filter((function(e){return Xa(e)&&ai(e,o)&&"body"!==qa(e)})):[]}(e):[].concat(t),n=[].concat(r,[o]),a=n[0],i=n.reduce((function(t,o){var r=Pi(e,o);return t.top=ei(r.top,t.top),t.right=ti(r.right,t.right),t.bottom=ti(r.bottom,t.bottom),t.left=ei(r.left,t.left),t}),Pi(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function Li(e){var t,o=e.reference,r=e.element,n=e.placement,a=n?Qa(n):null,i=n?gi(n):null,s=o.x+o.width/2-r.width/2,l=o.y+o.height/2-r.height/2;switch(a){case Aa:t={x:s,y:o.y-r.height};break;case Na:t={x:s,y:o.y+o.height};break;case za:t={x:o.x+o.width,y:l};break;case Ba:t={x:o.x-r.width,y:l};break;default:t={x:o.x,y:o.y}}var c=a?pi(a):null;if(null!=c){var d="y"===c?"height":"width";switch(i){case Wa:t[c]=t[c]-(o[d]/2-r[d]/2);break;case Ha:t[c]=t[c]+(o[d]/2-r[d]/2)}}return t}function Ei(e,t){void 0===t&&(t={});var o=t,r=o.placement,n=void 0===r?e.placement:r,a=o.boundary,i=void 0===a?"clippingParents":a,s=o.rootBoundary,l=void 0===s?Va:s,c=o.elementContext,d=void 0===c?ja:c,u=o.altBoundary,p=void 0!==u&&u,m=o.padding,f=void 0===m?0:m,h=fi("number"!=typeof f?f:hi(f,Da)),g=d===ja?"reference":ja,v=e.rects.popper,b=e.elements[p?g:d],y=Oi(Xa(b)?b:b.contextElement||li(e.elements.popper),i,l),x=ri(e.elements.reference),w=Li({reference:x,element:v,strategy:"absolute",placement:n}),S=Ii(Object.assign({},v,w)),C=d===ja?S:x,k={top:y.top-C.top+h.top,bottom:C.bottom-y.bottom+h.bottom,left:y.left-C.left+h.left,right:C.right-y.right+h.right},R=e.modifiersData.offset;if(d===ja&&R){var M=R[n];Object.keys(k).forEach((function(e){var t=[za,Na].indexOf(e)>=0?1:-1,o=[Aa,Na].indexOf(e)>=0?"y":"x";k[e]+=M[o]*t}))}return k}function Ai(e,t){void 0===t&&(t={});var o=t,r=o.placement,n=o.boundary,a=o.rootBoundary,i=o.padding,s=o.flipVariations,l=o.allowedAutoPlacements,c=void 0===l?Ga:l,d=gi(r),u=d?s?Ua:Ua.filter((function(e){return gi(e)===d})):Da,p=u.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=u);var m=p.reduce((function(t,o){return t[o]=Ei(e,{placement:o,boundary:n,rootBoundary:a,padding:i})[Qa(o)],t}),{});return Object.keys(m).sort((function(e,t){return m[e]-m[t]}))}function Ni(e,t,o){return void 0===o&&(o={x:0,y:0}),{top:e.top-t.height-o.y,right:e.right-t.width+o.x,bottom:e.bottom-t.height+o.y,left:e.left-t.width-o.x}}function zi(e){return[Aa,za,Na,Ba].some((function(t){return e[t]>=0}))}function Bi(e,t,o){void 0===o&&(o=!1);var r,n,a=Ya(t),i=Ya(t)&&function(e){var t=e.getBoundingClientRect(),o=oi(t.width)/e.offsetWidth||1,r=oi(t.height)/e.offsetHeight||1;return 1!==o||1!==r}(t),s=li(t),l=ri(e,i),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(a||!a&&!o)&&(("body"!==qa(t)||Mi(s))&&(c=(r=t)!==Ka(r)&&Ya(r)?{scrollLeft:(n=r).scrollLeft,scrollTop:n.scrollTop}:ki(r)),Ya(t)?((d=ri(t,!0)).x+=t.clientLeft,d.y+=t.clientTop):s&&(d.x=Ri(s))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function Fi(e){var t=new Map,o=new Set,r=[];function n(e){o.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!o.has(e)){var r=t.get(e);r&&n(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){o.has(e.name)||n(e)})),r}var Di={placement:"bottom",modifiers:[],strategy:"absolute"};function Wi(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Hi(e){void 0===e&&(e={});var t=e,o=t.defaultModifiers,r=void 0===o?[]:o,n=t.defaultOptions,a=void 0===n?Di:n;return function(e,t,o){void 0===o&&(o=a);var n,i,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Di,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,d={state:s,setOptions:function(o){var n="function"==typeof o?o(s.options):o;u(),s.options=Object.assign({},a,s.options,n),s.scrollParents={reference:Xa(e)?Ti(e):e.contextElement?Ti(e.contextElement):[],popper:Ti(t)};var i,c,p=function(e){var t=Fi(e);return _a.reduce((function(e,o){return e.concat(t.filter((function(e){return e.phase===o})))}),[])}((i=[].concat(r,s.options.modifiers),c=i.reduce((function(e,t){var o=e[t.name];return e[t.name]=o?Object.assign({},o,t,{options:Object.assign({},o.options,t.options),data:Object.assign({},o.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return s.orderedModifiers=p.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,o=e.options,r=void 0===o?{}:o,n=e.effect;if("function"==typeof n){var a=n({state:s,name:t,instance:d,options:r}),i=function(){};l.push(a||i)}})),d.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,o=e.popper;if(Wi(t,o)){s.rects={reference:Bi(t,ui(o),"fixed"===s.options.strategy),popper:ni(o)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var n=s.orderedModifiers[r],a=n.fn,i=n.options,l=void 0===i?{}:i,u=n.name;"function"==typeof a&&(s=a({state:s,options:l,name:u,instance:d})||s)}else s.reset=!1,r=-1}}},update:(n=function(){return new Promise((function(e){d.forceUpdate(),e(s)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(n())}))}))),i}),destroy:function(){u(),c=!0}};if(!Wi(e,t))return d;function u(){l.forEach((function(e){return e()})),l=[]}return d.setOptions(o).then((function(e){!c&&o.onFirstUpdate&&o.onFirstUpdate(e)})),d}}var Vi=Hi({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,o=e.instance,r=e.options,n=r.scroll,a=void 0===n||n,i=r.resize,s=void 0===i||i,l=Ka(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",o.update,yi)})),s&&l.addEventListener("resize",o.update,yi),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",o.update,yi)})),s&&l.removeEventListener("resize",o.update,yi)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,o=e.name;t.modifiersData[o]=Li({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,o=e.options,r=o.gpuAcceleration,n=void 0===r||r,a=o.adaptive,i=void 0===a||a,s=o.roundOffsets,l=void 0===s||s,c={placement:Qa(t.placement),variation:gi(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,bi(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,bi(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Ja,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,o=e.options,r=e.name,n=o.offset,a=void 0===n?[0,0]:n,i=Ga.reduce((function(e,o){return e[o]=function(e,t,o){var r=Qa(e),n=[Ba,Aa].indexOf(r)>=0?-1:1,a="function"==typeof o?o(Object.assign({},t,{placement:e})):o,i=a[0],s=a[1];return i=i||0,s=(s||0)*n,[Ba,za].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}(o,t.rects,a),e}),{}),s=i[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var n=o.mainAxis,a=void 0===n||n,i=o.altAxis,s=void 0===i||i,l=o.fallbackPlacements,c=o.padding,d=o.boundary,u=o.rootBoundary,p=o.altBoundary,m=o.flipVariations,f=void 0===m||m,h=o.allowedAutoPlacements,g=t.options.placement,v=Qa(g),b=l||(v===g||!f?[wi(g)]:function(e){if(Qa(e)===Fa)return[];var t=wi(e);return[Ci(e),t,Ci(t)]}(g)),y=[g].concat(b).reduce((function(e,o){return e.concat(Qa(o)===Fa?Ai(t,{placement:o,boundary:d,rootBoundary:u,padding:c,flipVariations:f,allowedAutoPlacements:h}):o)}),[]),x=t.rects.reference,w=t.rects.popper,S=new Map,C=!0,k=y[0],R=0;R<y.length;R++){var M=y[R],$=Qa(M),T=gi(M)===Wa,I=[Aa,Na].indexOf($)>=0,P=I?"width":"height",O=Ei(t,{placement:M,boundary:d,rootBoundary:u,altBoundary:p,padding:c}),L=I?T?za:Ba:T?Na:Aa;x[P]>w[P]&&(L=wi(L));var E=wi(L),A=[];if(a&&A.push(O[$]<=0),s&&A.push(O[L]<=0,O[E]<=0),A.every((function(e){return e}))){k=M,C=!1;break}S.set(M,A)}if(C)for(var N=function(e){var t=y.find((function(t){var o=S.get(t);if(o)return o.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},z=f?3:1;z>0;z--){if("break"===N(z))break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,r=e.name,n=o.mainAxis,a=void 0===n||n,i=o.altAxis,s=void 0!==i&&i,l=o.boundary,c=o.rootBoundary,d=o.altBoundary,u=o.padding,p=o.tether,m=void 0===p||p,f=o.tetherOffset,h=void 0===f?0:f,g=Ei(t,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),v=Qa(t.placement),b=gi(t.placement),y=!b,x=pi(v),w="x"===x?"y":"x",S=t.modifiersData.popperOffsets,C=t.rects.reference,k=t.rects.popper,R="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,M="number"==typeof R?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),$=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(S){if(a){var I,P="y"===x?Aa:Ba,O="y"===x?Na:za,L="y"===x?"height":"width",E=S[x],A=E+g[P],N=E-g[O],z=m?-k[L]/2:0,B=b===Wa?C[L]:k[L],F=b===Wa?-k[L]:-C[L],D=t.elements.arrow,W=m&&D?ni(D):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=H[P],j=H[O],U=mi(0,C[L],W[L]),G=y?C[L]/2-z-U-V-M.mainAxis:B-U-V-M.mainAxis,_=y?-C[L]/2+z+U+j+M.mainAxis:F+U+j+M.mainAxis,q=t.elements.arrow&&ui(t.elements.arrow),K=q?"y"===x?q.clientTop||0:q.clientLeft||0:0,X=null!=(I=null==$?void 0:$[x])?I:0,Y=E+_-X,Z=mi(m?ti(A,E+G-X-K):A,E,m?ei(N,Y):N);S[x]=Z,T[x]=Z-E}if(s){var J,Q="x"===x?Aa:Ba,ee="x"===x?Na:za,te=S[w],oe="y"===w?"height":"width",re=te+g[Q],ne=te-g[ee],ae=-1!==[Aa,Ba].indexOf(v),ie=null!=(J=null==$?void 0:$[w])?J:0,se=ae?re:te-C[oe]-k[oe]-ie+M.altAxis,le=ae?te+C[oe]+k[oe]-ie-M.altAxis:ne,ce=m&&ae?function(e,t,o){var r=mi(e,t,o);return r>o?o:r}(se,te,le):mi(m?se:re,te,m?le:ne);S[w]=ce,T[w]=ce-te}t.modifiersData[r]=T}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,o=e.state,r=e.name,n=e.options,a=o.elements.arrow,i=o.modifiersData.popperOffsets,s=Qa(o.placement),l=pi(s),c=[Ba,za].indexOf(s)>=0?"height":"width";if(a&&i){var d=function(e,t){return fi("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:hi(e,Da))}(n.padding,o),u=ni(a),p="y"===l?Aa:Ba,m="y"===l?Na:za,f=o.rects.reference[c]+o.rects.reference[l]-i[l]-o.rects.popper[c],h=i[l]-o.rects.reference[l],g=ui(a),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=f/2-h/2,y=d[p],x=v-u[c]-d[m],w=v/2-u[c]/2+b,S=mi(y,w,x),C=l;o.modifiersData[r]=((t={})[C]=S,t.centerOffset=S-w,t)}},effect:function(e){var t=e.state,o=e.options.element,r=void 0===o?"[data-popper-arrow]":o;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ai(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,o=e.name,r=t.rects.reference,n=t.rects.popper,a=t.modifiersData.preventOverflow,i=Ei(t,{elementContext:"reference"}),s=Ei(t,{altBoundary:!0}),l=Ni(i,r),c=Ni(s,n,a),d=zi(l),u=zi(c);t.modifiersData[o]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}}]});var ji=a.forwardRef((function(e,t){const{children:o,container:r,disablePortal:n=!1}=e,[i,l]=a.useState(null),c=Eo(a.isValidElement(o)?o.ref:null,t);return $o((()=>{n||l(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,n]),$o((()=>{if(i&&!n)return Mo(t,i),()=>{Mo(t,null)}}),[t,i,n]),n?a.isValidElement(o)?a.cloneElement(o,{ref:c}):o:i?s.createPortal(o,i):i}));const Ui=["anchorEl","children","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","TransitionProps"],Gi=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function _i(e){return"function"==typeof e?e():e}const qi={},Ki=a.forwardRef((function(e,t){const{anchorEl:o,children:r,direction:n,disablePortal:i,modifiers:s,open:l,placement:c,popperOptions:d,popperRef:u,TransitionProps:p}=e,m=E(e,Ui),f=a.useRef(null),h=Eo(f,t),g=a.useRef(null),v=Eo(g,u),b=a.useRef(v);$o((()=>{b.current=v}),[v]),a.useImperativeHandle(u,(()=>g.current),[]);const y=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(c,n),[x,w]=a.useState(y);a.useEffect((()=>{g.current&&g.current.forceUpdate()})),$o((()=>{if(!o||!l)return;_i(o);let e=[{name:"preventOverflow",options:{altBoundary:i}},{name:"flip",options:{altBoundary:i}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{w(e.placement)}}];null!=s&&(e=e.concat(s)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));const t=Vi(_i(o),f.current,L({placement:y},d,{modifiers:e}));return b.current(t),()=>{t.destroy(),b.current(null)}}),[o,i,s,l,d,y]);const S={placement:x};return null!==p&&(S.TransitionProps=p),po("div",L({ref:h,role:"tooltip"},m,{children:"function"==typeof r?r(S):r}))}));var Xi=a.forwardRef((function(e,t){const{anchorEl:o,children:r,container:n,direction:i="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:d,placement:u="bottom",popperOptions:p=qi,popperRef:m,style:f,transition:h=!1}=e,g=E(e,Gi),[v,b]=a.useState(!0);if(!l&&!d&&(!h||v))return null;const y=n||(o?ko(_i(o)).body:void 0);return po(ji,{disablePortal:s,container:y,children:po(Ki,L({anchorEl:o,direction:i,disablePortal:s,modifiers:c,ref:t,open:h?!v:d,placement:u,popperOptions:p,popperRef:m},g,{style:L({position:"fixed",top:0,left:0,display:d||!l||h&&!v?null:"none"},f),TransitionProps:h?{in:d,onEnter:()=>{b(!1)},onExited:()=>{b(!0)}}:null,children:r}))})}));function Yi(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Zi(e){return parseInt(Ro(e).getComputedStyle(e).paddingRight,10)||0}function Ji(e,t,o,r=[],n){const a=[t,o,...r],i=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(e=>{-1===a.indexOf(e)&&-1===i.indexOf(e.tagName)&&Yi(e,n)}))}function Qi(e,t){let o=-1;return e.some(((e,r)=>!!t(e)&&(o=r,!0))),o}function es(e,t){const o=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=ko(e);return t.body===e?Ro(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=jo(ko(r));o.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Zi(r)+e}px`;const t=ko(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{o.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Zi(t)+e}px`}))}const e=r.parentElement,t=Ro(r),n="HTML"===(null==e?void 0:e.nodeName)&&"scroll"===t.getComputedStyle(e).overflowY?e:r;o.push({value:n.style.overflow,property:"overflow",el:n},{value:n.style.overflowX,property:"overflow-x",el:n},{value:n.style.overflowY,property:"overflow-y",el:n}),n.style.overflow="hidden"}return()=>{o.forEach((({value:e,el:t,property:o})=>{e?t.style.setProperty(o,e):t.style.removeProperty(o)}))}}class ts{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let o=this.modals.indexOf(e);if(-1!==o)return o;o=this.modals.length,this.modals.push(e),e.modalRef&&Yi(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Ji(t,e.mount,e.modalRef,r,!0);const n=Qi(this.containers,(e=>e.container===t));return-1!==n?(this.containers[n].modals.push(e),o):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),o)}mount(e,t){const o=Qi(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[o];r.restore||(r.restore=es(r,t))}remove(e){const t=this.modals.indexOf(e);if(-1===t)return t;const o=Qi(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[o];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&Yi(e.modalRef,!0),Ji(r.container,e.mount,e.modalRef,r.hiddenSiblings,!1),this.containers.splice(o,1);else{const e=r.modals[r.modals.length-1];e.modalRef&&Yi(e.modalRef,!1)}return t}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}const os=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function rs(e){const t=[],o=[];return Array.from(e.querySelectorAll(os)).forEach(((e,r)=>{const n=function(e){const t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==n&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let o=t(`[name="${e.name}"]:checked`);return o||(o=t(`[name="${e.name}"]`)),o!==e}(e))}(e)&&(0===n?t.push(e):o.push({documentOrder:r,tabIndex:n,node:e}))})),o.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function ns(){return!0}function as(e){const{children:t,disableAutoFocus:o=!1,disableEnforceFocus:r=!1,disableRestoreFocus:n=!1,getTabbable:i=rs,isEnabled:s=ns,open:l}=e,c=a.useRef(),d=a.useRef(null),u=a.useRef(null),p=a.useRef(null),m=a.useRef(null),f=a.useRef(!1),h=a.useRef(null),g=Eo(t.ref,h),v=a.useRef(null);a.useEffect((()=>{l&&h.current&&(f.current=!o)}),[o,l]),a.useEffect((()=>{if(!l||!h.current)return;const e=ko(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex",-1),f.current&&h.current.focus()),()=>{n||(p.current&&p.current.focus&&(c.current=!0,p.current.focus()),p.current=null)}}),[l]),a.useEffect((()=>{if(!l||!h.current)return;const e=ko(h.current),t=t=>{const{current:o}=h;if(null!==o)if(e.hasFocus()&&!r&&s()&&!c.current){if(!o.contains(e.activeElement)){if(t&&m.current!==t.target||e.activeElement!==m.current)m.current=null;else if(null!==m.current)return;if(!f.current)return;let r=[];if(e.activeElement!==d.current&&e.activeElement!==u.current||(r=i(h.current)),r.length>0){var n,a;const e=Boolean((null==(n=v.current)?void 0:n.shiftKey)&&"Tab"===(null==(a=v.current)?void 0:a.key)),t=r[0],o=r[r.length-1];e?o.focus():t.focus()}else o.focus()}}else c.current=!1},o=t=>{v.current=t,!r&&s()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(c.current=!0,u.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",o,!0);const n=setInterval((()=>{"BODY"===e.activeElement.tagName&&t()}),50);return()=>{clearInterval(n),e.removeEventListener("focusin",t),e.removeEventListener("keydown",o,!0)}}),[o,r,n,s,l,i]);const b=e=>{null===p.current&&(p.current=e.relatedTarget),f.current=!0};return mo(a.Fragment,{children:[po("div",{tabIndex:0,onFocus:b,ref:d,"data-test":"sentinelStart"}),a.cloneElement(t,{ref:g,onFocus:e=>{null===p.current&&(p.current=e.relatedTarget),f.current=!0,m.current=e.target;const o=t.props.onFocus;o&&o(e)}}),po("div",{tabIndex:0,onFocus:b,ref:u,"data-test":"sentinelEnd"})]})}function is(e){return er("MuiModal",e)}var ss=tr("MuiModal",["root","hidden"]);const ls=["BackdropComponent","BackdropProps","children","classes","className","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","theme","onTransitionEnter","onTransitionExited"];const cs=new ts;var ds=a.forwardRef((function(e,t){const{BackdropComponent:o,BackdropProps:r,children:n,classes:i,className:s,closeAfterTransition:l=!1,component:c="div",components:d={},componentsProps:u={},container:p,disableAutoFocus:m=!1,disableEnforceFocus:f=!1,disableEscapeKeyDown:h=!1,disablePortal:g=!1,disableRestoreFocus:v=!1,disableScrollLock:b=!1,hideBackdrop:y=!1,keepMounted:x=!1,manager:w=cs,onBackdropClick:S,onClose:C,onKeyDown:k,open:R,theme:M,onTransitionEnter:$,onTransitionExited:T}=e,I=E(e,ls),[P,O]=a.useState(!0),A=a.useRef({}),N=a.useRef(null),z=a.useRef(null),B=Eo(z,t),F=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(e),D=()=>(A.current.modalRef=z.current,A.current.mountNode=N.current,A.current),W=()=>{w.mount(D(),{disableScrollLock:b}),z.current.scrollTop=0},H=Lo((()=>{const e=function(e){return"function"==typeof e?e():e}(p)||ko(N.current).body;w.add(D(),e),z.current&&W()})),V=a.useCallback((()=>w.isTopModal(D())),[w]),j=Lo((e=>{N.current=e,e&&(R&&V()?W():Yi(z.current,!0))})),U=a.useCallback((()=>{w.remove(D())}),[w]);a.useEffect((()=>()=>{U()}),[U]),a.useEffect((()=>{R?H():F&&l||U()}),[R,U,F,l,H]);const G=L({},e,{classes:i,closeAfterTransition:l,disableAutoFocus:m,disableEnforceFocus:f,disableEscapeKeyDown:h,disablePortal:g,disableRestoreFocus:v,disableScrollLock:b,exited:P,hideBackdrop:y,keepMounted:x}),_=(e=>{const{open:t,exited:o,classes:r}=e;return Yo({root:["root",!t&&o&&"hidden"]},is,r)})(G);if(!x&&!R&&(!F||P))return null;const q=()=>{O(!1),$&&$()},K=()=>{O(!0),T&&T(),l&&U()},X={};void 0===n.props.tabIndex&&(X.tabIndex="-1"),F&&(X.onEnter=wo(q,n.props.onEnter),X.onExited=wo(K,n.props.onExited));const Y=d.Root||c,Z=u.root||{};return po(ji,{ref:j,container:p,disablePortal:g,children:mo(Y,L({role:"presentation"},Z,!Sa(Y)&&{as:c,ownerState:L({},G,Z.ownerState),theme:M},I,{ref:B,onKeyDown:e=>{k&&k(e),"Escape"===e.key&&V()&&(h||(e.stopPropagation(),C&&C(e,"escapeKeyDown")))},className:hn(_.root,Z.className,s),children:[!y&&o?po(o,L({"aria-hidden":!0,open:R,onClick:e=>{e.target===e.currentTarget&&(S&&S(e),C&&C(e,"backdropClick"))}},r)):null,po(as,{disableEnforceFocus:f,disableAutoFocus:m,disableRestoreFocus:v,isEnabled:V,open:R,children:a.cloneElement(n,X)})]}))})}));function us(e){const{children:t,defer:o=!1,fallback:r=null}=e,[n,i]=a.useState(!1);return $o((()=>{o||i(!0)}),[o]),a.useEffect((()=>{o&&i(!0)}),[o]),po(a.Fragment,{children:n?t:r})}function ps(e){return er("MuiSlider",e)}var ms=tr("MuiSlider",["root","active","focusVisible","disabled","dragging","marked","vertical","trackInverted","trackFalse","rail","track","mark","markActive","markLabel","markLabelActive","thumb","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel"]);function fs(e){const{children:t,className:o,value:r,theme:n}=e,i=(e=>{const{open:t}=e;return{offset:hn(t&&ms.valueLabelOpen),circle:ms.valueLabelCircle,label:ms.valueLabelLabel}})(e);return a.cloneElement(t,{className:hn(t.props.className)},mo(a.Fragment,{children:[t.props.children,po("span",{className:hn(i.offset,o),theme:n,"aria-hidden":!0,children:po("span",{className:i.circle,children:po("span",{className:i.label,children:r})})})]}))}function hs(e,t){return e-t}function gs(e,t,o){return null==e?t:Math.min(Math.max(t,e),o)}function vs(e,t){var o;const{index:r}=null!=(o=e.reduce(((e,o,r)=>{const n=Math.abs(t-o);return null===e||n<e.distance||n===e.distance?{distance:n,index:r}:e}),null))?o:{};return r}function bs(e,t){if(void 0!==t.current&&e.changedTouches){const o=e;for(let e=0;e<o.changedTouches.length;e+=1){const r=o.changedTouches[e];if(r.identifier===t.current)return{x:r.clientX,y:r.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function ys(e,t,o){return 100*(e-t)/(o-t)}function xs(e,t,o){const r=Math.round((e-o)/t)*t+o;return Number(r.toFixed(function(e){if(Math.abs(e)<1){const t=e.toExponential().split("e-"),o=t[0].split(".")[1];return(o?o.length:0)+parseInt(t[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}(t)))}function ws({values:e,newValue:t,index:o}){const r=e.slice();return r[o]=t,r.sort(hs)}function Ss({sliderRef:e,activeIndex:t,setActive:o}){var r,n;const a=ko(e.current);var i;null!=(r=e.current)&&r.contains(a.activeElement)&&Number(null==a||null==(n=a.activeElement)?void 0:n.getAttribute("data-index"))===t||(null==(i=e.current)||i.querySelector(`[type="range"][data-index="${t}"]`).focus());o&&o(t)}const Cs={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},ks=e=>e;let Rs;function Ms(){return void 0===Rs&&(Rs="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),Rs}function $s(e){const{ref:t,"aria-labelledby":o,defaultValue:r,disableSwap:n=!1,disabled:i=!1,marks:s=!1,max:l=100,min:c=0,name:d,onChange:u,onChangeCommitted:p,orientation:m="horizontal",scale:f=ks,step:h=1,tabIndex:g,value:v,isRtl:b=!1}=e,y=a.useRef(),[x,w]=a.useState(-1),[S,C]=a.useState(-1),[k,R]=a.useState(!1),M=a.useRef(0),[$,T]=Oo({controlled:v,default:null!=r?r:c,name:"Slider"}),I=u&&((e,t,o)=>{const r=e.nativeEvent||e,n=new r.constructor(r.type,r);Object.defineProperty(n,"target",{writable:!0,value:{value:t,name:d}}),u(n,t,o)}),P=Array.isArray($);let O=P?$.slice().sort(hs):[$];O=O.map((e=>gs(e,c,l)));const E=!0===s&&null!==h?[...Array(Math.floor((l-c)/h)+1)].map(((e,t)=>({value:c+h*t}))):s||[],A=E.map((e=>e.value)),{isFocusVisibleRef:N,onBlur:z,onFocus:B,ref:F}=Vo(),[D,W]=a.useState(-1),H=a.useRef(),V=Eo(F,H),j=Eo(t,V),U=e=>t=>{var o;const r=Number(t.currentTarget.getAttribute("data-index"));B(t),!0===N.current&&W(r),C(r),null==e||null==(o=e.onFocus)||o.call(e,t)},G=e=>t=>{var o;z(t),!1===N.current&&W(-1),C(-1),null==e||null==(o=e.onBlur)||o.call(e,t)};$o((()=>{var e;i&&H.current.contains(document.activeElement)&&(null==(e=document.activeElement)||e.blur())}),[i]),i&&-1!==x&&w(-1),i&&-1!==D&&W(-1);const _=e=>t=>{var o;null==(o=e.onChange)||o.call(e,t);const r=Number(t.currentTarget.getAttribute("data-index")),a=O[r],i=A.indexOf(a);let s=t.target.valueAsNumber;if(E&&null==h&&(s=s<a?A[i-1]:A[i+1]),s=gs(s,c,l),E&&null==h){const e=A.indexOf(O[r]);s=s<O[r]?A[e-1]:A[e+1]}if(P){n&&(s=gs(s,O[r-1]||-1/0,O[r+1]||1/0));const e=s;s=ws({values:O,newValue:s,index:r});let t=r;n||(t=s.indexOf(e)),Ss({sliderRef:H,activeIndex:t})}T(s),W(r),I&&I(t,s,r),p&&p(t,s)},q=a.useRef();let K=m;b&&"horizontal"===m&&(K+="-reverse");const X=({finger:e,move:t=!1,values:o})=>{const{current:r}=H,{width:a,height:i,bottom:s,left:d}=r.getBoundingClientRect();let u,p;if(u=0===K.indexOf("vertical")?(s-e.y)/i:(e.x-d)/a,-1!==K.indexOf("-reverse")&&(u=1-u),p=function(e,t,o){return(o-t)*e+t}(u,c,l),h)p=xs(p,h,c);else{const e=vs(A,p);p=A[e]}p=gs(p,c,l);let m=0;if(P){m=t?q.current:vs(o,p),n&&(p=gs(p,o[m-1]||-1/0,o[m+1]||1/0));const e=p;p=ws({values:o,newValue:p,index:m}),n&&t||(m=p.indexOf(e),q.current=m)}return{newValue:p,activeIndex:m}},Y=Lo((e=>{const t=bs(e,y);if(!t)return;if(M.current+=1,"mousemove"===e.type&&0===e.buttons)return void Z(e);const{newValue:o,activeIndex:r}=X({finger:t,move:!0,values:O});Ss({sliderRef:H,activeIndex:r,setActive:w}),T(o),!k&&M.current>2&&R(!0),I&&I(e,o,r)})),Z=Lo((e=>{const t=bs(e,y);if(R(!1),!t)return;const{newValue:o}=X({finger:t,move:!0,values:O});w(-1),"touchend"===e.type&&C(-1),p&&p(e,o),y.current=void 0,Q()})),J=Lo((e=>{if(i)return;Ms()||e.preventDefault();const t=e.changedTouches[0];null!=t&&(y.current=t.identifier);const o=bs(e,y);if(!1!==o){const{newValue:t,activeIndex:r}=X({finger:o,values:O});Ss({sliderRef:H,activeIndex:r,setActive:w}),T(t),I&&I(e,t,r)}M.current=0;const r=ko(H.current);r.addEventListener("touchmove",Y),r.addEventListener("touchend",Z)})),Q=a.useCallback((()=>{const e=ko(H.current);e.removeEventListener("mousemove",Y),e.removeEventListener("mouseup",Z),e.removeEventListener("touchmove",Y),e.removeEventListener("touchend",Z)}),[Z,Y]);a.useEffect((()=>{const{current:e}=H;return e.addEventListener("touchstart",J,{passive:Ms()}),()=>{e.removeEventListener("touchstart",J,{passive:Ms()}),Q()}}),[Q,J]),a.useEffect((()=>{i&&Q()}),[i,Q]);const ee=e=>t=>{var o;if(null==(o=e.onMouseDown)||o.call(e,t),i)return;if(t.defaultPrevented)return;if(0!==t.button)return;t.preventDefault();const r=bs(t,y);if(!1!==r){const{newValue:e,activeIndex:o}=X({finger:r,values:O});Ss({sliderRef:H,activeIndex:o,setActive:w}),T(e),I&&I(t,e,o)}M.current=0;const n=ko(H.current);n.addEventListener("mousemove",Y),n.addEventListener("mouseup",Z)},te=ys(P?O[0]:c,c,l),oe=ys(O[O.length-1],c,l)-te,re=e=>t=>{var o;null==(o=e.onMouseOver)||o.call(e,t);const r=Number(t.currentTarget.getAttribute("data-index"));C(r)},ne=e=>t=>{var o;null==(o=e.onMouseLeave)||o.call(e,t),C(-1)};return{axis:K,axisProps:Cs,getRootProps:e=>{const t=L({},e,{onMouseDown:ee(e||{})});return L({ref:j},t)},getHiddenInputProps:t=>{const r=L({},t,{onChange:_(t||{}),onFocus:U(t||{}),onBlur:G(t||{})});return L({tabIndex:g,"aria-labelledby":o,"aria-orientation":m,"aria-valuemax":f(l),"aria-valuemin":f(c),name:d,type:"range",min:e.min,max:e.max,step:e.step,disabled:i},r,{style:L({},Ko,{direction:b?"rtl":"ltr",width:"100%",height:"100%"})})},getThumbProps:e=>{const t=L({},e,{onMouseOver:re(e||{}),onMouseLeave:ne(e||{})});return L({},t)},dragging:k,marks:E,values:O,active:x,focusVisible:D,open:S,range:P,trackOffset:te,trackLeap:oe}}const Ts=["aria-label","aria-valuetext","className","component","classes","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","onMouseDown","orientation","scale","step","tabIndex","track","value","valueLabelDisplay","valueLabelFormat","isRtl","components","componentsProps"],Is=e=>e,Ps=({children:e})=>e;var Os=a.forwardRef((function(e,t){var o,r,n,i,s,l,c;const{"aria-label":d,"aria-valuetext":u,className:p,component:m,classes:f,disableSwap:h=!1,disabled:g=!1,getAriaLabel:v,getAriaValueText:b,marks:y=!1,max:x=100,min:w=0,onMouseDown:S,orientation:C="horizontal",scale:k=Is,step:R=1,track:M="normal",valueLabelDisplay:$="off",valueLabelFormat:T=Is,isRtl:I=!1,components:P={},componentsProps:O={}}=e,A=E(e,Ts),N=L({},e,{marks:y,classes:f,disabled:g,isRtl:I,max:x,min:w,orientation:C,scale:k,step:R,track:M,valueLabelDisplay:$,valueLabelFormat:T}),{axisProps:z,getRootProps:B,getHiddenInputProps:F,getThumbProps:D,open:W,active:H,axis:V,range:j,focusVisible:U,dragging:G,marks:_,values:q,trackOffset:K,trackLeap:X}=$s(L({},N,{ref:t}));N.marked=_.length>0&&_.some((e=>e.label)),N.dragging=G;const Y=null!=(o=null!=m?m:P.Root)?o:"span",Z=Ca(Y,L({},A,O.root),N),J=null!=(r=P.Rail)?r:"span",Q=Ca(J,O.rail,N),ee=null!=(n=P.Track)?n:"span",te=Ca(ee,O.track,N),oe=L({},z[V].offset(K),z[V].leap(X)),re=null!=(i=P.Thumb)?i:"span",ne=Ca(re,O.thumb,N),ae=null!=(s=P.ValueLabel)?s:fs,ie=Ca(ae,O.valueLabel,N),se=null!=(l=P.Mark)?l:"span",le=Ca(se,O.mark,N),ce=null!=(c=P.MarkLabel)?c:"span",de=Ca(ce,O.markLabel,N),ue=P.Input||"input",pe=Ca(ue,O.input,N),me=F(),fe=(e=>{const{disabled:t,dragging:o,marked:r,orientation:n,track:a,classes:i}=e;return Yo({root:["root",t&&"disabled",o&&"dragging",r&&"marked","vertical"===n&&"vertical","inverted"===a&&"trackInverted",!1===a&&"trackFalse"],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled"],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]},ps,i)})(N);return mo(Y,L({},Z,B({onMouseDown:S}),{className:hn(fe.root,Z.className,p),children:[po(J,L({},Q,{className:hn(fe.rail,Q.className)})),po(ee,L({},te,{className:hn(fe.track,te.className),style:L({},oe,te.style)})),_.filter((e=>e.value>=w&&e.value<=x)).map(((e,t)=>{const o=ys(e.value,w,x),r=z[V].offset(o);let n;return n=!1===M?-1!==q.indexOf(e.value):"normal"===M&&(j?e.value>=q[0]&&e.value<=q[q.length-1]:e.value<=q[0])||"inverted"===M&&(j?e.value<=q[0]||e.value>=q[q.length-1]:e.value>=q[0]),mo(a.Fragment,{children:[po(se,L({"data-index":t},le,!Sa(se)&&{markActive:n},{style:L({},r,le.style),className:hn(fe.mark,le.className,n&&fe.markActive)})),null!=e.label?po(ce,L({"aria-hidden":!0,"data-index":t},de,!Sa(ce)&&{markLabelActive:n},{style:L({},r,de.style),className:hn(fe.markLabel,de.className,n&&fe.markLabelActive),children:e.label})):null]},e.value)})),q.map(((e,t)=>{const o=ys(e,w,x),r=z[V].offset(o),n="off"===$?Ps:ae;return po(a.Fragment,{children:po(n,L({},!Sa(n)&&{valueLabelFormat:T,valueLabelDisplay:$,value:"function"==typeof T?T(k(e),t):T,index:t,open:W===t||H===t||"on"===$,disabled:g},ie,{className:hn(fe.valueLabel,ie.className),children:po(re,L({"data-index":t},ne,D(),{className:hn(fe.thumb,ne.className,H===t&&fe.active,U===t&&fe.focusVisible)},!Sa(re)&&{ownerState:L({},N,ne.ownerState)},{style:L({},r,{pointerEvents:h&&H!==t?"none":void 0},ne.style),children:po(ue,L({},me,{"data-index":t,"aria-label":v?v(t):d,"aria-valuenow":k(e),"aria-valuetext":b?b(k(e),t):u,value:q[t]},!Sa(ue)&&{ownerState:L({},N,pe.ownerState)},pe,{style:L({},me.style,pe.style)}))}))}))},t)}))]}))}));const Ls=["onChange","maxRows","minRows","style","value"];function Es(e,t){return parseInt(e[t],10)||0}const As={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};var Ns=a.forwardRef((function(e,t){const{onChange:o,maxRows:r,minRows:n=1,style:i,value:s}=e,l=E(e,Ls),{current:c}=a.useRef(null!=s),d=a.useRef(null),u=Eo(t,d),p=a.useRef(null),m=a.useRef(0),[f,h]=a.useState({}),g=a.useCallback((()=>{const t=d.current,o=Ro(t).getComputedStyle(t);if("0px"===o.width)return;const a=p.current;a.style.width=o.width,a.value=t.value||e.placeholder||"x","\n"===a.value.slice(-1)&&(a.value+=" ");const i=o["box-sizing"],s=Es(o,"padding-bottom")+Es(o,"padding-top"),l=Es(o,"border-bottom-width")+Es(o,"border-top-width"),c=a.scrollHeight;a.value="x";const u=a.scrollHeight;let f=c;n&&(f=Math.max(Number(n)*u,f)),r&&(f=Math.min(Number(r)*u,f)),f=Math.max(f,u);const g=f+("border-box"===i?s+l:0),v=Math.abs(f-c)<=1;h((e=>m.current<20&&(g>0&&Math.abs((e.outerHeightStyle||0)-g)>1||e.overflow!==v)?(m.current+=1,{overflow:v,outerHeightStyle:g}):e))}),[r,n,e.placeholder]);a.useEffect((()=>{const e=So((()=>{m.current=0,g()})),t=Ro(d.current);let o;return t.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(o=new ResizeObserver(e),o.observe(d.current)),()=>{e.clear(),t.removeEventListener("resize",e),o&&o.disconnect()}}),[g]),$o((()=>{g()})),a.useEffect((()=>{m.current=0}),[s]);return mo(a.Fragment,{children:[po("textarea",L({value:s,onChange:e=>{m.current=0,c||g(),o&&o(e)},ref:u,rows:n,style:L({height:f.outerHeightStyle,overflow:f.overflow?"hidden":null},i)},l)),po("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:L({},As,i,{padding:0})})]})}));const zs=["mode","contrastThreshold","tonalOffset"],Bs={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:c.white,default:c.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Fs={text:{primary:c.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:c.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Ds(e,t,o,r){const n=r.light||r,a=r.dark||1.5*r;e[t]||(e.hasOwnProperty(o)?e[t]=e[o]:"light"===t?e.light=Qn(e.main,n):"dark"===t&&(e.dark=Jn(e.main,a)))}function Ws(e){const{mode:t="light",contrastThreshold:o=3,tonalOffset:r=.2}=e,n=E(e,zs),a=e.primary||function(e="light"){return"dark"===e?{main:h[200],light:h[50],dark:h[400]}:{main:h[700],light:h[400],dark:h[800]}}(t),i=e.secondary||function(e="light"){return"dark"===e?{main:p[200],light:p[50],dark:p[400]}:{main:p[500],light:p[300],dark:p[700]}}(t),s=e.error||function(e="light"){return"dark"===e?{main:d[500],light:d[300],dark:d[700]}:{main:d[700],light:d[400],dark:d[800]}}(t),l=e.info||function(e="light"){return"dark"===e?{main:g[400],light:g[300],dark:g[700]}:{main:g[700],light:g[500],dark:g[900]}}(t),u=e.success||function(e="light"){return"dark"===e?{main:y[400],light:y[300],dark:y[700]}:{main:y[800],light:y[500],dark:y[900]}}(t),m=e.warning||function(e="light"){return"dark"===e?{main:k[400],light:k[300],dark:k[700]}:{main:"#ed6c02",light:k[500],dark:k[900]}}(t);function f(e){return Yn(e,Fs.text.primary)>=o?Fs.text.primary:Bs.text.primary}const v=({color:e,name:t,mainShade:o=500,lightShade:n=300,darkShade:a=700})=>{if(!(e=L({},e)).main&&e[o]&&(e.main=e[o]),!e.hasOwnProperty("main"))throw new Error(yo(11,t?` (${t})`:"",o));if("string"!=typeof e.main)throw new Error(yo(12,t?` (${t})`:"",JSON.stringify(e.main)));return Ds(e,"light",n,r),Ds(e,"dark",a,r),e.contrastText||(e.contrastText=f(e.main)),e},b={dark:Fs,light:Bs};return bo(L({common:L({},c),mode:t,primary:v({color:a,name:"primary"}),secondary:v({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:v({color:s,name:"error"}),warning:v({color:m,name:"warning"}),info:v({color:l,name:"info"}),success:v({color:u,name:"success"}),grey:$,contrastThreshold:o,getContrastText:f,augmentColor:v,tonalOffset:r},b[t]),n)}const Hs=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const Vs={textTransform:"uppercase"},js='"Roboto", "Helvetica", "Arial", sans-serif';function Us(e,t){const o="function"==typeof t?t(e):t,{fontFamily:r=js,fontSize:n=14,fontWeightLight:a=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:d,pxToRem:u}=o,p=E(o,Hs),m=n/14,f=u||(e=>e/c*m+"rem"),h=(e,t,o,n,a)=>{return L({fontFamily:r,fontWeight:e,fontSize:f(t),lineHeight:o},r===js?{letterSpacing:(i=n/t,Math.round(1e5*i)/1e5)+"em"}:{},a,d);var i},g={h1:h(a,96,1.167,-1.5),h2:h(a,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(s,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(s,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(s,14,1.75,.4,Vs),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,Vs)};return bo(L({htmlFontSize:c,pxToRem:f,fontFamily:r,fontSize:n,fontWeightLight:a,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function Gs(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}var _s=["none",Gs(0,2,1,-1,0,1,1,0,0,1,3,0),Gs(0,3,1,-2,0,2,2,0,0,1,5,0),Gs(0,3,3,-2,0,3,4,0,0,1,8,0),Gs(0,2,4,-1,0,4,5,0,0,1,10,0),Gs(0,3,5,-1,0,5,8,0,0,1,14,0),Gs(0,3,5,-1,0,6,10,0,0,1,18,0),Gs(0,4,5,-2,0,7,10,1,0,2,16,1),Gs(0,5,5,-3,0,8,10,1,0,3,14,2),Gs(0,5,6,-3,0,9,12,1,0,3,16,2),Gs(0,6,6,-3,0,10,14,1,0,4,18,3),Gs(0,6,7,-4,0,11,15,1,0,4,20,3),Gs(0,7,8,-4,0,12,17,2,0,5,22,4),Gs(0,7,8,-4,0,13,19,2,0,5,24,4),Gs(0,7,9,-4,0,14,21,2,0,5,26,4),Gs(0,8,9,-5,0,15,22,2,0,6,28,5),Gs(0,8,10,-5,0,16,24,2,0,6,30,5),Gs(0,8,11,-5,0,17,26,2,0,6,32,5),Gs(0,9,11,-5,0,18,28,2,0,7,34,6),Gs(0,9,12,-6,0,19,29,2,0,7,36,6),Gs(0,10,13,-6,0,20,31,3,0,8,38,7),Gs(0,10,13,-6,0,21,33,3,0,8,40,7),Gs(0,10,14,-6,0,22,35,3,0,8,42,7),Gs(0,11,14,-7,0,23,36,3,0,9,44,8),Gs(0,11,15,-7,0,24,38,3,0,9,46,8)];const qs=["duration","easing","delay"],Ks={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Xs={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ys(e){return`${Math.round(e)}ms`}function Zs(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Js(e){const t=L({},Ks,e.easing),o=L({},Xs,e.duration);return L({getAutoHeightDuration:Zs,create:(e=["all"],r={})=>{const{duration:n=o.standard,easing:a=t.easeInOut,delay:i=0}=r;return E(r,qs),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof n?n:Ys(n)} ${a} ${"string"==typeof i?i:Ys(i)}`)).join(",")}},e,{easing:t,duration:o})}var Qs={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const el=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function tl(e={},...t){const{mixins:o={},palette:r={},transitions:n={},typography:a={}}=e,i=E(e,el),s=Ws(r),l=wn(e);let c=bo(l,{mixins:(d=l.breakpoints,u=o,L({toolbar:{minHeight:56,[d.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[d.up("sm")]:{minHeight:64}}},u)),palette:s,shadows:_s.slice(),typography:Us(s,a),transitions:Js(n),zIndex:L({},Qs)});var d,u;return c=bo(c,i),c=t.reduce(((e,t)=>bo(e,t)),c),c}let ol=!1;function rl(e){return String(parseFloat(e)).length===String(e).length}function nl(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function al(e){return parseFloat(e)}function il({lineHeight:e,pixels:t,htmlFontSize:o}){return t/(e*o)}var sl=tl();function ll(){return Tn(sl)}function cl({props:e,name:t}){return Vn({props:e,name:t,defaultTheme:sl})}const dl=e=>Bn(e)&&"classes"!==e,ul=Bn;var pl=Dn({defaultTheme:sl,rootShouldForwardProp:dl});function ml(e){return er("MuiPaper",e)}var fl=tr("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const hl=["className","component","elevation","square","variant"],gl=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)},vl=pl("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],!o.square&&t.rounded,"elevation"===o.variant&&t[`elevation${o.elevation}`]]}})((({theme:e,ownerState:t})=>{var o;return L({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&L({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${Zn("#fff",gl(t.elevation))}, ${Zn("#fff",gl(t.elevation))})`},e.vars&&{backgroundImage:null==(o=e.vars.overlays)?void 0:o[t.elevation]}))}));var bl=a.forwardRef((function(e,t){const o=cl({props:e,name:"MuiPaper"}),{className:r,component:n="div",elevation:a=1,square:i=!1,variant:s="elevation"}=o,l=E(o,hl),c=L({},o,{component:n,elevation:a,square:i,variant:s}),d=(e=>{const{square:t,elevation:o,variant:r,classes:n}=e;return Yo({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${o}`]},ml,n)})(c);return po(vl,L({as:n,ownerState:c,className:hn(d.root,r),ref:t},l))}));const yl=["colorSchemes"],xl=["palette"],wl=[...Array(25)].map(((e,t)=>{if(0===t)return;const o=gl(t);return`linear-gradient(rgba(255 255 255 / ${o}), rgba(255 255 255 / ${o}))`}));function Sl(e={},...t){var o,r,n,a,i,s;const{colorSchemes:l={}}=e,c=tl(L({},E(e,yl),l.light&&{palette:null==(o=l.light)?void 0:o.palette})),{palette:d}=c,u=E(c,xl),{palette:p}=tl({palette:L({mode:"dark"},null==(r=l.dark)?void 0:r.palette)});let m=L({},u,{colorSchemes:L({},l,{light:L({},l.light,{palette:d,opacity:L({placeholder:.42,inputTouchBottomLine:.42},null==(n=l.light)?void 0:n.opacity),overlays:(null==(a=l.light)?void 0:a.overlays)||[]}),dark:L({},l.dark,{palette:p,opacity:L({placeholder:.5,inputTouchBottomLine:.7},null==(i=l.dark)?void 0:i.opacity),overlays:(null==(s=l.dark)?void 0:s.overlays)||wl})})});return Object.keys(m.colorSchemes).forEach((e=>{const t=m.colorSchemes[e].palette;"dark"===e?(t.common.background=t.common.background||"#000",t.common.onBackground=t.common.onBackground||"#fff"):(t.common.background=t.common.background||"#fff",t.common.onBackground=t.common.onBackground||"#000"),t.common.backgroundChannel=_n(t.common.background),t.common.onBackgroundChannel=_n(t.common.onBackground),t.dividerChannel=_n(t.divider),t.grey.dark||(t.grey.dark=t.grey[700]),Object.keys(t).forEach((e=>{const o=t[e];o.main&&(t[e].mainChannel=_n(o.main)),o.light&&(t[e].lightChannel=_n(o.light)),o.dark&&(t[e].darkChannel=_n(o.dark)),o.contrastText&&(t[e].contrastTextChannel=_n(o.contrastText)),o.primary&&(t[e].primaryChannel=_n(o.primary)),o.secondary&&(t[e].secondaryChannel=_n(o.secondary)),o.active&&(t[e].activeChannel=_n(o.active))}))})),m=t.reduce(((e,t)=>bo(e,t)),m),m}const Cl=Sl(),{CssVarsProvider:kl,useColorScheme:Rl,getInitColorSchemeScript:Ml}=function(e){const{theme:t={},defaultMode:o="light",defaultColorScheme:r,disableTransitionOnChange:n=!1,enableColorScheme:i=!0,prefix:s="",shouldSkipGeneratingVar:l,resolveTheme:c}=e;(!t.colorSchemes||"string"==typeof r&&!t.colorSchemes[r]||"object"==typeof r&&!t.colorSchemes[null==r?void 0:r.light]||"object"==typeof r&&!t.colorSchemes[null==r?void 0:r.dark])&&console.error(`MUI: \`${r}\` does not exist in \`theme.colorSchemes\`.`);const d=a.createContext(void 0);return{CssVarsProvider:function({children:e,theme:u=t,prefix:p=s,modeStorageKey:m=ia,colorSchemeStorageKey:f=sa,attribute:h=la,defaultMode:g=o,defaultColorScheme:v=r,disableTransitionOnChange:b=n,enableColorScheme:y=i,storageWindow:x=("undefined"==typeof window?void 0:window),documentNode:w=("undefined"==typeof document?void 0:document),colorSchemeNode:S=("undefined"==typeof document?void 0:document.documentElement),colorSchemeSelector:C=":root"}){const k=a.useRef(!1),{colorSchemes:R={},components:M={}}=u,$=E(u,ha),T=Object.keys(R),I="string"==typeof v?v:v.light,P="string"==typeof v?v:v.dark,{mode:O,setMode:A,systemMode:N,lightColorScheme:z,darkColorScheme:B,colorScheme:F,setColorScheme:D}=ma({supportedColorSchemes:T,defaultLightColorScheme:I,defaultDarkColorScheme:P,modeStorageKey:m,colorSchemeStorageKey:f,defaultMode:g,storageWindow:x}),W=F||("dark"===g?P:I);let H=$;const{css:V,vars:j,parsedTheme:U}=aa(H,{prefix:p,basePrefix:s,shouldSkipGeneratingVar:l});H=L({},U,{components:M,colorSchemes:R,prefix:p,vars:j,getCssVar:fa(p)});const G={},_={};return Object.entries(R).forEach((([e,t])=>{const{css:o,vars:r,parsedTheme:n}=aa(t,{prefix:p,basePrefix:s,shouldSkipGeneratingVar:l});H.vars=bo(H.vars,r),e===W&&(H=L({},H,n),H.palette&&(H.palette.mode=O,H.palette.colorScheme=W));e===("string"==typeof v?v:"dark"===g?v.dark:v.light)?G[C]=o:_[`${":root"===C?"":C}[${h}="${e}"]`]=o})),a.useEffect((()=>{F&&S&&S.setAttribute(h,F)}),[F,h,S]),$o((()=>{if(!O||!y||!S)return;const e=S.style.getPropertyValue("color-scheme");return"system"===O?S.style.setProperty("color-scheme",N):S.style.setProperty("color-scheme",O),()=>{S.style.setProperty("color-scheme",e)}}),[O,N,y,S]),a.useEffect((()=>{let e;if(b&&k.current&&w){const t=w.createElement("style");t.appendChild(w.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),w.head.appendChild(t),window.getComputedStyle(w.body),e=setTimeout((()=>{w.head.removeChild(t)}),1)}return()=>{clearTimeout(e)}}),[F,b,w]),a.useEffect((()=>(k.current=!0,()=>{k.current=!1})),[]),mo(d.Provider,{value:{mode:O,setMode:A,lightColorScheme:z,darkColorScheme:B,colorScheme:F,setColorScheme:D,allColorSchemes:T},children:[po(ho,{styles:{[C]:V}}),po(ho,{styles:G}),po(ho,{styles:_}),po(oa,{theme:c?c(H):H,children:e})]})},useColorScheme:()=>{const e=a.useContext(d);if(!e)throw new Error(yo(19));return e},getInitColorSchemeScript:ca}}({theme:Cl,defaultColorScheme:{light:"light",dark:"dark"},prefix:"md",resolveTheme:e=>L({},e,{typography:Us(e.palette,e.typography)}),shouldSkipGeneratingVar:e=>!!e[0].match(/(typography|mixins|breakpoints|direction|transitions)/)});function $l(e){return er("MuiSvgIcon",e)}var Tl=tr("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Il=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Pl=pl("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,"inherit"!==o.color&&t[`color${xo(o.color)}`],t[`fontSize${xo(o.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var o,r,n,a,i,s,l,c,d,u,p,m,f,h,g,v,b;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:null==(o=e.transitions)||null==(r=o.create)?void 0:r.call(o,"fill",{duration:null==(n=e.transitions)||null==(a=n.duration)?void 0:a.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(s=i.pxToRem)?void 0:s.call(i,20))||"1.25rem",medium:(null==(l=e.typography)||null==(c=l.pxToRem)?void 0:c.call(l,24))||"1.5rem",large:(null==(d=e.typography)||null==(u=d.pxToRem)?void 0:u.call(d,35))||"2.1875"}[t.fontSize],color:null!=(p=null==(m=(e.vars||e).palette)||null==(f=m[t.color])?void 0:f.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]}})),Ol=a.forwardRef((function(e,t){const o=cl({props:e,name:"MuiSvgIcon"}),{children:r,className:n,color:a="inherit",component:i="svg",fontSize:s="medium",htmlColor:l,inheritViewBox:c=!1,titleAccess:d,viewBox:u="0 0 24 24"}=o,p=E(o,Il),m=L({},o,{color:a,component:i,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:u}),f={};c||(f.viewBox=u);const h=(e=>{const{color:t,fontSize:o,classes:r}=e;return Yo({root:["root","inherit"!==t&&`color${xo(t)}`,`fontSize${xo(o)}`]},$l,r)})(m);return mo(Pl,L({as:i,className:hn(h.root,n),ownerState:m,focusable:"false",color:l,"aria-hidden":!d||void 0,role:d?"img":void 0,ref:t},f,p,{children:[r,d?po("title",{children:d}):null]}))}));Ol.muiName="SvgIcon";var Ll=Ol;function El(e,t){const o=(o,r)=>po(Ll,L({"data-testid":`${t}Icon`,ref:r},o,{children:e}));return o.muiName=Ll.muiName,a.memo(a.forwardRef(o))}const Al={configure:e=>{console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join("\n")),Jo.configure(e)}};function Nl(e,t){return(Nl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function zl(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Nl(e,t)}var Bl=!1,Fl=i.default.createContext(null),Dl="unmounted",Wl="exited",Hl="entering",Vl="entered",jl="exiting",Ul=function(e){function t(t,o){var r;r=e.call(this,t,o)||this;var n,a=o&&!o.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(n=Wl,r.appearStatus=Hl):n=Vl:n=t.unmountOnExit||t.mountOnEnter?Dl:Wl,r.state={status:n},r.nextCallback=null,r}zl(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Dl?{status:Wl}:null};var o=t.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var o=this.state.status;this.props.in?o!==Hl&&o!==Vl&&(t=Hl):o!==Hl&&o!==Vl||(t=jl)}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,o,r=this.props.timeout;return e=t=o=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,o=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:o}},o.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===Hl?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===Wl&&this.setState({status:Dl})},o.performEnter=function(e){var t=this,o=this.props.enter,r=this.context?this.context.isMounting:e,n=this.props.nodeRef?[r]:[l.default.findDOMNode(this),r],a=n[0],i=n[1],s=this.getTimeouts(),c=r?s.appear:s.enter;!e&&!o||Bl?this.safeSetState({status:Vl},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,i),this.safeSetState({status:Hl},(function(){t.props.onEntering(a,i),t.onTransitionEnd(c,(function(){t.safeSetState({status:Vl},(function(){t.props.onEntered(a,i)}))}))})))},o.performExit=function(){var e=this,t=this.props.exit,o=this.getTimeouts(),r=this.props.nodeRef?void 0:l.default.findDOMNode(this);t&&!Bl?(this.props.onExit(r),this.safeSetState({status:jl},(function(){e.props.onExiting(r),e.onTransitionEnd(o.exit,(function(){e.safeSetState({status:Wl},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Wl},(function(){e.props.onExited(r)}))},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.setNextCallback=function(e){var t=this,o=!0;return this.nextCallback=function(r){o&&(o=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},o.onTransitionEnd=function(e,t){this.setNextCallback(t);var o=this.props.nodeRef?this.props.nodeRef.current:l.default.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(o&&!r){if(this.props.addEndListener){var n=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],a=n[0],i=n[1];this.props.addEndListener(a,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===Dl)return null;var t=this.props,o=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=E(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return i.default.createElement(Fl.Provider,{value:null},"function"==typeof o?o(e,r):i.default.cloneElement(i.default.Children.only(o),r))},t}(i.default.Component);function Gl(){}Ul.contextType=Fl,Ul.propTypes={},Ul.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Gl,onEntering:Gl,onEntered:Gl,onExit:Gl,onExiting:Gl,onExited:Gl},Ul.UNMOUNTED=Dl,Ul.EXITED=Wl,Ul.ENTERING=Hl,Ul.ENTERED=Vl,Ul.EXITING=jl;var _l=Ul;function ql(e,o){var r=Object.create(null);return e&&t.Children.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return o&&t.isValidElement(e)?o(e):e}(e)})),r}function Kl(e,t,o){return null!=o[t]?o[t]:e.props[t]}function Xl(e,o,r){var n=ql(e.children),a=function(e,t){function o(o){return o in t?t[o]:e[o]}e=e||{},t=t||{};var r,n=Object.create(null),a=[];for(var i in e)i in t?a.length&&(n[i]=a,a=[]):a.push(i);var s={};for(var l in t){if(n[l])for(r=0;r<n[l].length;r++){var c=n[l][r];s[n[l][r]]=o(c)}s[l]=o(l)}for(r=0;r<a.length;r++)s[a[r]]=o(a[r]);return s}(o,n);return Object.keys(a).forEach((function(i){var s=a[i];if(t.isValidElement(s)){var l=i in o,c=i in n,d=o[i],u=t.isValidElement(d)&&!d.props.in;!c||l&&!u?c||!l||u?c&&l&&t.isValidElement(d)&&(a[i]=t.cloneElement(s,{onExited:r.bind(null,s),in:d.props.in,exit:Kl(s,"exit",e),enter:Kl(s,"enter",e)})):a[i]=t.cloneElement(s,{in:!1}):a[i]=t.cloneElement(s,{onExited:r.bind(null,s),in:!0,exit:Kl(s,"exit",e),enter:Kl(s,"enter",e)})}})),a}var Yl=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Zl=function(e){function o(t,o){var r,n=(r=e.call(this,t,o)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:n,firstRender:!0},r}zl(o,e);var r=o.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},o.getDerivedStateFromProps=function(e,o){var r,n,a=o.children,i=o.handleExited;return{children:o.firstRender?(r=e,n=i,ql(r.children,(function(e){return t.cloneElement(e,{onExited:n.bind(null,e),in:!0,appear:Kl(e,"appear",r),enter:Kl(e,"enter",r),exit:Kl(e,"exit",r)})}))):Xl(e,a,i),firstRender:!1}},r.handleExited=function(e,t){var o=ql(this.props.children);e.key in o||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var o=L({},t.children);return delete o[e.key],{children:o}})))},r.render=function(){var e=this.props,t=e.component,o=e.childFactory,r=E(e,["component","childFactory"]),n=this.state.contextValue,a=Yl(this.state.children).map(o);return delete r.appear,delete r.enter,delete r.exit,null===t?i.default.createElement(Fl.Provider,{value:n},a):i.default.createElement(Fl.Provider,{value:n},i.default.createElement(t,r,a))},o}(i.default.Component);Zl.propTypes={},Zl.defaultProps={component:"div",childFactory:function(e){return e}};var Jl=Zl;const Ql=e=>e.scrollTop;function ec(e,t){var o,r;const{timeout:n,easing:a,style:i={}}=e;return{duration:null!=(o=i.transitionDuration)?o:"number"==typeof n?n:n[t.mode]||0,easing:null!=(r=i.transitionTimingFunction)?r:"object"==typeof a?a[t.mode]:a,delay:i.transitionDelay}}function tc(e){return er("MuiCollapse",e)}var oc=tr("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const rc=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],nc=pl("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],"entered"===o.state&&t.entered,"exited"===o.state&&!o.in&&"0px"===o.collapsedSize&&t.hidden]}})((({theme:e,ownerState:t})=>L({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===t.state&&L({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"}))),ac=pl("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})((({ownerState:e})=>L({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),ic=pl("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})((({ownerState:e})=>L({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),sc=a.forwardRef((function(e,t){const o=cl({props:e,name:"MuiCollapse"}),{addEndListener:r,children:n,className:i,collapsedSize:s="0px",component:l,easing:c,in:d,onEnter:u,onEntered:p,onEntering:m,onExit:f,onExited:h,onExiting:g,orientation:v="vertical",style:b,timeout:y=Xs.standard,TransitionComponent:x=_l}=o,w=E(o,rc),S=L({},o,{orientation:v,collapsedSize:s}),C=(e=>{const{orientation:t,classes:o}=e;return Yo({root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]},tc,o)})(S),k=ll(),R=a.useRef(),M=a.useRef(null),$=a.useRef(),T="number"==typeof s?`${s}px`:s,I="horizontal"===v,P=I?"width":"height";a.useEffect((()=>()=>{clearTimeout(R.current)}),[]);const O=a.useRef(null),A=Eo(t,O),N=e=>t=>{if(e){const o=O.current;void 0===t?e(o):e(o,t)}},z=()=>M.current?M.current[I?"clientWidth":"clientHeight"]:0,B=N(((e,t)=>{M.current&&I&&(M.current.style.position="absolute"),e.style[P]=T,u&&u(e,t)})),F=N(((e,t)=>{const o=z();M.current&&I&&(M.current.style.position="");const{duration:r,easing:n}=ec({style:b,timeout:y,easing:c},{mode:"enter"});if("auto"===y){const t=k.transitions.getAutoHeightDuration(o);e.style.transitionDuration=`${t}ms`,$.current=t}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[P]=`${o}px`,e.style.transitionTimingFunction=n,m&&m(e,t)})),D=N(((e,t)=>{e.style[P]="auto",p&&p(e,t)})),W=N((e=>{e.style[P]=`${z()}px`,f&&f(e)})),H=N(h),V=N((e=>{const t=z(),{duration:o,easing:r}=ec({style:b,timeout:y,easing:c},{mode:"exit"});if("auto"===y){const o=k.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${o}ms`,$.current=o}else e.style.transitionDuration="string"==typeof o?o:`${o}ms`;e.style[P]=T,e.style.transitionTimingFunction=r,g&&g(e)}));return po(x,L({in:d,onEnter:B,onEntered:D,onEntering:F,onExit:W,onExited:H,onExiting:V,addEndListener:e=>{"auto"===y&&(R.current=setTimeout(e,$.current||0)),r&&r(O.current,e)},nodeRef:O,timeout:"auto"===y?null:y},w,{children:(e,t)=>po(nc,L({as:l,className:hn(C.root,i,{entered:C.entered,exited:!d&&"0px"===T&&C.hidden}[e]),style:L({[I?"minWidth":"minHeight"]:T},b),ownerState:L({},S,{state:e}),ref:A},t,{children:po(ac,{ownerState:L({},S,{state:e}),className:C.wrapper,ref:M,children:po(ic,{ownerState:L({},S,{state:e}),className:C.wrapperInner,children:n})})}))}))}));sc.muiSupportAuto=!0;var lc=sc;var cc=a.createContext({});function dc(e){return er("MuiAccordion",e)}var uc=tr("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]);const pc=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","TransitionComponent","TransitionProps"],mc=pl(bl,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${uc.region}`]:t.region},t.root,!o.square&&t.rounded,!o.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"}},[`&.${uc.expanded}`]:{"&:before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}},[`&.${uc.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}}),(({theme:e,ownerState:t})=>L({},!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&&{[`&.${uc.expanded}`]:{margin:"16px 0"}})));var fc=a.forwardRef((function(e,t){const o=cl({props:e,name:"MuiAccordion"}),{children:r,className:n,defaultExpanded:i=!1,disabled:s=!1,disableGutters:l=!1,expanded:c,onChange:d,square:u=!1,TransitionComponent:p=lc,TransitionProps:m}=o,f=E(o,pc),[h,g]=Oo({controlled:c,default:i,name:"Accordion",state:"expanded"}),v=a.useCallback((e=>{g(!h),d&&d(e,!h)}),[h,d,g]),[b,...y]=a.Children.toArray(r),x=a.useMemo((()=>({expanded:h,disabled:s,disableGutters:l,toggle:v})),[h,s,l,v]),w=L({},o,{square:u,disabled:s,disableGutters:l,expanded:h}),S=(e=>{const{classes:t,square:o,expanded:r,disabled:n,disableGutters:a}=e;return Yo({root:["root",!o&&"rounded",r&&"expanded",n&&"disabled",!a&&"gutters"],region:["region"]},dc,t)})(w);return mo(mc,L({className:hn(S.root,n),ref:t,ownerState:w,square:u},f,{children:[po(cc.Provider,{value:x,children:b}),po(p,L({in:h,timeout:"auto"},m,{children:po("div",{"aria-labelledby":b.props.id,id:b.props["aria-controls"],role:"region",className:S.region,children:y})}))]}))}));function hc(e){return er("MuiAccordionActions",e)}var gc=tr("MuiAccordionActions",["root","spacing"]);const vc=["className","disableSpacing"],bc=pl("div",{name:"MuiAccordionActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.disableSpacing&&t.spacing]}})((({ownerState:e})=>L({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end"},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})));var yc=a.forwardRef((function(e,t){const o=cl({props:e,name:"MuiAccordionActions"}),{className:r,disableSpacing:n=!1}=o,a=E(o,vc),i=L({},o,{disableSpacing:n}),s=(e=>{const{classes:t,disableSpacing:o}=e;return Yo({root:["root",!o&&"spacing"]},hc,t)})(i);return po(bc,L({className:hn(s.root,r),ref:t,ownerState:i},a))}));function xc(e){return er("MuiAccordionDetails",e)}var wc=tr("MuiAccordionDetails",["root"]);const Sc=["className"],Cc=pl("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({padding:e.spacing(1,2,2)})));var kc=a.forwardRef((function(e,t){const o=cl({props:e,name:"MuiAccordionDetails"}),{className:r}=o,n=E(o,Sc),a=o,i=(e=>{const{classes:t}=e;return Yo({root:["root"]},xc,t)})(a);return po(Cc,L({className:hn(i.root,r),ref:t,ownerState:a},n))}));var Rc=tr("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);const Mc=["center","classes","className"];let $c,Tc,Ic,Pc,Oc=e=>e;const Lc=_t($c||($c=Oc`
|
|
11
|
+
*/Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;!function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},o=0;o<10;o++)t["_"+String.fromCharCode(o)]=o;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()||Object.assign;function ro(){}function no(){}no.resetWarningCache=ro;var ao=function(){function e(e,t,o,r,n,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:no,resetWarningCache:ro};return o.PropTypes=o,o},io=A((function(e){e.exports=ao()})),so=io;io.elementType,io.bool,io.func,io.object,io.oneOfType,io.element;var lo=A((function(e,t){var o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var r=Symbol.for;o=r("react.element"),t.Fragment=r("react.fragment")}var n=i.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a=Object.prototype.hasOwnProperty,s={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,r){var i,l={},c=null,d=null;for(i in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)a.call(t,i)&&!s.hasOwnProperty(i)&&(l[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps)void 0===l[i]&&(l[i]=t[i]);return{$$typeof:o,type:e,key:c,ref:d,props:l,_owner:n.current}}t.jsx=l,t.jsxs=l}));lo.Fragment,lo.jsx,lo.jsxs;var co=A((function(e,t){}));co.Fragment,co.jsx,co.jsxs;var uo=A((function(e){e.exports=lo})),po=uo.jsx,mo=uo.jsxs;const fo=Ve({key:"css",prepend:!0});function ho(e){const{styles:t,defaultTheme:o={}}=e;return po(Ut,{styles:"function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?o:e);var r}:t})}function go(e,t){return oo(e,t)}function vo(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function bo(e,t,o={clone:!0}){const r=o.clone?L({},e):e;return vo(e)&&vo(t)&&Object.keys(t).forEach((n=>{"__proto__"!==n&&(vo(t[n])&&n in e&&vo(e[n])?r[n]=bo(e[n],t[n],o):r[n]=t[n])})),r}function yo(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function xo(e){if("string"!=typeof e)throw new Error(yo(7));return e.charAt(0).toUpperCase()+e.slice(1)}function wo(...e){return e.reduce(((e,t)=>null==t?e:function(...o){e.apply(this,o),t.apply(this,o)}),(()=>{}))}function So(e,t=166){let o;function r(...r){clearTimeout(o),o=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(o)},r}function Co(e,t){return a.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}function ko(e){return e&&e.ownerDocument||document}function Ro(e){return ko(e).defaultView||window}function Mo(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var $o="undefined"!=typeof window?a.useLayoutEffect:a.useEffect;let To=0;const Io=a.useId;function Po(e){if(void 0!==Io){const t=Io();return null!=e?e:t}return function(e){const[t,o]=a.useState(e),r=e||t;return a.useEffect((()=>{null==t&&(To+=1,o(`mui-${To}`))}),[t]),r}(e)}function Oo({controlled:e,default:t,name:o,state:r="value"}){const{current:n}=a.useRef(void 0!==e),[i,s]=a.useState(t);return[n?e:i,a.useCallback((e=>{n||s(e)}),[])]}function Lo(e){const t=a.useRef(e);return $o((()=>{t.current=e})),a.useCallback(((...e)=>(0,t.current)(...e)),[])}function Eo(e,t){return a.useMemo((()=>null==e&&null==t?null:o=>{Mo(e,o),Mo(t,o)}),[e,t])}let Ao,No=!0,zo=!1;const Bo={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Fo(e){e.metaKey||e.altKey||e.ctrlKey||(No=!0)}function Do(){No=!1}function Wo(){"hidden"===this.visibilityState&&zo&&(No=!0)}function Ho(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return No||function(e){const{type:t,tagName:o}=e;return!("INPUT"!==o||!Bo[t]||e.readOnly)||"TEXTAREA"===o&&!e.readOnly||!!e.isContentEditable}(t)}function Vo(){const e=a.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Fo,!0),t.addEventListener("mousedown",Do,!0),t.addEventListener("pointerdown",Do,!0),t.addEventListener("touchstart",Do,!0),t.addEventListener("visibilitychange",Wo,!0))}),[]),t=a.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Ho(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(zo=!0,window.clearTimeout(Ao),Ao=window.setTimeout((()=>{zo=!1}),100),t.current=!1,!0)},ref:e}}function jo(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Uo;function Go(){if(Uo)return Uo;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Uo="reverse",e.scrollLeft>0?Uo="default":(e.scrollLeft=1,0===e.scrollLeft&&(Uo="negative")),document.body.removeChild(e),Uo}function _o(e,t){const o=e.scrollLeft;if("rtl"!==t)return o;switch(Go()){case"negative":return e.scrollWidth-e.clientWidth+o;case"reverse":return e.scrollWidth-e.clientWidth-o;default:return o}}var qo=e=>{const t=a.useRef({});return a.useEffect((()=>{t.current=e})),t.current};var Ko={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function Xo(e,t){const o=L({},t);return Object.keys(e).forEach((t=>{void 0===o[t]&&(o[t]=e[t])})),o}function Yo(e,t,o){const r={};return Object.keys(e).forEach((n=>{r[n]=e[n].reduce(((e,r)=>(r&&(o&&o[r]&&e.push(o[r]),e.push(t(r))),e)),[]).join(" ")})),r}const Zo=e=>e;var Jo=(()=>{let e=Zo;return{configure(t){e=t},generate:t=>e(t),reset(){e=Zo}}})();const Qo={active:"Mui-active",checked:"Mui-checked",completed:"Mui-completed",disabled:"Mui-disabled",error:"Mui-error",expanded:"Mui-expanded",focused:"Mui-focused",focusVisible:"Mui-focusVisible",required:"Mui-required",selected:"Mui-selected"};function er(e,t){return Qo[t]||`${Jo.generate(e)}-${t}`}function tr(e,t){const o={};return t.forEach((t=>{o[t]=er(e,t)})),o}function or(e,t){return t?bo(e,t,{clone:!1}):e}const rr={xs:0,sm:600,md:900,lg:1200,xl:1536},nr={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${rr[e]}px)`};function ar(e,t,o){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||nr;return t.reduce(((r,n,a)=>(r[e.up(e.keys[a])]=o(t[a]),r)),{})}if("object"==typeof t){const e=r.breakpoints||nr;return Object.keys(t).reduce(((r,n)=>{if(-1!==Object.keys(e.values||rr).indexOf(n)){r[e.up(n)]=o(t[n],n)}else{const e=n;r[e]=t[e]}return r}),{})}return o(t)}function ir({values:e,breakpoints:t,base:o}){const r=o||function(e,t){if("object"!=typeof e)return{};const o={},r=Object.keys(t);return Array.isArray(e)?r.forEach(((t,r)=>{r<e.length&&(o[t]=!0)})):r.forEach((t=>{null!=e[t]&&(o[t]=!0)})),o}(e,t),n=Object.keys(r);if(0===n.length)return e;let a;return n.reduce(((t,o,r)=>(Array.isArray(e)?(t[o]=null!=e[r]?e[r]:e[a],a=r):(t[o]=null!=e[o]?e[o]:e[a]||e,a=o),t)),{})}function sr(e,t,o=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&o){const o=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=o)return o}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function lr(e,t,o,r=o){let n;return n="function"==typeof e?e(o):Array.isArray(e)?e[o]||r:sr(e,o)||r,t&&(n=t(n)),n}function cr(e){const{prop:t,cssProperty:o=e.prop,themeKey:r,transform:n}=e,a=e=>{if(null==e[t])return null;const a=e[t],i=sr(e.theme,r)||{};return ar(e,a,(e=>{let r=lr(i,n,e);return e===r&&"string"==typeof e&&(r=lr(i,n,`${t}${"default"===e?"":xo(e)}`,e)),!1===o?r:{[o]:r}}))};return a.propTypes={},a.filterProps=[t],a}function dr(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((o=>{e[o]=t})),e)),{}),o=e=>Object.keys(e).reduce(((o,r)=>t[r]?or(o,t[r](e)):o),{});return o.propTypes={},o.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),o}const ur={m:"margin",p:"padding"},pr={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},mr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},fr=function(e){const t={};return o=>(void 0===t[o]&&(t[o]=e(o)),t[o])}((e=>{if(e.length>2){if(!mr[e])return[e];e=mr[e]}const[t,o]=e.split(""),r=ur[t],n=pr[o]||"";return Array.isArray(n)?n.map((e=>r+e)):[r+n]})),hr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd","p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function gr(e,t,o,r){var n;const a=null!=(n=sr(e,t,!1))?n:o;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>{}}function vr(e){return gr(e,"spacing",8)}function br(e,t){if("string"==typeof t||null==t)return t;const o=e(Math.abs(t));return t>=0?o:"number"==typeof o?-o:`-${o}`}function yr(e,t,o,r){if(-1===t.indexOf(o))return null;const n=function(e,t){return o=>e.reduce(((e,r)=>(e[r]=br(t,o),e)),{})}(fr(o),r);return ar(e,e[o],n)}function xr(e){return function(e,t){const o=vr(e.theme);return Object.keys(e).map((r=>yr(e,t,r,o))).reduce(or,{})}(e,hr)}function wr(e){return"number"!=typeof e?e:`${e}px solid`}xr.propTypes={},xr.filterProps=hr;const Sr=cr({prop:"border",themeKey:"borders",transform:wr}),Cr=cr({prop:"borderTop",themeKey:"borders",transform:wr}),kr=cr({prop:"borderRight",themeKey:"borders",transform:wr}),Rr=cr({prop:"borderBottom",themeKey:"borders",transform:wr}),Mr=cr({prop:"borderLeft",themeKey:"borders",transform:wr}),$r=cr({prop:"borderColor",themeKey:"palette"}),Tr=cr({prop:"borderTopColor",themeKey:"palette"}),Ir=cr({prop:"borderRightColor",themeKey:"palette"}),Pr=cr({prop:"borderBottomColor",themeKey:"palette"}),Or=cr({prop:"borderLeftColor",themeKey:"palette"}),Lr=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=gr(e.theme,"shape.borderRadius",4),o=e=>({borderRadius:br(t,e)});return ar(e,e.borderRadius,o)}return null};Lr.propTypes={},Lr.filterProps=["borderRadius"];var Er=dr(Sr,Cr,kr,Rr,Mr,$r,Tr,Ir,Pr,Or,Lr);var Ar=dr(cr({prop:"displayPrint",cssProperty:!1,transform:e=>({"@media print":{display:e}})}),cr({prop:"display"}),cr({prop:"overflow"}),cr({prop:"textOverflow"}),cr({prop:"visibility"}),cr({prop:"whiteSpace"}));var Nr=dr(cr({prop:"flexBasis"}),cr({prop:"flexDirection"}),cr({prop:"flexWrap"}),cr({prop:"justifyContent"}),cr({prop:"alignItems"}),cr({prop:"alignContent"}),cr({prop:"order"}),cr({prop:"flex"}),cr({prop:"flexGrow"}),cr({prop:"flexShrink"}),cr({prop:"alignSelf"}),cr({prop:"justifyItems"}),cr({prop:"justifySelf"}));const zr=e=>{if(void 0!==e.gap&&null!==e.gap){const t=gr(e.theme,"spacing",8),o=e=>({gap:br(t,e)});return ar(e,e.gap,o)}return null};zr.propTypes={},zr.filterProps=["gap"];const Br=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=gr(e.theme,"spacing",8),o=e=>({columnGap:br(t,e)});return ar(e,e.columnGap,o)}return null};Br.propTypes={},Br.filterProps=["columnGap"];const Fr=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=gr(e.theme,"spacing",8),o=e=>({rowGap:br(t,e)});return ar(e,e.rowGap,o)}return null};Fr.propTypes={},Fr.filterProps=["rowGap"];var Dr=dr(zr,Br,Fr,cr({prop:"gridColumn"}),cr({prop:"gridRow"}),cr({prop:"gridAutoFlow"}),cr({prop:"gridAutoColumns"}),cr({prop:"gridAutoRows"}),cr({prop:"gridTemplateColumns"}),cr({prop:"gridTemplateRows"}),cr({prop:"gridTemplateAreas"}),cr({prop:"gridArea"}));var Wr=dr(cr({prop:"color",themeKey:"palette"}),cr({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),cr({prop:"backgroundColor",themeKey:"palette"}));var Hr=dr(cr({prop:"position"}),cr({prop:"zIndex",themeKey:"zIndex"}),cr({prop:"top"}),cr({prop:"right"}),cr({prop:"bottom"}),cr({prop:"left"}));var Vr=cr({prop:"boxShadow",themeKey:"shadows"});function jr(e){return e<=1&&0!==e?100*e+"%":e}const Ur=cr({prop:"width",transform:jr}),Gr=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var o,r,n;return{maxWidth:(null==(o=e.theme)||null==(r=o.breakpoints)||null==(n=r.values)?void 0:n[t])||rr[t]||jr(t)}};return ar(e,e.maxWidth,t)}return null};Gr.filterProps=["maxWidth"];const _r=cr({prop:"minWidth",transform:jr}),qr=cr({prop:"height",transform:jr}),Kr=cr({prop:"maxHeight",transform:jr}),Xr=cr({prop:"minHeight",transform:jr});cr({prop:"size",cssProperty:"width",transform:jr}),cr({prop:"size",cssProperty:"height",transform:jr});var Yr=dr(Ur,Gr,_r,qr,Kr,Xr,cr({prop:"boxSizing"}));const Zr=cr({prop:"fontFamily",themeKey:"typography"}),Jr=cr({prop:"fontSize",themeKey:"typography"}),Qr=cr({prop:"fontStyle",themeKey:"typography"}),en=cr({prop:"fontWeight",themeKey:"typography"}),tn=cr({prop:"letterSpacing"}),on=cr({prop:"textTransform"}),rn=cr({prop:"lineHeight"}),nn=cr({prop:"textAlign"});var an=dr(cr({prop:"typography",cssProperty:!1,themeKey:"typography"}),Zr,Jr,Qr,en,tn,rn,nn,on);const sn={borders:Er.filterProps,display:Ar.filterProps,flexbox:Nr.filterProps,grid:Dr.filterProps,positions:Hr.filterProps,palette:Wr.filterProps,shadows:Vr.filterProps,sizing:Yr.filterProps,spacing:xr.filterProps,typography:an.filterProps},ln={borders:Er,display:Ar,flexbox:Nr,grid:Dr,positions:Hr,palette:Wr,shadows:Vr,sizing:Yr,spacing:xr,typography:an},cn=Object.keys(sn).reduce(((e,t)=>(sn[t].forEach((o=>{e[o]=ln[t]})),e)),{});const dn=function(e=ln){const t=Object.keys(e).reduce(((t,o)=>(e[o].filterProps.forEach((r=>{t[r]=e[o]})),t)),{});function o(e,o,r){const n={[e]:o,theme:r},a=t[e];return a?a(n):{[e]:o}}return function e(r){const{sx:n,theme:a={}}=r||{};if(!n)return null;function i(r){let n=r;if("function"==typeof r)n=r(a);else if("object"!=typeof r)return r;if(!n)return null;const i=function(e={}){var t;return(null==e||null==(t=e.keys)?void 0:t.reduce(((t,o)=>(t[e.up(o)]={},t)),{}))||{}}(a.breakpoints),s=Object.keys(i);let l=i;return Object.keys(n).forEach((r=>{const i=(s=n[r],c=a,"function"==typeof s?s(c):s);var s,c;if(null!=i)if("object"==typeof i)if(t[r])l=or(l,o(r,i,a));else{const t=ar({theme:a},i,(e=>({[r]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),o=new Set(t);return e.every((e=>o.size===Object.keys(e).length))}(t,i)?l=or(l,t):l[r]=e({sx:i,theme:a})}else l=or(l,o(r,i,a))})),function(e,t){return e.reduce(((e,t)=>{const o=e[t];return(!o||0===Object.keys(o).length)&&delete e[t],e}),t)}(s,l)}return Array.isArray(n)?n.map(i):i(n)}}();dn.filterProps=["sx"];var un=dn;const pn=["sx"];function mn(e){const{sx:t}=e,o=E(e,pn),{systemProps:r,otherProps:n}=(e=>{const t={systemProps:{},otherProps:{}};return Object.keys(e).forEach((o=>{cn[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]})),t})(o);let a;return a=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const o=t(...e);return vo(o)?L({},r,o):r}:L({},r,t),L({},n,{sx:a})}function fn(e){var t,o,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(o=fn(e[t]))&&(r&&(r+=" "),r+=o);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function hn(){for(var e,t,o=0,r="";o<arguments.length;)(e=arguments[o++])&&(t=fn(e))&&(r&&(r+=" "),r+=t);return r}const gn=["values","unit","step"];function vn(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:r=5}=e,n=E(e,gn),a=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>L({},e,{[t.key]:t.val})),{})})(t),i=Object.keys(a);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${o})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${o})`}function c(e,n){const a=i.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${o}) and (max-width:${(-1!==a&&"number"==typeof t[i[a]]?t[i[a]]:n)-r/100}${o})`}return L({keys:i,values:a,up:s,down:l,between:c,only:function(e){return i.indexOf(e)+1<i.length?c(e,i[i.indexOf(e)+1]):s(e)},not:function(e){const t=i.indexOf(e);return 0===t?s(i[1]):t===i.length-1?l(i[t]):c(e,i[i.indexOf(e)+1]).replace("@media","@media not all and")},unit:o},n)}var bn={borderRadius:4};function yn(e=8){if(e.mui)return e;const t=vr({spacing:e}),o=(...e)=>(0===e.length?[1]:e).map((e=>{const o=t(e);return"number"==typeof o?`${o}px`:o})).join(" ");return o.mui=!0,o}const xn=["breakpoints","palette","spacing","shape"];function wn(e={},...t){const{breakpoints:o={},palette:r={},spacing:n,shape:a={}}=e,i=E(e,xn),s=vn(o),l=yn(n);let c=bo({breakpoints:s,direction:"ltr",components:{},palette:L({mode:"light"},r),spacing:l,shape:L({},bn,a)},i);return c=t.reduce(((e,t)=>bo(e,t)),c),c}var Sn=a.createContext(null);function Cn(){return a.useContext(Sn)}var kn="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Rn(e){const{children:t,theme:o}=e,r=Cn(),n=a.useMemo((()=>{const e=null===r?o:function(e,t){if("function"==typeof t)return t(e);return L({},e,t)}(r,o);return null!=e&&(e[kn]=null!==r),e}),[o,r]);return po(Sn.Provider,{value:n,children:t})}function Mn(e=null){const t=Cn();return t&&(o=t,0!==Object.keys(o).length)?t:e;var o}const $n=wn();function Tn(e=$n){return Mn(e)}const In=["className","component"];const Pn=["variant"];function On(e){return 0===e.length}function Ln(e){const{variant:t}=e,o=E(e,Pn);let r=t||"";return Object.keys(o).sort().forEach((t=>{r+="color"===t?On(r)?e[t]:xo(e[t]):`${On(r)?t:xo(t)}${xo(e[t].toString())}`})),r}const En=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],An=["theme"],Nn=["theme"];function zn(e){return 0===Object.keys(e).length}function Bn(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Fn=wn();function Dn(e={}){const{defaultTheme:t=Fn,rootShouldForwardProp:o=Bn,slotShouldForwardProp:r=Bn,styleFunctionSx:n=un}=e;return(e,a={})=>{const{name:i,slot:s,skipVariantsResolver:l,skipSx:c,overridesResolver:d}=a,u=E(a,En),p=void 0!==l?l:s&&"Root"!==s||!1,m=c||!1;let f=Bn;"Root"===s?f=o:s&&(f=r);const h=go(e,L({shouldForwardProp:f,label:undefined},u)),g=(e,...o)=>{const r=o?o.map((e=>"function"==typeof e&&e.__emotion_real!==e?o=>{let{theme:r}=o,n=E(o,An);return e(L({theme:zn(r)?t:r},n))}:e)):[];let a=e;i&&d&&r.push((e=>{const o=zn(e.theme)?t:e.theme,r=((e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null)(i,o);if(r){const t={};return Object.entries(r).forEach((([r,n])=>{t[r]="function"==typeof n?n(L({},e,{theme:o})):n})),d(e,t)}return null})),i&&!p&&r.push((e=>{const o=zn(e.theme)?t:e.theme;return((e,t,o,r)=>{var n,a;const{ownerState:i={}}=e,s=[],l=null==o||null==(n=o.components)||null==(a=n[r])?void 0:a.variants;return l&&l.forEach((o=>{let r=!0;Object.keys(o.props).forEach((t=>{i[t]!==o.props[t]&&e[t]!==o.props[t]&&(r=!1)})),r&&s.push(t[Ln(o.props)])})),s})(e,((e,t)=>{let o=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(o=t.components[e].variants);const r={};return o.forEach((e=>{const t=Ln(e.props);r[t]=e.style})),r})(i,o),o,i)})),m||r.push((e=>{const o=zn(e.theme)?t:e.theme;return n(L({},e,{theme:o}))}));const s=r.length-o.length;if(Array.isArray(e)&&s>0){const t=new Array(s).fill("");a=[...e,...t],a.raw=[...e.raw,...t]}else"function"==typeof e&&e.__emotion_real!==e&&(a=o=>{let{theme:r}=o,n=E(o,Nn);return e(L({theme:zn(r)?t:r},n))});return h(a,...r)};return h.withConfig&&(g.withConfig=h.withConfig),g}}var Wn=Dn();function Hn(e){const{theme:t,name:o,props:r}=e;return t&&t.components&&t.components[o]&&t.components[o].defaultProps?Xo(t.components[o].defaultProps,r):r}function Vn({props:e,name:t,defaultTheme:o}){return Hn({theme:Tn(o),name:t,props:e})}function jn(e,t=0,o=1){return Math.min(Math.max(t,e),o)}function Un(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let o=e.match(t);return o&&1===o[0].length&&(o=o.map((e=>e+e))),o?`rgb${4===o.length?"a":""}(${o.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function Gn(e){if(e.type)return e;if("#"===e.charAt(0))return Gn(Un(e));const t=e.indexOf("("),o=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(o))throw new Error(yo(9,e));let r,n=e.substring(t+1,e.length-1);if("color"===o){if(n=n.split(" "),r=n.shift(),4===n.length&&"/"===n[3].charAt(0)&&(n[3]=n[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error(yo(10,r))}else n=n.split(",");return n=n.map((e=>parseFloat(e))),{type:o,values:n,colorSpace:r}}const _n=e=>{const t=Gn(e);return t.values.slice(0,3).map(((e,o)=>-1!==t.type.indexOf("hsl")&&0!==o?`${e}%`:e)).join(" ")};function qn(e){const{type:t,colorSpace:o}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${o} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function Kn(e){e=Gn(e);const{values:t}=e,o=t[0],r=t[1]/100,n=t[2]/100,a=r*Math.min(n,1-n),i=(e,t=(e+o/30)%12)=>n-a*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),qn({type:s,values:l})}function Xn(e){let t="hsl"===(e=Gn(e)).type?Gn(Kn(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Yn(e,t){const o=Xn(e),r=Xn(t);return(Math.max(o,r)+.05)/(Math.min(o,r)+.05)}function Zn(e,t){return e=Gn(e),t=jn(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,qn(e)}function Jn(e,t){if(e=Gn(e),t=jn(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let o=0;o<3;o+=1)e.values[o]*=1-t;return qn(e)}function Qn(e,t){if(e=Gn(e),t=jn(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let o=0;o<3;o+=1)e.values[o]+=(255-e.values[o])*t;else if(-1!==e.type.indexOf("color"))for(let o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*t;return qn(e)}function ea(e,t=.15){return Xn(e)>.5?Jn(e,t):Qn(e,t)}function ta(e){const t=Tn();return po(Vt.Provider,{value:"object"==typeof t?t:{},children:e.children})}function oa(e){const{children:t,theme:o}=e;return po(Rn,{theme:o,children:po(ta,{children:t})})}const ra=(e,t,o,r=[])=>{let n=e;t.forEach(((e,a)=>{a===t.length-1?Array.isArray(n)?n[Number(e)]=o:n&&"object"==typeof n&&(n[e]=o):n&&"object"==typeof n&&(n[e]||(n[e]=r.includes(e)?[]:{}),n=n[e])}))},na=(e,t)=>{if("number"==typeof t){if(["lineHeight","fontWeight","opacity","zIndex"].some((t=>e.includes(t))))return t;return e[e.length-1].toLowerCase().indexOf("opacity")>=0?t:`${t}px`}return t};function aa(e,t){const{prefix:o,basePrefix:r="",shouldSkipGeneratingVar:n}=t||{},a={},i={},s={};var l,c;return l=(e,t,l)=>{if(("string"==typeof t||"number"==typeof t)&&("string"==typeof t&&t.match(/var\(\s*--/)&&(t=!r&&o?t.replace(/var\(\s*--/g,`var(--${o}-`):o?t.replace(new RegExp(`var\\(\\s*--${r}`,"g"),`var(--${o}`):t.replace(new RegExp(`var\\(\\s*--${r}-`,"g"),"var(--")),!n||n&&!n(e,t))){const r=`--${o?`${o}-`:""}${e.join("-")}`;Object.assign(a,{[r]:na(e,t)}),ra(i,e,`var(${r})`,l)}ra(s,e,t,l)},c=e=>"vars"===e[0],function e(t,o=[],r=[]){Object.entries(t).forEach((([t,n])=>{(!c||c&&!c([...o,t]))&&null!=n&&("object"==typeof n&&Object.keys(n).length>0?e(n,[...o,t],Array.isArray(n)?[...r,t]:r):l([...o,t],n,r))}))}(e),{css:a,vars:i,parsedTheme:s}}const ia="mui-mode",sa="mui-color-scheme",la="data-mui-color-scheme";function ca(e){const{enableSystem:t=!1,defaultLightColorScheme:o="light",defaultDarkColorScheme:r="dark",modeStorageKey:n=ia,colorSchemeStorageKey:a=sa,attribute:i=la,colorSchemeNode:s="document.documentElement"}=e||{};return po("script",{dangerouslySetInnerHTML:{__html:`(function() { try {\n var mode = localStorage.getItem('${n}');\n var colorScheme = '';\n if (mode === 'system' || (!mode && !!${t})) {\n // handle system mode\n var mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = localStorage.getItem('${a}-dark') || '${r}';\n } else {\n colorScheme = localStorage.getItem('${a}-light') || '${o}';\n }\n }\n if (mode === 'light') {\n colorScheme = localStorage.getItem('${a}-light') || '${o}';\n }\n if (mode === 'dark') {\n colorScheme = localStorage.getItem('${a}-dark') || '${r}';\n }\n if (colorScheme) {\n ${s}.setAttribute('${i}', colorScheme);\n }\n } catch (e) {} })();`}})}function da(e){if("undefined"!=typeof window&&"system"===e){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}function ua(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function pa(e,t){if("undefined"==typeof window)return;let o;try{o=localStorage.getItem(e)||void 0}catch(e){}return o||t}function ma(e){const{defaultMode:t="light",defaultLightColorScheme:o,defaultDarkColorScheme:r,supportedColorSchemes:n=[],modeStorageKey:i=ia,colorSchemeStorageKey:s=sa,storageWindow:l=("undefined"==typeof window?void 0:window)}=e,c=n.join(","),[d,u]=a.useState((()=>{const e=pa(i,t);return{mode:e,systemMode:da(e),lightColorScheme:pa(`${s}-light`)||o,darkColorScheme:pa(`${s}-dark`)||r}})),p=function(e){return ua(e,(t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0))}(d),m=a.useCallback((e=>{u((o=>{const r=e||t;return e===o.mode?o:("undefined"!=typeof localStorage&&localStorage.setItem(i,r),L({},o,{mode:r,systemMode:da(r)}))}))}),[i,t]),f=a.useCallback((e=>{e&&"string"!=typeof e?e.light&&!c.includes(e.light)||e.dark&&!c.includes(e.dark)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):(u((t=>{const n=L({},t);return(e.light||null===e.light)&&(n.lightColorScheme=null===e.light?o:e.light),(e.dark||null===e.dark)&&(n.darkColorScheme=null===e.dark?r:e.dark),n})),e.light&&localStorage.setItem(`${s}-light`,e.light),e.dark&&localStorage.setItem(`${s}-dark`,e.dark)):e&&!c.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):u((t=>{const n=L({},t);return e?(ua(t,(t=>{localStorage.setItem(`${s}-${t}`,e),"light"===t&&(n.lightColorScheme=e),"dark"===t&&(n.darkColorScheme=e)})),n):(n.lightColorScheme=o,n.darkColorScheme=r,n)}))}),[c,s,o,r]),h=a.useCallback((e=>{"system"===d.mode&&u((t=>L({},t,{systemMode:e.matches?"dark":"light"})))}),[d.mode]),g=a.useRef(h);return g.current=h,a.useEffect((()=>{const e=(...e)=>g.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>t.removeListener(e)}),[]),a.useEffect((()=>{d.mode&&localStorage.setItem(i,d.mode),ua(d,(e=>{"light"===e&&localStorage.setItem(`${s}-light`,d.lightColorScheme),"dark"===e&&localStorage.setItem(`${s}-dark`,d.darkColorScheme)}))}),[d,s,i]),a.useEffect((()=>{const e=e=>{const o=e.newValue;"string"!=typeof e.key||!e.key.startsWith(s)||o&&!c.match(o)||(e.key.endsWith("light")&&f({light:o}),e.key.endsWith("dark")&&f({dark:o})),e.key!==i||o&&!["light","dark","system"].includes(o)||m(o||t)};if(l)return l.addEventListener("storage",e),()=>l.removeEventListener("storage",e)}),[f,m,i,s,c,t,l]),L({},d,{colorScheme:p,setMode:m,setColorScheme:f})}function fa(e=""){function t(...o){if(!o.length)return"";const r=o[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...o.slice(1))})`}return(o,...r)=>`var(--${e?`${e}-`:""}${o}${t(...r)})`}const ha=["colorSchemes","components"];const ga=["className","component","disableGutters","fixed","maxWidth","classes"],va=wn(),ba=Wn("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`maxWidth${xo(String(o.maxWidth))}`],o.fixed&&t.fixed,o.disableGutters&&t.disableGutters]}}),ya=e=>Vn({props:e,name:"MuiContainer",defaultTheme:va});const xa=["defaultProps","mixins","overrides","palette","props","styleOverrides"],wa=["type","mode"];function Sa(e){return"string"==typeof e}function Ca(e,t={},o){return Sa(e)?t:L({},t,{ownerState:L({},t.ownerState,o)})}function ka(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function Ra(e={}){const{ignoreAccents:t=!0,ignoreCase:o=!0,limit:r,matchFrom:n="any",stringify:a,trim:i=!1}=e;return(e,{inputValue:s,getOptionLabel:l})=>{let c=i?s.trim():s;o&&(c=c.toLowerCase()),t&&(c=ka(c));const d=e.filter((e=>{let r=(a||l)(e);return o&&(r=r.toLowerCase()),t&&(r=ka(r)),"start"===n?0===r.indexOf(c):r.indexOf(c)>-1}));return"number"==typeof r?d.slice(0,r):d}}function Ma(e,t){for(let o=0;o<e.length;o+=1)if(t(e[o]))return o;return-1}const $a=Ra();function Ta(e){const{autoComplete:t=!1,autoHighlight:o=!1,autoSelect:r=!1,blurOnSelect:n=!1,disabled:i,clearOnBlur:s=!e.freeSolo,clearOnEscape:l=!1,componentName:c="useAutocomplete",defaultValue:d=(e.multiple?[]:null),disableClearable:u=!1,disableCloseOnSelect:p=!1,disabledItemsFocusable:m=!1,disableListWrap:f=!1,filterOptions:h=$a,filterSelectedOptions:g=!1,freeSolo:v=!1,getOptionDisabled:b,getOptionLabel:y=(e=>{var t;return null!=(t=e.label)?t:e}),isOptionEqualToValue:x=((e,t)=>e===t),groupBy:w,handleHomeEndKeys:S=!e.freeSolo,id:C,includeInputInList:k=!1,inputValue:R,multiple:M=!1,onChange:$,onClose:T,onHighlightChange:I,onInputChange:P,onOpen:O,open:E,openOnFocus:A=!1,options:N,readOnly:z=!1,selectOnFocus:B=!e.freeSolo,value:F}=e,D=Po(C);let W=y;W=e=>{const t=y(e);return"string"!=typeof t?String(t):t};const H=a.useRef(!1),V=a.useRef(!0),j=a.useRef(null),U=a.useRef(null),[G,_]=a.useState(null),[q,K]=a.useState(-1),X=o?0:-1,Y=a.useRef(X),[Z,J]=Oo({controlled:F,default:d,name:c}),[Q,ee]=Oo({controlled:R,default:"",name:c,state:"inputValue"}),[te,oe]=a.useState(!1),re=a.useCallback(((e,t)=>{if(!(M?Z.length<t.length:null!==t)&&!s)return;let o;if(M)o="";else if(null==t)o="";else{const e=W(t);o="string"==typeof e?e:""}Q!==o&&(ee(o),P&&P(e,o,"reset"))}),[W,Q,M,P,ee,s,Z]),ne=a.useRef();a.useEffect((()=>{const e=Z!==ne.current;ne.current=Z,te&&!e||v&&!e||re(null,Z)}),[Z,re,te,ne,v]);const[ae,ie]=Oo({controlled:E,default:!1,name:c,state:"open"}),[se,le]=a.useState(!0),ce=!M&&null!=Z&&Q===W(Z),de=ae&&!z,ue=de?h(N.filter((e=>!g||!(M?Z:[Z]).some((t=>null!==t&&x(e,t))))),{inputValue:ce&&se?"":Q,getOptionLabel:W}):[],pe=ae&&ue.length>0&&!z,me=Lo((e=>{-1===e?j.current.focus():G.querySelector(`[data-tag-index="${e}"]`).focus()}));a.useEffect((()=>{M&&q>Z.length-1&&(K(-1),me(-1))}),[Z,M,q,me]);const fe=Lo((({event:e,index:t,reason:o="auto"})=>{if(Y.current=t,-1===t?j.current.removeAttribute("aria-activedescendant"):j.current.setAttribute("aria-activedescendant",`${D}-option-${t}`),I&&I(e,-1===t?null:ue[t],o),!U.current)return;const r=U.current.querySelector('[role="option"].Mui-focused');r&&(r.classList.remove("Mui-focused"),r.classList.remove("Mui-focusVisible"));const n=U.current.parentElement.querySelector('[role="listbox"]');if(!n)return;if(-1===t)return void(n.scrollTop=0);const a=U.current.querySelector(`[data-option-index="${t}"]`);if(a&&(a.classList.add("Mui-focused"),"keyboard"===o&&a.classList.add("Mui-focusVisible"),n.scrollHeight>n.clientHeight&&"mouse"!==o)){const e=a,t=n.clientHeight+n.scrollTop,o=e.offsetTop+e.offsetHeight;o>t?n.scrollTop=o-n.clientHeight:e.offsetTop-e.offsetHeight*(w?1.3:0)<n.scrollTop&&(n.scrollTop=e.offsetTop-e.offsetHeight*(w?1.3:0))}})),he=Lo((({event:e,diff:o,direction:r="next",reason:n="auto"})=>{if(!de)return;const a=function(e,t){if(!U.current||-1===e)return-1;let o=e;for(;;){if("next"===t&&o===ue.length||"previous"===t&&-1===o)return-1;const e=U.current.querySelector(`[data-option-index="${o}"]`),r=!m&&(!e||e.disabled||"true"===e.getAttribute("aria-disabled"));if(!(e&&!e.hasAttribute("tabindex")||r))return o;o+="next"===t?1:-1}}((()=>{const e=ue.length-1;if("reset"===o)return X;if("start"===o)return 0;if("end"===o)return e;const t=Y.current+o;return t<0?-1===t&&k?-1:f&&-1!==Y.current||Math.abs(o)>1?0:e:t>e?t===e+1&&k?-1:f||Math.abs(o)>1?e:0:t})(),r);if(fe({index:a,reason:n,event:e}),t&&"reset"!==o)if(-1===a)j.current.value=Q;else{const e=W(ue[a]);j.current.value=e;0===e.toLowerCase().indexOf(Q.toLowerCase())&&Q.length>0&&j.current.setSelectionRange(Q.length,e.length)}})),ge=a.useCallback((()=>{if(!de)return;const e=M?Z[0]:Z;if(0!==ue.length&&null!=e){if(U.current)if(null==e)Y.current>=ue.length-1?fe({index:ue.length-1}):fe({index:Y.current});else{const t=ue[Y.current];if(M&&t&&-1!==Ma(Z,(e=>x(t,e))))return;const o=Ma(ue,(t=>x(t,e)));-1===o?he({diff:"reset"}):fe({index:o})}}else he({diff:"reset"})}),[ue.length,!M&&Z,g,he,fe,de,Q,M]),ve=Lo((e=>{Mo(U,e),e&&ge()}));a.useEffect((()=>{ge()}),[ge]);const be=e=>{ae||(ie(!0),le(!0),O&&O(e))},ye=(e,t)=>{ae&&(ie(!1),T&&T(e,t))},xe=(e,t,o,r)=>{if(M){if(Z.length===t.length&&Z.every(((e,o)=>e===t[o])))return}else if(Z===t)return;$&&$(e,t,o,r),J(t)},we=a.useRef(!1),Se=(e,t,o="selectOption",r="options")=>{let a=o,i=t;if(M){i=Array.isArray(Z)?Z.slice():[];const e=Ma(i,(e=>x(t,e)));-1===e?i.push(t):"freeSolo"!==r&&(i.splice(e,1),a="removeOption")}re(e,i),xe(e,i,a,{option:t}),p||e.ctrlKey||e.metaKey||ye(e,a),(!0===n||"touch"===n&&we.current||"mouse"===n&&!we.current)&&j.current.blur()};const Ce=(e,t)=>{if(!M)return;""===Q&&ye(e,"toggleInput");let o=q;-1===q?""===Q&&"previous"===t&&(o=Z.length-1):(o+="next"===t?1:-1,o<0&&(o=0),o===Z.length&&(o=-1)),o=function(e,t){if(-1===e)return-1;let o=e;for(;;){if("next"===t&&o===Z.length||"previous"===t&&-1===o)return-1;const e=G.querySelector(`[data-tag-index="${o}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return o;o+="next"===t?1:-1}}(o,t),K(o),me(o)},ke=e=>{H.current=!0,ee(""),P&&P(e,"","clear"),xe(e,M?[]:null,"clear")},Re=e=>o=>{if(e.onKeyDown&&e.onKeyDown(o),!o.defaultMuiPrevented&&(-1!==q&&-1===["ArrowLeft","ArrowRight"].indexOf(o.key)&&(K(-1),me(-1)),229!==o.which))switch(o.key){case"Home":de&&S&&(o.preventDefault(),he({diff:"start",direction:"next",reason:"keyboard",event:o}));break;case"End":de&&S&&(o.preventDefault(),he({diff:"end",direction:"previous",reason:"keyboard",event:o}));break;case"PageUp":o.preventDefault(),he({diff:-5,direction:"previous",reason:"keyboard",event:o}),be(o);break;case"PageDown":o.preventDefault(),he({diff:5,direction:"next",reason:"keyboard",event:o}),be(o);break;case"ArrowDown":o.preventDefault(),he({diff:1,direction:"next",reason:"keyboard",event:o}),be(o);break;case"ArrowUp":o.preventDefault(),he({diff:-1,direction:"previous",reason:"keyboard",event:o}),be(o);break;case"ArrowLeft":Ce(o,"previous");break;case"ArrowRight":Ce(o,"next");break;case"Enter":if(-1!==Y.current&&de){const e=ue[Y.current],r=!!b&&b(e);if(o.preventDefault(),r)return;Se(o,e,"selectOption"),t&&j.current.setSelectionRange(j.current.value.length,j.current.value.length)}else v&&""!==Q&&!1===ce&&(M&&o.preventDefault(),Se(o,Q,"createOption","freeSolo"));break;case"Escape":de?(o.preventDefault(),o.stopPropagation(),ye(o,"escape")):l&&(""!==Q||M&&Z.length>0)&&(o.preventDefault(),o.stopPropagation(),ke(o));break;case"Backspace":if(M&&!z&&""===Q&&Z.length>0){const e=-1===q?Z.length-1:q,t=Z.slice();t.splice(e,1),xe(o,t,"removeOption",{option:Z[e]})}}},Me=e=>{oe(!0),A&&!H.current&&be(e)},$e=e=>{null!==U.current&&U.current.parentElement.contains(document.activeElement)?j.current.focus():(oe(!1),V.current=!0,H.current=!1,r&&-1!==Y.current&&de?Se(e,ue[Y.current],"blur"):r&&v&&""!==Q?Se(e,Q,"blur","freeSolo"):s&&re(e,Z),ye(e,"blur"))},Te=e=>{const t=e.target.value;Q!==t&&(ee(t),le(!1),P&&P(e,t,"input")),""===t?u||M||xe(e,null,"clear"):be(e)},Ie=e=>{fe({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"mouse"})},Pe=()=>{we.current=!0},Oe=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Se(e,ue[t],"selectOption"),we.current=!1},Le=e=>t=>{const o=Z.slice();o.splice(e,1),xe(t,o,"removeOption",{option:Z[e]})},Ee=e=>{ae?ye(e,"toggleInput"):be(e)},Ae=e=>{e.target.getAttribute("id")!==D&&e.preventDefault()},Ne=()=>{j.current.focus(),B&&V.current&&j.current.selectionEnd-j.current.selectionStart==0&&j.current.select(),V.current=!1},ze=e=>{""!==Q&&ae||Ee(e)};let Be=v&&Q.length>0;Be=Be||(M?Z.length>0:null!==Z);let Fe=ue;return w&&(Fe=ue.reduce(((e,t,o)=>{const r=w(t);return e.length>0&&e[e.length-1].group===r?e[e.length-1].options.push(t):e.push({key:o,index:o,group:r,options:[t]}),e}),[])),i&&te&&$e(),{getRootProps:(e={})=>L({"aria-owns":pe?`${D}-listbox`:null},e,{onKeyDown:Re(e),onMouseDown:Ae,onClick:Ne}),getInputLabelProps:()=>({id:`${D}-label`,htmlFor:D}),getInputProps:()=>({id:D,value:Q,onBlur:$e,onFocus:Me,onChange:Te,onMouseDown:ze,"aria-activedescendant":de?"":null,"aria-autocomplete":t?"both":"list","aria-controls":pe?`${D}-listbox`:void 0,"aria-expanded":pe,autoComplete:"off",ref:j,autoCapitalize:"none",spellCheck:"false",role:"combobox"}),getClearProps:()=>({tabIndex:-1,onClick:ke}),getPopupIndicatorProps:()=>({tabIndex:-1,onClick:Ee}),getTagProps:({index:e})=>L({key:e,"data-tag-index":e,tabIndex:-1},!z&&{onDelete:Le(e)}),getListboxProps:()=>({role:"listbox",id:`${D}-listbox`,"aria-labelledby":`${D}-label`,ref:ve,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{const o=(M?Z:[Z]).some((e=>null!=e&&x(t,e))),r=!!b&&b(t);return{key:W(t),tabIndex:-1,role:"option",id:`${D}-option-${e}`,onMouseOver:Ie,onClick:Oe,onTouchStart:Pe,"data-option-index":e,"aria-disabled":r,"aria-selected":o}},id:D,inputValue:Q,value:Z,dirty:Be,popupOpen:de,focused:te||-1!==q,anchorEl:G,setAnchorEl:_,focusedTag:q,groupedOptions:Fe}}function Ia(e){return er("BaseBadge",e)}tr("BaseBadge",["root","badge","invisible"]);const Pa=["badgeContent","component","children","className","components","componentsProps","invisible","max","showZero"];var Oa=a.forwardRef((function(e,t){var o,r;const{component:n,children:a,className:i,components:s={},componentsProps:l={},max:c=99,showZero:d=!1}=e,u=E(e,Pa),{badgeContent:p,max:m,displayValue:f,invisible:h}=function(e){const{badgeContent:t,invisible:o=!1,max:r=99,showZero:n=!1}=e,a=qo({badgeContent:t,max:r});let i=o;!1!==o||0!==t||n||(i=!0);const{badgeContent:s,max:l=r}=i?a:e;return{badgeContent:s,invisible:i,max:l,displayValue:s&&Number(s)>l?`${l}+`:s}}(L({},e,{max:c})),g=L({},e,{badgeContent:p,invisible:h,max:m,showZero:d}),v=(e=>{const{invisible:t}=e;return Yo({root:["root"],badge:["badge",t&&"invisible"]},Ia,void 0)})(g),b=n||s.Root||"span",y=Ca(b,L({},u,l.root,{ref:t,className:hn(v.root,null==(o=l.root)?void 0:o.className,i)}),g),x=s.Badge||"span",w=Ca(x,L({},l.badge,{className:hn(v.badge,null==(r=l.badge)?void 0:r.className)}),g);return mo(b,L({},y,{children:[a,po(x,L({},w,{children:f}))]}))}));function La(e){return e.substring(2).toLowerCase()}function Ea(e){const{children:t,disableReactTree:o=!1,mouseEvent:r="onClick",onClickAway:n,touchEvent:i="onTouchEnd"}=e,s=a.useRef(!1),l=a.useRef(null),c=a.useRef(!1),d=a.useRef(!1);a.useEffect((()=>(setTimeout((()=>{c.current=!0}),0),()=>{c.current=!1})),[]);const u=Eo(t.ref,l),p=Lo((e=>{const t=d.current;d.current=!1;const r=ko(l.current);if(!c.current||!l.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,r))return;if(s.current)return void(s.current=!1);let a;a=e.composedPath?e.composedPath().indexOf(l.current)>-1:!r.documentElement.contains(e.target)||l.current.contains(e.target),a||!o&&t||n(e)})),m=e=>o=>{d.current=!0;const r=t.props[e];r&&r(o)},f={ref:u};return!1!==i&&(f[i]=m(i)),a.useEffect((()=>{if(!1!==i){const e=La(i),t=ko(l.current),o=()=>{s.current=!0};return t.addEventListener(e,p),t.addEventListener("touchmove",o),()=>{t.removeEventListener(e,p),t.removeEventListener("touchmove",o)}}}),[p,i]),!1!==r&&(f[r]=m(r)),a.useEffect((()=>{if(!1!==r){const e=La(r),t=ko(l.current);return t.addEventListener(e,p),()=>{t.removeEventListener(e,p)}}}),[p,r]),po(a.Fragment,{children:a.cloneElement(t,f)})}var Aa="top",Na="bottom",za="right",Ba="left",Fa="auto",Da=[Aa,Na,za,Ba],Wa="start",Ha="end",Va="viewport",ja="popper",Ua=Da.reduce((function(e,t){return e.concat([t+"-"+Wa,t+"-"+Ha])}),[]),Ga=[].concat(Da,[Fa]).reduce((function(e,t){return e.concat([t,t+"-"+Wa,t+"-"+Ha])}),[]),_a=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function qa(e){return e?(e.nodeName||"").toLowerCase():null}function Ka(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Xa(e){return e instanceof Ka(e).Element||e instanceof Element}function Ya(e){return e instanceof Ka(e).HTMLElement||e instanceof HTMLElement}function Za(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Ka(e).ShadowRoot||e instanceof ShadowRoot)}var Ja={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var o=t.styles[e]||{},r=t.attributes[e]||{},n=t.elements[e];Ya(n)&&qa(n)&&(Object.assign(n.style,o),Object.keys(r).forEach((function(e){var t=r[e];!1===t?n.removeAttribute(e):n.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],n=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:o[e]).reduce((function(e,t){return e[t]="",e}),{});Ya(r)&&qa(r)&&(Object.assign(r.style,a),Object.keys(n).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Qa(e){return e.split("-")[0]}var ei=Math.max,ti=Math.min,oi=Math.round;function ri(e,t){void 0===t&&(t=!1);var o=e.getBoundingClientRect(),r=1,n=1;if(Ya(e)&&t){var a=e.offsetHeight,i=e.offsetWidth;i>0&&(r=oi(o.width)/i||1),a>0&&(n=oi(o.height)/a||1)}return{width:o.width/r,height:o.height/n,top:o.top/n,right:o.right/r,bottom:o.bottom/n,left:o.left/r,x:o.left/r,y:o.top/n}}function ni(e){var t=ri(e),o=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-o)<=1&&(o=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:r}}function ai(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&Za(o)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ii(e){return Ka(e).getComputedStyle(e)}function si(e){return["table","td","th"].indexOf(qa(e))>=0}function li(e){return((Xa(e)?e.ownerDocument:e.document)||window.document).documentElement}function ci(e){return"html"===qa(e)?e:e.assignedSlot||e.parentNode||(Za(e)?e.host:null)||li(e)}function di(e){return Ya(e)&&"fixed"!==ii(e).position?e.offsetParent:null}function ui(e){for(var t=Ka(e),o=di(e);o&&si(o)&&"static"===ii(o).position;)o=di(o);return o&&("html"===qa(o)||"body"===qa(o)&&"static"===ii(o).position)?t:o||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Ya(e)&&"fixed"===ii(e).position)return null;var o=ci(e);for(Za(o)&&(o=o.host);Ya(o)&&["html","body"].indexOf(qa(o))<0;){var r=ii(o);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return o;o=o.parentNode}return null}(e)||t}function pi(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function mi(e,t,o){return ei(e,ti(t,o))}function fi(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function hi(e,t){return t.reduce((function(t,o){return t[o]=e,t}),{})}function gi(e){return e.split("-")[1]}var vi={top:"auto",right:"auto",bottom:"auto",left:"auto"};function bi(e){var t,o=e.popper,r=e.popperRect,n=e.placement,a=e.variation,i=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,u=e.isFixed,p=i.x,m=void 0===p?0:p,f=i.y,h=void 0===f?0:f,g="function"==typeof d?d({x:m,y:h}):{x:m,y:h};m=g.x,h=g.y;var v=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),y=Ba,x=Aa,w=window;if(c){var S=ui(o),C="clientHeight",k="clientWidth";if(S===Ka(o)&&"static"!==ii(S=li(o)).position&&"absolute"===s&&(C="scrollHeight",k="scrollWidth"),S=S,n===Aa||(n===Ba||n===za)&&a===Ha)x=Na,h-=(u&&S===w&&w.visualViewport?w.visualViewport.height:S[C])-r.height,h*=l?1:-1;if(n===Ba||(n===Aa||n===Na)&&a===Ha)y=za,m-=(u&&S===w&&w.visualViewport?w.visualViewport.width:S[k])-r.width,m*=l?1:-1}var R,M=Object.assign({position:s},c&&vi),$=!0===d?function(e){var t=e.x,o=e.y,r=window.devicePixelRatio||1;return{x:oi(t*r)/r||0,y:oi(o*r)/r||0}}({x:m,y:h}):{x:m,y:h};return m=$.x,h=$.y,l?Object.assign({},M,((R={})[x]=b?"0":"",R[y]=v?"0":"",R.transform=(w.devicePixelRatio||1)<=1?"translate("+m+"px, "+h+"px)":"translate3d("+m+"px, "+h+"px, 0)",R)):Object.assign({},M,((t={})[x]=b?h+"px":"",t[y]=v?m+"px":"",t.transform="",t))}var yi={passive:!0};var xi={left:"right",right:"left",bottom:"top",top:"bottom"};function wi(e){return e.replace(/left|right|bottom|top/g,(function(e){return xi[e]}))}var Si={start:"end",end:"start"};function Ci(e){return e.replace(/start|end/g,(function(e){return Si[e]}))}function ki(e){var t=Ka(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ri(e){return ri(li(e)).left+ki(e).scrollLeft}function Mi(e){var t=ii(e),o=t.overflow,r=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+n+r)}function $i(e){return["html","body","#document"].indexOf(qa(e))>=0?e.ownerDocument.body:Ya(e)&&Mi(e)?e:$i(ci(e))}function Ti(e,t){var o;void 0===t&&(t=[]);var r=$i(e),n=r===(null==(o=e.ownerDocument)?void 0:o.body),a=Ka(r),i=n?[a].concat(a.visualViewport||[],Mi(r)?r:[]):r,s=t.concat(i);return n?s:s.concat(Ti(ci(i)))}function Ii(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Pi(e,t){return t===Va?Ii(function(e){var t=Ka(e),o=li(e),r=t.visualViewport,n=o.clientWidth,a=o.clientHeight,i=0,s=0;return r&&(n=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=r.offsetLeft,s=r.offsetTop)),{width:n,height:a,x:i+Ri(e),y:s}}(e)):Xa(t)?function(e){var t=ri(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Ii(function(e){var t,o=li(e),r=ki(e),n=null==(t=e.ownerDocument)?void 0:t.body,a=ei(o.scrollWidth,o.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),i=ei(o.scrollHeight,o.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),s=-r.scrollLeft+Ri(e),l=-r.scrollTop;return"rtl"===ii(n||o).direction&&(s+=ei(o.clientWidth,n?n.clientWidth:0)-a),{width:a,height:i,x:s,y:l}}(li(e)))}function Oi(e,t,o){var r="clippingParents"===t?function(e){var t=Ti(ci(e)),o=["absolute","fixed"].indexOf(ii(e).position)>=0&&Ya(e)?ui(e):e;return Xa(o)?t.filter((function(e){return Xa(e)&&ai(e,o)&&"body"!==qa(e)})):[]}(e):[].concat(t),n=[].concat(r,[o]),a=n[0],i=n.reduce((function(t,o){var r=Pi(e,o);return t.top=ei(r.top,t.top),t.right=ti(r.right,t.right),t.bottom=ti(r.bottom,t.bottom),t.left=ei(r.left,t.left),t}),Pi(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function Li(e){var t,o=e.reference,r=e.element,n=e.placement,a=n?Qa(n):null,i=n?gi(n):null,s=o.x+o.width/2-r.width/2,l=o.y+o.height/2-r.height/2;switch(a){case Aa:t={x:s,y:o.y-r.height};break;case Na:t={x:s,y:o.y+o.height};break;case za:t={x:o.x+o.width,y:l};break;case Ba:t={x:o.x-r.width,y:l};break;default:t={x:o.x,y:o.y}}var c=a?pi(a):null;if(null!=c){var d="y"===c?"height":"width";switch(i){case Wa:t[c]=t[c]-(o[d]/2-r[d]/2);break;case Ha:t[c]=t[c]+(o[d]/2-r[d]/2)}}return t}function Ei(e,t){void 0===t&&(t={});var o=t,r=o.placement,n=void 0===r?e.placement:r,a=o.boundary,i=void 0===a?"clippingParents":a,s=o.rootBoundary,l=void 0===s?Va:s,c=o.elementContext,d=void 0===c?ja:c,u=o.altBoundary,p=void 0!==u&&u,m=o.padding,f=void 0===m?0:m,h=fi("number"!=typeof f?f:hi(f,Da)),g=d===ja?"reference":ja,v=e.rects.popper,b=e.elements[p?g:d],y=Oi(Xa(b)?b:b.contextElement||li(e.elements.popper),i,l),x=ri(e.elements.reference),w=Li({reference:x,element:v,strategy:"absolute",placement:n}),S=Ii(Object.assign({},v,w)),C=d===ja?S:x,k={top:y.top-C.top+h.top,bottom:C.bottom-y.bottom+h.bottom,left:y.left-C.left+h.left,right:C.right-y.right+h.right},R=e.modifiersData.offset;if(d===ja&&R){var M=R[n];Object.keys(k).forEach((function(e){var t=[za,Na].indexOf(e)>=0?1:-1,o=[Aa,Na].indexOf(e)>=0?"y":"x";k[e]+=M[o]*t}))}return k}function Ai(e,t){void 0===t&&(t={});var o=t,r=o.placement,n=o.boundary,a=o.rootBoundary,i=o.padding,s=o.flipVariations,l=o.allowedAutoPlacements,c=void 0===l?Ga:l,d=gi(r),u=d?s?Ua:Ua.filter((function(e){return gi(e)===d})):Da,p=u.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=u);var m=p.reduce((function(t,o){return t[o]=Ei(e,{placement:o,boundary:n,rootBoundary:a,padding:i})[Qa(o)],t}),{});return Object.keys(m).sort((function(e,t){return m[e]-m[t]}))}function Ni(e,t,o){return void 0===o&&(o={x:0,y:0}),{top:e.top-t.height-o.y,right:e.right-t.width+o.x,bottom:e.bottom-t.height+o.y,left:e.left-t.width-o.x}}function zi(e){return[Aa,za,Na,Ba].some((function(t){return e[t]>=0}))}function Bi(e,t,o){void 0===o&&(o=!1);var r,n,a=Ya(t),i=Ya(t)&&function(e){var t=e.getBoundingClientRect(),o=oi(t.width)/e.offsetWidth||1,r=oi(t.height)/e.offsetHeight||1;return 1!==o||1!==r}(t),s=li(t),l=ri(e,i),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(a||!a&&!o)&&(("body"!==qa(t)||Mi(s))&&(c=(r=t)!==Ka(r)&&Ya(r)?{scrollLeft:(n=r).scrollLeft,scrollTop:n.scrollTop}:ki(r)),Ya(t)?((d=ri(t,!0)).x+=t.clientLeft,d.y+=t.clientTop):s&&(d.x=Ri(s))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function Fi(e){var t=new Map,o=new Set,r=[];function n(e){o.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!o.has(e)){var r=t.get(e);r&&n(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){o.has(e.name)||n(e)})),r}var Di={placement:"bottom",modifiers:[],strategy:"absolute"};function Wi(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Hi(e){void 0===e&&(e={});var t=e,o=t.defaultModifiers,r=void 0===o?[]:o,n=t.defaultOptions,a=void 0===n?Di:n;return function(e,t,o){void 0===o&&(o=a);var n,i,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Di,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,d={state:s,setOptions:function(o){var n="function"==typeof o?o(s.options):o;u(),s.options=Object.assign({},a,s.options,n),s.scrollParents={reference:Xa(e)?Ti(e):e.contextElement?Ti(e.contextElement):[],popper:Ti(t)};var i,c,p=function(e){var t=Fi(e);return _a.reduce((function(e,o){return e.concat(t.filter((function(e){return e.phase===o})))}),[])}((i=[].concat(r,s.options.modifiers),c=i.reduce((function(e,t){var o=e[t.name];return e[t.name]=o?Object.assign({},o,t,{options:Object.assign({},o.options,t.options),data:Object.assign({},o.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return s.orderedModifiers=p.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,o=e.options,r=void 0===o?{}:o,n=e.effect;if("function"==typeof n){var a=n({state:s,name:t,instance:d,options:r}),i=function(){};l.push(a||i)}})),d.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,o=e.popper;if(Wi(t,o)){s.rects={reference:Bi(t,ui(o),"fixed"===s.options.strategy),popper:ni(o)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var n=s.orderedModifiers[r],a=n.fn,i=n.options,l=void 0===i?{}:i,u=n.name;"function"==typeof a&&(s=a({state:s,options:l,name:u,instance:d})||s)}else s.reset=!1,r=-1}}},update:(n=function(){return new Promise((function(e){d.forceUpdate(),e(s)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(n())}))}))),i}),destroy:function(){u(),c=!0}};if(!Wi(e,t))return d;function u(){l.forEach((function(e){return e()})),l=[]}return d.setOptions(o).then((function(e){!c&&o.onFirstUpdate&&o.onFirstUpdate(e)})),d}}var Vi=Hi({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,o=e.instance,r=e.options,n=r.scroll,a=void 0===n||n,i=r.resize,s=void 0===i||i,l=Ka(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",o.update,yi)})),s&&l.addEventListener("resize",o.update,yi),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",o.update,yi)})),s&&l.removeEventListener("resize",o.update,yi)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,o=e.name;t.modifiersData[o]=Li({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,o=e.options,r=o.gpuAcceleration,n=void 0===r||r,a=o.adaptive,i=void 0===a||a,s=o.roundOffsets,l=void 0===s||s,c={placement:Qa(t.placement),variation:gi(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,bi(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,bi(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Ja,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,o=e.options,r=e.name,n=o.offset,a=void 0===n?[0,0]:n,i=Ga.reduce((function(e,o){return e[o]=function(e,t,o){var r=Qa(e),n=[Ba,Aa].indexOf(r)>=0?-1:1,a="function"==typeof o?o(Object.assign({},t,{placement:e})):o,i=a[0],s=a[1];return i=i||0,s=(s||0)*n,[Ba,za].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}(o,t.rects,a),e}),{}),s=i[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var n=o.mainAxis,a=void 0===n||n,i=o.altAxis,s=void 0===i||i,l=o.fallbackPlacements,c=o.padding,d=o.boundary,u=o.rootBoundary,p=o.altBoundary,m=o.flipVariations,f=void 0===m||m,h=o.allowedAutoPlacements,g=t.options.placement,v=Qa(g),b=l||(v===g||!f?[wi(g)]:function(e){if(Qa(e)===Fa)return[];var t=wi(e);return[Ci(e),t,Ci(t)]}(g)),y=[g].concat(b).reduce((function(e,o){return e.concat(Qa(o)===Fa?Ai(t,{placement:o,boundary:d,rootBoundary:u,padding:c,flipVariations:f,allowedAutoPlacements:h}):o)}),[]),x=t.rects.reference,w=t.rects.popper,S=new Map,C=!0,k=y[0],R=0;R<y.length;R++){var M=y[R],$=Qa(M),T=gi(M)===Wa,I=[Aa,Na].indexOf($)>=0,P=I?"width":"height",O=Ei(t,{placement:M,boundary:d,rootBoundary:u,altBoundary:p,padding:c}),L=I?T?za:Ba:T?Na:Aa;x[P]>w[P]&&(L=wi(L));var E=wi(L),A=[];if(a&&A.push(O[$]<=0),s&&A.push(O[L]<=0,O[E]<=0),A.every((function(e){return e}))){k=M,C=!1;break}S.set(M,A)}if(C)for(var N=function(e){var t=y.find((function(t){var o=S.get(t);if(o)return o.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},z=f?3:1;z>0;z--){if("break"===N(z))break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,r=e.name,n=o.mainAxis,a=void 0===n||n,i=o.altAxis,s=void 0!==i&&i,l=o.boundary,c=o.rootBoundary,d=o.altBoundary,u=o.padding,p=o.tether,m=void 0===p||p,f=o.tetherOffset,h=void 0===f?0:f,g=Ei(t,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),v=Qa(t.placement),b=gi(t.placement),y=!b,x=pi(v),w="x"===x?"y":"x",S=t.modifiersData.popperOffsets,C=t.rects.reference,k=t.rects.popper,R="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,M="number"==typeof R?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),$=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(S){if(a){var I,P="y"===x?Aa:Ba,O="y"===x?Na:za,L="y"===x?"height":"width",E=S[x],A=E+g[P],N=E-g[O],z=m?-k[L]/2:0,B=b===Wa?C[L]:k[L],F=b===Wa?-k[L]:-C[L],D=t.elements.arrow,W=m&&D?ni(D):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=H[P],j=H[O],U=mi(0,C[L],W[L]),G=y?C[L]/2-z-U-V-M.mainAxis:B-U-V-M.mainAxis,_=y?-C[L]/2+z+U+j+M.mainAxis:F+U+j+M.mainAxis,q=t.elements.arrow&&ui(t.elements.arrow),K=q?"y"===x?q.clientTop||0:q.clientLeft||0:0,X=null!=(I=null==$?void 0:$[x])?I:0,Y=E+_-X,Z=mi(m?ti(A,E+G-X-K):A,E,m?ei(N,Y):N);S[x]=Z,T[x]=Z-E}if(s){var J,Q="x"===x?Aa:Ba,ee="x"===x?Na:za,te=S[w],oe="y"===w?"height":"width",re=te+g[Q],ne=te-g[ee],ae=-1!==[Aa,Ba].indexOf(v),ie=null!=(J=null==$?void 0:$[w])?J:0,se=ae?re:te-C[oe]-k[oe]-ie+M.altAxis,le=ae?te+C[oe]+k[oe]-ie-M.altAxis:ne,ce=m&&ae?function(e,t,o){var r=mi(e,t,o);return r>o?o:r}(se,te,le):mi(m?se:re,te,m?le:ne);S[w]=ce,T[w]=ce-te}t.modifiersData[r]=T}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,o=e.state,r=e.name,n=e.options,a=o.elements.arrow,i=o.modifiersData.popperOffsets,s=Qa(o.placement),l=pi(s),c=[Ba,za].indexOf(s)>=0?"height":"width";if(a&&i){var d=function(e,t){return fi("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:hi(e,Da))}(n.padding,o),u=ni(a),p="y"===l?Aa:Ba,m="y"===l?Na:za,f=o.rects.reference[c]+o.rects.reference[l]-i[l]-o.rects.popper[c],h=i[l]-o.rects.reference[l],g=ui(a),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=f/2-h/2,y=d[p],x=v-u[c]-d[m],w=v/2-u[c]/2+b,S=mi(y,w,x),C=l;o.modifiersData[r]=((t={})[C]=S,t.centerOffset=S-w,t)}},effect:function(e){var t=e.state,o=e.options.element,r=void 0===o?"[data-popper-arrow]":o;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ai(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,o=e.name,r=t.rects.reference,n=t.rects.popper,a=t.modifiersData.preventOverflow,i=Ei(t,{elementContext:"reference"}),s=Ei(t,{altBoundary:!0}),l=Ni(i,r),c=Ni(s,n,a),d=zi(l),u=zi(c);t.modifiersData[o]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}}]});var ji=a.forwardRef((function(e,t){const{children:o,container:r,disablePortal:n=!1}=e,[i,l]=a.useState(null),c=Eo(a.isValidElement(o)?o.ref:null,t);return $o((()=>{n||l(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,n]),$o((()=>{if(i&&!n)return Mo(t,i),()=>{Mo(t,null)}}),[t,i,n]),n?a.isValidElement(o)?a.cloneElement(o,{ref:c}):o:i?s.createPortal(o,i):i}));const Ui=["anchorEl","children","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","TransitionProps"],Gi=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function _i(e){return"function"==typeof e?e():e}const qi={},Ki=a.forwardRef((function(e,t){const{anchorEl:o,children:r,direction:n,disablePortal:i,modifiers:s,open:l,placement:c,popperOptions:d,popperRef:u,TransitionProps:p}=e,m=E(e,Ui),f=a.useRef(null),h=Eo(f,t),g=a.useRef(null),v=Eo(g,u),b=a.useRef(v);$o((()=>{b.current=v}),[v]),a.useImperativeHandle(u,(()=>g.current),[]);const y=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(c,n),[x,w]=a.useState(y);a.useEffect((()=>{g.current&&g.current.forceUpdate()})),$o((()=>{if(!o||!l)return;_i(o);let e=[{name:"preventOverflow",options:{altBoundary:i}},{name:"flip",options:{altBoundary:i}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{w(e.placement)}}];null!=s&&(e=e.concat(s)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));const t=Vi(_i(o),f.current,L({placement:y},d,{modifiers:e}));return b.current(t),()=>{t.destroy(),b.current(null)}}),[o,i,s,l,d,y]);const S={placement:x};return null!==p&&(S.TransitionProps=p),po("div",L({ref:h,role:"tooltip"},m,{children:"function"==typeof r?r(S):r}))}));var Xi=a.forwardRef((function(e,t){const{anchorEl:o,children:r,container:n,direction:i="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:d,placement:u="bottom",popperOptions:p=qi,popperRef:m,style:f,transition:h=!1}=e,g=E(e,Gi),[v,b]=a.useState(!0);if(!l&&!d&&(!h||v))return null;const y=n||(o?ko(_i(o)).body:void 0);return po(ji,{disablePortal:s,container:y,children:po(Ki,L({anchorEl:o,direction:i,disablePortal:s,modifiers:c,ref:t,open:h?!v:d,placement:u,popperOptions:p,popperRef:m},g,{style:L({position:"fixed",top:0,left:0,display:d||!l||h&&!v?null:"none"},f),TransitionProps:h?{in:d,onEnter:()=>{b(!1)},onExited:()=>{b(!0)}}:null,children:r}))})}));function Yi(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Zi(e){return parseInt(Ro(e).getComputedStyle(e).paddingRight,10)||0}function Ji(e,t,o,r=[],n){const a=[t,o,...r],i=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(e=>{-1===a.indexOf(e)&&-1===i.indexOf(e.tagName)&&Yi(e,n)}))}function Qi(e,t){let o=-1;return e.some(((e,r)=>!!t(e)&&(o=r,!0))),o}function es(e,t){const o=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=ko(e);return t.body===e?Ro(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=jo(ko(r));o.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Zi(r)+e}px`;const t=ko(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{o.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Zi(t)+e}px`}))}const e=r.parentElement,t=Ro(r),n="HTML"===(null==e?void 0:e.nodeName)&&"scroll"===t.getComputedStyle(e).overflowY?e:r;o.push({value:n.style.overflow,property:"overflow",el:n},{value:n.style.overflowX,property:"overflow-x",el:n},{value:n.style.overflowY,property:"overflow-y",el:n}),n.style.overflow="hidden"}return()=>{o.forEach((({value:e,el:t,property:o})=>{e?t.style.setProperty(o,e):t.style.removeProperty(o)}))}}class ts{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let o=this.modals.indexOf(e);if(-1!==o)return o;o=this.modals.length,this.modals.push(e),e.modalRef&&Yi(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Ji(t,e.mount,e.modalRef,r,!0);const n=Qi(this.containers,(e=>e.container===t));return-1!==n?(this.containers[n].modals.push(e),o):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),o)}mount(e,t){const o=Qi(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[o];r.restore||(r.restore=es(r,t))}remove(e){const t=this.modals.indexOf(e);if(-1===t)return t;const o=Qi(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[o];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&Yi(e.modalRef,!0),Ji(r.container,e.mount,e.modalRef,r.hiddenSiblings,!1),this.containers.splice(o,1);else{const e=r.modals[r.modals.length-1];e.modalRef&&Yi(e.modalRef,!1)}return t}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}const os=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function rs(e){const t=[],o=[];return Array.from(e.querySelectorAll(os)).forEach(((e,r)=>{const n=function(e){const t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==n&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let o=t(`[name="${e.name}"]:checked`);return o||(o=t(`[name="${e.name}"]`)),o!==e}(e))}(e)&&(0===n?t.push(e):o.push({documentOrder:r,tabIndex:n,node:e}))})),o.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function ns(){return!0}function as(e){const{children:t,disableAutoFocus:o=!1,disableEnforceFocus:r=!1,disableRestoreFocus:n=!1,getTabbable:i=rs,isEnabled:s=ns,open:l}=e,c=a.useRef(),d=a.useRef(null),u=a.useRef(null),p=a.useRef(null),m=a.useRef(null),f=a.useRef(!1),h=a.useRef(null),g=Eo(t.ref,h),v=a.useRef(null);a.useEffect((()=>{l&&h.current&&(f.current=!o)}),[o,l]),a.useEffect((()=>{if(!l||!h.current)return;const e=ko(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex",-1),f.current&&h.current.focus()),()=>{n||(p.current&&p.current.focus&&(c.current=!0,p.current.focus()),p.current=null)}}),[l]),a.useEffect((()=>{if(!l||!h.current)return;const e=ko(h.current),t=t=>{const{current:o}=h;if(null!==o)if(e.hasFocus()&&!r&&s()&&!c.current){if(!o.contains(e.activeElement)){if(t&&m.current!==t.target||e.activeElement!==m.current)m.current=null;else if(null!==m.current)return;if(!f.current)return;let r=[];if(e.activeElement!==d.current&&e.activeElement!==u.current||(r=i(h.current)),r.length>0){var n,a;const e=Boolean((null==(n=v.current)?void 0:n.shiftKey)&&"Tab"===(null==(a=v.current)?void 0:a.key)),t=r[0],o=r[r.length-1];e?o.focus():t.focus()}else o.focus()}}else c.current=!1},o=t=>{v.current=t,!r&&s()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(c.current=!0,u.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",o,!0);const n=setInterval((()=>{"BODY"===e.activeElement.tagName&&t()}),50);return()=>{clearInterval(n),e.removeEventListener("focusin",t),e.removeEventListener("keydown",o,!0)}}),[o,r,n,s,l,i]);const b=e=>{null===p.current&&(p.current=e.relatedTarget),f.current=!0};return mo(a.Fragment,{children:[po("div",{tabIndex:0,onFocus:b,ref:d,"data-test":"sentinelStart"}),a.cloneElement(t,{ref:g,onFocus:e=>{null===p.current&&(p.current=e.relatedTarget),f.current=!0,m.current=e.target;const o=t.props.onFocus;o&&o(e)}}),po("div",{tabIndex:0,onFocus:b,ref:u,"data-test":"sentinelEnd"})]})}function is(e){return er("MuiModal",e)}var ss=tr("MuiModal",["root","hidden"]);const ls=["BackdropComponent","BackdropProps","children","classes","className","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","theme","onTransitionEnter","onTransitionExited"];const cs=new ts;var ds=a.forwardRef((function(e,t){const{BackdropComponent:o,BackdropProps:r,children:n,classes:i,className:s,closeAfterTransition:l=!1,component:c="div",components:d={},componentsProps:u={},container:p,disableAutoFocus:m=!1,disableEnforceFocus:f=!1,disableEscapeKeyDown:h=!1,disablePortal:g=!1,disableRestoreFocus:v=!1,disableScrollLock:b=!1,hideBackdrop:y=!1,keepMounted:x=!1,manager:w=cs,onBackdropClick:S,onClose:C,onKeyDown:k,open:R,theme:M,onTransitionEnter:$,onTransitionExited:T}=e,I=E(e,ls),[P,O]=a.useState(!0),A=a.useRef({}),N=a.useRef(null),z=a.useRef(null),B=Eo(z,t),F=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(e),D=()=>(A.current.modalRef=z.current,A.current.mountNode=N.current,A.current),W=()=>{w.mount(D(),{disableScrollLock:b}),z.current.scrollTop=0},H=Lo((()=>{const e=function(e){return"function"==typeof e?e():e}(p)||ko(N.current).body;w.add(D(),e),z.current&&W()})),V=a.useCallback((()=>w.isTopModal(D())),[w]),j=Lo((e=>{N.current=e,e&&(R&&V()?W():Yi(z.current,!0))})),U=a.useCallback((()=>{w.remove(D())}),[w]);a.useEffect((()=>()=>{U()}),[U]),a.useEffect((()=>{R?H():F&&l||U()}),[R,U,F,l,H]);const G=L({},e,{classes:i,closeAfterTransition:l,disableAutoFocus:m,disableEnforceFocus:f,disableEscapeKeyDown:h,disablePortal:g,disableRestoreFocus:v,disableScrollLock:b,exited:P,hideBackdrop:y,keepMounted:x}),_=(e=>{const{open:t,exited:o,classes:r}=e;return Yo({root:["root",!t&&o&&"hidden"]},is,r)})(G);if(!x&&!R&&(!F||P))return null;const q=()=>{O(!1),$&&$()},K=()=>{O(!0),T&&T(),l&&U()},X={};void 0===n.props.tabIndex&&(X.tabIndex="-1"),F&&(X.onEnter=wo(q,n.props.onEnter),X.onExited=wo(K,n.props.onExited));const Y=d.Root||c,Z=u.root||{};return po(ji,{ref:j,container:p,disablePortal:g,children:mo(Y,L({role:"presentation"},Z,!Sa(Y)&&{as:c,ownerState:L({},G,Z.ownerState),theme:M},I,{ref:B,onKeyDown:e=>{k&&k(e),"Escape"===e.key&&V()&&(h||(e.stopPropagation(),C&&C(e,"escapeKeyDown")))},className:hn(_.root,Z.className,s),children:[!y&&o?po(o,L({"aria-hidden":!0,open:R,onClick:e=>{e.target===e.currentTarget&&(S&&S(e),C&&C(e,"backdropClick"))}},r)):null,po(as,{disableEnforceFocus:f,disableAutoFocus:m,disableRestoreFocus:v,isEnabled:V,open:R,children:a.cloneElement(n,X)})]}))})}));function us(e){const{children:t,defer:o=!1,fallback:r=null}=e,[n,i]=a.useState(!1);return $o((()=>{o||i(!0)}),[o]),a.useEffect((()=>{o&&i(!0)}),[o]),po(a.Fragment,{children:n?t:r})}function ps(e){return er("MuiSlider",e)}var ms=tr("MuiSlider",["root","active","focusVisible","disabled","dragging","marked","vertical","trackInverted","trackFalse","rail","track","mark","markActive","markLabel","markLabelActive","thumb","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel"]);function fs(e){const{children:t,className:o,value:r,theme:n}=e,i=(e=>{const{open:t}=e;return{offset:hn(t&&ms.valueLabelOpen),circle:ms.valueLabelCircle,label:ms.valueLabelLabel}})(e);return a.cloneElement(t,{className:hn(t.props.className)},mo(a.Fragment,{children:[t.props.children,po("span",{className:hn(i.offset,o),theme:n,"aria-hidden":!0,children:po("span",{className:i.circle,children:po("span",{className:i.label,children:r})})})]}))}function hs(e,t){return e-t}function gs(e,t,o){return null==e?t:Math.min(Math.max(t,e),o)}function vs(e,t){var o;const{index:r}=null!=(o=e.reduce(((e,o,r)=>{const n=Math.abs(t-o);return null===e||n<e.distance||n===e.distance?{distance:n,index:r}:e}),null))?o:{};return r}function bs(e,t){if(void 0!==t.current&&e.changedTouches){const o=e;for(let e=0;e<o.changedTouches.length;e+=1){const r=o.changedTouches[e];if(r.identifier===t.current)return{x:r.clientX,y:r.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function ys(e,t,o){return 100*(e-t)/(o-t)}function xs(e,t,o){const r=Math.round((e-o)/t)*t+o;return Number(r.toFixed(function(e){if(Math.abs(e)<1){const t=e.toExponential().split("e-"),o=t[0].split(".")[1];return(o?o.length:0)+parseInt(t[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}(t)))}function ws({values:e,newValue:t,index:o}){const r=e.slice();return r[o]=t,r.sort(hs)}function Ss({sliderRef:e,activeIndex:t,setActive:o}){var r,n;const a=ko(e.current);var i;null!=(r=e.current)&&r.contains(a.activeElement)&&Number(null==a||null==(n=a.activeElement)?void 0:n.getAttribute("data-index"))===t||(null==(i=e.current)||i.querySelector(`[type="range"][data-index="${t}"]`).focus());o&&o(t)}const Cs={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},ks=e=>e;let Rs;function Ms(){return void 0===Rs&&(Rs="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),Rs}function $s(e){const{"aria-labelledby":t,defaultValue:o,disabled:r=!1,disableSwap:n=!1,isRtl:i=!1,marks:s=!1,max:l=100,min:c=0,name:d,onChange:u,onChangeCommitted:p,orientation:m="horizontal",ref:f,scale:h=ks,step:g=1,tabIndex:v,value:b}=e,y=a.useRef(),[x,w]=a.useState(-1),[S,C]=a.useState(-1),[k,R]=a.useState(!1),M=a.useRef(0),[$,T]=Oo({controlled:b,default:null!=o?o:c,name:"Slider"}),I=u&&((e,t,o)=>{const r=e.nativeEvent||e,n=new r.constructor(r.type,r);Object.defineProperty(n,"target",{writable:!0,value:{value:t,name:d}}),u(n,t,o)}),P=Array.isArray($);let O=P?$.slice().sort(hs):[$];O=O.map((e=>gs(e,c,l)));const E=!0===s&&null!==g?[...Array(Math.floor((l-c)/g)+1)].map(((e,t)=>({value:c+g*t}))):s||[],A=E.map((e=>e.value)),{isFocusVisibleRef:N,onBlur:z,onFocus:B,ref:F}=Vo(),[D,W]=a.useState(-1),H=a.useRef(),V=Eo(F,H),j=Eo(f,V),U=e=>t=>{var o;const r=Number(t.currentTarget.getAttribute("data-index"));B(t),!0===N.current&&W(r),C(r),null==e||null==(o=e.onFocus)||o.call(e,t)},G=e=>t=>{var o;z(t),!1===N.current&&W(-1),C(-1),null==e||null==(o=e.onBlur)||o.call(e,t)};$o((()=>{var e;r&&H.current.contains(document.activeElement)&&(null==(e=document.activeElement)||e.blur())}),[r]),r&&-1!==x&&w(-1),r&&-1!==D&&W(-1);const _=e=>t=>{var o;null==(o=e.onChange)||o.call(e,t);const r=Number(t.currentTarget.getAttribute("data-index")),a=O[r],i=A.indexOf(a);let s=t.target.valueAsNumber;if(E&&null==g&&(s=s<a?A[i-1]:A[i+1]),s=gs(s,c,l),E&&null==g){const e=A.indexOf(O[r]);s=s<O[r]?A[e-1]:A[e+1]}if(P){n&&(s=gs(s,O[r-1]||-1/0,O[r+1]||1/0));const e=s;s=ws({values:O,newValue:s,index:r});let t=r;n||(t=s.indexOf(e)),Ss({sliderRef:H,activeIndex:t})}T(s),W(r),I&&I(t,s,r),p&&p(t,s)},q=a.useRef();let K=m;i&&"horizontal"===m&&(K+="-reverse");const X=({finger:e,move:t=!1,values:o})=>{const{current:r}=H,{width:a,height:i,bottom:s,left:d}=r.getBoundingClientRect();let u,p;if(u=0===K.indexOf("vertical")?(s-e.y)/i:(e.x-d)/a,-1!==K.indexOf("-reverse")&&(u=1-u),p=function(e,t,o){return(o-t)*e+t}(u,c,l),g)p=xs(p,g,c);else{const e=vs(A,p);p=A[e]}p=gs(p,c,l);let m=0;if(P){m=t?q.current:vs(o,p),n&&(p=gs(p,o[m-1]||-1/0,o[m+1]||1/0));const e=p;p=ws({values:o,newValue:p,index:m}),n&&t||(m=p.indexOf(e),q.current=m)}return{newValue:p,activeIndex:m}},Y=Lo((e=>{const t=bs(e,y);if(!t)return;if(M.current+=1,"mousemove"===e.type&&0===e.buttons)return void Z(e);const{newValue:o,activeIndex:r}=X({finger:t,move:!0,values:O});Ss({sliderRef:H,activeIndex:r,setActive:w}),T(o),!k&&M.current>2&&R(!0),I&&I(e,o,r)})),Z=Lo((e=>{const t=bs(e,y);if(R(!1),!t)return;const{newValue:o}=X({finger:t,move:!0,values:O});w(-1),"touchend"===e.type&&C(-1),p&&p(e,o),y.current=void 0,Q()})),J=Lo((e=>{if(r)return;Ms()||e.preventDefault();const t=e.changedTouches[0];null!=t&&(y.current=t.identifier);const o=bs(e,y);if(!1!==o){const{newValue:t,activeIndex:r}=X({finger:o,values:O});Ss({sliderRef:H,activeIndex:r,setActive:w}),T(t),I&&I(e,t,r)}M.current=0;const n=ko(H.current);n.addEventListener("touchmove",Y),n.addEventListener("touchend",Z)})),Q=a.useCallback((()=>{const e=ko(H.current);e.removeEventListener("mousemove",Y),e.removeEventListener("mouseup",Z),e.removeEventListener("touchmove",Y),e.removeEventListener("touchend",Z)}),[Z,Y]);a.useEffect((()=>{const{current:e}=H;return e.addEventListener("touchstart",J,{passive:Ms()}),()=>{e.removeEventListener("touchstart",J,{passive:Ms()}),Q()}}),[Q,J]),a.useEffect((()=>{r&&Q()}),[r,Q]);const ee=e=>t=>{var o;if(null==(o=e.onMouseDown)||o.call(e,t),r)return;if(t.defaultPrevented)return;if(0!==t.button)return;t.preventDefault();const n=bs(t,y);if(!1!==n){const{newValue:e,activeIndex:o}=X({finger:n,values:O});Ss({sliderRef:H,activeIndex:o,setActive:w}),T(e),I&&I(t,e,o)}M.current=0;const a=ko(H.current);a.addEventListener("mousemove",Y),a.addEventListener("mouseup",Z)},te=ys(P?O[0]:c,c,l),oe=ys(O[O.length-1],c,l)-te,re=e=>t=>{var o;null==(o=e.onMouseOver)||o.call(e,t);const r=Number(t.currentTarget.getAttribute("data-index"));C(r)},ne=e=>t=>{var o;null==(o=e.onMouseLeave)||o.call(e,t),C(-1)};return{active:x,axis:K,axisProps:Cs,dragging:k,focusVisible:D,getHiddenInputProps:(o={})=>{const n=L({},o,{onChange:_(o||{}),onFocus:U(o||{}),onBlur:G(o||{})});return L({tabIndex:v,"aria-labelledby":t,"aria-orientation":m,"aria-valuemax":h(l),"aria-valuemin":h(c),name:d,type:"range",min:e.min,max:e.max,step:e.step,disabled:r},n,{style:L({},Ko,{direction:i?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:(e={})=>{const t=L({},e,{onMouseDown:ee(e||{})});return L({ref:j},t)},getThumbProps:(e={})=>{const t=L({},e,{onMouseOver:re(e||{}),onMouseLeave:ne(e||{})});return L({},t)},marks:E,open:S,range:P,trackLeap:oe,trackOffset:te,values:O}}const Ts=["aria-label","aria-valuetext","className","component","classes","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","onMouseDown","orientation","scale","step","tabIndex","track","value","valueLabelDisplay","valueLabelFormat","isRtl","components","componentsProps"],Is=e=>e,Ps=({children:e})=>e;var Os=a.forwardRef((function(e,t){var o,r,n,i,s,l,c;const{"aria-label":d,"aria-valuetext":u,className:p,component:m,classes:f,disableSwap:h=!1,disabled:g=!1,getAriaLabel:v,getAriaValueText:b,marks:y=!1,max:x=100,min:w=0,onMouseDown:S,orientation:C="horizontal",scale:k=Is,step:R=1,track:M="normal",valueLabelDisplay:$="off",valueLabelFormat:T=Is,isRtl:I=!1,components:P={},componentsProps:O={}}=e,A=E(e,Ts),N=L({},e,{marks:y,classes:f,disabled:g,isRtl:I,max:x,min:w,orientation:C,scale:k,step:R,track:M,valueLabelDisplay:$,valueLabelFormat:T}),{axisProps:z,getRootProps:B,getHiddenInputProps:F,getThumbProps:D,open:W,active:H,axis:V,range:j,focusVisible:U,dragging:G,marks:_,values:q,trackOffset:K,trackLeap:X}=$s(L({},N,{ref:t}));N.marked=_.length>0&&_.some((e=>e.label)),N.dragging=G;const Y=null!=(o=null!=m?m:P.Root)?o:"span",Z=Ca(Y,L({},A,O.root),N),J=null!=(r=P.Rail)?r:"span",Q=Ca(J,O.rail,N),ee=null!=(n=P.Track)?n:"span",te=Ca(ee,O.track,N),oe=L({},z[V].offset(K),z[V].leap(X)),re=null!=(i=P.Thumb)?i:"span",ne=Ca(re,O.thumb,N),ae=null!=(s=P.ValueLabel)?s:fs,ie=Ca(ae,O.valueLabel,N),se=null!=(l=P.Mark)?l:"span",le=Ca(se,O.mark,N),ce=null!=(c=P.MarkLabel)?c:"span",de=Ca(ce,O.markLabel,N),ue=P.Input||"input",pe=Ca(ue,O.input,N),me=F(),fe=(e=>{const{disabled:t,dragging:o,marked:r,orientation:n,track:a,classes:i}=e;return Yo({root:["root",t&&"disabled",o&&"dragging",r&&"marked","vertical"===n&&"vertical","inverted"===a&&"trackInverted",!1===a&&"trackFalse"],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled"],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]},ps,i)})(N);return mo(Y,L({},Z,B({onMouseDown:S}),{className:hn(fe.root,Z.className,p),children:[po(J,L({},Q,{className:hn(fe.rail,Q.className)})),po(ee,L({},te,{className:hn(fe.track,te.className),style:L({},oe,te.style)})),_.filter((e=>e.value>=w&&e.value<=x)).map(((e,t)=>{const o=ys(e.value,w,x),r=z[V].offset(o);let n;return n=!1===M?-1!==q.indexOf(e.value):"normal"===M&&(j?e.value>=q[0]&&e.value<=q[q.length-1]:e.value<=q[0])||"inverted"===M&&(j?e.value<=q[0]||e.value>=q[q.length-1]:e.value>=q[0]),mo(a.Fragment,{children:[po(se,L({"data-index":t},le,!Sa(se)&&{markActive:n},{style:L({},r,le.style),className:hn(fe.mark,le.className,n&&fe.markActive)})),null!=e.label?po(ce,L({"aria-hidden":!0,"data-index":t},de,!Sa(ce)&&{markLabelActive:n},{style:L({},r,de.style),className:hn(fe.markLabel,de.className,n&&fe.markLabelActive),children:e.label})):null]},e.value)})),q.map(((e,t)=>{const o=ys(e,w,x),r=z[V].offset(o),n="off"===$?Ps:ae;return po(a.Fragment,{children:po(n,L({},!Sa(n)&&{valueLabelFormat:T,valueLabelDisplay:$,value:"function"==typeof T?T(k(e),t):T,index:t,open:W===t||H===t||"on"===$,disabled:g},ie,{className:hn(fe.valueLabel,ie.className),children:po(re,L({"data-index":t},ne,D(),{className:hn(fe.thumb,ne.className,H===t&&fe.active,U===t&&fe.focusVisible),style:L({},r,{pointerEvents:h&&H!==t?"none":void 0},ne.style),children:po(ue,L({},me,{"data-index":t,"aria-label":v?v(t):d,"aria-valuenow":k(e),"aria-valuetext":b?b(k(e),t):u,value:q[t]},!Sa(ue)&&{ownerState:L({},N,pe.ownerState)},pe,{style:L({},me.style,pe.style)}))}))}))},t)}))]}))}));const Ls=["onChange","maxRows","minRows","style","value"];function Es(e,t){return parseInt(e[t],10)||0}const As={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};var Ns=a.forwardRef((function(e,t){const{onChange:o,maxRows:r,minRows:n=1,style:i,value:s}=e,l=E(e,Ls),{current:c}=a.useRef(null!=s),d=a.useRef(null),u=Eo(t,d),p=a.useRef(null),m=a.useRef(0),[f,h]=a.useState({}),g=a.useCallback((()=>{const t=d.current,o=Ro(t).getComputedStyle(t);if("0px"===o.width)return;const a=p.current;a.style.width=o.width,a.value=t.value||e.placeholder||"x","\n"===a.value.slice(-1)&&(a.value+=" ");const i=o["box-sizing"],s=Es(o,"padding-bottom")+Es(o,"padding-top"),l=Es(o,"border-bottom-width")+Es(o,"border-top-width"),c=a.scrollHeight;a.value="x";const u=a.scrollHeight;let f=c;n&&(f=Math.max(Number(n)*u,f)),r&&(f=Math.min(Number(r)*u,f)),f=Math.max(f,u);const g=f+("border-box"===i?s+l:0),v=Math.abs(f-c)<=1;h((e=>m.current<20&&(g>0&&Math.abs((e.outerHeightStyle||0)-g)>1||e.overflow!==v)?(m.current+=1,{overflow:v,outerHeightStyle:g}):e))}),[r,n,e.placeholder]);a.useEffect((()=>{const e=So((()=>{m.current=0,g()})),t=Ro(d.current);let o;return t.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(o=new ResizeObserver(e),o.observe(d.current)),()=>{e.clear(),t.removeEventListener("resize",e),o&&o.disconnect()}}),[g]),$o((()=>{g()})),a.useEffect((()=>{m.current=0}),[s]);return mo(a.Fragment,{children:[po("textarea",L({value:s,onChange:e=>{m.current=0,c||g(),o&&o(e)},ref:u,rows:n,style:L({height:f.outerHeightStyle,overflow:f.overflow?"hidden":null},i)},l)),po("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:L({},As,i,{padding:0})})]})}));const zs=["mode","contrastThreshold","tonalOffset"],Bs={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:c.white,default:c.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Fs={text:{primary:c.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:c.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Ds(e,t,o,r){const n=r.light||r,a=r.dark||1.5*r;e[t]||(e.hasOwnProperty(o)?e[t]=e[o]:"light"===t?e.light=Qn(e.main,n):"dark"===t&&(e.dark=Jn(e.main,a)))}function Ws(e){const{mode:t="light",contrastThreshold:o=3,tonalOffset:r=.2}=e,n=E(e,zs),a=e.primary||function(e="light"){return"dark"===e?{main:h[200],light:h[50],dark:h[400]}:{main:h[700],light:h[400],dark:h[800]}}(t),i=e.secondary||function(e="light"){return"dark"===e?{main:p[200],light:p[50],dark:p[400]}:{main:p[500],light:p[300],dark:p[700]}}(t),s=e.error||function(e="light"){return"dark"===e?{main:d[500],light:d[300],dark:d[700]}:{main:d[700],light:d[400],dark:d[800]}}(t),l=e.info||function(e="light"){return"dark"===e?{main:g[400],light:g[300],dark:g[700]}:{main:g[700],light:g[500],dark:g[900]}}(t),u=e.success||function(e="light"){return"dark"===e?{main:y[400],light:y[300],dark:y[700]}:{main:y[800],light:y[500],dark:y[900]}}(t),m=e.warning||function(e="light"){return"dark"===e?{main:k[400],light:k[300],dark:k[700]}:{main:"#ed6c02",light:k[500],dark:k[900]}}(t);function f(e){return Yn(e,Fs.text.primary)>=o?Fs.text.primary:Bs.text.primary}const v=({color:e,name:t,mainShade:o=500,lightShade:n=300,darkShade:a=700})=>{if(!(e=L({},e)).main&&e[o]&&(e.main=e[o]),!e.hasOwnProperty("main"))throw new Error(yo(11,t?` (${t})`:"",o));if("string"!=typeof e.main)throw new Error(yo(12,t?` (${t})`:"",JSON.stringify(e.main)));return Ds(e,"light",n,r),Ds(e,"dark",a,r),e.contrastText||(e.contrastText=f(e.main)),e},b={dark:Fs,light:Bs};return bo(L({common:L({},c),mode:t,primary:v({color:a,name:"primary"}),secondary:v({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:v({color:s,name:"error"}),warning:v({color:m,name:"warning"}),info:v({color:l,name:"info"}),success:v({color:u,name:"success"}),grey:$,contrastThreshold:o,getContrastText:f,augmentColor:v,tonalOffset:r},b[t]),n)}const Hs=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const Vs={textTransform:"uppercase"},js='"Roboto", "Helvetica", "Arial", sans-serif';function Us(e,t){const o="function"==typeof t?t(e):t,{fontFamily:r=js,fontSize:n=14,fontWeightLight:a=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:d,pxToRem:u}=o,p=E(o,Hs),m=n/14,f=u||(e=>e/c*m+"rem"),h=(e,t,o,n,a)=>{return L({fontFamily:r,fontWeight:e,fontSize:f(t),lineHeight:o},r===js?{letterSpacing:(i=n/t,Math.round(1e5*i)/1e5)+"em"}:{},a,d);var i},g={h1:h(a,96,1.167,-1.5),h2:h(a,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(s,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(s,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(s,14,1.75,.4,Vs),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,Vs)};return bo(L({htmlFontSize:c,pxToRem:f,fontFamily:r,fontSize:n,fontWeightLight:a,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function Gs(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}var _s=["none",Gs(0,2,1,-1,0,1,1,0,0,1,3,0),Gs(0,3,1,-2,0,2,2,0,0,1,5,0),Gs(0,3,3,-2,0,3,4,0,0,1,8,0),Gs(0,2,4,-1,0,4,5,0,0,1,10,0),Gs(0,3,5,-1,0,5,8,0,0,1,14,0),Gs(0,3,5,-1,0,6,10,0,0,1,18,0),Gs(0,4,5,-2,0,7,10,1,0,2,16,1),Gs(0,5,5,-3,0,8,10,1,0,3,14,2),Gs(0,5,6,-3,0,9,12,1,0,3,16,2),Gs(0,6,6,-3,0,10,14,1,0,4,18,3),Gs(0,6,7,-4,0,11,15,1,0,4,20,3),Gs(0,7,8,-4,0,12,17,2,0,5,22,4),Gs(0,7,8,-4,0,13,19,2,0,5,24,4),Gs(0,7,9,-4,0,14,21,2,0,5,26,4),Gs(0,8,9,-5,0,15,22,2,0,6,28,5),Gs(0,8,10,-5,0,16,24,2,0,6,30,5),Gs(0,8,11,-5,0,17,26,2,0,6,32,5),Gs(0,9,11,-5,0,18,28,2,0,7,34,6),Gs(0,9,12,-6,0,19,29,2,0,7,36,6),Gs(0,10,13,-6,0,20,31,3,0,8,38,7),Gs(0,10,13,-6,0,21,33,3,0,8,40,7),Gs(0,10,14,-6,0,22,35,3,0,8,42,7),Gs(0,11,14,-7,0,23,36,3,0,9,44,8),Gs(0,11,15,-7,0,24,38,3,0,9,46,8)];const qs=["duration","easing","delay"],Ks={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Xs={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ys(e){return`${Math.round(e)}ms`}function Zs(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Js(e){const t=L({},Ks,e.easing),o=L({},Xs,e.duration);return L({getAutoHeightDuration:Zs,create:(e=["all"],r={})=>{const{duration:n=o.standard,easing:a=t.easeInOut,delay:i=0}=r;return E(r,qs),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof n?n:Ys(n)} ${a} ${"string"==typeof i?i:Ys(i)}`)).join(",")}},e,{easing:t,duration:o})}var Qs={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const el=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function tl(e={},...t){const{mixins:o={},palette:r={},transitions:n={},typography:a={}}=e,i=E(e,el),s=Ws(r),l=wn(e);let c=bo(l,{mixins:(d=l.breakpoints,u=o,L({toolbar:{minHeight:56,[d.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[d.up("sm")]:{minHeight:64}}},u)),palette:s,shadows:_s.slice(),typography:Us(s,a),transitions:Js(n),zIndex:L({},Qs)});var d,u;return c=bo(c,i),c=t.reduce(((e,t)=>bo(e,t)),c),c}let ol=!1;function rl(e){return String(parseFloat(e)).length===String(e).length}function nl(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function al(e){return parseFloat(e)}function il({lineHeight:e,pixels:t,htmlFontSize:o}){return t/(e*o)}var sl=tl();function ll(){return Tn(sl)}function cl({props:e,name:t}){return Vn({props:e,name:t,defaultTheme:sl})}const dl=e=>Bn(e)&&"classes"!==e,ul=Bn;var pl=Dn({defaultTheme:sl,rootShouldForwardProp:dl});function ml(e){return er("MuiPaper",e)}var fl=tr("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const hl=["className","component","elevation","square","variant"],gl=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)},vl=pl("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],!o.square&&t.rounded,"elevation"===o.variant&&t[`elevation${o.elevation}`]]}})((({theme:e,ownerState:t})=>{var o;return L({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&L({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${Zn("#fff",gl(t.elevation))}, ${Zn("#fff",gl(t.elevation))})`},e.vars&&{backgroundImage:null==(o=e.vars.overlays)?void 0:o[t.elevation]}))}));var bl=a.forwardRef((function(e,t){const o=cl({props:e,name:"MuiPaper"}),{className:r,component:n="div",elevation:a=1,square:i=!1,variant:s="elevation"}=o,l=E(o,hl),c=L({},o,{component:n,elevation:a,square:i,variant:s}),d=(e=>{const{square:t,elevation:o,variant:r,classes:n}=e;return Yo({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${o}`]},ml,n)})(c);return po(vl,L({as:n,ownerState:c,className:hn(d.root,r),ref:t},l))}));const yl=["colorSchemes"],xl=["palette"],wl=[...Array(25)].map(((e,t)=>{if(0===t)return;const o=gl(t);return`linear-gradient(rgba(255 255 255 / ${o}), rgba(255 255 255 / ${o}))`}));function Sl(e={},...t){var o,r,n,a,i,s;const{colorSchemes:l={}}=e,c=tl(L({},E(e,yl),l.light&&{palette:null==(o=l.light)?void 0:o.palette})),{palette:d}=c,u=E(c,xl),{palette:p}=tl({palette:L({mode:"dark"},null==(r=l.dark)?void 0:r.palette)});let m=L({},u,{colorSchemes:L({},l,{light:L({},l.light,{palette:d,opacity:L({placeholder:.42,inputTouchBottomLine:.42},null==(n=l.light)?void 0:n.opacity),overlays:(null==(a=l.light)?void 0:a.overlays)||[]}),dark:L({},l.dark,{palette:p,opacity:L({placeholder:.5,inputTouchBottomLine:.7},null==(i=l.dark)?void 0:i.opacity),overlays:(null==(s=l.dark)?void 0:s.overlays)||wl})})});return Object.keys(m.colorSchemes).forEach((e=>{const t=m.colorSchemes[e].palette;"dark"===e?(t.common.background=t.common.background||"#000",t.common.onBackground=t.common.onBackground||"#fff"):(t.common.background=t.common.background||"#fff",t.common.onBackground=t.common.onBackground||"#000"),t.common.backgroundChannel=_n(t.common.background),t.common.onBackgroundChannel=_n(t.common.onBackground),t.dividerChannel=_n(t.divider),t.grey.dark||(t.grey.dark=t.grey[700]),Object.keys(t).forEach((e=>{const o=t[e];o.main&&(t[e].mainChannel=_n(o.main)),o.light&&(t[e].lightChannel=_n(o.light)),o.dark&&(t[e].darkChannel=_n(o.dark)),o.contrastText&&(t[e].contrastTextChannel=_n(o.contrastText)),o.primary&&(t[e].primaryChannel=_n(o.primary)),o.secondary&&(t[e].secondaryChannel=_n(o.secondary)),o.active&&(t[e].activeChannel=_n(o.active))}))})),m=t.reduce(((e,t)=>bo(e,t)),m),m}const Cl=Sl(),{CssVarsProvider:kl,useColorScheme:Rl,getInitColorSchemeScript:Ml}=function(e){const{theme:t={},defaultMode:o="light",defaultColorScheme:r,disableTransitionOnChange:n=!1,enableColorScheme:i=!0,prefix:s="",shouldSkipGeneratingVar:l,resolveTheme:c}=e;(!t.colorSchemes||"string"==typeof r&&!t.colorSchemes[r]||"object"==typeof r&&!t.colorSchemes[null==r?void 0:r.light]||"object"==typeof r&&!t.colorSchemes[null==r?void 0:r.dark])&&console.error(`MUI: \`${r}\` does not exist in \`theme.colorSchemes\`.`);const d=a.createContext(void 0);return{CssVarsProvider:function({children:e,theme:u=t,prefix:p=s,modeStorageKey:m=ia,colorSchemeStorageKey:f=sa,attribute:h=la,defaultMode:g=o,defaultColorScheme:v=r,disableTransitionOnChange:b=n,enableColorScheme:y=i,storageWindow:x=("undefined"==typeof window?void 0:window),documentNode:w=("undefined"==typeof document?void 0:document),colorSchemeNode:S=("undefined"==typeof document?void 0:document.documentElement),colorSchemeSelector:C=":root"}){const k=a.useRef(!1),{colorSchemes:R={},components:M={}}=u,$=E(u,ha),T=Object.keys(R),I="string"==typeof v?v:v.light,P="string"==typeof v?v:v.dark,{mode:O,setMode:A,systemMode:N,lightColorScheme:z,darkColorScheme:B,colorScheme:F,setColorScheme:D}=ma({supportedColorSchemes:T,defaultLightColorScheme:I,defaultDarkColorScheme:P,modeStorageKey:m,colorSchemeStorageKey:f,defaultMode:g,storageWindow:x}),W=F||("dark"===g?P:I);let H=$;const{css:V,vars:j,parsedTheme:U}=aa(H,{prefix:p,basePrefix:s,shouldSkipGeneratingVar:l});H=L({},U,{components:M,colorSchemes:R,prefix:p,vars:j,getCssVar:fa(p),getColorSchemeSelector:e=>`[${h}="${e}"] &`});const G={},_={};return Object.entries(R).forEach((([e,t])=>{const{css:o,vars:r,parsedTheme:n}=aa(t,{prefix:p,basePrefix:s,shouldSkipGeneratingVar:l});H.vars=bo(H.vars,r),e===W&&(H=L({},H,n),H.palette&&(H.palette.mode=O,H.palette.colorScheme=W));e===("string"==typeof v?v:"dark"===g?v.dark:v.light)?G[C]=o:_[`${":root"===C?"":C}[${h}="${e}"]`]=o})),a.useEffect((()=>{F&&S&&S.setAttribute(h,F)}),[F,h,S]),$o((()=>{if(!O||!y||!S)return;const e=S.style.getPropertyValue("color-scheme");return"system"===O?S.style.setProperty("color-scheme",N):S.style.setProperty("color-scheme",O),()=>{S.style.setProperty("color-scheme",e)}}),[O,N,y,S]),a.useEffect((()=>{let e;if(b&&k.current&&w){const t=w.createElement("style");t.appendChild(w.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),w.head.appendChild(t),window.getComputedStyle(w.body),e=setTimeout((()=>{w.head.removeChild(t)}),1)}return()=>{clearTimeout(e)}}),[F,b,w]),a.useEffect((()=>(k.current=!0,()=>{k.current=!1})),[]),mo(d.Provider,{value:{mode:O,setMode:A,lightColorScheme:z,darkColorScheme:B,colorScheme:F,setColorScheme:D,allColorSchemes:T},children:[po(ho,{styles:{[C]:V}}),po(ho,{styles:G}),po(ho,{styles:_}),po(oa,{theme:c?c(H):H,children:e})]})},useColorScheme:()=>{const e=a.useContext(d);if(!e)throw new Error(yo(19));return e},getInitColorSchemeScript:ca}}({theme:Cl,defaultColorScheme:{light:"light",dark:"dark"},prefix:"md",resolveTheme:e=>L({},e,{typography:Us(e.palette,e.typography)}),shouldSkipGeneratingVar:e=>!!e[0].match(/(typography|mixins|breakpoints|direction|transitions)/)});function $l(e){return er("MuiSvgIcon",e)}var Tl=tr("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Il=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Pl=pl("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,"inherit"!==o.color&&t[`color${xo(o.color)}`],t[`fontSize${xo(o.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var o,r,n,a,i,s,l,c,d,u,p,m,f,h,g,v,b;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:null==(o=e.transitions)||null==(r=o.create)?void 0:r.call(o,"fill",{duration:null==(n=e.transitions)||null==(a=n.duration)?void 0:a.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(s=i.pxToRem)?void 0:s.call(i,20))||"1.25rem",medium:(null==(l=e.typography)||null==(c=l.pxToRem)?void 0:c.call(l,24))||"1.5rem",large:(null==(d=e.typography)||null==(u=d.pxToRem)?void 0:u.call(d,35))||"2.1875"}[t.fontSize],color:null!=(p=null==(m=(e.vars||e).palette)||null==(f=m[t.color])?void 0:f.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]}})),Ol=a.forwardRef((function(e,t){const o=cl({props:e,name:"MuiSvgIcon"}),{children:r,className:n,color:a="inherit",component:i="svg",fontSize:s="medium",htmlColor:l,inheritViewBox:c=!1,titleAccess:d,viewBox:u="0 0 24 24"}=o,p=E(o,Il),m=L({},o,{color:a,component:i,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:u}),f={};c||(f.viewBox=u);const h=(e=>{const{color:t,fontSize:o,classes:r}=e;return Yo({root:["root","inherit"!==t&&`color${xo(t)}`,`fontSize${xo(o)}`]},$l,r)})(m);return mo(Pl,L({as:i,className:hn(h.root,n),ownerState:m,focusable:"false",color:l,"aria-hidden":!d||void 0,role:d?"img":void 0,ref:t},f,p,{children:[r,d?po("title",{children:d}):null]}))}));Ol.muiName="SvgIcon";var Ll=Ol;function El(e,t){const o=(o,r)=>po(Ll,L({"data-testid":`${t}Icon`,ref:r},o,{children:e}));return o.muiName=Ll.muiName,a.memo(a.forwardRef(o))}const Al={configure:e=>{console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join("\n")),Jo.configure(e)}};function Nl(e,t){return(Nl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function zl(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Nl(e,t)}var Bl=!1,Fl=i.default.createContext(null),Dl="unmounted",Wl="exited",Hl="entering",Vl="entered",jl="exiting",Ul=function(e){function t(t,o){var r;r=e.call(this,t,o)||this;var n,a=o&&!o.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(n=Wl,r.appearStatus=Hl):n=Vl:n=t.unmountOnExit||t.mountOnEnter?Dl:Wl,r.state={status:n},r.nextCallback=null,r}zl(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Dl?{status:Wl}:null};var o=t.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var o=this.state.status;this.props.in?o!==Hl&&o!==Vl&&(t=Hl):o!==Hl&&o!==Vl||(t=jl)}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,o,r=this.props.timeout;return e=t=o=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,o=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:o}},o.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===Hl?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===Wl&&this.setState({status:Dl})},o.performEnter=function(e){var t=this,o=this.props.enter,r=this.context?this.context.isMounting:e,n=this.props.nodeRef?[r]:[l.default.findDOMNode(this),r],a=n[0],i=n[1],s=this.getTimeouts(),c=r?s.appear:s.enter;!e&&!o||Bl?this.safeSetState({status:Vl},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,i),this.safeSetState({status:Hl},(function(){t.props.onEntering(a,i),t.onTransitionEnd(c,(function(){t.safeSetState({status:Vl},(function(){t.props.onEntered(a,i)}))}))})))},o.performExit=function(){var e=this,t=this.props.exit,o=this.getTimeouts(),r=this.props.nodeRef?void 0:l.default.findDOMNode(this);t&&!Bl?(this.props.onExit(r),this.safeSetState({status:jl},(function(){e.props.onExiting(r),e.onTransitionEnd(o.exit,(function(){e.safeSetState({status:Wl},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Wl},(function(){e.props.onExited(r)}))},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.setNextCallback=function(e){var t=this,o=!0;return this.nextCallback=function(r){o&&(o=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},o.onTransitionEnd=function(e,t){this.setNextCallback(t);var o=this.props.nodeRef?this.props.nodeRef.current:l.default.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(o&&!r){if(this.props.addEndListener){var n=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],a=n[0],i=n[1];this.props.addEndListener(a,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===Dl)return null;var t=this.props,o=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=E(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return i.default.createElement(Fl.Provider,{value:null},"function"==typeof o?o(e,r):i.default.cloneElement(i.default.Children.only(o),r))},t}(i.default.Component);function Gl(){}Ul.contextType=Fl,Ul.propTypes={},Ul.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Gl,onEntering:Gl,onEntered:Gl,onExit:Gl,onExiting:Gl,onExited:Gl},Ul.UNMOUNTED=Dl,Ul.EXITED=Wl,Ul.ENTERING=Hl,Ul.ENTERED=Vl,Ul.EXITING=jl;var _l=Ul;function ql(e,o){var r=Object.create(null);return e&&t.Children.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return o&&t.isValidElement(e)?o(e):e}(e)})),r}function Kl(e,t,o){return null!=o[t]?o[t]:e.props[t]}function Xl(e,o,r){var n=ql(e.children),a=function(e,t){function o(o){return o in t?t[o]:e[o]}e=e||{},t=t||{};var r,n=Object.create(null),a=[];for(var i in e)i in t?a.length&&(n[i]=a,a=[]):a.push(i);var s={};for(var l in t){if(n[l])for(r=0;r<n[l].length;r++){var c=n[l][r];s[n[l][r]]=o(c)}s[l]=o(l)}for(r=0;r<a.length;r++)s[a[r]]=o(a[r]);return s}(o,n);return Object.keys(a).forEach((function(i){var s=a[i];if(t.isValidElement(s)){var l=i in o,c=i in n,d=o[i],u=t.isValidElement(d)&&!d.props.in;!c||l&&!u?c||!l||u?c&&l&&t.isValidElement(d)&&(a[i]=t.cloneElement(s,{onExited:r.bind(null,s),in:d.props.in,exit:Kl(s,"exit",e),enter:Kl(s,"enter",e)})):a[i]=t.cloneElement(s,{in:!1}):a[i]=t.cloneElement(s,{onExited:r.bind(null,s),in:!0,exit:Kl(s,"exit",e),enter:Kl(s,"enter",e)})}})),a}var Yl=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Zl=function(e){function o(t,o){var r,n=(r=e.call(this,t,o)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:n,firstRender:!0},r}zl(o,e);var r=o.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},o.getDerivedStateFromProps=function(e,o){var r,n,a=o.children,i=o.handleExited;return{children:o.firstRender?(r=e,n=i,ql(r.children,(function(e){return t.cloneElement(e,{onExited:n.bind(null,e),in:!0,appear:Kl(e,"appear",r),enter:Kl(e,"enter",r),exit:Kl(e,"exit",r)})}))):Xl(e,a,i),firstRender:!1}},r.handleExited=function(e,t){var o=ql(this.props.children);e.key in o||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var o=L({},t.children);return delete o[e.key],{children:o}})))},r.render=function(){var e=this.props,t=e.component,o=e.childFactory,r=E(e,["component","childFactory"]),n=this.state.contextValue,a=Yl(this.state.children).map(o);return delete r.appear,delete r.enter,delete r.exit,null===t?i.default.createElement(Fl.Provider,{value:n},a):i.default.createElement(Fl.Provider,{value:n},i.default.createElement(t,r,a))},o}(i.default.Component);Zl.propTypes={},Zl.defaultProps={component:"div",childFactory:function(e){return e}};var Jl=Zl;const Ql=e=>e.scrollTop;function ec(e,t){var o,r;const{timeout:n,easing:a,style:i={}}=e;return{duration:null!=(o=i.transitionDuration)?o:"number"==typeof n?n:n[t.mode]||0,easing:null!=(r=i.transitionTimingFunction)?r:"object"==typeof a?a[t.mode]:a,delay:i.transitionDelay}}function tc(e){return er("MuiCollapse",e)}var oc=tr("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const rc=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],nc=pl("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],"entered"===o.state&&t.entered,"exited"===o.state&&!o.in&&"0px"===o.collapsedSize&&t.hidden]}})((({theme:e,ownerState:t})=>L({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===t.state&&L({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"}))),ac=pl("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})((({ownerState:e})=>L({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),ic=pl("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})((({ownerState:e})=>L({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),sc=a.forwardRef((function(e,t){const o=cl({props:e,name:"MuiCollapse"}),{addEndListener:r,children:n,className:i,collapsedSize:s="0px",component:l,easing:c,in:d,onEnter:u,onEntered:p,onEntering:m,onExit:f,onExited:h,onExiting:g,orientation:v="vertical",style:b,timeout:y=Xs.standard,TransitionComponent:x=_l}=o,w=E(o,rc),S=L({},o,{orientation:v,collapsedSize:s}),C=(e=>{const{orientation:t,classes:o}=e;return Yo({root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]},tc,o)})(S),k=ll(),R=a.useRef(),M=a.useRef(null),$=a.useRef(),T="number"==typeof s?`${s}px`:s,I="horizontal"===v,P=I?"width":"height";a.useEffect((()=>()=>{clearTimeout(R.current)}),[]);const O=a.useRef(null),A=Eo(t,O),N=e=>t=>{if(e){const o=O.current;void 0===t?e(o):e(o,t)}},z=()=>M.current?M.current[I?"clientWidth":"clientHeight"]:0,B=N(((e,t)=>{M.current&&I&&(M.current.style.position="absolute"),e.style[P]=T,u&&u(e,t)})),F=N(((e,t)=>{const o=z();M.current&&I&&(M.current.style.position="");const{duration:r,easing:n}=ec({style:b,timeout:y,easing:c},{mode:"enter"});if("auto"===y){const t=k.transitions.getAutoHeightDuration(o);e.style.transitionDuration=`${t}ms`,$.current=t}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[P]=`${o}px`,e.style.transitionTimingFunction=n,m&&m(e,t)})),D=N(((e,t)=>{e.style[P]="auto",p&&p(e,t)})),W=N((e=>{e.style[P]=`${z()}px`,f&&f(e)})),H=N(h),V=N((e=>{const t=z(),{duration:o,easing:r}=ec({style:b,timeout:y,easing:c},{mode:"exit"});if("auto"===y){const o=k.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${o}ms`,$.current=o}else e.style.transitionDuration="string"==typeof o?o:`${o}ms`;e.style[P]=T,e.style.transitionTimingFunction=r,g&&g(e)}));return po(x,L({in:d,onEnter:B,onEntered:D,onEntering:F,onExit:W,onExited:H,onExiting:V,addEndListener:e=>{"auto"===y&&(R.current=setTimeout(e,$.current||0)),r&&r(O.current,e)},nodeRef:O,timeout:"auto"===y?null:y},w,{children:(e,t)=>po(nc,L({as:l,className:hn(C.root,i,{entered:C.entered,exited:!d&&"0px"===T&&C.hidden}[e]),style:L({[I?"minWidth":"minHeight"]:T},b),ownerState:L({},S,{state:e}),ref:A},t,{children:po(ac,{ownerState:L({},S,{state:e}),className:C.wrapper,ref:M,children:po(ic,{ownerState:L({},S,{state:e}),className:C.wrapperInner,children:n})})}))}))}));sc.muiSupportAuto=!0;var lc=sc;var cc=a.createContext({});function dc(e){return er("MuiAccordion",e)}var uc=tr("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]);const pc=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","TransitionComponent","TransitionProps"],mc=pl(bl,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${uc.region}`]:t.region},t.root,!o.square&&t.rounded,!o.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"}},[`&.${uc.expanded}`]:{"&:before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}},[`&.${uc.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}}),(({theme:e,ownerState:t})=>L({},!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&&{[`&.${uc.expanded}`]:{margin:"16px 0"}})));var fc=a.forwardRef((function(e,t){const o=cl({props:e,name:"MuiAccordion"}),{children:r,className:n,defaultExpanded:i=!1,disabled:s=!1,disableGutters:l=!1,expanded:c,onChange:d,square:u=!1,TransitionComponent:p=lc,TransitionProps:m}=o,f=E(o,pc),[h,g]=Oo({controlled:c,default:i,name:"Accordion",state:"expanded"}),v=a.useCallback((e=>{g(!h),d&&d(e,!h)}),[h,d,g]),[b,...y]=a.Children.toArray(r),x=a.useMemo((()=>({expanded:h,disabled:s,disableGutters:l,toggle:v})),[h,s,l,v]),w=L({},o,{square:u,disabled:s,disableGutters:l,expanded:h}),S=(e=>{const{classes:t,square:o,expanded:r,disabled:n,disableGutters:a}=e;return Yo({root:["root",!o&&"rounded",r&&"expanded",n&&"disabled",!a&&"gutters"],region:["region"]},dc,t)})(w);return mo(mc,L({className:hn(S.root,n),ref:t,ownerState:w,square:u},f,{children:[po(cc.Provider,{value:x,children:b}),po(p,L({in:h,timeout:"auto"},m,{children:po("div",{"aria-labelledby":b.props.id,id:b.props["aria-controls"],role:"region",className:S.region,children:y})}))]}))}));function hc(e){return er("MuiAccordionActions",e)}var gc=tr("MuiAccordionActions",["root","spacing"]);const vc=["className","disableSpacing"],bc=pl("div",{name:"MuiAccordionActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.disableSpacing&&t.spacing]}})((({ownerState:e})=>L({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end"},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})));var yc=a.forwardRef((function(e,t){const o=cl({props:e,name:"MuiAccordionActions"}),{className:r,disableSpacing:n=!1}=o,a=E(o,vc),i=L({},o,{disableSpacing:n}),s=(e=>{const{classes:t,disableSpacing:o}=e;return Yo({root:["root",!o&&"spacing"]},hc,t)})(i);return po(bc,L({className:hn(s.root,r),ref:t,ownerState:i},a))}));function xc(e){return er("MuiAccordionDetails",e)}var wc=tr("MuiAccordionDetails",["root"]);const Sc=["className"],Cc=pl("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({padding:e.spacing(1,2,2)})));var kc=a.forwardRef((function(e,t){const o=cl({props:e,name:"MuiAccordionDetails"}),{className:r}=o,n=E(o,Sc),a=o,i=(e=>{const{classes:t}=e;return Yo({root:["root"]},xc,t)})(a);return po(Cc,L({className:hn(i.root,r),ref:t,ownerState:a},n))}));var Rc=tr("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);const Mc=["center","classes","className"];let $c,Tc,Ic,Pc,Oc=e=>e;const Lc=_t($c||($c=Oc`
|
|
12
12
|
0% {
|
|
13
13
|
transform: scale(0);
|
|
14
14
|
opacity: 0.1;
|