import{R as d,K as t}from"./registerWidgets.240bf3ff.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]="f9c2a54b-34ee-4a8a-8c92-55d8bcce3dc6",r._sentryDebugIdIdentifier="sentry-dbid-f9c2a54b-34ee-4a8a-8c92-55d8bcce3dc6")}catch{}})();const i=r=>{const e=d({loading:!0,result:null,error:null}),n=l=>(e.value={loading:!1,result:l,error:null},l),a=l=>{e.value={loading:!1,result:null,error:l}},o=()=>{e.value={loading:!0,result:null,error:null},r().then(n).catch(a)};o();const s=t(()=>e.value.loading),u=t(()=>e.value.result),c=t(()=>e.value.error);return{loading:s,result:u,error:c,refetch:o}};export{i as a};
//# sourceMappingURL=asyncComputed.e710533c.js.map
