import{w as d,j as e,bA as o,b7 as n,cx as l,cy as x,o as g,bT as m,aO as j,bk as h,F as i,ee as f}from"./app-BgLa5dit.js";import{W as v}from"./BYVfdcaw.chunk.js";import{C as S}from"./q-IBKcuF.chunk.js";import{E as s}from"./0GREfvNX.chunk.js";const U="userManager.unknownYearGroupWarning";function N(a){const p=a.ratings.filter(r=>!!r.code),u=d.first(p.sort((r,c)=>r.value-c.value));return e.jsx(o.Provider,{value:U,children:e.jsxs(v,{children:[e.jsx(n,{phrase:"unknownYearGroupStudents"}),e.jsx("div",{className:"d-inline-flex",children:e.jsx(l,{data:u,type:x.Rating,className:" mx-2"})}),e.jsx(n,{phrase:"unknownYearGroupPrompt"})]})})}function C(a){return g(S.userCount(a,m.Learner,{yearGroup:["0"]}))}const t="userManager.studentManagerEmptyState";function E(a){return e.jsx(o.Provider,{value:t,children:e.jsxs(s,{children:[e.jsx(s.Image,{src:j.EmptyStates.UserManager.STUDENTS}),e.jsx(s.Heading,{children:e.jsx(n,{phrase:"heading"})}),e.jsx(s.Info,{children:e.jsx(n,{phrase:"info"})}),e.jsxs("div",{className:"d-flex justify-content-center align-items-center",children:[e.jsx("div",{className:"px-1",children:e.jsx(s.Cta,{text:i.getPhrase(t,"addNew"),icon:h,appLink:a.appLinks.newUser})}),e.jsx("div",{className:"px-1",children:e.jsx(s.Cta,{text:i.getPhrase(t,"uploadAList"),icon:f,appLink:a.appLinks.userUploadPopup})})]})]})})}export{E as S,N as U,C as u};
//# sourceMappingURL=DGcndnJ4.chunk.js.map
