import{N as c}from"./Navbar-B73aYmh3.js";import{e as d,ak as u,b as a,l,a4 as f,f as _,g as y,v as p,k as I,aO as v}from"./jwt-decode.esm-DFut-Yfu.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-BoWGq1En.js";import"./constants-CRK4P98p.js";import"./PhCaretDown.vue-u07PREA_.js";import"./PhPencilSimple.vue-CmDcK8Fd.js";import"./router-Bkwal6ut.js";import"./ts.worker-CiCYnV-4.js";import"./organization-D-k4GXmK.js";import"./tables-C2SfUxIk.js";import"./string-BuT2Ltlo.js";import"./keyboard-yCMamHHS.js";import"./os-DhH8s7Py.js";import"./projectStore-BiQ7-OWu.js";import"./project-Mjvfaa74.js";import"./organizationSwitcher-CYHWYLxG.js";import"./cascaderStore-1RthQ1ng.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang--PlAMx31.js";import"./member-iaT7buYQ.js";import"./index-BdPi-1pZ.js";import"./index-u5_LY22t.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-_mk4-FF6.js";import"./PhNotePencil.vue-D5RlyFHm.js";import"./PhSignOut.vue-CXa5Lo2H.js";import"./index-nQ_w32Xu.js";import"./index-MV5qCJUr.js";import"./PhPlus.vue-BaCEKj8w.js";import"./omniChatStore-s2pQSlW3.js";import"./files-BYCXNEC0.js";import"./contracts.generated-V5PNpQAA.js";import"./runnerData-CryDtGKF.js";import"./url-PygE0McV.js";import"./colorHelpers-DqehPK9O.js";import"./uuid-Bj7_woKU.js";import"./PhCopySimple.vue-BrscCuOy.js";import"./PhSparkle.vue-CZ095tt7.js";import"./index-3s-oVmfV.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]="d1f953e6-9af3-4e3e-9c79-11a028ce3983",e._sentryDebugIdIdentifier="sentry-dbid-d1f953e6-9af3-4e3e-9c79-11a028ce3983")}catch{}})();const g={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",g,[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)])])}}}),io=v(w,[["__scopeId","data-v-62f8634d"]]);export{io as default};
//# sourceMappingURL=ConsoleLayout-BF5DuuYF.js.map
