import{N as m}from"./Navbar-DbgNcq_y.js";import{e as d,an as u,b as a,l,a9 as f,f as _,g as y,v as p,k as I,aP as b}from"./jwt-decode.esm-CcJLQF7t.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-B4PC-7_C.js";import"./constants-rOn-kt-k.js";import"./PhCaretDown.vue-CmXUGbnz.js";import"./PhPencilSimple.vue-Cb6ezwF8.js";import"./router-CWfdoGjm.js";import"./ts.worker-BRz30wtU.js";import"./organization-xhvh67R7.js";import"./tables-daIasQCA.js";import"./string-C84WbZZV.js";import"./keyboard-EbtWxHTK.js";import"./os-CzSO4K_p.js";import"./projectStore-BnWNtjL-.js";import"./project-D-6HUv1Z.js";import"./organizationSwitcher-CctgUlkQ.js";import"./cascaderStore-Ba-ndA5A.js";import"./folder-CzZ7afoP.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-BSvCqv-k.js";import"./member-ims2avCL.js";import"./index-CCQaypU-.js";import"./index-BXbFLZCZ.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-BLq0LvWw.js";import"./PhNotePencil.vue-BHUvL-G3.js";import"./PhSignOut.vue-C1586fqZ.js";import"./index-eHQW7Ie1.js";import"./index-Bj-GtcLl.js";import"./PhPlus.vue-rDHfRIz1.js";import"./omniChatStore-B4KW6EGH.js";import"./contracts.generated-BOn2La0X.js";import"./runnerData-BH8BB-8q.js";import"./url-Dm-l1SL8.js";import"./colorHelpers-CEpvYiFq.js";import"./uuid-ClTYWVAh.js";import"./PhCopySimple.vue-A3rw8MoP.js";import"./index-BbEJNG8w.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]="95eac24e-e956-49c4-8ff6-15fb1d13cfd0",e._sentryDebugIdIdentifier="sentry-dbid-95eac24e-e956-49c4-8ff6-15fb1d13cfd0")}catch{}})();const v={class:"console-layout"},g={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}),c=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(m,{"use-cascader":!0,"cascader-props":c.value,"show-ai-sparkles":s.value},null,8,["cascader-props","show-ai-sparkles"]),I("div",g,[p(r)])])}}}),so=b(w,[["__scopeId","data-v-62f8634d"]]);export{so as default};
//# sourceMappingURL=ConsoleLayout-B_h6hEOG.js.map
