import{N as c,c as l}from"./jwt-decode.esm.e2eb277f.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="c355f5d1-d0b8-43dc-8854-9348387e6d7b",r._sentryDebugIdIdentifier="sentry-dbid-c355f5d1-d0b8-43dc-8854-9348387e6d7b")}catch{}})();const i=r=>{const e=c({loading:!0,result:null,error:null}),n=t=>(e.value={loading:!1,result:t,error:null},t),s=t=>{e.value={loading:!1,result:null,error:t}},o=async()=>(e.value={loading:!0,result:e.value.result,error:null},r().then(n).catch(s));o();const u=l(()=>e.value.loading),d=l(()=>e.value.result),a=l(()=>e.value.error);return{loading:u,result:d,error:a,refetch:o}};export{i as a};
//# sourceMappingURL=asyncComputed.b0ce045f.js.map
