import{aP as y,u as I,o as f,R as A,aQ as h,j as m,bZ as U}from"./app-BgLa5dit.js";import{B}from"./S-UysoQB.chunk.js";import{u as R,c as T}from"./fZ5oUMOc.chunk.js";import{C as c,A as G}from"./q-IBKcuF.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"./BxYybc33.chunk.js";import"./DkDkjje4.chunk.js";import"./DpUpv6rY.chunk.js";import"./CG7zbly5.chunk.js";import"./C53kfXmd.chunk.js";import"./B3eOBVf8.chunk.js";import"./3nM7jLnE.chunk.js";import"./CPXlV0fg.chunk.js";import"./DJ0pq8J_.chunk.js";import"./Dr5_kWYc.chunk.js";import"./DusGkY45.chunk.js";import"./8Im-OACs.chunk.js";import"./g56uS58q.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";function or(r){var a;const{users:p,count:n,setAllUserIds:d}=R(r.customerId,r.userType),t=S(r.customerId,r.userType),l=y(),[e]=I(U.BULK_USER_ACTIONS),s=f(c.yearGroups(r.customerId)),o=k({userType:r.userType,field:G.YearGroupValues,customerId:r.customerId});A.useEffect(()=>{var u;(u=e==null?void 0:e.userIdMap)!=null&&u.size||!r.customerId||h(l,c.getSearchUserIds(r.customerId,r.userType,{},g=>d(g)))},[r.customerId,(a=e==null?void 0:e.userIdMap)==null?void 0:a.size]);const i=!!s.data&&!!o;return m.jsx(T,{appLinks:t,userType:r.userType,users:p,currentStep:"action-details",userCount:n,hideHeader:!0,preventRedirect:!0,loaded:i,children:i&&m.jsx(B,{appLinks:t,yearGroups:s.data,countsByYearGroup:o})})}export{or as BulkUserActionsYearGroupRolloverActionDetailsView};
//# sourceMappingURL=0G3QqJM7.chunk.js.map
