import{aP as f,u as g,o as y,R as A,aQ as h,j as a,bZ as B}from"./app-BgLa5dit.js";import{B as U}from"./S-UysoQB.chunk.js";import{C as c,A as R}from"./q-IBKcuF.chunk.js";import{B as T}from"./CHg-RKg9.chunk.js";import{u as G}from"./fZ5oUMOc.chunk.js";import{u as k}from"./uQrcROFB.chunk.js";import{g as S}from"./B1ElCHu3.chunk.js";import"./MEkA24R1.chunk.js";import"./DlnxdFKU.chunk.js";import"./m4aqaK_l.chunk.js";import"./C16qNPRj.chunk.js";import"./CetbvyBn.chunk.js";import"./DUpYPoLs.chunk.js";import"./EZim8aq-.chunk.js";import"./BD9MrUJP.chunk.js";import"./s6cGcwlA.chunk.js";import"./Zwjmkasg.chunk.js";import"./4qGb1BIY.chunk.js";import"./DnXDEnAR.chunk.js";import"./DpUpv6rY.chunk.js";import"./CG7zbly5.chunk.js";import"./C53kfXmd.chunk.js";import"./Dr5_kWYc.chunk.js";import"./DJ0pq8J_.chunk.js";import"./BUT90D7O.chunk.js";import"./CCcwLDvu.chunk.js";import"./DDfKZ_ng.chunk.js";import"./BxYybc33.chunk.js";import"./DkDkjje4.chunk.js";import"./B3eOBVf8.chunk.js";import"./3nM7jLnE.chunk.js";import"./CPXlV0fg.chunk.js";import"./DusGkY45.chunk.js";import"./8Im-OACs.chunk.js";import"./g56uS58q.chunk.js";function ar(r){var u;const{users:p,count:n,setAllUserIds:d}=G(r.customerId,r.userType),e=S(r.customerId,r.userType),l=f(),[t]=g(B.BULK_USER_ACTIONS),o=y(c.yearGroups(r.customerId)),s=k({userType:r.userType,field:R.YearGroupValues,customerId:r.customerId});A.useEffect(()=>{var m;(m=t==null?void 0:t.userIdMap)!=null&&m.size||!r.customerId||h(l,c.getSearchUserIds(r.customerId,r.userType,{},I=>d(I)))},[r.customerId,(u=t==null?void 0:t.userIdMap)==null?void 0:u.size]);const i=!!o.data&&!!s;return a.jsx(T,{customerId:r.customerId,appLinks:e,userType:r.userType,users:p,currentStep:"action-details",userCount:n,hideHeader:!0,preventRedirect:!0,loaded:i,children:i&&a.jsx(U,{appLinks:e,yearGroups:o.data,countsByYearGroup:s})})}export{ar as BulkUserActionsYearGroupRolloverActionDetailsView};
//# sourceMappingURL=HwxXwffM.chunk.js.map
