import{r as s,h as r,H as t}from"./p-1ea36ff3.js";import{D as i}from"./p-63cff91e.js";import{A as o,K as e}from"./p-7e860896.js";import{i as a}from"./p-ad9adb4c.js";import{C as p}from"./p-7957afd8.js";import{p as n}from"./p-b673f44e.js";import"./p-944da115.js";import"./p-eebad85b.js";import"./p-d343a062.js";import"./p-814af281.js";class l{constructor(s,r={}){this.createWorkspace=s=>this.api.post("workspaces",{name:s}),this.getWorkspaceOwnerships=()=>this.api.get("workspace-ownerships"),this.createProduct=(s,r,t)=>this.api.post("products",{name:s,workspaceId:r,type:t}),this.getProducts=()=>this.api.get("products"),this.getProduct=s=>this.api.get(`products/${s}`),this.api=new o(s,r)}}const d=s=>r(t,null,r("dvn-theme-provider",{colorBackground:!0,fitHeight:!0},r("dvn-global-table",null),r("dvn-global-grid",null),r("dvn-global-text",null),r("notifier-wrapper",null,s)));let m=class{constructor(r){s(this,r)}render(){const s={Authorization:(new p).getAll().jwt?`Bearer ${(new p).getAll().jwt}`:void 0},t=new e(`${n.kimlik}/${n.base}`,s),o=new i(`${n.data}/${n.base}`,s),m=new l(`${n.devingen}/${n.base}`,s);return a()?d(r("devingen-router",{apiKimlik:t,apiDevingen:m,apiData:o})):d(r("devingen-login-page",{apiKimlik:t}))}};export{m as devingen_root}