import{u as n}from"./router.4e800ecb.js";import{r as o,w as s}from"./runnerData.411ef4c2.js";import"./vue-router.33ac8cf0.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]="b0d2caae-bee7-42a1-9bdb-ebf4cd4a59df",e._sentryDebugIdIdentifier="sentry-dbid-b0d2caae-bee7-42a1-9bdb-ebf4cd4a59df")}catch{}})();async function c(e){const t=n(),r=await fetch(`/_pages/${e}`,{headers:t.authHeaders});if(r.status===404)return null;if(!r.ok)throw new Error(await r.text());const{form:a}=await r.json();return a?o(a):null}async function i(){const e=n(),t=await fetch("/_workspace",{headers:e.authHeaders});if(t.status!=200)return s({});const r=await t.json();return s(r)}export{c as f,i as g};
//# sourceMappingURL=api.9e154b60.js.map
