import{N as c}from"./Navbar-BLjM8yOI.js";import{e as d,aj as u,b as a,l,a2 as _,f,g as b,q as p,k as y,aM as I}from"./jwt-decode.esm-HKAtq3xx.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-DkqRpa7e.js";import"./LoadingOutlined-loT38hcJ.js";import"./constants-Dim_lD-0.js";import"./PhCaretDown.vue-CzSjtX2M.js";import"./PhPencilSimple.vue-Da8P3Gdb.js";import"./router-IAkepE30.js";import"./ts.worker-C-nWA_ZV.js";import"./organization--5WmH5AU.js";import"./tables-CmLfHacn.js";import"./string-D-yMGSrt.js";import"./keyboard-iGr62hTE.js";import"./os-DMnYhbd2.js";import"./projectStore-D9Z5j7Wc.js";import"./project-DSNP_jC2.js";import"./organizationSwitcher-CVV56phO.js";import"./cascaderStore-DaqWTcn0.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-CWqDyLde.js";import"./member-CiOPpMgY.js";import"./index-zz36dB76.js";import"./index-CetFxsqS.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-4aPyWIcI.js";import"./PhNotePencil.vue-oH48xUyg.js";import"./PhSignOut.vue-jPqcwNMg.js";import"./index-DAjEgYwA.js";import"./index-UO8g-0U3.js";import"./PhPlus.vue-CRgR265R.js";import"./omniChatStore-BWmNaFYg.js";import"./files-D4EjByzZ.js";import"./contracts.generated-CxPl2vcv.js";import"./runnerData-DlmVPjlv.js";import"./url-D5ta1l2f.js";import"./colorHelpers-DhnjPDm5.js";import"./uuid-BG9vQYdj.js";import"./PhCopySimple.vue-bzG3sW-A.js";import"./PhSparkle.vue-DDD5OwIe.js";import"./index-5Ob4nvrW.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]="8724e216-2287-4dc4-bd9b-9abed0e0189e",e._sentryDebugIdIdentifier="sentry-dbid-8724e216-2287-4dc4-bd9b-9abed0e0189e")}catch{}})();const g={class:"console-layout"},v={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=_("RouterView");return b(),f("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(r)])])}}}),po=I(w,[["__scopeId","data-v-62f8634d"]]);export{po as default};
//# sourceMappingURL=ConsoleLayout-DWdvCkSM.js.map
