import{u as n}from"./index.380e90d4.js";import"./outputWidgets.a321903e.js";import{r as s,w as r}from"./runnerData.60d212c9.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]="d860e070-73f0-4509-a7f7-a903032e87ad",t._sentryDebugIdIdentifier="sentry-dbid-d860e070-73f0-4509-a7f7-a903032e87ad")}catch{}})();async function i(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 d(){const t=await fetch("/_workspace");if(t.status!=200)return r({});const e=await t.json();return r(e)}export{i as f,d as g};
//# sourceMappingURL=api.9febf9ca.js.map
