import{u as r}from"./root-loader-BOzEMapJ.js";function s(){return r().user}function u(){const e=s();if(!e)throw new Error("useUser requires a user. If the user is optional, use useOptionalUser instead.");return e}function o(){const e=r();return e.user?.discordProfile?.user?{id:e.user.discordProfile.user.id,displayName:e.user.discordProfile.nick??e.user.discordProfile.user.global_name??e.user.name??e.user.email,avatarUrl:e.user.imageUrlLarge}:null}function t(){return r().userHasAccess}export{o as a,t as b,s as c,u};
//# sourceMappingURL=user-BsPobzjB.js.map
