import{N as c}from"./Navbar-BubIwS6v.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 g}from"./jwt-decode.esm-B6XDbfGf.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-CjoHk83j.js";import"./LoadingOutlined-ykaS4PCd.js";import"./constants-COtm77zj.js";import"./PhCaretDown.vue-jo75pcBb.js";import"./PhPencilSimple.vue-C8R4k4Sd.js";import"./router-ehqmHCor.js";import"./ts.worker-CkiPZMJ2.js";import"./organization-CRdFHOLi.js";import"./tables-y7hDXNsF.js";import"./string-CJZ_CLTg.js";import"./keyboard-CwPzlmOw.js";import"./os-Mlz6LuqH.js";import"./projectStore-BSodsOIR.js";import"./member-BExpjw5l.js";import"./project-BSjj4QB_.js";import"./organizationSwitcher-DL7T8tal.js";import"./cascaderStore-CiwXZ1nt.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-BcxkFbQY.js";import"./index-CvjjCN8q.js";import"./index-BIQJWF0W.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-UcrTSRU8.js";import"./PhNotePencil.vue-DVjdbuf3.js";import"./PhTranslate.vue-qSxYNnXa.js";import"./PhSignOut.vue-DPDp2M04.js";import"./index-C75vwx4R.js";import"./index-BLM_z_pS.js";import"./PhPlus.vue-SO6mrdBZ.js";import"./omniChatStore-DtpS6eWl.js";import"./files-Cqa1Ea4i.js";import"./contracts.generated-zqkv4jEI.js";import"./runnerData-vL0mOcKb.js";import"./url-cT_5jFM4.js";import"./colorHelpers-BYxQEHcT.js";import"./uuid-CIKLLFvQ.js";import"./PhCopySimple.vue-B_cfWj4-.js";import"./PhSparkle.vue-PzSdhAl0.js";import"./index-BrPUiRrd.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]="52a59e40-c1f6-44d2-9560-0c45e67626fe",e._sentryDebugIdIdentifier="sentry-dbid-52a59e40-c1f6-44d2-9560-0c45e67626fe")}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)])])}}}),no=g(w,[["__scopeId","data-v-62f8634d"]]);export{no as default};
//# sourceMappingURL=ConsoleLayout-C8Klw2WU.js.map
