import{j as t,aL as i,ck as r,b7 as n,T as l,F as h}from"./app-BgLa5dit.js";const g="_badge_1yp84_1",m="_pending_1yp84_5",v="_active_1yp84_8",x="_name_1yp84_11",j="_username_1yp84_14",y="_lastActiveContainer_1yp84_17",b="_isCurrentUser_1yp84_20",p="_avatarContainer_1yp84_26",C="_authMethodLogo_1yp84_26",$="_verifiedEmail_1yp84_31",N="_authMethodContainer_1yp84_34",a={badge:g,pending:m,active:v,name:x,username:j,lastActiveContainer:y,isCurrentUser:b,avatarContainer:p,authMethodLogo:C,verifiedEmail:$,authMethodContainer:N},s="userManager.userList";function L(e){var c,u,d,o,_;return t.jsxs(t.Fragment,{children:[i.getUserStatusFromValue(((c=e.user)==null?void 0:c.status)??e.status)===r.Disabled&&t.jsx("div",{className:`text-white px-1 ${a.badge} bg-danger ${e.className??""}`,children:t.jsx(n,{namespace:s,phrase:"deactivated"})}),i.getUserStatusFromValue(((u=e.user)==null?void 0:u.status)??e.status)===r.Inactive&&t.jsx("div",{className:`text-white px-1 ${a.badge} ${a.pending} ${e.className??""}`,children:t.jsx(l,{title:h.getPhrase(s,"pendingTooltip"),spanHack:!0,children:t.jsx(n,{namespace:s,phrase:"pending"})})}),e.showActiveBadge&&i.getUserStatusFromValue(((d=e.user)==null?void 0:d.status)??e.status)===r.Active&&t.jsx("div",{className:`text-white px-1 ${a.badge} ${a.active} ${e.className??""}`,children:t.jsx(l,{title:h.getPhrase(s,"active"),spanHack:!0,children:t.jsx(n,{namespace:s,phrase:"active"})})}),((o=e.user)==null?void 0:o.id.toString())===((_=e.currentUser)==null?void 0:_.id.toString())&&t.jsx("div",{className:`text-white px-1 ${a.badge} bg-blue ${e.className??""}`,children:t.jsx(n,{namespace:s,phrase:"thatsYou"})})]})}var S=(e=>(e.Online="online",e.Primary="primary",e.Curator="curator",e))(S||{});export{L as U,S as a,a as s};
//# sourceMappingURL=m4aqaK_l.chunk.js.map
