import{u as n}from"./index.0f9c2c1a.js";import"./outputWidgets.ac6cd083.js";import{r as s,w as r}from"./runnerData.a38c774f.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="ea69c31a-10df-44a0-abb2-9aa0d67233e0",e._sentryDebugIdIdentifier="sentry-dbid-ea69c31a-10df-44a0-abb2-9aa0d67233e0")}catch{}})();async function d(e){const a=await fetch(`/_pages/${e}`,{headers:n.authHeaders()});if(a.status===404)return null;if(!a.ok)throw new Error(await a.text());const{form:t}=await a.json();return t?s(t):null}async function i(){const e=await fetch("/_workspace",{headers:n.authHeaders()});if(e.status!=200)return r({});const a=await e.json();return r(a)}export{d as f,i as g};
//# sourceMappingURL=api.59a010f9.js.map
