import{Et as e,Ft as t,Lt as n,St as r,Vt as i,an as a,bt as o,st as s}from"./design-system-components-BwTjgxr6.mjs";import{mt as c}from"./composables-BWRDVzKT.mjs";import"./src-D0Eb6RrM.mjs";import{t as l}from"./piniaStores-GOtJi_95.mjs";var u=e({name:`LayoutContainer`,components:{AppLoadingSpinner:c},setup(){let e=l(),n=a(!0),r=e.loadApps();return t(async()=>{try{await r}catch(e){console.error(e)}finally{n.value=!1}}),{areAppsLoading:n}}}),d={id:`app-store`,class:`p-4 overflow-auto`};function f(e,t,a,s,c,l){let u=i(`app-loading-spinner`),f=i(`router-view`);return n(),r(`main`,d,[e.areAppsLoading?(n(),o(u,{key:0})):(n(),o(f,{key:1,"data-testid":`app-store-router-view`}))])}var p=s(u,[[`render`,f]]);export{p as default};