1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1622],{53760:function(e,a,t){var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var a,t=1,n=arguments.length;t<n;t++)for(var r in a=arguments[t])Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r]);return e}).apply(this,arguments)},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0});var i=t(5833),l=t(53488),o=r(t(14390)),c=t(92089),d=r(t(25930)),s=r(t(639)),u=r(t(22450)),p=r(t(57514)),x=t(73597),f=r(t(16326)),h=r(t(62375)),v=r(t(38152)),m=r(t(81654)),g=r(t(80495)),b=t(61030);a.default=(0,g.default)(function(e){var a,t=e.userInitials,r=void 0===t?"":t,g=e.userName,j=e.email,y=e.legalLinks,k=e.logoutLabel,C=e.onLogoutClick,_=e.onManageAccountClick,L=e.manageAccountLabel,w=e.tooltipTitle,O=e.dataCy,A=void 0===O?"avatar-menu":O,M=(0,b.usePopupState)({variant:"popover",popupId:"avatar-menu"});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(v.default,n({title:void 0===w?"Open menu":w,"data-dd-privacy":"hidden","data-dd-action-name":"toggle-avatar-menu"},{children:(0,i.jsx)(p.default,n({sx:{p:0}},(0,b.bindTrigger)(M),{"data-cy":"".concat(A,"--button")},{children:(0,i.jsx)(o.default,n({variant:"mediumCircle","data-cy":"".concat(A,"--profile-avatar")},{children:r}))}))})),(0,i.jsxs)(f.default,n({elevation:3,sx:((a={mt:"16px"})["& .".concat(c.backdropClasses.root)]={background:"transparent"},a["& .".concat(x.paperClasses.root)]={borderRadius:"8px",width:"420px",maxWidth:"calc(100vw - 32px)"},a),anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},keepMounted:!0},(0,b.bindMenu)(M),{"data-cy":"".concat(A,"--menu"),"data-dd-privacy":"hidden"},{children:[(0,i.jsxs)(d.default,n({sx:{textAlign:"center",padding:"16px"}},{children:[(0,i.jsx)(d.default,n({sx:{display:"inline-flex",mb:2}},{children:(0,i.jsx)(o.default,n({variant:"mediumCircle","data-cy":"".concat(A,"--user-initials")},{children:r}))})),(0,i.jsx)(m.default,n({variant:"body1boldDense",component:"div",sx:{mb:"4px",color:"text.primary"},"data-cy":"".concat(A,"--user-name")},{children:void 0===g?"":g})),(0,i.jsx)(m.default,n({variant:"body3dense",component:"div",sx:{mb:2,color:"text.secondary"},"data-cy":"".concat(A,"--user-email")},{children:void 0===j?"":j})),(0,i.jsx)(s.default,n({variant:"contained",color:"primary",size:"small",onClick:function(){M.close(),_()},"data-cy":"".concat(A,"--profile-button")},{children:void 0===L?"":L}))]})),(0,i.jsx)(u.default,{light:!0}),(0,i.jsx)(d.default,n({sx:{textAlign:"center",padding:"16px"}},{children:(0,i.jsx)(s.default,n({variant:"outlined",color:"primary",size:"small",onClick:C,"data-cy":"".concat(A,"--logout-button")},{children:void 0===k?"":k}))})),(0,i.jsx)(u.default,{light:!0}),(0,i.jsx)(d.default,n({sx:{textAlign:"center",padding:"16px"}},{children:(0,i.jsx)(h.default,n({spacing:3,direction:"row",justifyContent:"center",useFlexGap:!0},{children:(void 0===y?[]:y).map(function(e,a){return(0,i.jsx)(l.WebLink,n({reference:{href:e.href,label:e.label,external:!0},target:"_blank","data-cy":"".concat(A,"--menu-item-").concat(a),variant:"buttonExtraSmall",sx:{color:"text.primary",whiteSpace:"nowrap"},onClick:e.onClick},{children:(0,i.jsx)(m.default,n({variant:"caption"},{children:e.label}))}),e.label)})}))}))]}))]})})},71622:(e,a,t)=>{t.r(a),t.d(a,{LoggedSection:()=>u});var n=t(81819),r=t(4237),i=t(49727),l=t(5833),o=t(19845),c=t(29976),d=t(75561),s=t(86586);let u=({session:e,onAppLauncherClick:a,signOutCallbackUrl:t})=>{let{appsConfig:u}=(0,r.Ls)(),{t:p}=(0,o.useTranslation)("shared-nextjs"),x=(0,n.Z)(u),{avatarMenuProps:f}=(0,i.X)({appsConfig:u,session:e,signOutCallbackUrl:t}),h={appLauncherSections:x,dataCy:"apps-launcher",onAppLauncherClick:a,appLauncherLabel:p("drawer.app-launcher"),homePageButtonLabel:"Go to Knauf.com"};return(0,l.jsxs)(c.default,{sx:{display:"flex",alignItems:"center",gap:"16px"},children:[(0,l.jsx)(d.AppLauncher,{...h}),(0,l.jsx)(s.AvatarMenu,{...f})]})}},86586:(e,a,t)=>{var n=t(35591);Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"AvatarMenu",{enumerable:!0,get:function(){return r.default}});var r=n(t(53760))}}]); 2//# sourceMappingURL=1622.b27646d0df23e1bc.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.