import{u as C,aP as g,j as m,bZ as A,aQ as U,g as h}from"./app-BgLa5dit.js";import{B as k}from"./BUUFgb3Q.chunk.js";import{B as a}from"./DpUpv6rY.chunk.js";import{J as T}from"./DfIMhO3y.chunk.js";import{B as y}from"./CHg-RKg9.chunk.js";import{u as B}from"./fZ5oUMOc.chunk.js";import{g as b}from"./B1ElCHu3.chunk.js";import"./BSRfXcBg.chunk.js";import"./CZyx6Aii.chunk.js";import"./CZah41G2.chunk.js";import"./KPdA3ghp.chunk.js";import"./D8ca7W7r.chunk.js";import"./CG7zbly5.chunk.js";import"./m4aqaK_l.chunk.js";import"./MEkA24R1.chunk.js";import"./C53kfXmd.chunk.js";import"./DUpYPoLs.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"./q-IBKcuF.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"./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 nr(r){const{users:e,count:o,isFetching:n,hasMore:u,fetchNext:p}=B(r.customerId,r.userType),[i]=C(A.BULK_USER_ACTIONS),c=g(),s=b(r.customerId,r.userType),d=a.useCreateJobErrorAlert();function l(){if(!i)return;const t=a.getCreateJobRequestData(i,r.customerId,r.userType);U(c,T.createJob(t,f,d))}function f(t){h.trigger({...s.bulkActionsStatus.polling,params:{userType:r.userType,jobId:t.id}})}return m.jsx(y,{customerId:r.customerId,appLinks:s,userType:r.userType,users:e,currentStep:"confirmation",userCount:o,hideHeader:!0,loaded:!0,children:m.jsx(k,{users:e,imageCdnUrl:ClickView.Config.Urls.ImageAPI,hasMoreUsers:u,isFetchingUsers:n,fetchNextUserPage:p,userType:r.userType,onClickConfirm:l,userCount:o})})}export{nr as BulkUserActionsAddToClassroomConfirmationView};
//# sourceMappingURL=GWTh2YCZ.chunk.js.map
