import{u as n}from"./router.cbc2490c.js";import{r as o,w as s}from"./runnerData.6dfbb051.js";import"./vue-router.967882c8.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]="90447f6b-2330-4a8a-8861-134e7d6d3e2c",e._sentryDebugIdIdentifier="sentry-dbid-90447f6b-2330-4a8a-8861-134e7d6d3e2c")}catch{}})();async function i(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 c(){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{i as f,c as g};
//# sourceMappingURL=api.27083d64.js.map
