import{N as c}from"./Navbar-BbX47cg5.js";import{e as d,aj as u,b as a,l,a2 as f,f as _,g as b,q as p,k as y,aM as I}from"./jwt-decode.esm-Brm3dwEn.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-BnavDnuP.js";import"./LoadingOutlined-n7MHEprJ.js";import"./constants-Cjzs0LIA.js";import"./PhCaretDown.vue-BVPY0sbj.js";import"./PhPencilSimple.vue-DNQQbQ2H.js";import"./router-v12FhO6C.js";import"./ts.worker-C0WdNrPr.js";import"./organization-DPErBIwg.js";import"./tables-DSQa_tX9.js";import"./string-BoBl3U69.js";import"./keyboard-BVIi6pgA.js";import"./os-PxmW_hp5.js";import"./projectStore-BD--_ROU.js";import"./project-DQhq9PUV.js";import"./organizationSwitcher-BCqxMwvz.js";import"./cascaderStore-DCAUsA9v.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-CC_IjaCi.js";import"./member-BZpVrsu_.js";import"./index-DoJR8Gyy.js";import"./index-CnVqsK1Q.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-B8M3_2EP.js";import"./PhNotePencil.vue-AU3-20Qm.js";import"./PhSignOut.vue-xJ06IPQD.js";import"./index-DSZOtFtq.js";import"./index-rw15pgQW.js";import"./PhPlus.vue-CdC-fLQ9.js";import"./omniChatStore-zKnvMKN0.js";import"./files-BPP-xgYe.js";import"./contracts.generated-BSG-g_-6.js";import"./runnerData-BEhEp1kk.js";import"./url-DkpQoBt1.js";import"./colorHelpers-BxRAeDWl.js";import"./uuid-Dxubxqbi.js";import"./PhCopySimple.vue-CRf-2sC2.js";import"./PhSparkle.vue-B75U2N6r.js";import"./index-CvhgLYMx.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]="504a696f-098f-4a90-8b4a-1df60ea4a1b6",r._sentryDebugIdIdentifier="sentry-dbid-504a696f-098f-4a90-8b4a-1df60ea4a1b6")}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)])])}}}),po=I(w,[["__scopeId","data-v-62f8634d"]]);export{po as default};
//# sourceMappingURL=ConsoleLayout-Bhen30iy.js.map
