import{N as c}from"./Navbar-CSLMfcQe.js";import{e as d,V as u,b as a,J as l,Z as f,f as _,g as b,x as p,k as y,ar as I}from"./jwt-decode.esm-hjaWXwux.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-Bo9h5yL0.js";import"./LoadingOutlined-OcuhjR7d.js";import"./constants-BjnPUTv3.js";import"./PhCaretDown.vue-4OOLsP6Z.js";import"./PhPencilSimple.vue-CTH_vNSn.js";import"./router-BkUH5xox.js";import"./ts.worker-B-SUuWWu.js";import"./organization-DyX3dwnh.js";import"./tables-DvBVnXSM.js";import"./string-RCvD6M5Y.js";import"./keyboard-DqJYBkFQ.js";import"./os-C2TEfzKI.js";import"./projectStore-DlUOZQGi.js";import"./member-Bi93ZmGi.js";import"./project-Ly3Snrdd.js";import"./organizationSwitcher-DSiUw66t.js";import"./cascaderStore-B37QC21r.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-BvkuLu8P.js";import"./index-NI2O1Ujo.js";import"./index-CI2rMmDi.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-B3KmAKmM.js";import"./PhNotePencil.vue-DdACUisr.js";import"./avatarColor-BWvs8Vrl.js";import"./PhSignOut.vue-Djroadeo.js";import"./index-DOlvr-3y.js";import"./index-BSo54daG.js";import"./PhPlus.vue-CBlkPtpA.js";import"./omniChatStore-DygJyLBG.js";import"./contracts.generated-D8PgrxqP.js";import"./files-BQWv6r1t.js";import"./runnerData-CNJxazV0.js";import"./url-GnsHFl5k.js";import"./colorHelpers-am_R58n2.js";import"./uuid-Do0lHHWb.js";import"./PhCopySimple.vue-DwOg25EE.js";import"./PhSparkle.vue-DKmKYVQE.js";import"./index-BT3PWNHi.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]="0ce519f6-da2b-49dc-a5cb-1caa82a60db3",r._sentryDebugIdIdentifier="sentry-dbid-0ce519f6-da2b-49dc-a5cb-1caa82a60db3")}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)])])}}}),no=I(w,[["__scopeId","data-v-62f8634d"]]);export{no as default};
//# sourceMappingURL=ConsoleLayout-1GPcw9sc.js.map
