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]=`9441e8eb-28e8-4eb0-b3da-8f301a414f0b`,e._sentryDebugIdIdentifier=`sentry-dbid-9441e8eb-28e8-4eb0-b3da-8f301a414f0b`)}catch{}import{Dg as e,Fg as t,sh as n}from"./entry.client-dr7r6s9a.js";var r=t(),i={NotInParty:`NotInParty`,InParty:`InParty`,LoadingParty:`LoadingParty`};function a(){let t=(0,r.c)(2),{activeParty:a}=n(),o;t[0]===a.queries.currentPartySession?o=t[1]:(o=a.queries.currentPartySession.getActiveUserQuery().getOptions(),t[0]=a.queries.currentPartySession,t[1]=o);let{data:s,isRefetching:c,isError:l}=e(o);return c||s===void 0&&!l?i.LoadingParty:!l&&s?i.InParty:i.NotInParty}export{a as n,i as t};