import{N as c}from"./Navbar-CfmV30nQ.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-Bz0eP6tF.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-m5MSVlV5.js";import"./LoadingOutlined-kqgumcn9.js";import"./constants-mTWlxuFR.js";import"./PhCaretDown.vue-0UQe-bFd.js";import"./PhPencilSimple.vue-bR9L4hjf.js";import"./router-Djay90AH.js";import"./ts.worker-CCUkRnUm.js";import"./organization-C_CQ2zlx.js";import"./tables-7WWsI93-.js";import"./string-BpgIxaGX.js";import"./keyboard-T82NpL6j.js";import"./os-mMOKhPGe.js";import"./projectStore-4KaUSuFJ.js";import"./member-BsjjukPY.js";import"./project-CadXa1D6.js";import"./organizationSwitcher-DRGO7KnB.js";import"./cascaderStore-B8hTYKiq.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-059sCWEF.js";import"./index-DmZPjrnV.js";import"./index-BfcdrZn0.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-QkDShuJn.js";import"./PhNotePencil.vue-C6E6_4SY.js";import"./PhTranslate.vue-CqJzaU8S.js";import"./PhSignOut.vue-WtVt-QFu.js";import"./index-EI1ut82D.js";import"./index-Y2QtQ9pJ.js";import"./PhPlus.vue-BCRQgXF0.js";import"./omniChatStore-C0oPzGxx.js";import"./files-5ZY4M93-.js";import"./contracts.generated-DYbmtD2b.js";import"./runnerData-DRXoMVFJ.js";import"./url-CKFT4BDW.js";import"./colorHelpers-DnW6D78l.js";import"./uuid-Cx6s5qD2.js";import"./PhCopySimple.vue-gh_eCTUe.js";import"./PhSparkle.vue-BQ8lzaYD.js";import"./index-D86WaQHN.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]="2711fa6b-624c-4dba-91f9-cd0bc1b2eced",r._sentryDebugIdIdentifier="sentry-dbid-2711fa6b-624c-4dba-91f9-cd0bc1b2eced")}catch{}})();const g={class:"console-layout"},v={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",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(e)])])}}}),no=I(w,[["__scopeId","data-v-62f8634d"]]);export{no as default};
//# sourceMappingURL=ConsoleLayout-DBdL2BAl.js.map
