import{_ as u,r as s,s as h,o,f as i,i as n,w as a,h as t,t as c,j as r,T as x,x as b,q as v}from"./index-m7Z9H1b_.js";const f={name:"BrowseBox",props:{item:{type:Object,required:!0},boxMargin:{type:String,default:""},theme:{type:String,default:"black"}}},g={class:"browseBox__icon flex-shrink-0"},B={class:"browseBox__title"},w={class:"headline--sm text-truncate"},k={key:0,id:"counter",class:"byline--sm mb-0 mt-sm-1"},y={key:0,class:"browseBox__image"},z={class:"bgWrapper",role:"img"};function C(l,D,e,M,N,S){const m=s("icon"),_=s("RouterLinkI18n"),d=h("lazy");return o(),i("div",{class:v(["browseBox",{[e.boxMargin]:e.boxMargin!=="",[e.theme]:e.theme!==""}])},[n(_,{to:`/browse/${e.item.to??e.item.id}`},{default:a(()=>[t("div",g,[n(m,{icon:e.item.icon},null,8,["icon"])]),t("div",B,[t("h3",w,c(l.$t(`nav.${e.item.id}`,{$capitalize:!0})),1),e.item.count!=null?(o(),i("p",k,c(e.item.count),1)):r("",!0)]),e.item.cover?(o(),i("div",y,[n(x,{name:"image",appear:"",mode:"out-in"},{default:a(()=>[b(t("div",z,null,512),[[d,e.item.cover,"background-image"]])]),_:1})])):r("",!0)]),_:1},8,["to"])],2)}const j=u(f,[["render",C]]);export{j as default};