import{R as i,u as o,bZ as c,j as t,b7 as l,bT as f,ek as m}from"./app-BgLa5dit.js";import{B as h}from"./KPdA3ghp.chunk.js";import{W as d}from"./D8ca7W7r.chunk.js";const g="userManager.bulkUserActionsConfirmationUserList";function j(e){const n=i.useRef(null),[,r]=o(c.BULK_USER_ACTIONS);i.useEffect(()=>{var s;r("scrollContainer",(s=n.current)==null?void 0:s.view)},[n.current]);const a=i.useMemo(()=>{var s;return(s=e.statuses)!=null&&s.length?e.users.filter(u=>e.statuses.includes(u.status)):e.users},[e.users]);return t.jsxs(t.Fragment,{children:[t.jsx("h3",{className:"h6 mt-3",children:t.jsx(l,{namespace:g,phrase:e.userType===f.Staff?"headingStaff":"headingStudents",options:{smartCount:e.userCount}})}),t.jsx(d,{tableHeightOffset:e.tableHeightOffset,items:a,rowHeight:55,ref:n,getComponent:s=>t.jsx(h,{user:s,userType:e.userType,imageCdnUrl:e.imageCdnUrl},s.id),staticComponentBelowRows:t.jsx(t.Fragment,{children:(e.hasMore||e.isFetching)&&t.jsx(m,{isFetching:e.isFetching,fetchNext:e.fetchNext})})})]})}export{j as B};
//# sourceMappingURL=CZah41G2.chunk.js.map
