import{N as c}from"./Navbar-C3tQq6BO.js";import{e as d,an as u,b as a,l,a9 as _,f,g as y,v as p,k as I,aQ as b}from"./jwt-decode.esm-C8xLey9w.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-DmoP980C.js";import"./constants-DPsHFSBH.js";import"./PhCaretDown.vue-CUgAtNbc.js";import"./PhPencilSimple.vue-Cy8K8kAE.js";import"./router-DgvD-VDv.js";import"./ts.worker-VAyGsdDK.js";import"./organization-Do_uJq7E.js";import"./tables-DQhDLqgl.js";import"./string-T9AIbozp.js";import"./keyboard-KxkwhaDq.js";import"./os-DGC66N8r.js";import"./projectStore-COdj3CFE.js";import"./project-CEHADpW0.js";import"./organizationSwitcher-RxrapLJn.js";import"./cascaderStore-DqPbW3il.js";import"./folder-DjDNBOLf.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-C9x0beAQ.js";import"./member-Dnf3KWJp.js";import"./index-LfzdcRJI.js";import"./index-6JcK1-Uo.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-BnyQQXAO.js";import"./PhNotePencil.vue-Ph0i7Khk.js";import"./PhSignOut.vue-CP-bOgqj.js";import"./index-B39Kv8tB.js";import"./index-p05uRVkj.js";import"./PhPlus.vue-DxJnrzpe.js";import"./omniChatStore-Dg7ioDD5.js";import"./contracts.generated-D_wj2i9e.js";import"./runnerData-Bxm1WPeV.js";import"./url-CHJjGHqh.js";import"./colorHelpers-CTyEqvwU.js";import"./uuid-s80p2rPA.js";import"./PhCopySimple.vue-3j__YjWq.js";import"./index-Bx1pXcP0.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[o]="5a220a7a-9c28-4a71-93d5-619b97eda153",r._sentryDebugIdIdentifier="sentry-dbid-5a220a7a-9c28-4a71-93d5-619b97eda153")}catch{}})();const v={class:"console-layout"},g={class:"console-content"},w=d({__name:"ConsoleLayout",setup(r){const o=u(),s=a(()=>!!o.params.projectId),n=a(()=>{const t=o.meta.pageNameKey;if(t)return t.startsWith("i18n_")?l.translateIfFound(t,null):t}),m=a(()=>{const t=o.params.projectId,i=o.params.tableId,e=o.params.organizationId;if(t)return{projectId:t,tableId:i,currentPageName:n.value};if(e)return{organizationId:e}});return(t,i)=>{const e=_("RouterView");return y(),f("div",v,[p(c,{"use-cascader":!0,"cascader-props":m.value,"show-ai-sparkles":s.value},null,8,["cascader-props","show-ai-sparkles"]),I("div",g,[p(e)])])}}}),so=b(w,[["__scopeId","data-v-62f8634d"]]);export{so as default};
//# sourceMappingURL=ConsoleLayout-Xq5tWIxl.js.map
