import{N as c}from"./Navbar-CfgRWwc4.js";import{e as d,aj as u,b as a,l,a2 as f,f as _,g as y,q as p,k as I,aM as g}from"./jwt-decode.esm-RrwddusF.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-CnCma2i4.js";import"./LoadingOutlined-DOoiN21C.js";import"./constants-CKXHjd1O.js";import"./PhCaretDown.vue-HEzkhvL5.js";import"./PhPencilSimple.vue-CaCfLfRX.js";import"./router-Mf0aFyWQ.js";import"./ts.worker-DZw3sO0o.js";import"./organization-CIHxKoK0.js";import"./tables-BxB7qxLH.js";import"./string-DfWpluZV.js";import"./keyboard-CyVdDfpa.js";import"./os-J0YXnZk0.js";import"./projectStore-Dto-iPbU.js";import"./project-D5uYMnuH.js";import"./organizationSwitcher-pIo9V6kL.js";import"./cascaderStore-CsU5GMUq.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-DGqLJOx8.js";import"./member-BtaT_KKN.js";import"./index-Bn8X8yz9.js";import"./index-B5fcgVf3.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-Bto6hEzr.js";import"./PhNotePencil.vue-B6k1GRbN.js";import"./PhSignOut.vue-Dx_P60Q4.js";import"./index-CWpBDlYv.js";import"./index-DmKK28u8.js";import"./PhPlus.vue-Bj4PfCst.js";import"./omniChatStore-D6mApUHb.js";import"./files-B2jiHa4e.js";import"./contracts.generated-Ctg6EtEo.js";import"./runnerData-Cpd9UOud.js";import"./url-D3ki3lkY.js";import"./colorHelpers-DVL7emt5.js";import"./uuid-CG3WW3jA.js";import"./PhCopySimple.vue-Cwm9-A82.js";import"./PhSparkle.vue-aHGB29l3.js";import"./index-Bbnk65VA.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="1c3f9368-1e1f-413a-9e27-0169e6187d23",e._sentryDebugIdIdentifier="sentry-dbid-1c3f9368-1e1f-413a-9e27-0169e6187d23")}catch{}})();const v={class:"console-layout"},b={class:"console-content"},w=d({__name:"ConsoleLayout",setup(e){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,r=o.params.organizationId;if(t)return{projectId:t,tableId:i,currentPageName:n.value};if(r)return{organizationId:r}});return(t,i)=>{const r=f("RouterView");return y(),_("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",b,[p(r)])])}}}),po=g(w,[["__scopeId","data-v-62f8634d"]]);export{po as default};
//# sourceMappingURL=ConsoleLayout-CQA_k2H2.js.map
