import{B as e,b as r}from"./index-CX44Czc2.js";class a extends e{getBaseURL(){return"/app-logs"}logUserInApp(t,s){return this.axios.post(`/${t}/log-user-in-app/${s}`)}getStats(t,s={}){return t==="all"?this.axios.get("/platform-admin/platform-stats",{params:s}):this.axios.get(`/${t}/stats`,{params:s})}getUserStats(t){return this.axios.get(`/user-stats/${t}`)}getTrendingApps(){return r("/apps/public").get("/trending")}}const o=new a;export{o as A};