import{N as c}from"./Navbar-Cf-G3p0M.js";import{e as d,ak as u,b as a,l,a4 as f,f as _,g as b,v as p,k as y,aN as I}from"./jwt-decode.esm-CuXC0Nfv.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-DkqDT6ou.js";import"./constants-DQoR2AI3.js";import"./PhCaretDown.vue-B9-ztER3.js";import"./PhPencilSimple.vue-DrYnd4-D.js";import"./router-BoyBqgp3.js";import"./ts.worker-DKUz-B-p.js";import"./organization-Bfx34Ras.js";import"./tables-C4D4EbcR.js";import"./string-B-SW5Weg.js";import"./keyboard-6nFJfznb.js";import"./os-eLAi_XU3.js";import"./projectStore-CVWq3UU0.js";import"./project-CeIai9B8.js";import"./organizationSwitcher-C2vITqvh.js";import"./cascaderStore-Bp9NlIg8.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-DWcdHH62.js";import"./member-Cp_EWmY1.js";import"./index-BuWLl8DE.js";import"./index-SYRJgmu1.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-D8wvqHVH.js";import"./PhNotePencil.vue-DlTz4cUk.js";import"./PhSignOut.vue-B5h2tunI.js";import"./index-D_lhosHB.js";import"./index-DrWTTjLh.js";import"./PhPlus.vue-DGFAyxwW.js";import"./omniChatStore-DtwvXtvj.js";import"./files-BTyF3uXm.js";import"./contracts.generated-szisVHvZ.js";import"./runnerData-CgwAUT-2.js";import"./url-B02kmpoE.js";import"./colorHelpers-atDFvcp0.js";import"./uuid-BAoxuFOS.js";import"./PhCopySimple.vue-FJ4XR_YA.js";import"./PhSparkle.vue-eZGM_Pd5.js";import"./index-BiXcSmHC.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]="6f61c021-1367-4a0f-b736-e24a749c7bd2",r._sentryDebugIdIdentifier="sentry-dbid-6f61c021-1367-4a0f-b736-e24a749c7bd2")}catch{}})();const v={class:"console-layout"},g={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",v,[p(c,{"use-cascader":!0,"cascader-props":m.value,"show-ai-sparkles":s.value},null,8,["cascader-props","show-ai-sparkles"]),y("div",g,[p(e)])])}}}),io=I(w,[["__scopeId","data-v-62f8634d"]]);export{io as default};
//# sourceMappingURL=ConsoleLayout-Cv1bVr6Q.js.map
