import{ai as I,h as c,i as r}from"./app-BgLa5dit.js";function A(E){if(E===I.StreamableLearning){const a=r.STREAMABLE_LEARNING,n=c.StreamableLearning;return{classification:(i,e)=>({application:a,action:n.EDIT_CLASSIFICATION,args:[i,e]}),newClassification:(i,e)=>{const s={application:a,action:n.NEW_CLASSIFICATION,args:[i]};return e&&(s.params={parentId:e}),s},deleteClassification:(i,e)=>({application:a,action:n.DELETE_CLASSIFICATION,args:[i,e]}),presentationAudiences:i=>({application:a,action:n.AUDIENCES,args:[i]}),audience:(i,e)=>({application:a,action:n.EDIT_AUDIENCE,args:[i,e]}),newAudience:i=>({application:a,action:n.NEW_AUDIENCE,args:[i]}),deleteAudience:(i,e)=>({application:a,action:n.DELETE_AUDIENCE,args:[i,e]}),video:i=>({application:a,action:c.StreamableLearning.EDIT_VIDEO_CLASSIFICATIONS,args:[i]}),videoAudiences:i=>({application:a,action:c.StreamableLearning.EDIT_VIDEO_AUDIENCES,args:[i]}),imageUpload:()=>({application:a,action:c.StreamableLearning.UPLOAD_IMAGE})}}const t=r.SUBJECTS,o=c.Subjects;return{classification:(a,n)=>({application:t,action:o.EDIT_CLASSIFICATION,args:[a,n]}),newClassification:(a,n)=>{const i={application:t,action:o.NEW_CLASSIFICATION,args:[a]};return n&&(i.params={parentId:n}),i},deleteClassification:(a,n)=>({application:t,action:o.DELETE_CLASSIFICATION,args:[a,n]}),presentationAudiences:a=>({application:t,action:o.AUDIENCES,args:[a]}),audience:(a,n)=>({application:t,action:o.EDIT_AUDIENCE,args:[a,n]}),newAudience:a=>({application:t,action:o.NEW_AUDIENCE,args:[a]}),deleteAudience:(a,n)=>({application:t,action:o.DELETE_AUDIENCE,args:[a,n]}),video:a=>({application:r.VIDEOS,action:c.Videos.EDIT_VIDEO,args:[a]}),videoAudiences:a=>({application:r.VIDEOS,action:c.Videos.EDIT_VIDEO_AUDIENCES,args:[a]}),imageUpload:()=>({application:t,action:c.Subjects.UPLOAD_IMAGE})}}export{A as g};
//# sourceMappingURL=DPqnN5u1.chunk.js.map
