import{a as i,co as m}from"./app-k0jcl5PQ.js";const l={getAudienceAppLinkParams:()=>{const{appLink:r}=i.getCurrentRoute(),a=m.isObject(r.params)?r.params:{},{users:e,classrooms:t,classroomGroups:o}=a,s=p=>{const c=a[p];if(c)return Array.isArray(c)?c:[c]},n={};return e&&(n.users=s("users")),t&&(n.classrooms=s("classrooms")),o&&(n.classroomGroups=s("classroomGroups")),n},getDateRangeAppLinkParams:()=>{const{appLink:r}=i.getCurrentRoute(),a=m.isObject(r.params)?r.params:{},{from:e,to:t,rangeName:o}=a,s={};return e&&(s.from=e),t&&(s.to=t),o&&(s.rangeName=o),s}};export{l as A};
//# sourceMappingURL=B39N-_cE.chunk.js.map
