import n from"./Dyp1qGEf.js";import{r as a,i as l,j as s,w as c,k as r,v as d}from"./BCLrUOBx.js";import"./CTAcmMAz.js";import"./B2sEaWda.js";import"./a5umXhxZ.js";import"./Bxmfm8sn.js";import"./BnLnKt_p.js";import"./Di7fl9dA.js";import"./Ce8lFovl.js";const u=["title"],j={__name:"ComparedTile",props:{product:{type:Object,default(){return null}}},setup(i){const o=a(null),p=()=>{o.value.addToCompare()};return(t,e)=>{const m=n;return s(),l(m,{ref_key:"tileRef",ref:o,product:i.product,onRemoved:e[0]||(e[0]=f=>t.$emit("removed"))},{"floating-btn":c(()=>[r("button",{class:"compare-btn","aria-label":"compare",title:t.$t("product.removeCompare"),onClick:d(p,["prevent"])},e[1]||(e[1]=[r("i",{class:"icon close-icon"},null,-1)]),8,u)]),_:1},8,["product"])}}};export{j as default};
