import{N as c}from"./Navbar-Dh7uExLA.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-D5DNSBKW.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-BitLGogH.js";import"./constants-Z0yaAodE.js";import"./PhCaretDown.vue-VE7Wr9GW.js";import"./PhPencilSimple.vue-Cy2GSlJC.js";import"./router-DRyiSDUq.js";import"./ts.worker-Zw3x3DKK.js";import"./organization-wQR4SyV-.js";import"./tables-jO1VA0hX.js";import"./string-CayUKywN.js";import"./keyboard-ly8EgEmF.js";import"./os-DWGA4msa.js";import"./projectStore-BlTmWzDl.js";import"./project-8z_E44Fm.js";import"./organizationSwitcher-YnqTwTuR.js";import"./cascaderStore-Z5kzte3_.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-CnifLHe_.js";import"./member-ZDWZMj3O.js";import"./index-CSJNcJX6.js";import"./index-CniWSFtj.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-CbtCn718.js";import"./PhNotePencil.vue-BA8oLbJJ.js";import"./PhSignOut.vue-Cq9cv0PG.js";import"./index-g8G7LPgl.js";import"./index-DvuTGqvw.js";import"./PhPlus.vue-KY1AlYhE.js";import"./omniChatStore-CVtPvLem.js";import"./files-CHa58zoV.js";import"./contracts.generated-BcGaiPqE.js";import"./runnerData-C24-w9Hu.js";import"./url-Dq3bnay9.js";import"./colorHelpers-bfhGaX6y.js";import"./uuid-BjXcVmLc.js";import"./PhCopySimple.vue-CkCdXEiy.js";import"./PhSparkle.vue-BlGliC3V.js";import"./index-DDA9lsdo.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-CbmT40HX.js.map
