(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[76],{18735:function(e,t,r){"use strict";r.d(t,{Z:function(){return k}});var o=r(63366),l=r(87462),n=r(67294),a=r(90512),i=r(94780),c=r(2101),s=r(75228),d=r(93067),u=r(89262),p=r(92617),h=r(1588),f=r(34867);function b(e){return(0,f.ZP)("MuiSwitch",e)}let v=(0,h.Z)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);var m=r(85893);let g=["className","color","edge","size","sx"],w=e=>{let{classes:t,edge:r,size:o,color:n,checked:a,disabled:c}=e,d={root:["root",r&&"edge".concat((0,s.Z)(r)),"size".concat((0,s.Z)(o))],switchBase:["switchBase","color".concat((0,s.Z)(n)),a&&"checked",c&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},u=(0,i.Z)(d,b,t);return(0,l.Z)({},t,u)},x=(0,u.ZP)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.edge&&t["edge".concat((0,s.Z)(r.edge))],t["size".concat((0,s.Z)(r.size))]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,["& .".concat(v.thumb)]:{width:16,height:16},["& .".concat(v.switchBase)]:{padding:4,["&.".concat(v.checked)]:{transform:"translateX(16px)"}}}}]}),Z=(0,u.ZP)(d.Z,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.switchBase,{["& .".concat(v.input)]:t.input},"default"!==r.color&&t["color".concat((0,s.Z)(r.color))]]}})(e=>{let{theme:t}=e;return{position:"absolute",top:0,left:0,zIndex:1,color:t.vars?t.vars.palette.Switch.defaultColor:"".concat("light"===t.palette.mode?t.palette.common.white:t.palette.grey[300]),transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),["&.".concat(v.checked)]:{transform:"translateX(20px)"},["&.".concat(v.disabled)]:{color:t.vars?t.vars.palette.Switch.defaultDisabledColor:"".concat("light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[600])},["&.".concat(v.checked," + .").concat(v.track)]:{opacity:.5},["&.".concat(v.disabled," + .").concat(v.track)]:{opacity:t.vars?t.vars.opacity.switchTrackDisabled:"".concat("light"===t.palette.mode?.12:.2)},["& .".concat(v.input)]:{left:"-100%",width:"300%"}}},e=>{let{theme:t}=e;return{"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.activeChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,c.Fq)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(t.palette).filter(e=>{let[,t]=e;return t.main&&t.light}).map(e=>{let[r]=e;return{props:{color:r},style:{["&.".concat(v.checked)]:{color:(t.vars||t).palette[r].main,"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette[r].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,c.Fq)(t.palette[r].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},["&.".concat(v.disabled)]:{color:t.vars?t.vars.palette.Switch["".concat(r,"DisabledColor")]:"".concat("light"===t.palette.mode?(0,c.$n)(t.palette[r].main,.62):(0,c._j)(t.palette[r].main,.55))}},["&.".concat(v.checked," + .").concat(v.track)]:{backgroundColor:(t.vars||t).palette[r].main}}}})]}}),y=(0,u.ZP)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(e=>{let{theme:t}=e;return{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:"".concat("light"===t.palette.mode?t.palette.common.black:t.palette.common.white),opacity:t.vars?t.vars.opacity.switchTrack:"".concat("light"===t.palette.mode?.38:.3)}}),S=(0,u.ZP)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(e=>{let{theme:t}=e;return{boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}});var k=n.forwardRef(function(e,t){let r=(0,p.i)({props:e,name:"MuiSwitch"}),{className:n,color:i="primary",edge:c=!1,size:s="medium",sx:d}=r,u=(0,o.Z)(r,g),h=(0,l.Z)({},r,{color:i,edge:c,size:s}),f=w(h),b=(0,m.jsx)(S,{className:f.thumb,ownerState:h});return(0,m.jsxs)(x,{className:(0,a.Z)(f.root,n),sx:d,ownerState:h,children:[(0,m.jsx)(Z,(0,l.Z)({type:"checkbox",icon:b,checkedIcon:b,ref:t,ownerState:h},u,{classes:(0,l.Z)({},f,{root:f.switchBase})})),(0,m.jsx)(y,{className:f.track,ownerState:h})]})})},76957:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});var o=r(63366),l=r(87462),n=r(67294),a=r(90512),i=r(94780),c=r(98078),s=r(75228),d=r(92617),u=r(89262),p=r(1588),h=r(34867);function f(e){return(0,h.ZP)("MuiTab",e)}let b=(0,p.Z)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);var v=r(85893);let m=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],g=e=>{let{classes:t,textColor:r,fullWidth:o,wrapped:l,icon:n,label:a,selected:c,disabled:d}=e,u={root:["root",n&&a&&"labelIcon","textColor".concat((0,s.Z)(r)),o&&"fullWidth",l&&"wrapped",c&&"selected",d&&"disabled"],iconWrapper:["iconWrapper"]};return(0,i.Z)(u,f,t)},w=(0,u.ZP)(c.Z,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.label&&r.icon&&t.labelIcon,t["textColor".concat((0,s.Z)(r.textColor))],r.fullWidth&&t.fullWidth,r.wrapped&&t.wrapped,{["& .".concat(b.iconWrapper)]:t.iconWrapper}]}})(e=>{let{theme:t,ownerState:r}=e;return(0,l.Z)({},t.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},r.label&&{flexDirection:"top"===r.iconPosition||"bottom"===r.iconPosition?"column":"row"},{lineHeight:1.25},r.icon&&r.label&&{minHeight:72,paddingTop:9,paddingBottom:9,["& > .".concat(b.iconWrapper)]:(0,l.Z)({},"top"===r.iconPosition&&{marginBottom:6},"bottom"===r.iconPosition&&{marginTop:6},"start"===r.iconPosition&&{marginRight:t.spacing(1)},"end"===r.iconPosition&&{marginLeft:t.spacing(1)})},"inherit"===r.textColor&&{color:"inherit",opacity:.6,["&.".concat(b.selected)]:{opacity:1},["&.".concat(b.disabled)]:{opacity:(t.vars||t).palette.action.disabledOpacity}},"primary"===r.textColor&&{color:(t.vars||t).palette.text.secondary,["&.".concat(b.selected)]:{color:(t.vars||t).palette.primary.main},["&.".concat(b.disabled)]:{color:(t.vars||t).palette.text.disabled}},"secondary"===r.textColor&&{color:(t.vars||t).palette.text.secondary,["&.".concat(b.selected)]:{color:(t.vars||t).palette.secondary.main},["&.".concat(b.disabled)]:{color:(t.vars||t).palette.text.disabled}},r.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},r.wrapped&&{fontSize:t.typography.pxToRem(12)})});var x=n.forwardRef(function(e,t){let r=(0,d.i)({props:e,name:"MuiTab"}),{className:i,disabled:c=!1,disableFocusRipple:s=!1,fullWidth:u,icon:p,iconPosition:h="top",indicator:f,label:b,onChange:x,onClick:Z,onFocus:y,selected:S,selectionFollowsFocus:k,textColor:C="inherit",value:B,wrapped:P=!1}=r,R=(0,o.Z)(r,m),I=(0,l.Z)({},r,{disabled:c,disableFocusRipple:s,selected:S,icon:!!p,iconPosition:h,label:!!b,fullWidth:u,textColor:C,wrapped:P}),E=g(I),T=p&&b&&n.isValidElement(p)?n.cloneElement(p,{className:(0,a.Z)(E.iconWrapper,p.props.className)}):p;return(0,v.jsxs)(w,(0,l.Z)({focusRipple:!s,className:(0,a.Z)(E.root,i),ref:t,role:"tab","aria-selected":S,disabled:c,onClick:e=>{!S&&x&&x(e,B),Z&&Z(e)},onFocus:e=>{k&&!S&&x&&x(e,B),y&&y(e)},ownerState:I,tabIndex:S?0:-1},R,{children:["top"===h||"start"===h?(0,v.jsxs)(n.Fragment,{children:[T,b]}):(0,v.jsxs)(n.Fragment,{children:[b,T]}),f]}))})},56804:function(e,t,r){"use strict";let o;r.d(t,{Z:function(){return U}});var l=r(63366),n=r(87462),a=r(67294);r(59864);var i=r(90512),c=r(94780),s=r(82056),d=r(82963),u=r(89262),p=r(92617),h=r(49360),f=r(31837);function b(){if(o)return o;let 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),o="reverse",e.scrollLeft>0?o="default":(e.scrollLeft=1,0===e.scrollLeft&&(o="negative")),document.body.removeChild(e),o}function v(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var m=r(23769),g=r(81603),w=r(85893);let x=["onChange"],Z={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var y=r(57680),S=(0,y.Z)((0,w.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),k=(0,y.Z)((0,w.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),C=r(98078),B=r(1588),P=r(34867);function R(e){return(0,P.ZP)("MuiTabScrollButton",e)}let I=(0,B.Z)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),E=["className","slots","slotProps","direction","orientation","disabled"],T=e=>{let{classes:t,orientation:r,disabled:o}=e;return(0,c.Z)({root:["root",r,o&&"disabled"]},R,t)},M=(0,u.ZP)(C.Z,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.orientation&&t[r.orientation]]}})(e=>{let{ownerState:t}=e;return(0,n.Z)({width:40,flexShrink:0,opacity:.8,["&.".concat(I.disabled)]:{opacity:0}},"vertical"===t.orientation&&{width:"100%",height:40,"& svg":{transform:"rotate(".concat(t.isRtl?-90:90,"deg)")}})}),W=a.forwardRef(function(e,t){var r,o;let a=(0,p.i)({props:e,name:"MuiTabScrollButton"}),{className:c,slots:u={},slotProps:h={},direction:f}=a,b=(0,l.Z)(a,E),v=(0,s.V)(),m=(0,n.Z)({isRtl:v},a),g=T(m),x=null!=(r=u.StartScrollButtonIcon)?r:S,Z=null!=(o=u.EndScrollButtonIcon)?o:k,y=(0,d.Z)({elementType:x,externalSlotProps:h.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m}),C=(0,d.Z)({elementType:Z,externalSlotProps:h.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m});return(0,w.jsx)(M,(0,n.Z)({component:"div",className:(0,i.Z)(g.root,c),ref:t,role:null,ownerState:m,tabIndex:null},b,{children:"left"===f?(0,w.jsx)(x,(0,n.Z)({},y)):(0,w.jsx)(Z,(0,n.Z)({},C))}))});var z=r(60174);function N(e){return(0,P.ZP)("MuiTabs",e)}let j=(0,B.Z)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]);var L=r(19194);let O=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],F=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,A=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,H=(e,t,r)=>{let o=!1,l=r(e,t);for(;l;){if(l===e.firstChild){if(o)return;o=!0}let t=l.disabled||"true"===l.getAttribute("aria-disabled");if(!l.hasAttribute("tabindex")||t)l=r(e,l);else{l.focus();return}}},X=e=>{let{vertical:t,fixed:r,hideScrollbar:o,scrollableX:l,scrollableY:n,centered:a,scrollButtonsHideMobile:i,classes:s}=e;return(0,c.Z)({root:["root",t&&"vertical"],scroller:["scroller",r&&"fixed",o&&"hideScrollbar",l&&"scrollableX",n&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",i&&"scrollButtonsHideMobile"],scrollableX:[l&&"scrollableX"],hideScrollbar:[o&&"hideScrollbar"]},N,s)},D=(0,u.ZP)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{["& .".concat(j.scrollButtons)]:t.scrollButtons},{["& .".concat(j.scrollButtons)]:r.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,r.vertical&&t.vertical]}})(e=>{let{ownerState:t,theme:r}=e;return(0,n.Z)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&{["& .".concat(j.scrollButtons)]:{[r.breakpoints.down("sm")]:{display:"none"}}})}),_=(0,u.ZP)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.scroller,r.fixed&&t.fixed,r.hideScrollbar&&t.hideScrollbar,r.scrollableX&&t.scrollableX,r.scrollableY&&t.scrollableY]}})(e=>{let{ownerState:t}=e;return(0,n.Z)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},t.fixed&&{overflowX:"hidden",width:"100%"},t.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},t.scrollableX&&{overflowX:"auto",overflowY:"hidden"},t.scrollableY&&{overflowY:"auto",overflowX:"hidden"})}),Y=(0,u.ZP)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.flexContainer,r.vertical&&t.flexContainerVertical,r.centered&&t.centered]}})(e=>{let{ownerState:t}=e;return(0,n.Z)({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"})}),q=(0,u.ZP)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(e=>{let{ownerState:t,theme:r}=e;return(0,n.Z)({position:"absolute",height:2,bottom:0,width:"100%",transition:r.transitions.create()},"primary"===t.indicatorColor&&{backgroundColor:(r.vars||r).palette.primary.main},"secondary"===t.indicatorColor&&{backgroundColor:(r.vars||r).palette.secondary.main},t.vertical&&{height:"100%",width:2,right:0})}),V=(0,u.ZP)(function(e){let{onChange:t}=e,r=(0,l.Z)(e,x),o=a.useRef(),i=a.useRef(null),c=()=>{o.current=i.current.offsetHeight-i.current.clientHeight};return(0,m.Z)(()=>{let e=(0,f.Z)(()=>{let e=o.current;c(),e!==o.current&&t(o.current)}),r=(0,g.Z)(i.current);return r.addEventListener("resize",e),()=>{e.clear(),r.removeEventListener("resize",e)}},[t]),a.useEffect(()=>{c(),t(o.current)},[t]),(0,w.jsx)("div",(0,n.Z)({style:Z,ref:i},r))})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),K={};var U=a.forwardRef(function(e,t){let r=(0,p.i)({props:e,name:"MuiTabs"}),o=(0,h.Z)(),c=(0,s.V)(),{"aria-label":u,"aria-labelledby":m,action:x,centered:Z=!1,children:y,className:S,component:k="div",allowScrollButtonsMobile:C=!1,indicatorColor:B="primary",onChange:P,orientation:R="horizontal",ScrollButtonComponent:I=W,scrollButtons:E="auto",selectionFollowsFocus:T,slots:M={},slotProps:N={},TabIndicatorProps:j={},TabScrollButtonProps:U={},textColor:G="primary",value:$,variant:J="standard",visibleScrollbar:Q=!1}=r,ee=(0,l.Z)(r,O),et="scrollable"===J,er="vertical"===R,eo=er?"scrollTop":"scrollLeft",el=er?"top":"left",en=er?"bottom":"right",ea=er?"clientHeight":"clientWidth",ei=er?"height":"width",ec=(0,n.Z)({},r,{component:k,allowScrollButtonsMobile:C,indicatorColor:B,orientation:R,vertical:er,scrollButtons:E,textColor:G,variant:J,visibleScrollbar:Q,fixed:!et,hideScrollbar:et&&!Q,scrollableX:et&&!er,scrollableY:et&&er,centered:Z&&!et,scrollButtonsHideMobile:!C}),es=X(ec),ed=(0,d.Z)({elementType:M.StartScrollButtonIcon,externalSlotProps:N.startScrollButtonIcon,ownerState:ec}),eu=(0,d.Z)({elementType:M.EndScrollButtonIcon,externalSlotProps:N.endScrollButtonIcon,ownerState:ec}),[ep,eh]=a.useState(!1),[ef,eb]=a.useState(K),[ev,em]=a.useState(!1),[eg,ew]=a.useState(!1),[ex,eZ]=a.useState(!1),[ey,eS]=a.useState({overflow:"hidden",scrollbarWidth:0}),ek=new Map,eC=a.useRef(null),eB=a.useRef(null),eP=()=>{let e,t;let r=eC.current;if(r){let t=r.getBoundingClientRect();e={clientWidth:r.clientWidth,scrollLeft:r.scrollLeft,scrollTop:r.scrollTop,scrollLeftNormalized:function(e,t){let r=e.scrollLeft;if("rtl"!==t)return r;switch(b()){case"negative":return e.scrollWidth-e.clientWidth+r;case"reverse":return e.scrollWidth-e.clientWidth-r;default:return r}}(r,c?"rtl":"ltr"),scrollWidth:r.scrollWidth,top:t.top,bottom:t.bottom,left:t.left,right:t.right}}if(r&&!1!==$){let e=eB.current.children;if(e.length>0){let r=e[ek.get($)];t=r?r.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:t}},eR=(0,z.Z)(()=>{let e;let{tabsMeta:t,tabMeta:r}=eP(),o=0;if(er)e="top",r&&t&&(o=r.top-t.top+t.scrollTop);else if(e=c?"right":"left",r&&t){let l=c?t.scrollLeftNormalized+t.clientWidth-t.scrollWidth:t.scrollLeft;o=(c?-1:1)*(r[e]-t[e]+l)}let l={[e]:o,[ei]:r?r[ei]:0};if(isNaN(ef[e])||isNaN(ef[ei]))eb(l);else{let t=Math.abs(ef[e]-l[e]),r=Math.abs(ef[ei]-l[ei]);(t>=1||r>=1)&&eb(l)}}),eI=function(e){let{animation:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t?function(e,t,r){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:()=>{},{ease:n=v,duration:a=300}=o,i=null,c=t[e],s=!1,d=o=>{if(s){l(Error("Animation cancelled"));return}null===i&&(i=o);let u=Math.min(1,(o-i)/a);if(t[e]=n(u)*(r-c)+c,u>=1){requestAnimationFrame(()=>{l(null)});return}requestAnimationFrame(d)};return c===r?l(Error("Element already at target position")):requestAnimationFrame(d),()=>{s=!0}}(eo,eC.current,e,{duration:o.transitions.duration.standard}):eC.current[eo]=e},eE=e=>{let t=eC.current[eo];er?t+=e:(t+=e*(c?-1:1),t*=c&&"reverse"===b()?-1:1),eI(t)},eT=()=>{let e=eC.current[ea],t=0,r=Array.from(eB.current.children);for(let o=0;o<r.length;o+=1){let l=r[o];if(t+l[ea]>e){0===o&&(t=e);break}t+=l[ea]}return t},eM=()=>{eE(-1*eT())},eW=()=>{eE(eT())},ez=a.useCallback(e=>{eS({overflow:null,scrollbarWidth:e})},[]),eN=(0,z.Z)(e=>{let{tabsMeta:t,tabMeta:r}=eP();r&&t&&(r[el]<t[el]?eI(t[eo]+(r[el]-t[el]),{animation:e}):r[en]>t[en]&&eI(t[eo]+(r[en]-t[en]),{animation:e}))}),ej=(0,z.Z)(()=>{et&&!1!==E&&eZ(!ex)});a.useEffect(()=>{let e,t;let r=(0,f.Z)(()=>{eC.current&&eR()}),o=(0,g.Z)(eC.current);return o.addEventListener("resize",r),"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(r),Array.from(eB.current.children).forEach(t=>{e.observe(t)})),"undefined"!=typeof MutationObserver&&(t=new MutationObserver(t=>{t.forEach(t=>{t.removedNodes.forEach(t=>{var r;null==(r=e)||r.unobserve(t)}),t.addedNodes.forEach(t=>{var r;null==(r=e)||r.observe(t)})}),r(),ej()})).observe(eB.current,{childList:!0}),()=>{var l,n;r.clear(),o.removeEventListener("resize",r),null==(l=t)||l.disconnect(),null==(n=e)||n.disconnect()}},[eR,ej]),a.useEffect(()=>{let e=Array.from(eB.current.children),t=e.length;if("undefined"!=typeof IntersectionObserver&&t>0&&et&&!1!==E){let r=e[0],o=e[t-1],l={root:eC.current,threshold:.99},n=new IntersectionObserver(e=>{em(!e[0].isIntersecting)},l);n.observe(r);let a=new IntersectionObserver(e=>{ew(!e[0].isIntersecting)},l);return a.observe(o),()=>{n.disconnect(),a.disconnect()}}},[et,E,ex,null==y?void 0:y.length]),a.useEffect(()=>{eh(!0)},[]),a.useEffect(()=>{eR()}),a.useEffect(()=>{eN(K!==ef)},[eN,ef]),a.useImperativeHandle(x,()=>({updateIndicator:eR,updateScrollButtons:ej}),[eR,ej]);let eL=(0,w.jsx)(q,(0,n.Z)({},j,{className:(0,i.Z)(es.indicator,j.className),ownerState:ec,style:(0,n.Z)({},ef,j.style)})),eO=0,eF=a.Children.map(y,e=>{if(!a.isValidElement(e))return null;let t=void 0===e.props.value?eO:e.props.value;ek.set(t,eO);let r=t===$;return eO+=1,a.cloneElement(e,(0,n.Z)({fullWidth:"fullWidth"===J,indicator:r&&!ep&&eL,selected:r,selectionFollowsFocus:T,onChange:P,textColor:G,value:t},1!==eO||!1!==$||e.props.tabIndex?{}:{tabIndex:0}))}),eA=(()=>{let e={};e.scrollbarSizeListener=et?(0,w.jsx)(V,{onChange:ez,className:(0,i.Z)(es.scrollableX,es.hideScrollbar)}):null;let t=et&&("auto"===E&&(ev||eg)||!0===E);return e.scrollButtonStart=t?(0,w.jsx)(I,(0,n.Z)({slots:{StartScrollButtonIcon:M.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:ed},orientation:R,direction:c?"right":"left",onClick:eM,disabled:!ev},U,{className:(0,i.Z)(es.scrollButtons,U.className)})):null,e.scrollButtonEnd=t?(0,w.jsx)(I,(0,n.Z)({slots:{EndScrollButtonIcon:M.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:eu},orientation:R,direction:c?"left":"right",onClick:eW,disabled:!eg},U,{className:(0,i.Z)(es.scrollButtons,U.className)})):null,e})();return(0,w.jsxs)(D,(0,n.Z)({className:(0,i.Z)(es.root,S),ownerState:ec,ref:t,as:k},ee,{children:[eA.scrollButtonStart,eA.scrollbarSizeListener,(0,w.jsxs)(_,{className:es.scroller,ownerState:ec,style:{overflow:ey.overflow,[er?"margin".concat(c?"Left":"Right"):"marginBottom"]:Q?void 0:-ey.scrollbarWidth},ref:eC,children:[(0,w.jsx)(Y,{"aria-label":u,"aria-labelledby":m,"aria-orientation":"vertical"===R?"vertical":null,className:es.flexContainer,ownerState:ec,onKeyDown:e=>{let t=eB.current,r=(0,L.Z)(t).activeElement;if("tab"!==r.getAttribute("role"))return;let o="horizontal"===R?"ArrowLeft":"ArrowUp",l="horizontal"===R?"ArrowRight":"ArrowDown";switch("horizontal"===R&&c&&(o="ArrowRight",l="ArrowLeft"),e.key){case o:e.preventDefault(),H(t,r,A);break;case l:e.preventDefault(),H(t,r,F);break;case"Home":e.preventDefault(),H(t,null,F);break;case"End":e.preventDefault(),H(t,null,A)}},ref:eB,role:"tablist",children:eF}),ep&&eL]}),eA.scrollButtonEnd]}))})},93067:function(e,t,r){"use strict";r.d(t,{Z:function(){return y}});var o=r(63366),l=r(87462),n=r(67294),a=r(90512),i=r(94780),c=r(75228),s=r(89262),d=r(13188),u=r(58468),p=r(12794),h=r(98078),f=r(1588),b=r(34867);function v(e){return(0,b.ZP)("PrivateSwitchBase",e)}(0,f.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var m=r(85893);let g=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],w=e=>{let{classes:t,checked:r,disabled:o,edge:l}=e,n={root:["root",r&&"checked",o&&"disabled",l&&"edge".concat((0,c.Z)(l))],input:["input"]};return(0,i.Z)(n,v,t)},x=(0,s.ZP)(h.Z)(e=>{let{ownerState:t}=e;return(0,l.Z)({padding:9,borderRadius:"50%"},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})}),Z=(0,s.ZP)("input",{shouldForwardProp:d.Z})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1});var y=n.forwardRef(function(e,t){let{autoFocus:r,checked:n,checkedIcon:i,className:c,defaultChecked:s,disabled:d,disableFocusRipple:h=!1,edge:f=!1,icon:b,id:v,inputProps:y,inputRef:S,name:k,onBlur:C,onChange:B,onFocus:P,readOnly:R,required:I=!1,tabIndex:E,type:T,value:M}=e,W=(0,o.Z)(e,g),[z,N]=(0,u.Z)({controlled:n,default:!!s,name:"SwitchBase",state:"checked"}),j=(0,p.Z)(),L=d;j&&void 0===L&&(L=j.disabled);let O="checkbox"===T||"radio"===T,F=(0,l.Z)({},e,{checked:z,disabled:L,disableFocusRipple:h,edge:f}),A=w(F);return(0,m.jsxs)(x,(0,l.Z)({component:"span",className:(0,a.Z)(A.root,c),centerRipple:!0,focusRipple:!h,disabled:L,tabIndex:null,role:void 0,onFocus:e=>{P&&P(e),j&&j.onFocus&&j.onFocus(e)},onBlur:e=>{C&&C(e),j&&j.onBlur&&j.onBlur(e)},ownerState:F,ref:t},W,{children:[(0,m.jsx)(Z,(0,l.Z)({autoFocus:r,checked:n,defaultChecked:s,className:A.input,disabled:L,id:O?v:void 0,name:k,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;let t=e.target.checked;N(t),B&&B(e,t)},readOnly:R,ref:S,required:I,ownerState:F,tabIndex:E,type:T},"checkbox"===T&&void 0===M?{}:{value:M},y)),z?i:b]}))})},92703:function(e,t,r){"use strict";var o=r(50414);function l(){}function n(){}n.resetWarningCache=l,e.exports=function(){function e(e,t,r,l,n,a){if(a!==o){var i=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 r={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:n,resetWarningCache:l};return r.PropTypes=r,r}},45697:function(e,t,r){e.exports=r(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}]);