import{N as d}from"./Navbar-BjzWoP7N.js";import{e as u,W as l,b as a,K as _,$ as f,f as b,g as y,v as m,k as I,ar as v}from"./jwt-decode.esm-CX61wVx3.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-BBMaXQJu.js";import"./LoadingOutlined-CVkBHrpy.js";import"./constants-B5rys1IL.js";import"./PhCaretDown.vue-CUpBlnmb.js";import"./PhPencilSimple.vue-Bi1O5AGV.js";import"./router-C3xfRTQ9.js";import"./ts.worker-DBbJtN2A.js";import"./organization-CGHGUCUV.js";import"./tables-uXC0iev6.js";import"./string-BfaOmKtt.js";import"./keyboard-D6iDufDB.js";import"./os-CfwUa2k2.js";import"./projectStore-VaavZXIZ.js";import"./member-Mqwx3LJ6.js";import"./project-BBDdDK81.js";import"./organizationSwitcher-BGkTY3e2.js";import"./projectsStore-rY64FrsZ.js";import"./ant-design-DL3j72eX.js";import"./systemTables-CTITfv8m.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-FZKtAAQP.js";import"./index-BOb0Rqlm.js";/* empty css                                                                        */import"./index-lhBEA9ti.js";import"./template-Bt-8rk-e.js";import"./index-GnIaed8S.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-BYVBs-Tp.js";import"./PhNotePencil.vue-DunZMekq.js";import"./avatarColor-DegpOpSJ.js";import"./PhSignOut.vue-BJ-022M3.js";import"./index-BMo8fvaH.js";import"./index-DhpJ3FpU.js";import"./PhPlus.vue-mh-UM3MN.js";import"./omniChatStore-_8KZabY3.js";import"./externalPlayer-D7i6YlKj.js";import"./fetch-BOLOxrH8.js";import"./codebaseEvents-s4M7UMV6.js";import"./files-IqWfdQBD.js";import"./runnerData-B4AKypWD.js";import"./url-D1jI6Lt8.js";import"./colorHelpers-Dde0Xcnl.js";import"./uuid-DcrfRJI8.js";import"./PhCheckCircle.vue-DL5RdEBD.js";import"./PhCopySimple.vue-BUfofLds.js";import"./stages-CTDrHAyc.js";import"./PhSparkle.vue-CzyVnqKK.js";import"./index-DmKWfeKm.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]="356cdb2d-3cb4-43a2-a12b-020d6392c4c3",r._sentryDebugIdIdentifier="sentry-dbid-356cdb2d-3cb4-43a2-a12b-020d6392c4c3")}catch{}})();const g={class:"console-layout"},w={class:"console-content"},N=u({__name:"ConsoleLayout",setup(r){const o=l(),i=a(()=>!!o.params.projectId),n=a(()=>{const t=o.meta.pageNameKey;if(t)return t.startsWith("i18n_")?_.translateIfFound(t,null):t}),c=a(()=>{const t=o.params.projectId,s=o.params.tableId,e=o.params.tableName,p=o.params.organizationId;if(t)return{projectId:t,tableId:s,systemTableName:e,currentPageName:n.value};if(p)return{organizationId:p}});return(t,s)=>{const e=f("RouterView");return y(),b("div",g,[m(d,{"use-cascader":!0,"cascader-props":c.value,"show-ai-sparkles":i.value},null,8,["cascader-props","show-ai-sparkles"]),I("div",w,[m(e)])])}}}),vo=v(N,[["__scopeId","data-v-4c0b4ae3"]]);export{vo as default};
//# sourceMappingURL=ConsoleLayout-BUvgRzAT.js.map
