1"use strict";(globalThis.webpackChunkreact_js=globalThis.webpackChunkreact_js||[]).push([[403],{85051(e,t,r){r.d(t,{A:()=>y});var o=r(96569),n=r(1648),a=r(75251),i=Object.defineProperty,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,d=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const u=o.memo(o.forwardRef(((e,t)=>o.createElement(a.A,((e,t)=>{for(var r in t||(t={}))s.call(t,r)&&d(e,r,t[r]);if(l)for(var r of l(t))c.call(t,r)&&d(e,r,t[r]);return e})({isGeneratedIcon:!0,isLineicon:!0,viewBox:"0 0 16 16",ref:t},e),o.createElement("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",d:"M5.433,2.5L10.567,8\n\tl-5.133,5.5l0,0"})))));var p=Object.defineProperty,b=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,v=(e,t,r)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const m=o.forwardRef(((e,t)=>o.createElement(n.A,((e,t)=>
1{for(var r in t||(t={}))f.call(t,r)&&v(e,r,t[r]);if(b)for(var r of b(t))h.call(t,r)&&v(e,r,t[r]);return e})({ref:t,Linear:u,"data-test-id":"chevron-right-icon"},e))));m.category="Action",m.name="chevron-right",m.displayName="ChevronRightIcon";const y=m},84307(e,t,r){r.d(t,{A:()=>D});var o=r(96569),n=r(73723),a=r.n(n),i=r(92203),l=r(5531),s=r(49804),c=r(94846),d=r(92369),u=r(87939),p=r(55408),b=r(12276),f=r(27142),h=r(81278);function v(e){return(0,h.Ay)("MuiTab",e)}const m=(0,f.A)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]);var y=r(96717);const g=(0,u.Ay)(c.A,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.label&&r.icon&&t.labelIcon,t[`textColor${(0,d.A)(r.textColor)}`],r.fullWidth&&t.fullWidth,r.wrapped&&t.wrapped,{[`& .${m.iconWrapper}`]:t.iconWrapper},{[`& .${m.icon}`]:t.icon}]}})((0,p.A)((({theme:e})=>({...e.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:e})=>e.label&&("top"===e.iconPosition||"bottom"===e.iconPosition),style:{flexDirection:"column"}},{props:({ownerState:e})=>e.label&&"top"!==e.iconPosition&&"bottom"!==e.iconPosition,style:{flexDirection:"row"}},{props:({ownerState:e})=>e.icon&&e.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"top"===t,style:{[`& > .${m.icon}`]:{marginBottom:6}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"bottom"===t,style:{[`& > .${m.icon}`]:{marginTop:6}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"start"===t,style:{[`& > .${m.icon}`]:{marginRight:e.spacing(1)}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"end"===t,style:{[`& > .${m.icon}`]:{marginLeft:e.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${m.selected}`]:{opacity:1},[`&.${m.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${m.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${m.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${m.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${m.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:({ownerState:e})=>e.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:e})=>e.wrapped,style:{fontSize:e.typography.pxToRem(12)}}]})))),S=o.forwardRef((function(e,t){const r=(0,b.b)({props:e,name:"MuiTab"}),{className:n,disabled:a=!1,disableFocusRipple:i=!1,fullWidth:c,icon:u,iconPosition:p="top",indicator:f,label:h,onChange:m,onClick:S,onFocus:w,selected:x,selectionFollowsFocus:A,textColor:T="inherit",value:k,wrapped:C=!1,...I}=r,E={...r,disabled:a,disableFocusRipple:i,selected:x,icon:!!u,iconPosition:p,label:!!h,fullWidth:c,textColor:T,wrapped:C},M=(e=>{const{classes:t,textColor:r,fullWidth:o,wrapped:n,icon:a,label:i,selected:l,disabled:c}=e,u={root:["root",a&&i&&"labelIcon",`textColor${(0,d.A)(r)}`,o&&"fullWidth",n&&"wrapped",l&&"selected",c&&"disabled"],icon:["iconWrapper","icon"]};return(0,s.A)(u,v,t)})(E),P=u&&h&&o.isValidElement(u)?o.cloneElement(u,{className:(0,l.A)(M.icon,u.props.className)}):u;return(0,y.jsxs)(g,{focusRipple:!i,className:(0,l.A)(M.root,n),ref:t,role:"tab","aria-selected":x,disabled:a,onClick:e=>{!x&&m&&m(e,k),S&&S(e)},onFocus:e=>{A&&!x&&m&&m(e,k),w&&w(e)},ownerState:E,tabIndex:x?0:-1,...I,children:["top"===p||"start"===p?(0,y.jsxs)(o.Fragment,{children:[P,h]}):(0,y.jsxs)(o.Fragment,{children:[h,P]}),f]})}));var w=r(26856),x=r(93354),A=r(10189),T=r(31580),k=r(13594),C=r(96776),I=r(88589),E=r(20),M=Object.defineProperty,P=Object.defineProperties,$=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,W=(e,t,r)=>t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,j=(e,t)=>{for(var r in t||(t={}))B.call(t,r)&&W(e,r,t[r]);if(O)for(var r of O(t))R.call(t,r)&&W(e,r,t[r]);return e},H=(e,t)=>P(e,$(t)),z=(e,t)=>{var r={};for(var o in e)B.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&O)for(var o of O(e))t.indexOf(o)<0&&R.call(e,o)&&(r[o]=e[o]);return r};const F=e=>{e.preventDefault()},N=(0,i.Ay)((0,o.forwardRef)(((e,t)=>{var r=e,{colors:n,variant:a,UIState:i,hasChip:l,cmpTokens:s,selected:c,chipTokens:d,isSpreadTabsWidth:u,orientation:p}
1=r,b=z(r,["colors","variant","UIState","hasChip","cmpTokens","selected","chipTokens","isSpreadTabsWidth","orientation"]);return o.createElement(S,j({ref:t},b))})))` 2 ${C.A} 3 ${({cmpTokens:e,variant:t,UIState:r,hasChip:o,selected:n,chipTokens:a,isSpreadTabsWidth:l,orientation:s})=>i.AH` 4 background: ${e.variants[t].skin.backgroundColor[r]}; 5 min-width: ${e.variants[t].structure.minWidth}; 6 min-height: ${e.variants[t].structure.minHeight}; 7 8 ${t===I.Xb&&i.AH` 9 border-radius: ${e.variants[t].structure.borderRadius}; 10 `} 11 12 flex-direction: ${s===I.Sz?"row":"column"}; 13 14 &.MuiTab-textColorInherit { 15 opacity: 1; 16 } 17 18 &:hover { 19 background: ${n?e.variants[t].skin.backgroundColor.selectedHover:e.variants[t].skin.backgroundColor.hover}; 20 21 .MuiTypography-root { 22 color: ${n?e.variants[t].skin.textColor.selectedHover:e.variants[t].skin.textColor.hover}; 23 } 24 } 25 26 &.Mui-focusVisible { 27 background: ${e.variants[t].skin.backgroundColor.focus}; 28 29 .MuiTypography-root { 30 color: ${e.variants[t].skin.textColor.focus}; 31 } 32 } 33 34 ${o&&i.AH` 35 .MuiTypography-root { 36 display: inline-flex; 37 align-items: center; 38 } 39 40 &:hover .MuiChip-root, 41 .MuiChip-root:hover { 42 background-color: ${a.skin.backgroundColor.hover}; 43 } 44 45 &:focus .MuiChip-root, 46 .MuiChip-root:focus, 47 &.Mui-selected .MuiChip-root { 48 background-color: ${a.skin.backgroundColor.focus}; 49 } 50 `} 51 52 ${l&&i.AH` 53 display: flex; 54 flex: 1; 55 `} 56 57 &.MuiTab-labelIcon { 58 ${t!==I.lQ&&i.AH` 59 & > * > .js-SvgIcon { 60 top: initial; 61 } 62 `} 63 64 & > *:first-child { 65 margin-bottom: 0; 66 } 67 } 68 `} 69`,L=(0,o.forwardRef)(((e,t)=>{var r=e,{label:n,icon:a,selected:i,focus:s,children:c,className:d,count:u,customChip:p}=r,b=z(r,["label","icon","selected","focus","children","className","count","customChip"]);const f=(0,k.A)("Tab"),{variant:h,preventNavigation:v,onMouseEnter:m,storeActiveTab:y,isSpreadTabsWidth:g,orientation:S}=(0,o.useContext)(E.A),C=(0,o.useRef)(null),M=(0,k.A)("Chip");let P;P=i&&!s?"selected":s?"focus":"default";const $=i?"Mui-selected":null,O=f.variants[h].subcomponents.Chip.props.color,B={ref:t,cmpTokens:f,variant:h,orientation:S,chipTokens:M.variants[O],UIState:P,py:f.variants[h].structure.paddingVertical.value,px:f.variants[h].structure.paddingHorizontal.value,tabIndex:0};(0,o.useEffect)((()=>{y&&i&&C.current&&y(C.current.parentElement)}),[i,C.current]);const R=i?f.variants[h].subcomponents.Text.props.fontWeight.selected:f.variants[h].subcomponents.Text.props.fontWeight.default;if(h===I.lQ){const e=e=>o.createElement(x.Ay,j({variant:f.variants[h].subcomponents.Text.props.variant,fontWeight:R,color:f.variants[h].skin.textColor[P],textTransform:"uppercase"},e));return o.createElement(N,H(j(H(j({},B),{label:o.createElement(o.Fragment,null,n?o.createElement(e,null,n):null,c),icon:a?o.createElement(e,null,a):null}),b),{className:(0,l.A)($,d)}))}return o.createElement(N,H(j(H(j({},B),{selected:i,hasChip:!!u||!!p,onClick:v?F:null,onMouseEnter:m,label:o.createElement(T.A,{ref:C},n?o.createElement(x.Ay,{variant:f.variants[h].subcomponents.Text.props.variant,fontWeight:R,color:f.variants[h].skin.textColor[P]},n):null,c,u||p?o.createElement(A.A,{ml:f.variants[h].subcomponents.ChipWrapper.structure.marginLeft,mt:f.variants[h].subcomponents.ChipWrapper.structure.marginTop,zIndex:"1"},p||o.createElement(w.A,{size:"small",label:u,color:f.variants[h].subcomponents.Chip.props.color,isRounded:!0,clickable:!0})):null),icon:a?o.createElement(x.Ay,{variant:f.variants[h].subcomponents.Text.props.variant,color:f.variants[h].skin.textColor[P]},a):null,isSpreadTabsWidth:g}),b),{className:(0,l.A)($,d)}))}));L.propTypes={label:a().node,icon:a().node,selected:a().bool,focus:a().bool,children:a().node,className:a().string,href:a().string,count:a().number,customChip:a().node},L.defaultProps={label:null,icon:null,selected:!1,focus:!1,children:null,className:"",count:null,href:null,customChip:null};const D=L},20(e,t,r){r.d(t,{A:()=>a});var o=r(96569),n=r(88589);const a=(0,o.createContext)({variant:n.ir})},22128(e,t,r){r.d(t,{A:()=>xe});var o=r(96569),n=r(73723),a=r.n(n),i=r(92203),l=r(5531),s=r(49804),c=r(69989),d=r(30342),u=r(87939),p=r(32994),b=r(55408),f=r(12276),h=r(69348);function v(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var m=r(52787),y=r(97616),g=r(96717);const S={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var w=r(59472);const x=(0,w.A)((0,g.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),A=(0,w.A)((0,g.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");var T=r(94846),k=r(27142),C=r(81278);function I(e){return(0,C.Ay)("MuiTabScrollButton",e)}const E=(0,k.A)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),M=(0,u.Ay)(T.A,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.orientation&&t[r.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${E.disabled}`]:{opacity:0}
69,variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),P=o.forwardRef((function(e,t){const r=(0,f.b)({props:e,name:"MuiTabScrollButton"}),{className:o,slots:n={},slotProps:a={},direction:i,orientation:u,disabled:p,...b}=r,h=(0,c.I)(),v={isRtl:h,...r},m=(e=>{const{classes:t,orientation:r,disabled:o}=e,n={root:["root",r,o&&"disabled"]};return(0,s.A)(n,I,t)})(v),y=n.StartScrollButtonIcon??x,S=n.EndScrollButtonIcon??A,w=(0,d.A)({elementType:y,externalSlotProps:a.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:v}),T=(0,d.A)({elementType:S,externalSlotProps:a.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:v});return(0,g.jsx)(M,{component:"div",className:(0,l.A)(m.root,o),ref:t,role:null,ownerState:v,tabIndex:null,...b,style:{...b.style,..."vertical"===u&&{"--TabScrollButton-svgRotate":`rotate(${h?-90:90}deg)`}},children:"left"===i?(0,g.jsx)(y,{...w}):(0,g.jsx)(S,{...T})})}));var $=r(19089);function O(e){return(0,C.Ay)("MuiTabs",e)}const B=(0,k.A)("MuiTabs",["root","vertical","list","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","
69indicator"]);var R=r(88961),W=r(79080);const j=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,H=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,z=(e,t,r)=>{let o=!1,n=r(e,t);for(;n;){if(n===e.firstChild){if(o)return;o=!0}const t=n.disabled||"true"===n.getAttribute("aria-disabled");if(n.hasAttribute("tabindex")&&!t)return void n.focus();n=r(e,n)}},F=(0,u.Ay)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${B.scrollButtons}`]:t.scrollButtons},{[`& .${B.scrollButtons}`]:r.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,r.vertical&&t.vertical]}})((0,b.A)((({theme:e})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.scrollButtonsHideMobile,style:{[`& .${B.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}}}]})))),N=(0,u.Ay)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.scroller,r.fixed&&t.fixed,r.hideScrollbar&&t.hideScrollbar,r.scrollableX&&t.scrollableX,r.scrollableY&&t.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:e})=>e.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:e})=>e.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:e})=>e.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:e})=>e.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),L=(0,u.Ay)("div",{name:"MuiTabs",slot:"List",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.list,t.flexContainer,r.vertical&&t.flexContainerVertical,r.centered&&t.centered]}})({display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.centered,style:{justifyContent:"center"}}]}),D=(0,u.Ay)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})((0,b.A)((({theme:e})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(e.vars||e).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(e.vars||e).palette.secondary.main}},{props:({ownerState:e})=>e.vertical,style:{height:"100%",width:2,right:0}}]})))),X=(0,u.Ay)((function(e){const{onChange:t,...r}=e,n=o.useRef(),a=o.useRef(null),i=()=>{n.current=a.current.offsetHeight-a.current.clientHeight};return(0,m.A)((()=>{const e=(0,h.A)((()=>{const e=n.current;i(),e!==n.current&&t(n.current)})),r=(0,y.A)(a.current);return r.addEventListener("resize",e),()=>{e.clear(),r.removeEventListener("resize",e)}}),[t]),o.useEffect((()=>{i(),t(n.current)}),[t]),(0,g.jsx)("div",{style:S,...r,ref:a})}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),V={};const Y=o.forwardRef((function(e,t){const r=(0,f.b)({props:e,name:"MuiTabs"}),n=(0,p.A)(),a=(0,c.I)(),{"aria-label":i,"aria-labelledby":u,action:b,centered:m=!1,children:S,className:w,component:x="div",allowScrollButtonsMobile:A=!1,indicatorColor:T="primary",onChange:k,orientation:C="horizontal",ScrollButtonComponent:I,scrollButtons:E="auto",selectionFollowsFocus:M,slots:B={},slotProps:Y={},TabIndicatorProps:q={},TabScrollButtonProps:Q={},textColor:U="primary",value:K,variant:G="standard",visibleScrollbar:_=!1,...J}=r,Z="scrollable"===G,ee="vertical"===C,te=ee?"scrollTop":"scrollLeft",re=ee?"top":"left",oe=ee?"bottom":"right",ne=ee?"clientHeight":"clientWidth",ae=ee?"height":"width",ie={...r,component:x,allowScrollButtonsMobile:A,indicatorColor:T,orientation:C,vertical:ee,scrollButtons:E,textColor:U,variant:G,visibleScrollbar:_,fixed:!Z,hideScrollbar:Z&&!_,scrollableX:Z&&!ee,scrollableY:Z&&ee,centered:m&&!Z,scrollButtonsHideMobile:!A},le=(e=>{const{vertical:t,fixed:r,hideScrollbar:o,scrollableX:n,scrollableY:a,centered:i,scrollButtonsHideMobile:l,classes:c}=e,d={root:["root",t&&"vertical"],scroller:["scroller",r&&"fixed",o&&"hideScrollbar",n&&"scrollableX",a&&"scrollableY"],list:["list","flexContainer",t&&"flexContainerVertical",t&&"vertical",i&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",l&&"scrollButtonsHideMobile"],scrollableX:[n&&"scrollableX"],hideScrollbar:[o&&"hideScrollbar"]};return(0,s.A)(d,O,c)})(ie),se=(0,d.A)({elementType:B.StartScrollButtonIcon,externalSlotProps:Y.startScrollButtonIcon,ownerState:ie}),ce=(0,d.A)({elementType:B.EndScrollButtonIcon,externalSlotProps:Y.endScrollButtonIcon,ownerState:ie});const[de,ue]=o.useState(!1),[pe,be]=o.useState(V),[fe,he]=o.useState(!1),[ve,me]=o.useState(!1),[ye,ge]=o.useState(!1),[Se,we]=o.useState({overflow:"hidden",scrollbarWidth:0}),xe=new Map,Ae=o.useRef(null),Te=o.useRef(null),ke={slots:B,slotProps:{indicator:q,scrollButton:Q,...Y}},Ce=()=>{const e=Ae.current;let t,r;if(e){const r=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollWidth:e.scrollWidth,top:r.top,bottom:r.bottom,left:r.left,right:r.right}}if(e&&!1!==K){const e=Te.current.children;if(e.length>0){const t=e[xe.get(K)];0,r=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:r}},Ie=(0,$.A)((()=>{const{tabsMeta:e,tabMeta:t}=Ce();let r,o=0;ee?(r="top",t&&e&&(o=t.top-e.top+e.scrollTop)):(r=a?"right":"left",t&&e&&(o=(a?-1:1)*(t[r]-e[r]+e.scrollLeft)));const n={[r]:o,[ae]:t?t[ae]:0};if("number"!==typeof pe[r]||"number"!==typeof pe[ae])be(n);else{const e=Math.abs(pe[r]-n[r]),t=Math.abs(pe[ae]-n[ae]);(e>=1||t>=1)&&be(n)}})),Ee=(e,{animation:t=!0}={})=>{t?function(e,t,r,o={},n=(()=>{})){const{ease:a=v,duration:i=300}=o;let l=null;const s=t[e];let c=!1;const d=()=>{c=!0},u=o=>{if(c)return void n(new Error("Animation cancelled"));null===l&&(l=o);const d=Math.min(1,(o-l)/i);t[e]=a(d)*(r-s)+s,d>=1?requestAnimationFrame((()=>{n(null)})):requestAnimationFrame(u)};s===r?n(new Error("Element already at target position")):requestAnimationFrame(u)}(te,Ae.current,e,{duration:n.transitions.duration.standard}):Ae.current[te]=e},Me=e=>{let t=Ae.current[te];t+=ee?e:e*(a?-1:1),Ee(t)},Pe=()=>{const e=Ae.current[ne];let t=0;const r=Array.from(Te.current.children);for(let o=0;o<r.length;o+=1){const n=r[o];if(t+n[ne]>e){0===o&&(t=e);break}t+=n[ne]}return t},$e=()=>{Me(-1*Pe())},Oe=()=>{Me(Pe())},[Be,{onChange:Re,...We}]=(0,W.A)("scrollbar",{className:(0,l.A)(le.scrollableX,le.hideScrollbar),elementType:X,shouldForwardComponentProp:!0,externalForwardedProps:ke,ownerState:ie}),je=o.useCallback((e=>{Re?.(e),we({overflow:null,scrollbarWidth:e})}),[Re]),[He,ze]=(0,W.A)("scrollButtons",{className:(0,l.A)(le.scrollButtons,Q.className),elementType:P,externalForwardedProps:ke,ownerState:ie,additionalProps:{orientation:C,slots:{StartScrollButtonIcon:B.startScrollButtonIcon||B.StartScrollButtonIcon,EndScrollButtonIcon:B.endScrollButtonIcon||B.EndScrollButtonIcon},slotProps:{startScrollButtonIcon:se,endScrollButtonIcon:ce}}}),Fe=(0,$.A)((e=>{const{tabsMeta:t,tabMeta:r}=Ce();if(r&&t)if(r[re]<t[re]){const o=t[te]+(r[re]-t[re]);Ee(o,{animation:e})}else if(r[oe]>t[oe]){const o=t[te]+(r[oe]-t[oe]);Ee(o,{animation:e})}})),Ne=(0,$.A)((()=>{Z&&!1!==E&&ge(!ye)}));o.useEffect((()=>{const e=(0,h.A)((()=>{Ae.current&&Ie()}));let t;const r=r=>{r.forEach((e=>
69{e.removedNodes.forEach((e=>{t?.unobserve(e)})),e.addedNodes.forEach((e=>{t?.observe(e)}))})),e(),Ne()},o=(0,y.A)(Ae.current);let n;return o.addEventListener("resize",e),"undefined"!==typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(Te.current.children).forEach((e=>{t.observe(e)}))),"undefined"!==typeof MutationObserver&&(n=new MutationObserver(r),n.observe(Te.current,{childList:!0})),()=>{e.clear(),o.removeEventListener("resize",e),n?.disconnect(),t?.disconnect()}}),[Ie,Ne]),o.useEffect((()=>{const e=Array.from(Te.current.children),t=e.length;if("undefined"!==typeof IntersectionObserver&&t>0&&Z&&!1!==E){const r=e[0],o=e[t-1],n={root:Ae.current,threshold:.99},a=new IntersectionObserver((e=>{he(!e[0].isIntersecting)}),n);a.observe(r);const i=new IntersectionObserver((e=>{me(!e[0].isIntersecting)}),n);return i.observe(o),()=>{a.disconnect(),i.disconnect()}}}),[Z,E,ye,S?.length]),o.useEffect((()=>{ue(!0)}),[]),o.useEffect((()=>{Ie()})),o.useEffect((()=>{Fe(V!==pe)}),[Fe,pe]),o.useImperativeHandle(b,(()=>({updateIndicator:Ie,updateScrollButtons:Ne})),[Ie,Ne]);const[Le,De]=(0,W.A)("indicator",{className:(0,l.A)(le.indicator,q.className),elementType:D,externalForwardedProps:ke,ownerState:ie,additionalProps:{style:pe}}),Xe=(0,g.jsx)(Le,{...De});let Ve=0;const Ye=o.Children.map(S,(e=>{if(!o.isValidElement(e))return null;const t=void 0===e.props.value?Ve:e.props.value;xe.set(t,Ve);const r=t===K;return Ve+=1,o.cloneElement(e,{fullWidth:"fullWidth"===G,indicator:r&&!de&&Xe,selected:r,selectionFollowsFocus:M,onChange:k,textColor:U,value:t,...1!==Ve||!1!==K||e.props.tabIndex?{}:{tabIndex:0}})})),qe=(()=>{const e={};e.scrollbarSizeListener=Z?(0,g.jsx)(Be,{...We,onChange:je}):null;const t=Z&&("auto"===E&&(fe||ve)||!0===E);return e.scrollButtonStart=t?(0,g.jsx)(He,{direction:a?"right":"left",onClick:$e,disabled:!fe,...ze}):null,e.scrollButtonEnd=t?(0,g.jsx)(He,{direction:a?"left":"right",onClick:Oe,disabled:!ve,...ze}):null,e})(),[Qe,Ue]=(0,W.A)("root",{ref:t,className:(0,l.A)(le.root,w),elementType:F,externalForwardedProps:{...ke,...J,component:x},ownerState:ie}),[Ke,Ge]=(0,W.A)("scroller",{ref:Ae,className:le.scroller,elementType:N,externalForwardedProps:ke,ownerState:ie,additionalProps:{style:{overflow:Se.overflow,[ee?"margin"+(a?"Left":"Right"):"marginBottom"]:_?void 0:-Se.scrollbarWidth}}}),[_e,Je]=(0,W.A)("list",{ref:Te,className:(0,l.A)(le.list,le.flexContainer),elementType:L,externalForwardedProps:ke,ownerState:ie,getSlotProps:e=>({...e,onKeyDown:t=>{(e=>{const t=Te.current,r=(0,R.A)(t).activeElement;if("tab"!==r.getAttribute("role"))return;let o="horizontal"===C?"ArrowLeft":"ArrowUp",n="horizontal"===C?"ArrowRight":"ArrowDown";switch("horizontal"===C&&a&&(o="ArrowRight",n="ArrowLeft"),e.key){case o:e.preventDefault(),z(t,r,H);break;case n:e.preventDefault(),z(t,r,j);break;case"Home":e.preventDefault(),z(t,null,j);break;case"End":e.preventDefault(),z(t,null,H)}})(t),e.onKeyDown?.(t)}})});return(0,g.jsxs)(Qe,{...Ue,children:[qe.scrollButtonStart,qe.scrollbarSizeListener,(0,g.jsxs)(Ke,{...Ge,children:[(0,g.jsx)(_e,{"aria-label":i,"aria-labelledby":u,"aria-orientation":"vertical"===C?"vertical":null,role:"tablist",...Je,children:Ye}),de&&Xe]}),qe.scrollButtonEnd]})}));var q=r(87530),Q=r(16077),U=r(13594),K=r(20),G=Object.defineProperty,_=Object.defineProperties,J=Object.getOwnPropertyDescriptors,Z=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,re=(e,t,r)=>t in e?G(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,oe=(e,t)=>{for(var r in t||(t={}))ee.call(t,r)&&re(e,r,t[r]);if(Z)for(var r of Z(t))te.call(t,r)&&re(e,r,t[r]);return e};const ne=({style:e,indicatorRef:t,cmpTokens:r})=>{const n=(0,p.A)(),a=(0,o.useMemo)((()=>oe({transitionProperty:"width, background-color, left",transitionTimingFunction:"ease",transitionDuration:r.skin.animation,transitionDelay:"0s",position:"absolute",bottom:0,height:r.structure.height.toString(),zIndex:n.zIndex.stickyHeader+2,backgroundColor:"#FFFFFF"},e)),[r,n]);return o.createElement("div",{"data-test-id":"indicator",ref:t,style:oe(oe({},a),e)})};
69ne.propTypes={style:a().shape({}).isRequired,indicatorRef:a().shape({}).isRequired,cmpTokens:a().shape({skin:a().shape({animation:a().shape({})}),structure:a().shape({height:a().shape({})})}).isRequired};const ae=({children:e})=>{const t=(0,o.useContext)(K.A),r=(0,p.A)(),n=(0,U.A)("Tab"),a=(0,o.useRef)(null),[i,l]=(0,o.useState)({}),[s,c]=(0,o.useState)(null),d=n.subcomponents.TabIndicator.props.disableGutters,u=n.variants[t.variant].subcomponents.movingIndicator,b=n.variants[t.variant].structure.paddingHorizontal.valueOf(),f=d?b:0,h=(0,o.useCallback)((e=>{const t=e.matches(":first-of-type"),r=e.getBoundingClientRect(),o=a.current.parentElement,n=r.left-o.getBoundingClientRect().left;let i=!0;s&&(i=e===s),l({left:n+(t?0:f),width:r.width-(t?f:2*f),backgroundColor:i?u.skin.backgroundColor.selected:u.skin.backgroundColor.default})}),[s,f,a.current,u]),v=(0,o.useCallback)((e=>{h(e.currentTarget)}),[h]),m=(0,o.useCallback)((e=>{c(e),h(e)}),[]),y=(0,o.useCallback)((()=>{s&&h(s)}),[s]),g=o.Children.toArray(e.props.children).filter((e=>e)).length;(0,o.useEffect)((()=>{s&&y()}),[g]);const S=(0,o.cloneElement)(e,{onMouseLeave:y,TabIndicatorProps:{style:{display:"none"}},children:[e.props.children,o.createElement(ne,{key:0,style:i,indicatorRef:a,cmpTokens:u,theme:r})]}),w=(0,o.useMemo)((()=>{return e=oe({},t),_(e,J({onMouseEnter:v,storeActiveTab:m}));var e}),[t,v,m]);return o.createElement(K.A.Provider,{value:w},S)};ae.propTypes={children:a().node.isRequired};const ie=ae;var le=r(10189),se=r(79154),ce=r(96776),de=r(45608),ue=r(88589),pe=Object.defineProperty,be=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ve=(e,t,r)=>t in e?pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,me=(e,t)=>{for(var r in t||(t={}))fe.call(t,r)&&ve(e,r,t[r]);if(be)for(var r of be(t))he.call(t,r)&&ve(e,r,t[r]);return e},ye=(e,t)=>{var r={};for(var o in e)fe.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&be)for(var o of be(e))t.indexOf(o)<0&&he.call(e,o)&&(r[o]=e[o]);return r};const ge=(0,i.Ay)((e=>{var t=e,{cmpTokens:r,variant:n,theme:a,tabTokens:i,totalHorizontalOuterPadding:l}=t,s=ye(t,["cmpTokens","variant","theme","tabTokens","totalHorizontalOuterPadding"]);return o.createElement(le.A,me({},s))}))` 70 ${({cmpTokens:e,variant:t,theme:r,tabTokens:o,totalHorizontalOuterPadding:n})=>{const a=new de.A({value:n});return i.AH` 71 position: relative; 72 width: 100%; 73 74 &::after { 75 position: absolute; 76 bottom: 0; 77 margin-left: -${a}; 78 width: calc(100% + ${a} * 2); 79 height: ${o.variants[t].subcomponents.movingIndicator.structure.height}; 80 z-index: ${r.zIndex.stickyHeader+1}; 81 content: ' '; 82 background-color: ${e.variants[t].skin.borderColor.default}; 83 } 84 `}} 85`,Se=(0,i.Ay)((0,o.forwardRef)(((e,t)=>{var r=e,{hideIndicator:n,cmpTokens:a,tabTokens:i,isSpreadTabsWidth:l,isSticky:s,shouldRenderStyledTabsWrapper:c,variant:d}=r,u=ye(r,["hideIndicator","cmpTokens","tabTokens","isSpreadTabsWidth","isSticky","shouldRenderStyledTabsWrapper","variant"]);const p=[ue.Xb,ue.lQ].includes(d)?ue.ir:d;return o.createElement(Y,me({ref:t,variant:p},u))})))` 86 min-height: initial; 87 88 .MuiTabs-flexContainerVertical .MuiTab-root { 89 border-bottom: none; 90 } 91 92 ${q.Ay} 93 ${ce.A} 94 95 ${({variant:e,hideIndicator:t,cmpTokens:r,tabTokens:o,orientation:n,isSpreadTabsWidth:a,isSticky:l,shouldRenderStyledTabsWrapper:s,theme:c})=>i.AH` 96 background-color: ${o.variants[e].skin.backgroundColor.default}; 97 border-radius: ${r.variants[e].structure.borderRadius}; 98 box-shadow: ${o.variants[e].skin.boxShadow}; 99 position: relative; 100 101 ${a&&i.AH` 102 justify-content: space-between; 103 `} 104 105 ${l&&i.AH` 106 position: sticky; 107 top: 0; 108 z-index: 1; 109 `} 110 111 ${e===ue.lQ&&i.AH` 112 & > .MuiTabs-scroller { 113 position: initial; 114 } 115 `} 116 117 ${(e===ue.ir||e===ue.Xb)&&n!==ue.Yn&&i.AH` 118 .MuiTabs-flexContainer .MuiTab-root:first-child { 119 padding-left: ${o.variants[e].subcomponents.firstTab.structure.paddingLeft}; 120 } 121 `} 122 123 ${r.variants[e].skin.borderColor&&n!==ue.Yn&&!t&&!s&&i.AH` 124 .MuiTabs-flexContainer { 125 border-bottom: ${r.variants[e].structure.borderBottomWidth} 126 solid ${r.variants[e].skin.borderColor.default}; 127 } 128 `} 129 130 .MuiTabs-indicator { 131 height: ${r.variants[e].structure.height}; 132 background-color: ${o.subcomponents.TabIndicator.skin.color}; 133 z-index: ${c.zIndex.stickyHeader+2}; 134 } 135 136 ${e===ue.ir&&o.props.showVerticalDivider?i.AH` 137 .MuiTab-root:not(:first-child):not(.Mui-selected)::before { 138 content: ' '; 139 width: 1px; 140 height: calc( 141 100% - 142 ${2*o.variants[e].subcomponents.VerticalDivider.structure.marginVertical.valueOf()}px 143 ); 144 margin-top: ${o.variants[e].subcomponents.VerticalDivider.structure.marginVertical}; 145 margin-bottom: ${o.variants[e].subcomponents.VerticalDivider.structure.marginVertical}; 146 position: absolute; 147 background-color: ${o.variants[e].subcomponents.VerticalDivider.skin.backgroundColor.default}; 148 left: 0; 149 } 150 151 .MuiTab-root.Mui-selected + .MuiTab-root::before { 152 display: none; 153 } 154 `:null} 155 `} 156`,we=(0,o.forwardRef)(((e,t)=>{var r=e,{hideIndicator:n,variant:a,children:i,preventNavigation:l,orientation:s,isSpreadTabsWidth:c,isSticky:d}=r,u=ye(r,["hideIndicator","variant","children","preventNavigation","orientation","isSpreadTabsWidth","isSticky"]);const p=(0,U.A)("Tabs"),b=(0,U.A)("Tab"),f=n||b.variants[a].props.hideIndicator||s===ue.Yn,{totalHorizontalOuterPadding:h}=(0,o.useContext)(Q.A),{isColorfulTheme:v}=(0,se.A)(),m=v&&a===ue.Xb,y=b.variants[a].subcomponents.movingIndicator,g=!f&&y.props.enabled,S=(0,o.useMemo)((()=>({variant:a,preventNavigation:l,isSpreadTabsWidth:c,isSticky:d,orientation:s})),[a,l,c,d,s]);if(a===ue.lQ)return o.createElement(K.A.Provider,{value:S},o.createElement(Se,me({ref:t,variant:a,TabIndicatorProps:{style:{display:"none"}},textColor:"inherit",tabTokens:b,cmpTokens:p,hideIndicator:f,shouldRenderStyledTabsWrapper:m},u),i));let w=o.createElement(Se,me({ref:t,variant:a,TabIndicatorProps:f?{style:{display:"none"}}:{},textColor:"inherit",hideIndicator:f,scrollButtons:"auto",tabTokens:b,cmpTokens:p,orientation:s,isSpreadTabsWidth:c,isSticky:d,shouldRenderStyledTabsWrapper:m},u),i);return g&&s!==ue.Yn&&(w=o.createElement(ie,null,w)),m?o.createElement(ge,{variant:a,cmpTokens:p,tabTokens:b,totalHorizontalOuterPadding:h},o.createElement(K.A.Provider,{value:S},w)):o.createElement(K.A.Provider,{value:S},w)}));
156we.propTypes={hideIndicator:a().bool,preventNavigation:a().bool,orientation:a().oneOf([ue.Yn,ue.Sz]),children:a().node,variant:a().oneOf([ue.ir,ue.a7,ue.lQ,ue.Xb]),isSpreadTabsWidth:a().bool,isSticky:a().bool},we.defaultProps={hideIndicator:null,children:null,variant:ue.ir,preventNavigation:!1,isSpreadTabsWidth:!1,isSticky:!1,orientation:ue.Sz};const xe=we},88589(e,t,r){r.d(t,{Sz:()=>s,Xb:()=>i,Yn:()=>l,a7:()=>a,ir:()=>o,lQ:()=>n});const o="standard",n="navigation",a="scrollable",i="colorful",l="vertical",s="horizontal"},2018(e,t,r){r.d(t,{A:()=>f});var o=r(96569),n=r(92203),a=r(66058),i=r(60210),l=r(83679),s=r(96776),c=Object.defineProperty,d=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,b=(e,t,r)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const f=(0,n.Ay)((0,o.forwardRef)(((e,t)=>{var r=e,{minWidth:n,justifyContent:i}=r,l=((e,t)=>{var r={};for(var o in e)u.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&d)for(var o of d(e))t.indexOf(o)<0&&p.call(e,o)&&(r[o]=e[o]);return r})(r,["minWidth","justifyContent"]);return o.createElement(a.Ay,((e,t)=>{for(var r in t||(t={}))u.call(t,r)&&b(e,r,t[r]);if(d)for(var r of d(t))p.call(t,r)&&b(e,r,t[r]);return e})({ref:t},l))})))` 157 ${({theme:e,container:t,spacing:r})=>n.AH` 158 flex-wrap: wrap; 159 160 ${t&&n.AH` 161 margin-top: calc(-1 * ${e.spacing(r)}px); 162 width: calc(100% + ${e.spacing(r)}px); 163 margin-left: calc(-1 * ${e.spacing(r)}px); 164 `} 165 `} 166 167 ${l.Ay} 168 ${s.A} 169 ${i.Ay} 170`}}]); 171//# sourceMappingURL=https://sourcemaps.jobscore.com/app/42313/static/js/403.b3f97679.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.