import{N as c}from"./Navbar-CPaFLjo4.js";import{e as d,U as u,b as a,H as f,Y as l,f as _,g as b,p,k as y,ar as I}from"./jwt-decode.esm-BPi7UGps.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-CL2KJgys.js";import"./LoadingOutlined-DXQ6kgSY.js";import"./constants-BsVzWrXw.js";import"./PhCaretDown.vue-DXQYKpDX.js";import"./PhPencilSimple.vue-Cv8Hxwrw.js";import"./router-fx_h9Pdf.js";import"./ts.worker-DiZKOtzb.js";import"./organization-DoURzs4y.js";import"./tables-D28I09yf.js";import"./string-IVdpZYL8.js";import"./keyboard-pBrr7Noc.js";import"./os-BdunmEPy.js";import"./projectStore-B983CMw6.js";import"./member-DdtKaQMZ.js";import"./project-CgoqD6rU.js";import"./organizationSwitcher-CS_Ixjks.js";import"./cascaderStore-DdthiAZ-.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-l45na0sz.js";import"./index-DV21AmfD.js";import"./index-X5taQPAx.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-CCAT-Z2C.js";import"./PhNotePencil.vue-hXYojnYL.js";import"./PhTranslate.vue-CMqFyAQ_.js";import"./PhSignOut.vue-BFy8d8e0.js";import"./index-CV-Gr7Pq.js";import"./index-CFDEbZ_7.js";import"./PhPlus.vue-DW3W8TZS.js";import"./omniChatStore-DN3AG-hB.js";import"./files-BiI5Sxwx.js";import"./contracts.generated-WqVTaSfA.js";import"./runnerData-CVdM876v.js";import"./url-pqXfY2Q9.js";import"./colorHelpers-2--HXixt.js";import"./uuid-DY-RQD4p.js";import"./PhCopySimple.vue-BtX980gK.js";import"./PhSparkle.vue-fcvOLrAv.js";import"./index-Z0_27hN7.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]="f77a0eed-ff42-4ba8-92fd-aa4cb3d3cff9",r._sentryDebugIdIdentifier="sentry-dbid-f77a0eed-ff42-4ba8-92fd-aa4cb3d3cff9")}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_")?f.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=l("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)])])}}}),no=I(w,[["__scopeId","data-v-62f8634d"]]);export{no as default};
//# sourceMappingURL=ConsoleLayout-ByFu0pZ6.js.map
