import{r as B,Y as N,h as V,m as a,j as t,A as w,p as s,F as o,k as l,l as c,t as u,w as _,q as A,_ as F,B as d,i as L}from"./BCLrUOBx.js";import S from"./B3sjvGiU.js";import $ from"./-hq_PDZF.js";import"./CTAcmMAz.js";import"./Bxmfm8sn.js";const C={class:"area home-section"},j={class:"flex sided title"},q={class:"area-content"},z={__name:"BrandsFeatured",props:{type:{type:String,default:"brand"},title:{type:String,default:""},itemList:{type:Array,default(){return[]}}},setup(m){const p=m,n=B([]),{type:D,title:f,itemList:i}=N(p);return V(()=>{let e=[];for(let r in i.value)e.push(i.value[r]),r%2===0?e=[]:n.value.push(e)}),(e,r)=>{const h=F,g=S,y=$;return t(),a("div",C,[s(n)&&s(n).length?(t(),a(o,{key:0},[l("div",j,[l("h4",null,u(e.$t("filter.featured",{title:s(f)})),1),c(h,{class:"link",to:"/brands"},{default:_(()=>[A(u(e.$t("featured.showAll")),1)]),_:1})]),l("div",q,[c(y,{"image-count":s(n).length,gap:15},{content:_(()=>[(t(!0),a(o,null,d(s(n),(k,x)=>(t(),a("li",{key:x,class:"center-text"},[(t(!0),a(o,null,d(k,(b,v)=>(t(),L(g,{key:v,brand:b},null,8,["brand"]))),128))]))),128))]),_:1},8,["image-count"])])],64)):w("",!0)])}}};export{z as default};
