try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`9c1ea1ad-be9b-402e-8c07-3d6af50fe63e`,e._sentryDebugIdIdentifier=`sentry-dbid-9c1ea1ad-be9b-402e-8c07-3d6af50fe63e`)}catch{}import{Ag as e,Qh as t,Zm as n}from"./entry.client-mpghtlrl.js";var r=e(),i={NotInParty:`NotInParty`,InParty:`InParty`,LoadingParty:`LoadingParty`};function a(){let e=(0,r.c)(2),{activeParty:a}=n(),o;e[0]===a.queries.currentPartySession?o=e[1]:(o=a.queries.currentPartySession.getActiveUserQuery().getOptions(),e[0]=a.queries.currentPartySession,e[1]=o);let{data:s,isRefetching:c,isError:l}=t(o);return c||s===void 0&&!l?i.LoadingParty:!l&&s?i.InParty:i.NotInParty}export{a as n,i as t};