import{u as n}from"./index.e752db4c.js";import"./outputWidgets.fb72f334.js";import{r as s,w as a}from"./runnerData.aad08e2c.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="db30ef61-dbbc-44e2-8596-0c161d4eae34",e._sentryDebugIdIdentifier="sentry-dbid-db30ef61-dbbc-44e2-8596-0c161d4eae34")}catch{}})();async function f(e){const t=await fetch(`/_pages/${e}`,{headers:n.authHeaders()});if(t.status===404)return null;if(!t.ok)throw new Error(await t.text());const{form:r}=await t.json();return r?s(r):null}async function i(){const e=await fetch("/_workspace",{headers:n.authHeaders()});if(e.status!=200)return a({});const t=await e.json();return a(t)}export{f,i as g};
//# sourceMappingURL=api.3543962f.js.map
