import{N as c}from"./Navbar-BAeyvlZr.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-Dx535Iy6.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-CWTBhoP1.js";import"./constants-C2AsnNw-.js";import"./PhCaretDown.vue-D_-NLgJQ.js";import"./PhPencilSimple.vue-5mG8mTEd.js";import"./router-Cfh-S2HQ.js";import"./ts.worker-D_-ZWJkf.js";import"./organization-hmktXRPz.js";import"./tables-DuRRAkrw.js";import"./string-DN6lOLlE.js";import"./keyboard-BJjo3S2z.js";import"./os-_Of2EEzd.js";import"./projectStore-DrBK6ckU.js";import"./project-CXbSZ066.js";import"./organizationSwitcher-yPXGiuve.js";import"./cascaderStore-DZXt88WW.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-m9AG5g-V.js";import"./member-Ev2XZ5b-.js";import"./index-CXYB9lGs.js";import"./index-Ddipd4ah.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-J06uSWfB.js";import"./PhNotePencil.vue-vHpDRON3.js";import"./PhSignOut.vue-CYn401v6.js";import"./index-C4SEuIHI.js";import"./index-maeKwxjl.js";import"./PhPlus.vue-B7v87fze.js";import"./omniChatStore-BWD7NWCp.js";import"./files-Cpex1vn3.js";import"./contracts.generated-DxO2YZ5T.js";import"./runnerData-DCe6ZC3R.js";import"./url-BTujhdwu.js";import"./colorHelpers-BYRRxjl5.js";import"./uuid-DLW51j0T.js";import"./PhCopySimple.vue-BZdNrHwz.js";import"./PhSparkle.vue-OvFtpWuQ.js";import"./index-vtk_6yEi.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-BzdcuIiJ.js.map
