import{u as s}from"./root-loader-ByAKsmmv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"66e9b849450b819e11683314a547a341cb57f7d0"};var r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="7a27ff6d-9bf9-4d30-af61-072ca3ebbf28",e._sentryDebugIdIdentifier="sentry-dbid-7a27ff6d-9bf9-4d30-af61-072ca3ebbf28")}catch{}})();function a(){return s().user}function o(){const e=a();if(!e)throw new Error("useUser requires a user. If the user is optional, use useOptionalUser instead.");return e}function t(){const e=s();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 d(){return s().userHasAccess}export{t as a,d as b,a as c,o as u};
//# sourceMappingURL=user-BrD2IM_u.js.map
