import{N as c}from"./Navbar-CFADuqtR.js";import{e as d,T as u,b as a,G as l,X as f,f as _,g as y,t as p,k as I,aq as b}from"./jwt-decode.esm-Bw7_fA5B.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-4O0X4FwR.js";import"./LoadingOutlined-CCC-cDSZ.js";import"./constants-CRRRdcnD.js";import"./PhCaretDown.vue-BwX09SRo.js";import"./PhPencilSimple.vue-B4pa2M5y.js";import"./router-CZr_q44o.js";import"./ts.worker-C335cFo8.js";import"./organization-Dn5EE2cQ.js";import"./tables-Cfb9dDsg.js";import"./string-OOo_ZIMQ.js";import"./keyboard-VJ9PyqGh.js";import"./os-DDek2vEj.js";import"./projectStore-Dkx-_rIr.js";import"./member-BxjiNVgF.js";import"./project-DgxfuRB1.js";import"./organizationSwitcher-0P36WHXS.js";import"./cascaderStore-BLwcU5k-.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-DYaH_hz6.js";import"./index-lZxrJv6D.js";import"./index-CgULq8_4.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-BokLAOMN.js";import"./PhNotePencil.vue-hl5Jx4jF.js";import"./PhTranslate.vue-BL5oXAwq.js";import"./PhSignOut.vue-CvhLdjBp.js";import"./index-Crnil3yx.js";import"./index-DQEy__OO.js";import"./PhPlus.vue-jN4y1iMr.js";import"./omniChatStore-2HkxYWEL.js";import"./files-Cr-2y8jQ.js";import"./contracts.generated-CKCU3GwF.js";import"./runnerData-DrbfUeer.js";import"./url-DO-fsxUp.js";import"./colorHelpers-BQVfELzg.js";import"./uuid-DKMVmulq.js";import"./PhCopySimple.vue-CXjvgc8U.js";import"./PhSparkle.vue-BHYscCXR.js";import"./index-C9cwBWW4.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]="e587f3f8-ebc5-456e-922a-98f4a5326a10",e._sentryDebugIdIdentifier="sentry-dbid-e587f3f8-ebc5-456e-922a-98f4a5326a10")}catch{}})();const g={class:"console-layout"},v={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",g,[p(c,{"use-cascader":!0,"cascader-props":m.value,"show-ai-sparkles":s.value},null,8,["cascader-props","show-ai-sparkles"]),I("div",v,[p(r)])])}}}),no=b(w,[["__scopeId","data-v-62f8634d"]]);export{no as default};
//# sourceMappingURL=ConsoleLayout-HumZBPKA.js.map
