import{u as n}from"./index.93c872c5.js";import"./outputWidgets.b408cd47.js";import{r as s,w as r}from"./runnerData.d52f67ef.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="87b05b8d-dabf-4a0a-bd9e-b11b2dc9bb23",t._sentryDebugIdIdentifier="sentry-dbid-87b05b8d-dabf-4a0a-bd9e-b11b2dc9bb23")}catch{}})();async function f(t){const e=await fetch(`/_pages/${t}`,{headers:n.authHeaders()});if(e.status===404)return null;if(!e.ok)throw new Error(await e.text());const{form:a}=await e.json();return a?s(a):null}async function b(){const t=await fetch("/_workspace",{headers:n.authHeaders()});if(t.status!=200)return r({});const e=await t.json();return r(e)}export{f,b as g};
//# sourceMappingURL=api.57088a6e.js.map
