import{N as c}from"./Navbar-DGeKsdO3.js";import{e as d,U as u,b as a,l,Y as f,f as _,g as y,w as p,k as I,aq as g}from"./jwt-decode.esm-cMnpfgdw.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-C9nnml8T.js";import"./LoadingOutlined-BD61iDZs.js";import"./constants-2HINPs8G.js";import"./PhCaretDown.vue-BcK_nkIM.js";import"./PhPencilSimple.vue-Cx1cfmXu.js";import"./router-D_ihKcxX.js";import"./ts.worker-T_DnATf9.js";import"./organization-CT9gfwyx.js";import"./tables-D4FFTMCL.js";import"./string-pgLwzgmr.js";import"./keyboard-BUfywSI-.js";import"./os-B1E4ChcU.js";import"./projectStore-O6jHU7yd.js";import"./member-D47PSkeG.js";import"./project-Cb8Gbfdi.js";import"./organizationSwitcher-D_WT7zco.js";import"./cascaderStore-CA_VDeP3.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-DXvLEXSq.js";import"./index-BMdS0HpR.js";import"./index-BJSUMwQL.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-BQqp4bli.js";import"./PhNotePencil.vue-BMyHey5i.js";import"./PhTranslate.vue-Dr14_MqV.js";import"./PhSignOut.vue-CweJ1YLZ.js";import"./index-3OPJZWn2.js";import"./index-Dm-m55ls.js";import"./PhPlus.vue-BAlRep0o.js";import"./omniChatStore-BPFcs76N.js";import"./files-Dpfm7nZo.js";import"./contracts.generated-IQewUF6M.js";import"./runnerData-B02TUtQ4.js";import"./url-vqNrw1OC.js";import"./colorHelpers-CPrTu2hh.js";import"./uuid-D_nPNshk.js";import"./PhCopySimple.vue-CUSLuZlb.js";import"./PhSparkle.vue-CVi_G676.js";import"./index-lxG4mYI3.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]="c3388505-ee78-42f2-9121-9e9cc0ae6895",e._sentryDebugIdIdentifier="sentry-dbid-c3388505-ee78-42f2-9121-9e9cc0ae6895")}catch{}})();const v={class:"console-layout"},b={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 y(),_("div",v,[p(c,{"use-cascader":!0,"cascader-props":m.value,"show-ai-sparkles":s.value},null,8,["cascader-props","show-ai-sparkles"]),I("div",b,[p(r)])])}}}),no=g(w,[["__scopeId","data-v-62f8634d"]]);export{no as default};
//# sourceMappingURL=ConsoleLayout-zXGjeNy0.js.map
