import{N as c}from"./Navbar-BTqobSbG.js";import{e as d,ak as u,b as a,l,a4 as f,f as _,g as b,v as p,k as y,aN as I}from"./jwt-decode.esm-Js5I4FhF.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-DPHZgcsy.js";import"./constants-lpdjcJFu.js";import"./PhCaretDown.vue-BPxoEG1h.js";import"./PhPencilSimple.vue-D18hdVht.js";import"./router-C28ARTJm.js";import"./ts.worker-ClJ6hBjn.js";import"./organization-Dmc_PnvW.js";import"./tables-Dazty6g3.js";import"./string-nFtklTH2.js";import"./keyboard-C2VfmvHc.js";import"./os-C-eNGtqi.js";import"./projectStore-CrWc5Eci.js";import"./project-DtTROxAb.js";import"./organizationSwitcher-B8gb-Knq.js";import"./cascaderStore-ZMFR-MaP.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-DzZ5WhW4.js";import"./member-CH28spgg.js";import"./index-CpVPXdFZ.js";import"./index-D-wSJBrc.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-C6zhDvF1.js";import"./PhNotePencil.vue-DHVlVaGR.js";import"./PhSignOut.vue-COmG32Vz.js";import"./index-SP3RyRuy.js";import"./index-CJ-w8seO.js";import"./PhPlus.vue-BptT_q7n.js";import"./omniChatStore-C8rXxATf.js";import"./files-D9Ya2_4R.js";import"./contracts.generated-BBDjzjQP.js";import"./runnerData-B8DXXSqp.js";import"./url-zOF2wl62.js";import"./colorHelpers-b6dDhoc4.js";import"./uuid-DHsdivOz.js";import"./PhCopySimple.vue-Q63MrkDc.js";import"./PhSparkle.vue-DwXtmPPx.js";import"./index-BhSsQYDl.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]="6f61c021-1367-4a0f-b736-e24a749c7bd2",r._sentryDebugIdIdentifier="sentry-dbid-6f61c021-1367-4a0f-b736-e24a749c7bd2")}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=f("RouterView");return b(),_("div",v,[p(c,{"use-cascader":!0,"cascader-props":m.value,"show-ai-sparkles":s.value},null,8,["cascader-props","show-ai-sparkles"]),y("div",g,[p(e)])])}}}),io=I(w,[["__scopeId","data-v-62f8634d"]]);export{io as default};
//# sourceMappingURL=ConsoleLayout-Dnq2W-Ds.js.map
