import{b as c}from"./pageBase-C9DgPPt2.js";import h from"./BrowseBox-D3U6hy9G.js";import{A as B}from"./AppFooter-D9cXY3cz.js";import{u as b}from"./browse-BrSbETJv.js";import{_ as f,c as w,r as a,o,f as r,l,M as v,C as $,F as i,m,h as t,t as g,q as k,i as y,j as S}from"./index-m7Z9H1b_.js";import"./LoadingState-BBqRo_4Z.js";import"./Dropdown-BZjyHqvW.js";const A={name:"Browse",components:{BrowseBox:h,pageBase:c,AppFooter:B},extends:c,setup(){const e={browseStore:b(),userStore:w()};return e.browseStore.updateGroups(),e}},F={key:1,class:"spacingPublicPage"},C={class:"container"},P={class:"row mb-4"},x={class:"col-12"},z={class:"headline--lg"},N={class:"row"},V={class:"col-12"},j={class:"row"};function q(e,D,E,G,I,L){const p=a("pageBase"),d=a("BrowseBox"),_=a("AppFooter");return o(),r("div",null,[e.loading?(o(),l(p,v($({key:0},e.$props)),null,16)):(o(),r("section",F,[(o(!0),r(i,null,m(e.browseStore.groups.filter(s=>s.visible.includes("home")),s=>(o(),r("div",{key:s.id,class:"mb-5"},[t("div",C,[t("div",P,[t("div",x,[t("h1",z,g(e.$t(`titles.${s.label??s.id}`,{$capitalize:!0})),1)])]),t("div",N,[t("div",V,[t("div",j,[(o(!0),r(i,null,m(s.types,(n,u)=>(o(),r("div",{key:u,class:k(`col-12 col-sm-6${s.classes!=null?` ${s.classes}`:""}`)},[y(d,{"box-margin":"mb-3 mb-sm-4",item:n,theme:n.theme},null,8,["item","theme"])],2))),128))])])])])]))),128))])),e.loggedInAccount?S("",!0):(o(),l(_,{key:2}))])}const R=f(A,[["render",q]]);export{R as default};