diff --git a/asset-manifest.json b/asset-manifest.json index efdd975..eaa2e9c 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,16 +1,16 @@ { "files": { "main.css": "/static/css/main.23b8e14c.css", - "main.js": "/static/js/main.1934d8df.js", + "main.js": "/static/js/main.6f4a4135.js", "static/js/787.6f9c2e76.chunk.js": "/static/js/787.6f9c2e76.chunk.js", "static/media/logo.png": "/static/media/logo.dc5aaf679600533f0825.png", "index.html": "/index.html", "main.23b8e14c.css.map": "/static/css/main.23b8e14c.css.map", - "main.1934d8df.js.map": "/static/js/main.1934d8df.js.map", + "main.6f4a4135.js.map": "/static/js/main.6f4a4135.js.map", "787.6f9c2e76.chunk.js.map": "/static/js/787.6f9c2e76.chunk.js.map" }, "entrypoints": [ "static/css/main.23b8e14c.css", - "static/js/main.1934d8df.js" + "static/js/main.6f4a4135.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index bbb1ae8..5791d62 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -
d){const e=l-d;o-=e,n.vertical+=e}if(i
f){const e=u-f;i-=e,n.horizontal+=e}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(i),"px"),transformOrigin:ro(n)}}),[a,s,P,R,p]),O=e.useCallback((()=>{const e=S.current;if(!e)return;const t=Z(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}),[Z]);e.useEffect((()=>{m&&O()})),e.useImperativeHandle(o,(()=>m?{updatePosition:()=>{O()}}:null),[m,O]),e.useEffect((()=>{if(!m)return;const e=(0,Vn.Z)((()=>{O()})),t=(0,$n.Z)(a);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[a,m,O]);let T=y;"auto"!==y||b.muiSupportAuto||(T=void 0);const A=d||(a?(0,bn.Z)(oo(a)).body:void 0);return(0,h.jsx)(ao,(0,fn.Z)({BackdropProps:{invisible:!0},className:(0,hn.Z)(C.root,c),container:A,open:m,ref:n,ownerState:E},k,{children:(0,h.jsx)(b,(0,fn.Z)({appear:!0,in:m,onEntering:(e,t)=>{w&&w(e,t),O()},timeout:T},x,{children:(0,h.jsx)(io,(0,fn.Z)({elevation:f},g,{ref:_,className:(0,hn.Z)(C.paper,g.className),children:u}))}))}))})),so=lo;function uo(e){return(0,Sn.Z)("MuiMenu",e)}(0,_n.Z)("MuiMenu",["root","paper","list"]);const co=["onEntering"],fo=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],po={vertical:"top",horizontal:"right"},ho={vertical:"top",horizontal:"left"},mo=(0,wn.ZP)(so,{shouldForwardProp:e=>(0,wn.FO)(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),go=(0,wn.ZP)(Hn,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),vo=(0,wn.ZP)(Ln,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),bo=e.forwardRef((function(t,n){const r=(0,xn.Z)({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:a,disableAutoFocusItem:i=!1,MenuListProps:l={},onClose:s,open:u,PaperProps:c={},PopoverClasses:d,transitionDuration:f="auto",TransitionProps:{onEntering:p}={},variant:m="selectedMenu"}=r,g=(0,pn.Z)(r.TransitionProps,co),v=(0,pn.Z)(r,fo),b=lr(),y="rtl"===b.direction,w=(0,fn.Z)({},r,{autoFocus:o,disableAutoFocusItem:i,MenuListProps:l,onEntering:p,PaperProps:c,transitionDuration:f,TransitionProps:g,variant:m}),x=(e=>{const{classes:t}=e;return(0,vn.Z)({root:["root"],paper:["paper"],list:["list"]},uo,t)})(w),k=o&&!i&&u,S=e.useRef(null);let _=-1;return e.Children.map(a,((t,n)=>{e.isValidElement(t)&&(t.props.disabled||("selectedMenu"===m&&t.props.selected||-1===_)&&(_=n))})),(0,h.jsx)(mo,(0,fn.Z)({classes:d,onClose:s,anchorOrigin:{vertical:"bottom",horizontal:y?"right":"left"},transformOrigin:y?po:ho,PaperProps:(0,fn.Z)({component:go},c,{classes:(0,fn.Z)({},c.classes,{root:x.paper})}),className:x.root,open:u,ref:n,transitionDuration:f,TransitionProps:(0,fn.Z)({onEntering:(e,t)=>{S.current&&S.current.adjustStyleForScrollbar(e,b),p&&p(e,t)}},g),ownerState:w},v,{children:(0,h.jsx)(vo,(0,fn.Z)({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),s&&s(e,"tabKeyDown"))},actions:S,autoFocus:o&&(-1===_||i),autoFocusItem:k,variant:m},l,{className:(0,hn.Z)(x.list,l.className),children:a}))}))}));function yo(e){return(0,Sn.Z)("MuiNativeSelect",e)}const wo=(0,_n.Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),xo=["className","disabled","IconComponent","inputRef","variant"],ko=e=>{let{ownerState:t,theme:n}=e;return(0,fn.Z)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{backgroundColor:"light"===n.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},["&.".concat(wo.disabled)]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:n.palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===t.variant&&{"&&&":{paddingRight:32}},"outlined"===t.variant&&{borderRadius:n.shape.borderRadius,"&:focus":{borderRadius:n.shape.borderRadius},"&&&":{paddingRight:32}})},So=(0,wn.ZP)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:wn.FO,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],{["&.".concat(wo.multiple)]:t.multiple}]}})(ko),_o=e=>{let{ownerState:t,theme:n}=e;return(0,fn.Z)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:n.palette.action.active,["&.".concat(wo.disabled)]:{color:n.palette.action.disabled}},t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7})},Eo=(0,wn.ZP)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t["icon".concat((0,yn.Z)(n.variant))],n.open&&t.iconOpen]}})(_o),Co=e.forwardRef((function(t,n){const{className:r,disabled:o,IconComponent:a,inputRef:i,variant:l="standard"}=t,s=(0,pn.Z)(t,xo),u=(0,fn.Z)({},t,{disabled:o,variant:l}),c=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:a}=e,i={select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon","icon".concat((0,yn.Z)(n)),a&&"iconOpen",r&&"disabled"]};return(0,vn.Z)(i,yo,t)})(u);return(0,h.jsxs)(e.Fragment,{children:[(0,h.jsx)(So,(0,fn.Z)({ownerState:u,className:(0,hn.Z)(c.select,r),disabled:o,ref:i||n},s)),t.multiple?null:(0,h.jsx)(Eo,{as:a,ownerState:u,className:c.icon})]})}));function Po(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Ro(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(Po(e.value)&&""!==e.value||t&&Po(e.defaultValue)&&""!==e.defaultValue)}var Zo=n(8744);function Oo(e){return(0,Sn.Z)("MuiSelect",e)}const To=(0,_n.Z)("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);var Ao;const Io=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],zo=(0,wn.ZP)("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{["&.".concat(To.select)]:t.select},{["&.".concat(To.select)]:t[n.variant]},{["&.".concat(To.multiple)]:t.multiple}]}})(ko,{["&.".concat(To.select)]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),No=(0,wn.ZP)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t["icon".concat((0,yn.Z)(n.variant))],n.open&&t.iconOpen]}})(_o),Mo=(0,wn.ZP)("input",{shouldForwardProp:e=>(0,wn.Dz)(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function jo(e,t){return"object"===typeof t&&null!==t?e===t:String(e)===String(t)}function Lo(e){return null==e||"string"===typeof e&&!e.trim()}const Do=e.forwardRef((function(t,n){const{"aria-describedby":r,"aria-label":o,autoFocus:a,autoWidth:i,children:l,className:s,defaultOpen:u,defaultValue:c,disabled:d,displayEmpty:f,IconComponent:p,inputRef:m,labelId:g,MenuProps:v={},multiple:b,name:y,onBlur:w,onChange:x,onClose:k,onFocus:S,onOpen:_,open:E,readOnly:C,renderValue:P,SelectDisplayProps:R={},tabIndex:Z,value:O,variant:T="standard"}=t,A=(0,pn.Z)(t,Io),[I,z]=(0,Zo.Z)({controlled:O,default:c,name:"Select"}),[N,M]=(0,Zo.Z)({controlled:E,default:u,name:"Select"}),j=e.useRef(null),L=e.useRef(null),[D,F]=e.useState(null),{current:W}=e.useRef(null!=E),[B,U]=e.useState(),H=(0,Tn.Z)(n,m),V=e.useCallback((e=>{L.current=e,e&&F(e)}),[]);e.useImperativeHandle(H,(()=>({focus:()=>{L.current.focus()},node:j.current,value:I})),[I]),e.useEffect((()=>{u&&N&&D&&!W&&(U(i?null:D.clientWidth),L.current.focus())}),[D,i]),e.useEffect((()=>{a&&L.current.focus()}),[a]),e.useEffect((()=>{if(!g)return;const e=(0,bn.Z)(L.current).getElementById(g);if(e){const t=()=>{getSelection().isCollapsed&&L.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[g]);const $=(e,t)=>{e?_&&_(t):k&&k(t),W||(U(i?null:D.clientWidth),M(e))},K=e.Children.toArray(l),q=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(b){n=Array.isArray(I)?I.slice():[];const t=I.indexOf(e.props.value);-1===t?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),I!==n&&(z(n),x)){const r=t.nativeEvent||t,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:n,name:y}}),x(o,e)}b||$(!1,t)}},G=null!==D&&N;let Y,X;delete A["aria-invalid"];const J=[];let Q=!1,ee=!1;(Ro({value:I})||f)&&(P?Y=P(I):Q=!0);const te=K.map((t=>{if(!e.isValidElement(t))return null;let n;if(b){if(!Array.isArray(I))throw new Error((0,gn.Z)(2));n=I.some((e=>jo(e,t.props.value))),n&&Q&&J.push(t.props.children)}else n=jo(I,t.props.value),n&&Q&&(X=t.props.children);return n&&(ee=!0),e.cloneElement(t,{"aria-selected":n?"true":"false",onClick:q(t),onKeyUp:e=>{" "===e.key&&e.preventDefault(),t.props.onKeyUp&&t.props.onKeyUp(e)},role:"option",selected:n,value:void 0,"data-value":t.props.value})}));Q&&(Y=b?0===J.length?null:J.reduce(((e,t,n)=>(e.push(t),n d){const e=l-d;o-=e,n.vertical+=e}if(i f){const e=u-f;i-=e,n.horizontal+=e}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(i),"px"),transformOrigin:ro(n)}}),[a,s,P,R,p]),O=e.useCallback((()=>{const e=S.current;if(!e)return;const t=Z(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}),[Z]);e.useEffect((()=>{m&&O()})),e.useImperativeHandle(o,(()=>m?{updatePosition:()=>{O()}}:null),[m,O]),e.useEffect((()=>{if(!m)return;const e=(0,Vn.Z)((()=>{O()})),t=(0,$n.Z)(a);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[a,m,O]);let T=y;"auto"!==y||b.muiSupportAuto||(T=void 0);const A=d||(a?(0,bn.Z)(oo(a)).body:void 0);return(0,h.jsx)(ao,(0,fn.Z)({BackdropProps:{invisible:!0},className:(0,hn.Z)(C.root,c),container:A,open:m,ref:n,ownerState:E},k,{children:(0,h.jsx)(b,(0,fn.Z)({appear:!0,in:m,onEntering:(e,t)=>{w&&w(e,t),O()},timeout:T},x,{children:(0,h.jsx)(io,(0,fn.Z)({elevation:f},g,{ref:_,className:(0,hn.Z)(C.paper,g.className),children:u}))}))}))})),so=lo;function uo(e){return(0,Sn.Z)("MuiMenu",e)}(0,_n.Z)("MuiMenu",["root","paper","list"]);const co=["onEntering"],fo=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],po={vertical:"top",horizontal:"right"},ho={vertical:"top",horizontal:"left"},mo=(0,wn.ZP)(so,{shouldForwardProp:e=>(0,wn.FO)(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),go=(0,wn.ZP)(Hn,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),vo=(0,wn.ZP)(Ln,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),bo=e.forwardRef((function(t,n){const r=(0,xn.Z)({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:a,disableAutoFocusItem:i=!1,MenuListProps:l={},onClose:s,open:u,PaperProps:c={},PopoverClasses:d,transitionDuration:f="auto",TransitionProps:{onEntering:p}={},variant:m="selectedMenu"}=r,g=(0,pn.Z)(r.TransitionProps,co),v=(0,pn.Z)(r,fo),b=lr(),y="rtl"===b.direction,w=(0,fn.Z)({},r,{autoFocus:o,disableAutoFocusItem:i,MenuListProps:l,onEntering:p,PaperProps:c,transitionDuration:f,TransitionProps:g,variant:m}),x=(e=>{const{classes:t}=e;return(0,vn.Z)({root:["root"],paper:["paper"],list:["list"]},uo,t)})(w),k=o&&!i&&u,S=e.useRef(null);let _=-1;return e.Children.map(a,((t,n)=>{e.isValidElement(t)&&(t.props.disabled||("selectedMenu"===m&&t.props.selected||-1===_)&&(_=n))})),(0,h.jsx)(mo,(0,fn.Z)({classes:d,onClose:s,anchorOrigin:{vertical:"bottom",horizontal:y?"right":"left"},transformOrigin:y?po:ho,PaperProps:(0,fn.Z)({component:go},c,{classes:(0,fn.Z)({},c.classes,{root:x.paper})}),className:x.root,open:u,ref:n,transitionDuration:f,TransitionProps:(0,fn.Z)({onEntering:(e,t)=>{S.current&&S.current.adjustStyleForScrollbar(e,b),p&&p(e,t)}},g),ownerState:w},v,{children:(0,h.jsx)(vo,(0,fn.Z)({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),s&&s(e,"tabKeyDown"))},actions:S,autoFocus:o&&(-1===_||i),autoFocusItem:k,variant:m},l,{className:(0,hn.Z)(x.list,l.className),children:a}))}))}));function yo(e){return(0,Sn.Z)("MuiNativeSelect",e)}const wo=(0,_n.Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),xo=["className","disabled","IconComponent","inputRef","variant"],ko=e=>{let{ownerState:t,theme:n}=e;return(0,fn.Z)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{backgroundColor:"light"===n.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},["&.".concat(wo.disabled)]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:n.palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===t.variant&&{"&&&":{paddingRight:32}},"outlined"===t.variant&&{borderRadius:n.shape.borderRadius,"&:focus":{borderRadius:n.shape.borderRadius},"&&&":{paddingRight:32}})},So=(0,wn.ZP)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:wn.FO,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],{["&.".concat(wo.multiple)]:t.multiple}]}})(ko),_o=e=>{let{ownerState:t,theme:n}=e;return(0,fn.Z)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:n.palette.action.active,["&.".concat(wo.disabled)]:{color:n.palette.action.disabled}},t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7})},Eo=(0,wn.ZP)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t["icon".concat((0,yn.Z)(n.variant))],n.open&&t.iconOpen]}})(_o),Co=e.forwardRef((function(t,n){const{className:r,disabled:o,IconComponent:a,inputRef:i,variant:l="standard"}=t,s=(0,pn.Z)(t,xo),u=(0,fn.Z)({},t,{disabled:o,variant:l}),c=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:a}=e,i={select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon","icon".concat((0,yn.Z)(n)),a&&"iconOpen",r&&"disabled"]};return(0,vn.Z)(i,yo,t)})(u);return(0,h.jsxs)(e.Fragment,{children:[(0,h.jsx)(So,(0,fn.Z)({ownerState:u,className:(0,hn.Z)(c.select,r),disabled:o,ref:i||n},s)),t.multiple?null:(0,h.jsx)(Eo,{as:a,ownerState:u,className:c.icon})]})}));function Po(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Ro(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(Po(e.value)&&""!==e.value||t&&Po(e.defaultValue)&&""!==e.defaultValue)}var Zo=n(8744);function Oo(e){return(0,Sn.Z)("MuiSelect",e)}const To=(0,_n.Z)("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);var Ao;const Io=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],zo=(0,wn.ZP)("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{["&.".concat(To.select)]:t.select},{["&.".concat(To.select)]:t[n.variant]},{["&.".concat(To.multiple)]:t.multiple}]}})(ko,{["&.".concat(To.select)]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),No=(0,wn.ZP)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t["icon".concat((0,yn.Z)(n.variant))],n.open&&t.iconOpen]}})(_o),Mo=(0,wn.ZP)("input",{shouldForwardProp:e=>(0,wn.Dz)(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function jo(e,t){return"object"===typeof t&&null!==t?e===t:String(e)===String(t)}function Lo(e){return null==e||"string"===typeof e&&!e.trim()}const Do=e.forwardRef((function(t,n){const{"aria-describedby":r,"aria-label":o,autoFocus:a,autoWidth:i,children:l,className:s,defaultOpen:u,defaultValue:c,disabled:d,displayEmpty:f,IconComponent:p,inputRef:m,labelId:g,MenuProps:v={},multiple:b,name:y,onBlur:w,onChange:x,onClose:k,onFocus:S,onOpen:_,open:E,readOnly:C,renderValue:P,SelectDisplayProps:R={},tabIndex:Z,value:O,variant:T="standard"}=t,A=(0,pn.Z)(t,Io),[I,z]=(0,Zo.Z)({controlled:O,default:c,name:"Select"}),[N,M]=(0,Zo.Z)({controlled:E,default:u,name:"Select"}),j=e.useRef(null),L=e.useRef(null),[D,F]=e.useState(null),{current:W}=e.useRef(null!=E),[B,U]=e.useState(),H=(0,Tn.Z)(n,m),V=e.useCallback((e=>{L.current=e,e&&F(e)}),[]);e.useImperativeHandle(H,(()=>({focus:()=>{L.current.focus()},node:j.current,value:I})),[I]),e.useEffect((()=>{u&&N&&D&&!W&&(U(i?null:D.clientWidth),L.current.focus())}),[D,i]),e.useEffect((()=>{a&&L.current.focus()}),[a]),e.useEffect((()=>{if(!g)return;const e=(0,bn.Z)(L.current).getElementById(g);if(e){const t=()=>{getSelection().isCollapsed&&L.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[g]);const $=(e,t)=>{e?_&&_(t):k&&k(t),W||(U(i?null:D.clientWidth),M(e))},K=e.Children.toArray(l),q=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(b){n=Array.isArray(I)?I.slice():[];const t=I.indexOf(e.props.value);-1===t?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),I!==n&&(z(n),x)){const r=t.nativeEvent||t,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:n,name:y}}),x(o,e)}b||$(!1,t)}},G=null!==D&&N;let Y,X;delete A["aria-invalid"];const J=[];let Q=!1,ee=!1;(Ro({value:I})||f)&&(P?Y=P(I):Q=!0);const te=K.map((t=>{if(!e.isValidElement(t))return null;let n;if(b){if(!Array.isArray(I))throw new Error((0,gn.Z)(2));n=I.some((e=>jo(e,t.props.value))),n&&Q&&J.push(t.props.children)}else n=jo(I,t.props.value),n&&Q&&(X=t.props.children);return n&&(ee=!0),e.cloneElement(t,{"aria-selected":n?"true":"false",onClick:q(t),onKeyUp:e=>{" "===e.key&&e.preventDefault(),t.props.onKeyUp&&t.props.onKeyUp(e)},role:"option",selected:n,value:void 0,"data-value":t.props.value})}));Q&&(Y=b?0===J.length?null:J.reduce(((e,t,n)=>(e.push(t),n ' + func(text) + ' fred, barney, & pebbles-1&&e%1==0&&e