import{l as n}from"./index.29287afe.js";import"./outputWidgets.d6d96ec7.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[e]="3faa4d16-3e81-4354-921d-453577e594dc",s._sentryDebugIdIdentifier="sentry-dbid-3faa4d16-3e81-4354-921d-453577e594dc")}catch{}})();class r{constructor(e=n){this.fetch=e}async getData(e){return(await this.fetch("/_editor/api/kanban",{method:"POST",body:JSON.stringify(e),headers:{"Content-Type":"application/json"}})).json()}async getLogs(e){return(await this.fetch(`/_editor/api/kanban/logs/${e}`)).json()}}class i{constructor(e,t=n){this.authProvider=e,this.fetch=t}get headers(){return{"Content-Type":"application/json",...this.authProvider.authHeaders()}}async getData(e){return(await this.fetch("/_kanban/",{method:"POST",body:JSON.stringify(e),headers:this.headers})).json()}async getLogs(e){return(await this.fetch(`/_kanban/logs/${e}`,{headers:this.headers})).json()}}export{r as E,i as P};
//# sourceMappingURL=repository.9a2a6f3c.js.map
