1import{ch as m,o as n,f as s,cu as i,c as f,cc as p,dE as g,dJ as k,dI as b,ca as y,a as o,dF as h,k as r,cZ as c,cz as L,dK as $,m as C,_ as v}from"./D_3224tG.js";const I=m({__name:"MiniProductCard",props:{title:{},price:{default:""},priceAriaLabel:{default:void 0},productUrl:{},mediaUrl:{},linkComponent:{default:"a"},linkAttribute:{default:"href"},isLazyLoading:{type:Boolean,default:!0},hasSmallFont:{type:Boolean,default:!1},imageMaxWidth:{default:56},tabIndex:{default:0},target:{default:"_self"}},emits:["click:miniProductCard"],setup(t){const a=t,d=C(()=>a.priceAriaLabel?`${a.title}, ${a.priceAriaLabel}`:`${a.title}${a.price?", "+a.price:""}`);return(e,l)=>(n(),s("div",{class:i(e.$style.card)},[(n(),f(p(t.linkComponent),g({ref:"link",class:e.$style.content,[t.linkAttribute||""]:t.productUrl,"aria-label":d.value,tabindex:t.tabIndex,target:t.target,onClick:l[0]||(l[0]=u=>e.$emit("click:miniProductCard")),onKeydown:l[1]||(l[1]=k(b(u=>e.$emit("click:miniProductCard"),["prevent"]),["space"]))}),{default:y(()=>[o(h,{src:t.mediaUrl,alt:t.title,aspectRatio:"1:1",isLazyLoading:t.isLazyLoading,maxWidth:t.imageMaxWidth},null,8,["src","alt","isLazyLoading","maxWidth"]),r("div",{class:i(e.$style.productInfo)},[r("p",{ref:"title",class:i([e.$style.title,{[e.$style.hasSmallFont]:t.hasSmallFont}])},c(t.title),3),t.price?(n(),s("p",{key:0,ref:"price",class:i(e.$style.price)},c(t.price),3)):L("",!0)],2),o($,{class:i(e.$style.chevron),"aria-hidden":"true"},null,8,["class"])]),_:1},16,["class","aria-label","tabindex","target"]))],2))}}),M="360",z="412",B="768",F="1024",S="1200",P="1440",A="1800",w="2500",U="_card_1rt8i_27",W="_content_1rt8i_41",x="_productInfo_1rt8i_65",K="_title_1rt8i_69",N="_hasSmallFont_1rt8i_80",V="_price_1rt8i_88",D="_chevron_1rt8i_97",E={mobile:M,mobileLarge:z,tablet:B,tabletLarge:F,desktop:S,desktopLarge:P,desktopHuge:A,desktopGigantic:w,card:U,content:W,productInfo:x,title:K,hasSmallFont:N,price:V,chevron:D},G={$style:E},R=v(I,[["__cssModules",G]]);export{R as M};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.