import{bl as d,bk as _,m as p,af as t,at as h,ah as c,ai as e,ag as i,d as a,ca as f,cb as m,aG as v}from"./index.71e82531.js";import{Q as g}from"./QPage.cd3262b6.js";import{b as r}from"./route-block.7fdbc26a.js";const k={key:0},x=e("p",null,"Loading data ....",-1),b={key:1},C=e("div",null,"Oops !! Aucune collection n'a \xE9t\xE9 cr\xE9e",-1),Q=e("p",null,"Veuillez v\xE9rifier que votre serveur marche correctement",-1),y={__name:"index",setup(B){var l,n;const o=d(),u=_(),s=p({haveCollections:!0});return(l=o.collections)!=null&&l.length?u.push("/espace/collections/"+((n=o==null?void 0:o.collections[0])==null?void 0:n.slug)):s.haveCollections=!1,(w,z)=>(t(),h(g,{class:"flex flex-center"},{default:c(()=>[e("div",null,[s.haveCollections?(t(),i("div",k,[e("p",null,[a(f,{showing:s.haveCollections},{default:c(()=>[a(m,{size:"50px",color:"primary"}),x]),_:1},8,["showing"])])])):(t(),i("div",b,[e("p",null,[a(v,{size:"lg",name:"mdi-database"})]),C,Q]))])]),_:1}))}};typeof r=="function"&&r(y);export{y as default};
