import{d as b,a as g,f as s,h as n,x as d,v as l,g as e,F as v,y as F,z as p,o as a,i as h,a4 as k,_ as x}from"./BxiWQxwE.js";import{u as y}from"./D1QcpLk0.js";import"./82sW_ACQ.js";const N={class:"product--badges"},C={key:0,class:"product--badges__badge"},A=["aria-label","onClick"],B=["aria-label"],I=b({__name:"index",setup(P){const{$messages:o}=g(),{getFeatureNames:r,resetProductFilters:i,removeProductFilter:m}=y();return(V,c)=>{var _,u;const f=k;return a(),s("div",N,[n("h4",null,l(e(o)("filters.mySelection")),1),((_=e(r))==null?void 0:_.length)>0?(a(),s("div",C,[(a(!0),s(v,null,F(e(r),t=>(a(),s("div",{key:t.featureId},[n("span",null,l(t.featureName),1),n("button",{type:"button","aria-label":e(o)("filters.eraseAllFilters"),onClick:p(S=>e(m)(t.featureId),["prevent"])},[h(f)],8,A)]))),128))])):d("",!0),((u=e(r))==null?void 0:u.length)>0?(a(),s("button",{key:1,type:"button","aria-label":e(o)("filters.eraseAllFilters"),onClick:c[0]||(c[0]=p((...t)=>e(i)&&e(i)(...t),["prevent"]))},l(e(o)("filters.eraseAllFilters")),9,B)):d("",!0)])}}}),D=x(I,[["__scopeId","data-v-a219781e"]]);export{D as default};
