import{N as c}from"./Navbar-DCInXCck.js";import{e as d,V as u,b as a,l,Z as f,f as _,g as b,q as p,k as y,ar as I}from"./jwt-decode.esm-BEK8Xx87.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-D_Y2ezeF.js";import"./LoadingOutlined-BrQ7NdpL.js";import"./constants-DfDDhpDd.js";import"./PhCaretDown.vue-CnxVH1nX.js";import"./PhPencilSimple.vue-DJwEWt7-.js";import"./router-ClUx9YUe.js";import"./ts.worker-Btc-jOPn.js";import"./organization-BgkTEsGG.js";import"./tables-C5bLdaAH.js";import"./string-D9DPtLoX.js";import"./keyboard-CtOMqqZ5.js";import"./os-CcOM0Hgi.js";import"./projectStore-CzlNqgtu.js";import"./member-B5Atftgo.js";import"./project-D2AigGai.js";import"./organizationSwitcher-bzESKeLQ.js";import"./cascaderStore-DQwmzMq8.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-BMaz4FMI.js";import"./index-DUXnQ8UG.js";import"./index-DE83wGs8.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-BtEAkXUB.js";import"./PhNotePencil.vue-CjCy_SHI.js";import"./PhTranslate.vue-C6FRL0vY.js";import"./PhSignOut.vue-wp4BPnzU.js";import"./index-DGsMqiK3.js";import"./index-Bc10-Nyq.js";import"./PhPlus.vue-BxFEbxJg.js";import"./omniChatStore-T_00FItT.js";import"./files-ByYSOynB.js";import"./contracts.generated-D6VQj_iM.js";import"./runnerData-UHzAAgYe.js";import"./url-DBJVF3A7.js";import"./colorHelpers-DIILgLYm.js";import"./uuid-DqdI_Tfk.js";import"./PhCopySimple.vue-BtffIJKv.js";import"./PhSparkle.vue-CJx_aw-S.js";import"./index-Br3RP303.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]="8d4aa0ea-6dbe-41ea-8db9-a9edccadfbeb",e._sentryDebugIdIdentifier="sentry-dbid-8d4aa0ea-6dbe-41ea-8db9-a9edccadfbeb")}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 b(),_("div",g,[p(c,{"use-cascader":!0,"cascader-props":m.value,"show-ai-sparkles":s.value},null,8,["cascader-props","show-ai-sparkles"]),y("div",v,[p(r)])])}}}),no=I(w,[["__scopeId","data-v-62f8634d"]]);export{no as default};
//# sourceMappingURL=ConsoleLayout-B7dkTYDk.js.map
