import{K as p,m as e,j as o,A as y,F as i,k as a,l as n,t as c,w as m,q as h,_ as x,B as k}from"./BCLrUOBx.js";import _ from"./CHKhfOMq.js";import l from"./-hq_PDZF.js";import{u as L}from"./Bxmfm8sn.js";import w from"./CTAcmMAz.js";const b={name:"Featured",data(){return{}},watch:{},props:{title:{type:String,default:""},itemList:{type:Array,default(){return[]}}},components:{SubCategoryTile:_,ImageSlider:l,ImageLazy:w},computed:{},mixins:[L],methods:{},created(){},mounted(){}},v={class:"area home-section"},B={class:"flex sided title"},N={class:"area-content"};function S(s,V,t,A,C,F){const u=x,d=_,f=l;return o(),e("div",v,[t.itemList&&t.itemList.length?(o(),e(i,{key:0},[a("div",B,[a("h4",null,c(s.$t("filter.featured",{title:t.title})),1),n(u,{class:"link",to:"/categories"},{default:m(()=>[h(c(s.$t("featured.showAll")),1)]),_:1})]),a("div",N,[n(f,{"image-count":t.itemList.length,"per-view":9,gap:15,responsive:[7,5,4,3,2]},{content:m(()=>[(o(!0),e(i,null,k(t.itemList,(r,g)=>(o(),e("li",{key:g,class:"center-text"},[n(d,{category:r.category,"sub-category":r},null,8,["category","sub-category"])]))),128))]),_:1},8,["image-count"])])],64)):y("",!0)])}const z=p(b,[["render",S]]);export{z as default};
