import{j as e,bA as x,el as n,b7 as t,ck as d}from"./app-BgLa5dit.js";import{U as j}from"./m4aqaK_l.chunk.js";import{W as l}from"./C16qNPRj.chunk.js";import{R as i}from"./CetbvyBn.chunk.js";function m(r){var u;const a=r.yearGroup.value>=((u=r.graduatingYearGroup)==null?void 0:u.value),o=r.yearGroup.value===0,s=r.yearGroups[r.currentIndex+1],c={status:d.Disabled,id:"fake-deactivated-user"};if(a)return e.jsx(j,{user:c,className:"d-inline-block"});if(o)return e.jsx(t,{phrase:"notApplicable"});if(s)return e.jsx(l,{children:s.name})}function f(r){return e.jsxs(x.Provider,{value:"userManager.bulkUserActionsYearGroupRolloverActionDetails",children:[e.jsxs(i,{className:"mb-2",children:[e.jsx(n,{xs:4,children:e.jsx(t,{phrase:"yearGroupsList"})}),e.jsx(n,{xs:8,children:e.jsx(t,{phrase:"rolloverTo"})})]}),r.yearGroups.map((a,o)=>{const s=r.countsByYearGroup[a.value]??0;return e.jsxs(i,{className:"mb-2",children:[e.jsxs(n,{xs:4,children:[e.jsx(l,{children:a.name}),e.jsx("div",{children:e.jsx(t,{phrase:"count",options:{smartCount:s}})})]}),e.jsx(n,{xs:8,children:e.jsx(m,{yearGroup:a,yearGroups:r.yearGroups,graduatingYearGroup:r.graduatingYearGroup,currentIndex:o})})]},a.value)})]})}export{f as B};
//# sourceMappingURL=DlnxdFKU.chunk.js.map
