1"use strict";(self.webpackChunkassessor_frontend=self.webpackChunkassessor_frontend||[]).push([[5605],{90166:function(e,t,o){o.d(t,{Z:function(){return w}});var r=o(4942),l=o(1048),n=o(32793),i=o(72791),a=o(28182),c=o(94419),s=o(9042),d=o(49853),u=o(85873),f=o(76863),v=o(21217);function b(e){return(0,v.Z)("MuiTab",e)}var h=(0,o(75878).Z)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),p=o(80184),m=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],Z=(0,f.ZP)(s.Z,{name:"MuiTab",slot:"Root",overridesResolver:function(e,t){var o=e.ownerState;return[t.root,o.label&&o.icon&&t.labelIcon,t["textColor".concat((0,d.Z)(o.textColor))],o.fullWidth&&t.fullWidth,o.wrapped&&t.wrapped]}})((function(e){var t,o,l,i=e.theme,a=e.ownerState;return(0,n.Z)({},i.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},a.label&&{flexDirection:"top"===a.iconPosition||"bottom"===a.iconPosition?"column":"row"},{lineHeight:1.25},a.icon&&a.label&&(0,r.Z)({minHeight:72,paddingTop:9,paddingBottom:9},"& > .".concat(h.iconWrapper),(0,n.Z)({},"top"===a.iconPosition&&{marginBottom:6},"bottom"===a.iconPosition&&{marginTop:6},"start"===a.iconPosition&&{marginRight:i.spacing(1)},"end"===a.iconPosition&&{marginLeft:i.spacing(1)})),"inherit"===a.textColor&&(t={color:"inherit",opacity:.6},(0,r.Z)(t,"&.".concat(h.selected),{opacity:1}),(0,r.Z)(t,"&.".concat(h.disabled),{opacity:(i.vars||i).palette.action.disabledOpacity}),t),"primary"===a.textColor&&(o={color:(i.vars||i).palette.text.secondary},(0,r.Z)(o,"&.".concat(h.selected),{color:(i.vars||i).palette.primary.main}),(0,r.Z)(o,"&.".concat(h.disabled),{color:(i.vars||i).palette.text.disabled}),o),"secondary"===a.textColor&&(l={color:(i.vars||i).palette.text.secondary},(0,r.Z)(l,"&.".concat(h.selected),{color:(i.vars||i).palette.secondary.main}),(0,r.Z)(l,"&.".concat(h.disabled),{color:(i.vars||i).palette.text.disabled}),l),a.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},a.wrapped&&{fontSize:i.typography.pxToRem(12)})}
1)),w=i.forwardRef((function(e,t){var o=(0,u.Z)({props:e,name:"MuiTab"}),r=o.className,s=o.disabled,f=void 0!==s&&s,v=o.disableFocusRipple,h=void 0!==v&&v,w=o.fullWidth,x=o.icon,g=o.iconPosition,S=void 0===g?"top":g,C=o.indicator,y=o.label,M=o.onChange,B=o.onClick,W=o.onFocus,R=o.selected,E=o.selectionFollowsFocus,T=o.textColor,N=void 0===T?"inherit":T,k=o.value,L=o.wrapped,P=void 0!==L&&L,z=(0,l.Z)(o,m),F=(0,n.Z)({},o,{disabled:f,disableFocusRipple:h,selected:R,icon:!!x,iconPosition:S,label:!!y,fullWidth:w,textColor:N,wrapped:P}),A=function(e){var t=e.classes,o=e.textColor,r=e.fullWidth,l=e.wrapped,n=e.icon,i=e.label,a=e.selected,s=e.disabled,u={root:["root",n&&i&&"labelIcon","textColor".concat((0,d.Z)(o)),r&&"fullWidth",l&&"wrapped",a&&"selected",s&&"disabled"],iconWrapper:["iconWrapper"]};return(0,c.Z)(u,b,t)}(F),H=x&&y&&i.isValidElement(x)?i.cloneElement(x,{className:(0,a.Z)(A.iconWrapper,x.props.className)}):x;return(0,p.jsxs)(Z,(0,n.Z)({focusRipple:!h,className:(0,a.Z)(A.root,r),ref:t,role:"tab","aria-selected":R,disabled:f,onClick:function(e){!R&&M&&M(e,k),B&&B(e)},onFocus:function(e){E&&!R&&M&&M(e,k),W&&W(e)},ownerState:F,tabIndex:R?0:-1},z,{children:["top"===S||"start"===S?(0,p.jsxs)(i.Fragment,{children:[H,y]}):(0,p.jsxs)(i.Fragment,{children:[y,H]}),C]}))}))},60142:function(e,t,o){o.d(t,{Z:function(){return G}});var r,l=o(29439),n=o(4942),i=o(1048),a=o(32793),c=o(72791),s=(o(78457),o(28182)),d=o(94419),u=o(76863),f=o(85873),v=o(74142),b=o(62977);function h(){if(r)return r;var 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),r="reverse",e.scrollLeft>0?r="default":(e.scrollLeft=1,0===e.scrollLeft&&(r="negative")),document.body.removeChild(e),r}function p(e,t){var o=e.scrollLeft;if("rtl"!==t)return o;switch(h()){case"negative":return e.scrollWidth-e.clientWidth+o;case"reverse":return e.scrollWidth-e.clientWidth-o;default:return o}}function m(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function Z(e,t,o){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},n=r.ease,i=void 0===n?m:n,a=r.duration,c=void 0===a?300:a,s=null,d=t[e],u=!1,f=function(){u=!0},v=function r(n){if(u)l(new Error("Animation cancelled"));else{null===s&&(s=n);var a=Math.min(1,(n-s)/c);t[e]=i(a)*(o-d)+d,a>=1?requestAnimationFrame((function(){l(null)})):requestAnimationFrame(r)}};return d===o?(l(new Error("Element already at target position")),f):(requestAnimationFrame(v),f)}var w=o(98195),x=o(80184),g=["onChange"],S={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var C=o(40233),y=(0,C.Z)((0,x.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),M=(0,C.Z)((0,x.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),B=o(9042),W=o(21217);function R(e){return(0,W.Z)("MuiTabScrollButton",e)}var E,T,N=(0,o(75878).Z)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),k=["className","direction","orientation","disabled"],L=(0,u.ZP)(B.Z,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:function(e,t){var o=e.ownerState;return[t.root,o.orientation&&t[o.orientation]]}})((function(e){var t=e.ownerState;return(0,a.Z)((0,n.Z)({width:40,flexShrink:0,opacity:.8},"&.".concat(N.disabled),{opacity:0}),"vertical"===t.orientation&&{width:"100%",height:40,"& svg":{transform:"rotate(".concat(t.isRtl?-90:90,"deg)")}})})),P=c.forwardRef((function(e,t){var o=(0,f.Z)({props:e,name:"MuiTabScrollButton"}),r=o.className,l=o.direction,n=(0,i.Z)(o,k),c="rtl"===(0,v.Z)().direction,u=(0,a.Z)({isRtl:c},o),b=function(e){var t=e.classes,o={root:["root",e.orientation,e.disabled&&"disabled"]};return(0,d.Z)(o,R,t)}(u);return(0,x.jsx)(L,(0,a.Z)({component:"div",className:(0,s.Z)(b.root,r),ref:t,role:null,ownerState:u,tabIndex:null},n,{children:"left"===l?E||(E=(0,x.jsx)(y,{fontSize:"small"})):T||(T=(0,x.jsx)(M,{fontSize:"small"}))}))})),z=o(89511),F=o(69361),A=o(5783),H=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","
1indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],j=function(e,t){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild},I=function(e,t){return e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild},X=function(e,t,o){for(var r=!1,l=o(e,t);l;){if(l===e.firstChild){if(r)return;r=!0}var n=l.disabled||"true"===l.getAttribute("aria-disabled");if(l.hasAttribute("tabindex")&&!n)return void l.focus();l=o(e,l)}},Y=(0,u.ZP)("div",{name:"MuiTabs",slot:"Root",overridesResolver:function(e,t){var o=e.ownerState;return[(0,n.Z)({},"& .".concat(F.Z.scrollButtons),t.scrollButtons),(0,n.Z)({},"& .".concat(F.Z.scrollButtons),o.scrollButtonsHideMobile&&t.scrollButtonsHideMobile),t.root,o.vertical&&t.vertical]}})((function(e){var t=e.ownerState,o=e.theme;return(0,a.Z)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&(0,n.Z)({},"& .".concat(F.Z.scrollButtons),(0,n.Z)({},o.breakpoints.down("sm"),{display:"none"})))})),D=(0,u.ZP)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:function(e,t){var o=e.ownerState;return[t.scroller,o.fixed&&t.fixed,o.hideScrollbar&&t.hideScrollbar,o.scrollableX&&t.scrollableX,o.scrollableY&&t.scrollableY]}})((function(e){var t=e.ownerState;return(0,a.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"})})),V=(0,u.ZP)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:function(e,t){var o=e.ownerState;return[t.flexContainer,o.vertical&&t.flexContainerVertical,o.centered&&t.centered]}})((function(e){var t=e.ownerState;return(0,a.Z)({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"})})),O=(0,u.ZP)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:function(e,t){return t.indicator}})((function(e){var t=e.ownerState,o=e.theme;return(0,a.Z)({position:"absolute",height:2,bottom:0,width:"100%",transition:o.transitions.create()},"primary"===t.indicatorColor&&{backgroundColor:(o.vars||o).palette.primary.main},"secondary"===t.indicatorColor&&{backgroundColor:(o.vars||o).palette.secondary.main},t.vertical&&{height:"100%",width:2,right:0})})),q=(0,u.ZP)((function(e){var t=e.onChange,o=(0,i.Z)(e,g),r=c.useRef(),l=c.useRef(null),n=function(){r.current=l.current.offsetHeight-l.current.clientHeight};return c.useEffect((function(){var e=(0,b.Z)((function(){var e=r.current;n(),e!==r.current&&t(r.current)})),o=(0,w.Z)(l.current);return o.addEventListener("resize",e),function(){e.clear(),o.removeEventListener("resize",e)}}),[t]),c.useEffect((function(){n(),t(r.current)}),[t]),(0,x.jsx)("div",(0,a.Z)({style:S,ref:l},o))}),{name:"MuiTabs",slot:"ScrollbarSize"})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),K={},_=c.forwardRef((function(e,t){var o=(0,f.Z)({props:e,name:"MuiTabs"}),r=(0,v.Z)(),u="rtl"===r.direction,m=o["aria-label"],g=o["aria-labelledby"],S=o.action,C=o.centered,y=void 0!==C&&C,M=o.children,B=o.className,W=o.component,R=void 0===W?"div":W,E=o.allowScrollButtonsMobile,T=void 0!==E&&E,N=o.indicatorColor,k=void 0===N?"primary":N,L=o.onChange,_=o.orientation,G=void 0===_?"horizontal":_,U=o.ScrollButtonComponent,J=void 0===U?P:U,Q=o.scrollButtons,$=void 0===Q?"auto":Q,ee=o.selectionFollowsFocus,te=o.TabIndicatorProps,oe=void 0===te?{}:te,re=o.TabScrollButtonProps,le=void 0===re?{}:re,ne=o.textColor,ie=void 0===ne?"primary":ne,ae=o.value,ce=o.variant,se=void 0===ce?"standard":ce,de=o.visibleScrollbar,ue=void 0!==de&&de,fe=(0,i.Z)(o,H),ve="scrollable"===se,be="vertical"===G,he=be?"scrollTop":"scrollLeft",pe=be?"top":"left",me=be?"bottom":"right",Ze=be?"clientHeight":"clientWidth",we=be?"height":"width",xe=(0,a.Z)({},o,{component:R,allowScrollButtonsMobile:T,indicatorColor:k,orientation:G,vertical:be,scrollButtons:$,textColor:ie,variant:se,visibleScrollbar:ue,fixed:!ve,hideScrollbar:ve&&!ue,scrollableX:ve&&!be,scrollableY:ve&&be,centered:y&&!ve,scrollButtonsHideMobile:!T}),ge=function(e){var t=e.vertical,o=e.fixed,r=e.hideScrollbar,l=e.scrollableX,n=e.scrollableY,i=e.centered,a=e.scrollButtonsHideMobile,c=e.classes,s={root:["root",t&&"vertical"],scroller:["scroller",o&&"fixed",r&&"hide
1Scrollbar",l&&"scrollableX",n&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",i&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",a&&"scrollButtonsHideMobile"],scrollableX:[l&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return(0,d.Z)(s,F.m,c)}(xe);var Se=c.useState(!1),Ce=(0,l.Z)(Se,2),ye=Ce[0],Me=Ce[1],Be=c.useState(K),We=(0,l.Z)(Be,2),Re=We[0],Ee=We[1],Te=c.useState({start:!1,end:!1}),Ne=(0,l.Z)(Te,2),ke=Ne[0],Le=Ne[1],Pe=c.useState({overflow:"hidden",scrollbarWidth:0}),ze=(0,l.Z)(Pe,2),Fe=ze[0],Ae=ze[1],He=new Map,je=c.useRef(null),Ie=c.useRef(null),Xe=function(){var e,t,o=je.current;if(o){var l=o.getBoundingClientRect();e={clientWidth:o.clientWidth,scrollLeft:o.scrollLeft,scrollTop:o.scrollTop,scrollLeftNormalized:p(o,r.direction),scrollWidth:o.scrollWidth,top:l.top,bottom:l.bottom,left:l.left,right:l.right}}if(o&&!1!==ae){var n=Ie.current.children;if(n.length>0){var i=n[He.get(ae)];0,t=i?i.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:t}},Ye=(0,z.Z)((function(){var e,t,o=Xe(),r=o.tabsMeta,l=o.tabMeta,i=0;if(be)t="top",l&&r&&(i=l.top-r.top+r.scrollTop);else if(t=u?"right":"left",l&&r){var a=u?r.scrollLeftNormalized+r.clientWidth-r.scrollWidth:r.scrollLeft;i=(u?-1:1)*(l[t]-r[t]+a)}var c=(e={},(0,n.Z)(e,t,i),(0,n.Z)(e,we,l?l[we]:0),e);if(isNaN(Re[t])||isNaN(Re[we]))Ee(c);else{var s=Math.abs(Re[t]-c[t]),d=Math.abs(Re[we]-c[we]);(s>=1||d>=1)&&Ee(c)}})),De=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=t.animation,l=void 0===o||o;l?Z(he,je.current,e,{duration:r.transitions.duration.standard}):je.current[he]=e},Ve=function(e){var t=je.current[he];be?t+=e:(t+=e*(u?-1:1),t*=u&&"reverse"===h()?-1:1),De(t)},Oe=function(){for(var e=je.current[Ze],t=0,o=Array.from(Ie.current.children),r=0;r<o.length;r+=1){var l=o[r];if(t+l[Ze]>e){0===r&&(t=e);break}t+=l[Ze]}return t},qe=function(){Ve(-1*Oe())},Ke=function(){Ve(Oe())},_e=c.useCallback((function(e){Ae({overflow:null,scrollbarWidth:e})}),[]),Ge=(0,z.Z)((function(e){var t=Xe(),o=t.tabsMeta,r=t.tabMeta;if(r&&o)if(r[pe]<o[pe]){var l=o[he]+(r[pe]-o[pe]);De(l,{animation:e})}else if(r[me]>o[me]){var n=o[he]+(r[me]-o[me]);De(n,{animation:e})}})),Ue=(0,z.Z)((function(){if(ve&&!1!==$){var e,t,o=je.current,l=o.scrollTop,n=o.scrollHeight,i=o.clientHeight,a=o.scrollWidth,c=o.clientWidth;if(be)e=l>1,t=l<n-i-1;else{var s=p(je.current,r.direction);e=u?s<a-c-1:s>1,t=u?s>1:s<a-c-1}e===ke.start&&t===ke.end||Le({start:e,end:t})}}));c.useEffect((function(){var e,t=(0,b.Z)((function(){je.current&&(Ye(),Ue())})),o=(0,w.Z)(je.current);return o.addEventListener("resize",t),"undefined"!==typeof ResizeObserver&&(e=new ResizeObserver(t),Array.from(Ie.current.children).forEach((function(t){e.observe(t)}))),function(){t.clear(),o.removeEventListener("resize",t),e&&e.disconnect()}}),[Ye,Ue]);var Je=c.useMemo((function(){return(0,b.Z)((function(){Ue()}))}),[Ue]);c.useEffect((function(){return function(){Je.clear()}}),[Je]),c.useEffect((function(){Me(!0)}),[]),c.useEffect((function(){Ye(),Ue()})),c.useEffect((function(){Ge(K!==Re)}),[Ge,Re]),c.useImperativeHandle(S,(function(){return{updateIndicator:Ye,updateScrollButtons:Ue}}),[Ye,Ue]);var Qe=(0,x.jsx)(O,(0,a.Z)({},oe,{className:(0,s.Z)(ge.indicator,oe.className),ownerState:xe,style:(0,a.Z)({},Re,oe.style)})),$e=0,et=c.Children.map(M,(function(e){if(!c.isValidElement(e))return null;var t=void 0===e.props.value?$e:e.props.value;He.set(t,$e);var o=t===ae;return $e+=1,c.cloneElement(e,(0,a.Z)({fullWidth:"fullWidth"===se,indicator:o&&!ye&&Qe,selected:o,selectionFollowsFocus:ee,onChange:L,textColor:ie,value:t},1!==$e||!1!==ae||e.props.tabIndex?{}:{tabIndex:0}))})),tt=function(){var e={};e.scrollbarSizeListener=ve?(0,x.jsx)(q,{onChange:_e,className:(0,s.Z)(ge.scrollableX,ge.hideScrollbar)}):null;var t=ke.start||ke.end,o=ve&&("auto"===$&&t||!0===$);return e.scrollButtonStart=o?(0,x.jsx)(J,(0,a.Z)({orientation:G,direction:u?"right":"left",onClick:qe,disabled:!ke.start},le,{className:(0,s.Z)(ge.scrollButtons,le.className)})):null,e.scrollButtonEnd=o?(0,x.jsx)(J,(0,a.Z)({orientation:G,direction:u?"left"
1:"right",onClick:Ke,disabled:!ke.end},le,{className:(0,s.Z)(ge.scrollButtons,le.className)})):null,e}();return(0,x.jsxs)(Y,(0,a.Z)({className:(0,s.Z)(ge.root,B),ownerState:xe,ref:t,as:R},fe,{children:[tt.scrollButtonStart,tt.scrollbarSizeListener,(0,x.jsxs)(D,{className:ge.scroller,ownerState:xe,style:(0,n.Z)({overflow:Fe.overflow},be?"margin".concat(u?"Left":"Right"):"marginBottom",ue?void 0:-Fe.scrollbarWidth),ref:je,onScroll:Je,children:[(0,x.jsx)(V,{"aria-label":m,"aria-labelledby":g,"aria-orientation":"vertical"===G?"vertical":null,className:ge.flexContainer,ownerState:xe,onKeyDown:function(e){var t=Ie.current,o=(0,A.Z)(t).activeElement;if("tab"===o.getAttribute("role")){var r="horizontal"===G?"ArrowLeft":"ArrowUp",l="horizontal"===G?"ArrowRight":"ArrowDown";switch("horizontal"===G&&u&&(r="ArrowRight",l="ArrowLeft"),e.key){case r:e.preventDefault(),X(t,o,I);break;case l:e.preventDefault(),X(t,o,j);break;case"Home":e.preventDefault(),X(t,null,j);break;case"End":e.preventDefault(),X(t,null,I)}}},ref:Ie,role:"tablist",children:et}),ye&&Qe]}),tt.scrollButtonEnd]}))})),G=_},69361:function(e,t,o){o.d(t,{m:function(){return l}});var r=o(21217);function l(e){return(0,r.Z)("MuiTabs",e)}var n=(0,o(75878).Z)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","
1indicator"]);t.Z=n}}]); 2//# sourceMappingURL=5605.7e498607.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.