import{g as o,h as O,bT as n}from"./app-BgLa5dit.js";import{a as t}from"./m4aqaK_l.chunk.js";const U=(_,i,E)=>{const a=o.getCurrentAppLink().application,A=o.getCurrentAppLink().application==="crm:studio:application"?O.CrmStudio:O.Customers,R={[n.Learner]:{application:a,action:A.MANAGE_STUDENTS},[n.Staff]:{application:a,action:A.MANAGE_STAFF},[n.Unknown]:{application:a,action:A.MANAGE_STUDENTS},[n.System]:{application:a,action:A.MANAGE_STUDENTS}};return{client:t.Curator,userManager:{...R[i??n.Learner],args:[_]},search:{...R[i],args:[_],params:E},newUser:{application:a,action:A.CREATE_USER,args:[_],params:{userType:i}},addNewUsers:{application:a,action:A.ADD_NEW_USERS,args:[_],params:{userType:i}},editUser:{application:a,action:A.EDIT_USER,args:[_],params:{userType:i,cursor:E==null?void 0:E.cursor}},removeUser:{application:a,action:A.REMOVE_USER_FROM_CUSTOMER,args:[_],params:{userType:i}},deleteUser:{application:a,action:A.BULK_REMOVE_USERS,args:[_],params:{userType:i}},toggleStatus:{application:a,action:A.TOGGLE_USER_STATUS,args:[_],params:{userType:i}},exportUserList:{application:a,action:A.EXPORT_USER_LIST,args:[_],params:{userType:i}},userUploadPopup:{application:a,action:A.USER_UPLOAD_POPUP,args:[_],params:{userType:i}},userUploadReviewAccounts:{application:a,action:A.USER_UPLOAD_REVIEW_ACCOUNTS,args:[_],params:{userType:i}},userUploadFixDuplicates:{application:a,action:A.USER_UPLOAD_FIX_DUPLICATES,args:[_],params:{userType:i}},userUploadReviewExistingAccounts:{application:a,action:A.USER_UPLOAD_REVIEW_EXISTING_ACCOUNTS,args:[_],params:{userType:i}},userUploadConfirmation:{application:a,action:A.USER_UPLOAD_CONFIRMATION,args:[_],params:{userType:i}},userUploadStatus:{polling:{application:a,action:A.USER_UPLOAD_STATUS_POLLING,args:[_]},complete:{application:a,action:A.USER_UPLOAD_STATUS_COMPLETE,args:[_]}},manageUserCuratorGroups:{application:a,action:A.MANAGE_USER_CURATOR_GROUPS},deleteUserEmail:{application:a,action:A.DELETE_USER_EMAIL,args:[_]},editUserOptions:{application:a,action:A.EDIT_USER_OPTIONS,args:[_]},addToAnotherCustomer:{application:a,action:A.ADD_USER_TO_CUSTOMER,args:[_]},changePassword:{application:a,action:A.CHANGE_PASSWORD,args:[_]},userCredit:{application:a,action:A.EDIT_USER_CREDIT,args:[_]},bulkActionsReviewAccounts:{application:a,action:A.WIZARD_REVIEW_ACCOUNTS,args:[_],params:{userType:i}},bulkActionsSelectAction:{application:a,action:A.WIZARD_SELECT_ACTION,args:[_],params:{userType:i}},bulkActionsActionDetails:{delete:{application:a,action:A.WIZARD_DELETE_ACTION_DETAILS,args:[_],params:{userType:i}},activation:{application:a,action:A.WIZARD_ACTIVATION_ACTION_DETAILS,args:[_],params:{userType:i}},yearGroupRollover:{application:a,action:A.WIZARD_YEAR_GROUP_ROLLOVER_ACTION_DETAILS,args:[_],params:{userType:i}},changeYearGroup:{application:a,action:A.WIZARD_CHANGE_YEAR_GROUP_ACTION_DETAILS,args:[_],params:{userType:i}},addToClassroom:{application:a,action:A.WIZARD_ADD_TO_CLASSROOM_ACTION_DETAILS,args:[_],params:{userType:i}},resetPassword:{application:a,action:A.WIZARD_RESET_PASSWORD_ACTION_DETAILS,args:[_],params:{userType:i}},removeFromSchool:{application:a,action:A.WIZARD_REMOVE_FROM_SCHOOL_ACTION_DETAILS,args:[_],params:{userType:i}}},bulkActionsConfirmation:{reactivate:{application:a,action:A.WIZARD_REACTIVATE_CONFIRMATION,args:[_],params:{userType:i}},deactivate:{application:a,action:A.WIZARD_DEACTIVATE_CONFIRMATION,args:[_],params:{userType:i}},delete:{application:a,action:A.WIZARD_DELETE_CONFIRMATION,args:[_],params:{userType:i}},yearGroupRollover:{application:a,action:A.WIZARD_YEAR_GROUP_ROLLOVER_CONFIRMATION,args:[_],params:{userType:i}},changeYearGroup:{application:a,action:A.WIZARD_CHANGE_YEAR_GROUP_CONFIRMATION,args:[_],params:{userType:i}},resetEmail:{application:a,action:A.WIZARD_RESET_EMAIL_CONFIRMATION,args:[_],params:{userType:i}},activationEmail:{application:a,action:A.WIZARD_ACTIVATION_EMAIL_CONFIRMATION,args:[_],params:{userType:i}},addToClassroom:{application:a,action:A.WIZARD_ADD_TO_CLASSROOM_CONFIRMATION,args:[_],params:{userType:i}},resetPassword:{application:a,action:A.WIZARD_RESET_PASSWORD_CONFIRMATION,args:[_],params:{userType:i}},removeFromSchool:{application:a,action:A.WIZARD_REMOVE_FROM_SCHOOL_CONFIRMATION,args:[_],params:{userType:i}}},bulkActionsStatus:{polling:{application:a,action:A.WIZARD_STATUS_POLLING,args:[_],params:{userType:i}},complete:{application:a,action:A.WIZARD_STATUS_COMPLETE,args:[_],params:{userType:i}}},auditLog:{application:a,action:A.AUDIT_LOG,args:[_]},bulkActionSummary:{application:a,action:A.BULK_ACTION_SUMMARY,args:[_]}}};export{U as g};
//# sourceMappingURL=B1ElCHu3.chunk.js.map
