import{u as n}from"./index.ac9b4c61.js";import"./outputWidgets.7dd23d3d.js";import{r as s,w as a}from"./runnerData.13e158ee.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]="f4907e62-ea4e-43e3-98d7-3472b4c58c9f",e._sentryDebugIdIdentifier="sentry-dbid-f4907e62-ea4e-43e3-98d7-3472b4c58c9f")}catch{}})();async function i(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 c(){const e=await fetch("/_workspace");if(e.status!=200)return a({});const t=await e.json();return a(t)}export{i as f,c as g};
//# sourceMappingURL=api.8ecad6bb.js.map
