PageSourceSearch

https://www.lundsandbyerlys.com/static/js/Legacy_ProductCard.932340b6.chunk.js

js lundsandbyerlys.com collected 2026-09-24 10:25:14 UTC 21,872 bytes, 237 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[8023],{25096:(e,t,o)=>{o.d(t,{Z:()=>y});var i=o(85893),r=o(67294),a=o(8091),n=o(51667),s=o(29163),d=o(73342),l=o(15158),c=o(26189),p=o(91286),g=o(86706),m=o(15009);let h=e=>{let{promotions:t,pointsBasedPromotions:o,sku:n}=e,s=r.useMemo(()=>!!t?.some(e=>e.loyaltyBased)||!!o?.some(e=>e.loyaltyBased),[t,o]);return(0,l.Z)(()=>s?(0,i.jsx)(a.SH,{"data-testid":`${c.ZK}-${n??""}`,name:"TargetedReward"}):null,{componentName:"Loyalty Based Promo Icon"})},u=(0,g.$j)(e=>({enableTargetedRewardsIcon:e.settings.sharedSettings.general.enableTargetedRewardsIcon}))(e=>{let{promotions:t,pointsBasedPromotions:o,enableTargetedRewardsIcon:r,sku:a,location:n}=e;return r&&"productCard"!==n?(0,i.jsx)(h,{promotions:t,pointsBasedPromotions:o,sku:a}):null}),x=(0,g.$j)((e,t)=>({recommended:(0,m.O1)(e,t.sku??"",t?.promotions,t?.pointsBasedPromotions),promoTypeToDisplay:(0,m.Mf)(e)})),y=(0,s.Zz)(x(e=>{let{images:t}=r.useContext(d.q),{marginBottom:o,pointsBasedPromotions:s,promotions:g,singleLine:m,theme:h,tprLabel:x,location:y,recommended:f,promoTypeToDisplay:b,sku:C}=e,P="productCard"===y||!f,$=f&&(x||!!g&&g.length>0||!!s&&s.length>0),w=()=>(0,l.Z)(()=>x?(0,i.jsx)(a.Ee,{"data-testid":(0,c._N)(x),children:(0,i.jsx)(n.Ct,{text:x,singleLine:m,backgroundColor:h.promoBadges.backgroundColor.promotion,color:h.promoBadges.color.promotion,fontWeight:h.promoBadges.fontWeight,"data-testid":c.Og},x)}):null,{componentName:"TprBadge"}),Z=()=>(0,l.Z)(()=>g?.length?(0,i.jsx)(r.Fragment,{children:g.map((e,t)=>e[b]?(0,i.jsx)(a.Ee,{"data-testid":(0,c._N)(e.id),children:(0,i.jsx)(n.Ct,{text:e[b],singleLine:m,backgroundColor:h.promoBadges.backgroundColor.promotion,color:h.promoBadges.color.promotion,fontWeight:h.promoBadges.fontWeight,"data-testid":c.Og})},`${e.id}-${e[b]}-${t}`):(0,i.jsx)(r.Fragment,{},`${e.id}-${t}`))}):null,{componentName:"PromoBadges"}),_=()=>(0,l.Z)(()=>s?.length?(0,i.jsx)(r.Fragment,{children:s.map(e=>e[b]?(0,i.jsx)(a.Ee,{"data-testid":(0,c._N)(e.id),children:(0,i.jsx)(n.Ct,{color:h.promoBadges.color.pointsBasedPromo,text:e[b],hasRewardsLogo:!!t.rewards,rewardsLogoUrl:t.rewards,singleLine:m,backgroundColor:h.promoBadges.backgroundColor.pointsBasedPromo,fontWeight:h.promoBadges.fontWeight,"data-testid":c.Og})},`${e.id}-${C}`):(0,i.jsx)(r.Fragment,{},e.id))}):null,{componentName:"PromoBadges"}),j="cartReviewItem"===y||"recipeLineItem"===y;return(0,l.Z)(()=>(0,i.jsxs)(a.Pl,{children:[(0,i.jsx)(u,{promotions:g,pointsBasedPromotions:s,sku:C,location:y}),(0,i.jsxs)(a.lF,{noAdditionalStyles:P,children:[(0,i.jsxs)(a.xW,{marginBottom:o,marginRight:$,"data-testid":c.nz,row:j,children:[(0,i.jsx)(w,{}),(0,i.jsx)(Z,{}),(0,i.jsx)(_,{})]}),f&&(0,i.jsx)(a.zW,{noAdditionalStyles:P,"data-testid":c.Uy,children:(0,i.jsx)(p.Z,{recommended:f})})]})]}),{componentName:"Product Card Promotions"})}))},429:(e,t,o)=>{o.r(t),o.d(t,{default:()=>eu});var i=o(85893),r=o(67294),a=o(29163),n=o(34182),s=o(1849),d=o(29039),l=o(55977),c=o(67979),p=o(38326),g=o(95947),m=o(12083),h=o(56722);let u=a.ZP.article.withConfig({displayName:"ProductCardWrapper",componentId:"-__sc-1e12cb7a-0"})(({smallAlt:e,productGrid:t,theme:o,isCarouselRedesignOn:i})=>`
2  position: relative;
3  display: grid;
4  grid-template-columns: 80px 1fr 1fr;
5  grid-gap: ${l.W0.xs};
6  padding: ${l.W0.xs};
7  height: 100%;
8  background-color: ${o.colors.uiColors.greyscale1};
9
10  ${(0,c.Z)("md",{noUpper:!0})} {
11    display: flex;
12    flex-direction: column;
13    justify-content: flex-end;
14    box-shadow: none;
15    ${t?`
16      border-right: 1px solid ${o.colors.uiColors.greyscale2};
17    `:""}
18  }
19
20  ${e&&`
21    grid-template-rows: auto;
22    box-shadow: ${i?"none":`${d.q.large}`};
23    ${(0,c.Z)("sm")} {
24      margin: ${i?"0 auto":`${l.W0.xs} auto`};
25      width: ${i?"100%":`calc(100% - ${l.W0.sm})`};
26      height: 100%;
27    }
28  `}
29`),x=a.ZP.div.withConfig({displayName:"ProductAQABrand",componentId:"-__sc-1e12cb7a-1"})(["",""],d.jy),y=a.ZP.div.withConfig({displayName:"AriaProductTitle",componentId:"-__sc-1e12cb7a-2"})(["",""],d.jy),f=a.ZP.p.withConfig({displayName:"AriaProductTitleParagraph",componentId:"-__sc-1e12cb7a-3"})([""]),b=a.ZP.div.withConfig({displayName:"ProductCardBadges",componentId:"-__sc-1e12cb7a-4"})(["position:absolute;
29left:",";top:210px;z-index:",";display:flex;flex-direction:column;align-items:start;height:",";justify-content:flex-end;max-width:calc(100% - 25px);","{position:relative;top:0;left:0;grid-row:3/4;height:auto;grid-column:2/4;max-width:100%;}"],l.W0.xs,s.CJ,l.W0.lgr,(0,c.Z)("sm")),C=a.ZP.span.withConfig({displayName:"ProductCardSponsored",componentId:"-__sc-1e12cb7a-5"})(({theme:e})=>`
30  grid-row: 3/4;
31  display: block;
32  height: ${l.W0.sm};
33  line-height: ${e.typography.text.fontXS.lineHeight};
34  color: ${e.colors.uiColors.greyscale4};
35  font-size: ${e.typography.text.fontXS.fontSize};
36
37  ${(0,c.Z)("sm")} {
38    grid-column: 1/2;
39    grid-row: 1/2;
40    align-self: center;
41    max-width: 96px;
42    margin-right: ${l.W0.xs};
43  }  
44`),P=(0,n.K)(a.ZP.h3.withConfig({displayName:"DivKeyboardHandled",componentId:"-__sc-1e12cb7a-6"})(({theme:e})=>`
45  font-size: ${e.typography.text.fontSM.fontSize};
46  font-weight: inherit;
47  margin: 0;
48`)),$=a.ZP.span.withConfig({displayName:"AriaDescription",componentId:"-__sc-1e12cb7a-7"})(["",""],d.jy),w=a.ZP.div.withConfig({displayName:"ProductCardTitleWrapper",componentId:"-__sc-1e12cb7a-8"})(()=>`
49  grid-row: 4/5;
50  ${(0,c.Z)("sm")} {
51    grid-row: 2/3;
52    grid-column: 2/5;
53  }
54
55 `),Z=a.ZP.div.withConfig({displayName:"ProductCardLabelsWrapper",componentId:"-__sc-1e12cb7a-9"})(()=>`
56    display: flex;
57    flex-wrap: wrap;
58    gap: ${l.W0.vxs};
59    width: calc(100% - ${l.W0.lg});
60    ${(0,c.Z)("md",{noUpper:!0})} {
61      width: 100%;
62    }
63  `),_=(0,a.ZP)(h.Z).withConfig({displayName:"ProductCardShoppingLabels",componentId:"-__sc-1e12cb7a-10"})(()=>`
64    width: fit-content;
65  `),j=a.ZP.span.withConfig({displayName:"ProductCardTitle",componentId:"-__sc-1e12cb7a-11"})(({theme:e,limitTitleHeight:t,productTitleLimitedHeight:o})=>`
66  display: block;
67  height: ${t?`${o?`${o}px`:l.W0.lgr}`:"auto"};
68  color: ${e.colors.uiColors.greyscale5};
69  overflow: hidden;
70  line-height: 1.2rem;
71  font-size: ${e.typography.text.fontSM.fontSize};
72  cursor: pointer;
73  margin-bottom: auto;
74
75  &:hover{
76    color: ${e.colors.brandColors.primary1};
77  }
78
79  ${(0,c.Z)("sm")} {
80    padding-right: ${l.W0.lg};
81    margin-bottom: 0;
82    ${t&&`
83      height: fit-content;
84      max-height: 60px;
85    `};
86  }
87`),I=(0,a.ZP)(p.Z).withConfig({displayName:"ProductCardCouponsButton",componentId:"-__sc-1e12cb7a-13"})(["","{grid-row:5/6;grid-column:1/5;}"],(0,c.Z)("sm")),N=a.ZP.div.withConfig({displayName:"ProductCardQuantity",componentId:"-__sc-1e12cb7a-14"})(({smallAlt:e,hasPromo:t})=>`
88  grid-row: 8/9;
89
90  ${(0,c.Z)("sm")} {
91    ${t?"grid-row: 4/5":"grid-row: 3/4"};
92    grid-column: 4/5;
93    width: calc(${l.W0.xs} + 126px);
94
95    ${e&&`
96      grid-row: auto;
97      margin-top: auto;
98      grid-column: 1/6;
99      width: 100%;
100    `}
101  }
102`),v=a.ZP.div.withConfig({displayName:"ProductCardViewDeal",componentId:"-__sc-1e12cb7a-15"})(({theme:e})=>`
103    width: 100%;
104    text-align: center;
105    font-size: ${e.typography.text.fontXS.fontSize};
106    grid-row: 8/9;
107    grid-column: 1/5;
108
109    ${(0,c.Z)("md",{noUpper:!0})} {
110      grid-row: 9/10;
111      height: ${l.W0.sm};
112    }
113  `),W=a.ZP.div.withConfig({displayName:"ProductCardAttributeBadges",componentId:"-__sc-1e12cb7a-16"})(({smallAlt:e})=>`
114  ${(0,c.Z)("sm")} {
115      position: relative;
116      grid-column: 1/2;
117      grid-row: 2/4;
118      pointer-events: none;
119      ${e&&"grid-row: 2/5;"}
120    }    
121`),S=(0,a.ZP)(g.Z).withConfig({displayName:"ProductAttributeBadges",componentId:"-__sc-1e12cb7a-17"})(({small:e})=>`
122    ${(0,c.Z)("sm")} {
123      ${e?`
124          position: absolute;
125          bottom: calc(-${l.W0.xxss} + -${l.W0.xxxs});
126          left: 0;
127          margin-top: 0;
128      `:""}
129    }
130  `),k=a.ZP.a.withConfig({displayName:"ProductCardHiddenLink",componentId:"-__sc-1e12cb7a-18"})(["display:none;"]),L=(0,a.ZP)(m.Z).withConfig({displayName:"ProductCardMembersPrice",componentId:"-__sc-1e12cb7a-19"})(["","{grid-column:2/4;}"],(0,c.Z)("sm"));var T=o(86706),B=o(60387);let z=e=>{try{let t=`/promotion/${encodeURIComponent(e.promotionId)}`;return(0,B.Z)(e.shoppingMode,e.rsid,t)}catch{return""}};var A=o(73342),D=o(39812),H=o(96851),U=o(87537),M=o(17357),F=o(15158),O=o(52042),R=o(51934),X=o(28330),q=o(11404),E=o(61400);let K=e=>{let{t}=r.useContext(A.q);return(0,F.Z)(()=>(0,i.jsxs)(w,{children:[(0,i.jsx)(Z,{children:(0,i.jsx)(_,{product:e.product,location:"productCard",type:"label"})}),(0,i.jsx)(j,{limitTitleHeight:e.limitTitleHeight,productTitleLimitedHeight:e.productTitleLimitedHeight,children:(0,i.jsxs)(P,{"data-testid":`${e.sku}-${E.S}`,role:"button",tabIndex:!1===e.tabbable?-1:0,onClick:e.handleClick,"aria-describedby":`productCardTitle_openProductDesc__${e.sku}`,children:[t("productTitleConfiguration",(0,q.Z)(e.product)),(0,i.jsx)($,{id:`productCardTitle_openProductDesc__${e.sku}
130`,tabIndex:-1,children:"Open product description"})]})})]}),{componentName:"Product Card Title",fallBack:()=>"Product Title"})};var V=o(51667);let J=(0,a.ZP)(V.rU).withConfig({displayName:"ProductCartViewDeal",componentId:"-__sc-898c41b8-0"})(({theme:e})=>`  
131    display: flex;
132    justify-content: center;
133    align-items-center;
134    height: ${l.W0.sm};
135    min-height: ${l.W0.sm};
136    margin-right: ${l.W0.xs};
137    font-size: ${e.typography.text.fontXS.fontSize};  
138    font-weight: ${e.typography.weights.bold};    
139  `),Q=(0,a.ZP)(V.pA).withConfig({displayName:"ViewDealIcon",componentId:"-__sc-898c41b8-1"})(({theme:e})=>`
140    fill: ${e.colors.brandColors.primary1};
141    margin-right: ${l.W0.xxs};
142  `),G=e=>{let{t}=r.useContext(A.q),{className:o,promotionUrl:a}=e;return(0,i.jsxs)(J,{"data-testid":e["data-testid"],className:o,href:a,tabIndex:!1===e.tabbable?-1:void 0,children:[(0,i.jsx)(Q,{name:"PromoOutline"}),t("productCard.viewDeal")]})};var Y=o(25096),ee=o(76286),et=o(35234),eo=o(49786),ei=o(10449),er=o(1563),ea=o(29527),en=o(15009),es=o(75230),ed=o(43029),el=o(78330),ec=o(2567),ep=o(18052),eg=o(32170),em=o(37593);let eh={googleAnalytics:D.oR,sendAdClick:eo.yB,prepareAdImpression:eo.ml,showPdpModal:D.AI},eu=(0,T.$j)((e,t)=>({isFavorite:e.favorites.skus.includes(t.sku),shoppingMode:e.shoppingModes.selectedShoppingMode.displayName,rsid:e.stores.activeStoreDetails.retailerStoreId,siteUrl:e.app.siteUrl,limitTitleHeightConfig:e.settings.retailer.limitProductCardTitleHeight,productTitleLimitedHeight:e.settings.retailer.productCardTitleHeight,disableTprPrice:e.settings.retailer.disableTprPrice,isOnPromotionsPage:e.cms.documentReferenceName===er.j.promotionDetails,recommended:(0,en.O1)(e,t.sku||"",t.product?.promotions,t.product?.pointsBasedPromotions),isCouponsStore:!!e.coupons.couponsProvider,isInitialCouponsLoaded:e.coupons.initialSkusLoaded,isClientRenderedCoupons:e.settings.siteSettings.temp.clientRenderedCoupons,showWasUnitPrice:(0,ec.Z)(e,t.product,!0)}),eh)(e=>{let{t}=r.useContext(A.q),{adjustAddToCartForMobile:o,className:a,disableTprPrice:n,index:s,isFavorite:d,limitTitleHeightConfig:l,parentName:c,product:p,productGrid:g,productTitleLimitedHeight:m,rsid:h,shoppingMode:P,siteUrl:$,smallAlt:w,location:Z,tabbable:_,showWasUnitPrice:j}=e,{attributes:T,brand:B,description:D,image:E,isPastPurchased:V,isSponsored:J,name:Q,pointsBasedPromotions:eo,price:er,priceLabel:en,promotions:ec,sellBy:eh,sku:eu,unitOfSize:ex,unitPrice:ey,wasUnitPrice:ef,wasPrice:eb,isConfigurable:eC,shoppingRuleMessages:eP,pricePerUnit:e$,subtotalWithLoyalty:ew,subtotalWithoutLoyalty:eZ,unitPriceWithLoyalty:e_,unitPriceWithoutLoyalty:ej,hasLoyaltyDiscount:eI}=e.product,eN=(0,em.c)("loyalty-members-price"),ev=eI&&eN&&!!ew&&!!eZ,eW=!!Z.includes("carousel")||l,eS=ec&&ec.length>0,ek=(0,ea.s)(p),eL=()=>{p.adId&&p.isSponsored&&e.sendAdClick(p.adId),e.googleAnalytics({lineItems:[p],gaType:U.c7,listType:c,productPosition:s}),(0,eg.n)(Z,p.trackingUrl)},eT=()=>{e.googleAnalytics({lineItems:[p],gaType:U.ox,listType:c,productPosition:s}),e.showPdpModal(eu,p.name,t("modals.productDetails.title"),!eC)},eB=`${$}${(0,es.zz)({shoppingMode:P,rsid:h,productName:Q,sku:eu})}`,ez=(0,H.l)(ev?eZ:er,eb)||(0,H.A)(p),eA=!!en&&ez,eD=(ec?ec.length:0)+(eo?eo.length:0)+ +!!eA,eH=(0,ee.Z)(n,p,!0),eU=eH?t((0,ep.Z)(e.product.promotions),{wasPrice:eH}):null,eM=ef?t((0,ep.Z)(e.product.promotions),{wasPrice:ef}):null,eF=r.useRef(null),eO=!!p.adId&&p.isSponsored;(0,ei.r)(eF,()=>e.prepareAdImpression(p.adId||""),{threshold:.5},eO);let eR=(0,ed.m)(e.product);return(0,F.Z)(()=>(0,i.jsxs)(u,{onClick:eL,smallAlt:w,productGrid:g,className:a,"data-testid":`${et.XB}-${eu}`,"aria-labelledby":`productCard_title__${eu}`,ref:eF,children:[(0,i.jsxs)(y,{id:`productCard_title__${eu}`,children:[(0,i.jsxs)(f,{"aria-hidden":!0,children:[t("productTitleConfiguration",(0,q.Z)(p)),", ",ev?p.subtotalWithoutLoyalty:er]}),(0,i.jsx)(f,{"aria-hidden":!0,children:D})]}),(0,i.jsx)(x,{"aria-hidden":!0,"data-testid":et.Mg,children:p.brand}),(0,i.jsx)(k,{href:eB}),(0,i.jsx)(O.Z,{isPastPurchased:V,isFavorite:d,name:Q,product:p,sku:eu,tabbable:_}),(0,i.jsx)(R.Z,{altText:t("productTitleConfiguration",(0,q.Z)(p)),handleClick:eT,imageUrl:E,sku:eu,smallAlt:w,tabbable:_}),(ek||!!eA||e.recommended)&&(0,i.jsx)(b,{children:(0,i.jsx)(Y.Z,{pointsBasedPromotions:eo,tprLabel:eA?en:"",promotions:ec,singleLine:!0,location:"productCard",sku:eu})}),(0,i.jsx)(W,{smallAlt:w,children:(0,i.jsx)(S,{attributes:T,small:!0,location:"productCard",sku:eu})}
142),J&&(0,i.jsx)(C,{"aria-label":t("productCard.sponsored"),children:t("productCard.sponsored")}),(0,i.jsx)(K,{product:p,brand:B,name:Q,unitOfSize:ex,sku:eu,handleClick:eT,attributes:T,shoppingRuleMessages:eP,limitTitleHeight:eW,productTitleLimitedHeight:m,tabbable:_}),(0,i.jsx)(X.Z,{disableTprPrice:n,hasPromo:ek||!1,hasPriceLabel:eA,price:er,wasPrice:eU,unitPrice:ey||e$||"",wasUnitPrice:eM,showWasUnitPrice:j,sellBy:eh,isDiscounted:ez,attributes:T,taxDetailsInfo:eR,subtotalWithoutLoyalty:eZ,unitPriceWithoutLoyalty:ej,showMembersPrice:ev}),ev&&(0,i.jsx)(L,{loyaltyPrice:ew,unitPriceWithLoyalty:e_}),(0,i.jsx)(I,{sku:e.sku,adjustForTouch:o,usePlaceholder:e.isClientRenderedCoupons,tabbable:_}),(0,i.jsx)(N,{smallAlt:w,hasPromo:ek||!!eA,promotionBadgesCount:eD,onClick:e=>e&&e.stopPropagation(),children:p.isConfigurable?(0,i.jsx)(el.Z,{fullWidth:!0,product:p,tabbable:_,analyticsLocation:c,adjustForTouch:o,location:Z}):(0,i.jsx)(M.Z,{fullWidth:!0,product:p,index:s,tabbable:_,analyticsLocation:c,adjustForTouch:o,location:Z})}),(0,i.jsx)(v,{children:ek&&!e.isOnPromotionsPage&&(0,i.jsx)(G,{"data-testid":`${et.Y}-${eu}`,promotionUrl:eS?`${$}${z({promotionId:ec[0].id,rsid:h,shoppingMode:P})}`:eo&&eo.length>0?`${$}${z({promotionId:eo[0].id,rsid:h,shoppingMode:P})}`:"",tabbable:_})})]}),{componentName:"ProductCard",placeholder:{width:"100%",height:"100%",color:"lightgrey"}})})},52042:(e,t,o)=>{o.d(t,{Z:()=>m});var i=o(85893);o(67294);var r=o(29163),a=o(51667),n=o(55977),s=o(35892),d=o(67979);let l=r.ZP.header.withConfig({displayName:"ProductCardHeader",componentId:"-__sc-26f4db7e-0"})(({theme:e})=>`
143    position: relative;
144    grid-row: 1/2;    
145    display: flex;
146    align-items: center;
147    justify-content: space-between;
148    color: ${e.colors.uiColors.greyscale4};
149    line-height: ${e.typography.text.fontMD.lineHeight};
150
151    ${(0,d.Z)("sm")} {
152      grid-column: 2/5;
153      grid-row: 1/2;
154      font-size: ${e.typography.text.fontXS.fontSize};
155      padding-right: ${n.W0.sm};
156    }
157  `),c=(0,r.ZP)(s.Z).withConfig({displayName:"ProductCardFavorite",componentId:"-__sc-26f4db7e-1"})(["justify-self:flex-end;"]),p=(0,r.ZP)(a.Ct).withConfig({displayName:"ProductCardPreviousPurchase",componentId:"-__sc-26f4db7e-2"})(({theme:e})=>`
158    font-size: ${e.typography.text.fontXS.fontSize};
159    font-weight: ${e.typography.weights.bold};
160    padding-right: ${n.W0.xs};
161  `);var g=o(15158);let m=(0,r.Zz)(e=>{let{isPastPurchased:t,isFavorite:o,sku:r,theme:a,name:n}=e;return(0,g.Z)(()=>(0,i.jsxs)(l,{className:e.className,children:[t?(0,i.jsx)(p,{backgroundColor:a?.productPage?.previouslyPurchased?.bgColor,color:a?.productPage?.previouslyPurchased?.color,singleLine:!0,text:"Previously Purchased"}):(0,i.jsx)("span",{}),(0,i.jsx)(c,{isFavorite:o,listName:"product-listing",name:n,product:e.product,sku:r,tabbable:e.tabbable})]}),{componentName:"Product Card Header"})})},51934:(e,t,o)=>{o.d(t,{Z:()=>u});var i=o(85893),r=o(67294),a=o(29163),n=o(67979),s=o(51667),d=o(55977);let l="200px",c="80px",p=a.ZP.div.withConfig({displayName:"ProductCardImageWrapper",componentId:"-__sc-b2014e8-0"})(["",""],({smallAltStyle:e})=>`
162      align-items: center; 
163      grid-row: 2/3;
164  
165      ${(0,n.Z)("md",{noUpper:!0})} {
166        height: ${l};  
167        margin-bottom: ${d.W0.xs};
168      }
169  
170      ${(0,n.Z)("sm")} {
171        grid-column: 1/2;
172        grid-row: 2/4;
173        margin-right: ${d.W0.xs};
174        max-width: 96px;
175        min-height: 0;  
176  
177        ${e&&"grid-row: 2/5;"}
178      }    
179  `),g=(0,a.ZP)(s.Ee).withConfig({displayName:"ProductCardImage",componentId:"-__sc-b2014e8-1"})(["background:none;border:1px solid transparent;cursor:pointer;margin:0 auto;max-height:",";max-width:",";","{align-items:center;display:flex;}","{flex-direction:row;height:",";margin-right:0px;margin:0;max-height:",";max-width:",";padding:0;width:",";}"],l,l,(0,n.Z)("md",{noUpper:!0}),(0,n.Z)("sm"),c,c,c,c);var m=o(73342),h=o(15158);let u=e=>{let{images:t}=r.useContext(m.q),{altText:o,smallAlt:a,handleClick:n,imageUrl:s,sku:d}=e;return(0,h.Z)(()=>(0,i.jsx)(p,{smallAltStyle:a,className:e.className,children:(0,i.jsx)("div",{"data-testid":`productCardImage_${d}-testId`,onClick:n,onKeyPress:n,role:"button",tabIndex:!1===e.tabbable?-1:0,children:(0,i.jsx)(g,{alt:o,fallbackSrc:t.missingImg.square,height:"100%",objectFit:"contain",src:s.cell,width:"100%",useFallbackImg:!0})})}),{componentName:"Product Card Image",placeholder:{color:"grey",height:"200px"}})}},26140:(e,t,o)=>{o.d(t,{Z:()=>c});var i=o(85893),r=o(67294);let a=o(29163).ZP.div.withConfig({displayName:"PriceLoyaltyLabel",componentId:"-__sc-7a45bc3-0"})(({theme:e})=>`
180    color: ${e.colors.uiColors.greyscale5};
181    font-size: ${e.typography.text.fontXS.fontSize};
182  `);var n=o(15158),s=o(73342),d=o(86706),l=o(35234);let c=(0,d.$j)(e=>({priceLoyaltyFlag:e.settings.layout.productDetails.priceLoyaltyFlag}))(e=>{let{t}=r.useContext(s.q),o=t("productCard.priceLoyaltyLabel");return(0,n.Z)(()=>e.priceLoyaltyFlag&&o&&e.hasPromo?(0,i.jsx)(a,{className:e.className,"data-testid":l.dJ,children:o}):null,{componentName:"ProductCardPriceLoyalty"})})},28330:(e,t,o)=>{o.d(t,{Z:()=>C});var i=o(85893),r=o(67294),a=o(29163),n=o(67979),s=o(55977);let d=a.ZP.div.withConfig({displayName:"ProductCardBasedOnWeightText",componentId:"-__sc-a974ab82-0"})(({theme:e,hasPromo:t})=>`
183      font-size: ${e.typography.text.fontXS.fontSize};
184      color: ${e.colors.uiColors.greyscale4};
185      grid-row: 5/6;
186      width: fit-content;
187
188      ${(0,n.Z)("sm")} {
189        ${!t&&"grid-row: 4/4"};
190        grid-column: 2/5;
191        padding-right: ${s.W0.lg};
192        margin-bottom: 0;
193      }
194    `),l=a.ZP.div.withConfig({displayName:"ProductCardPricing",componentId:"-__sc-a974ab82-1"})(({theme:e,smallAlt:t,hasPromo:o})=>`
195    color: ${e.colors.uiColors.greyscale5};
196    display: flex;
197    flex: 1;
198    gap: ${s.W0.xs};
199    grid-row: 6/7;
200    min-height: ${s.W0.xl};
201    justify-content: space-between;
202  
203    ${(0,n.Z)("sm")} {
204      ${o?"grid-row: 4/5":"grid-row: 3/4"};
205      height: auto;
206      align-self: center;
207      flex-direction: column;
208      grid-column: 2/4;
209  
210      ${t&&`
211        display: flex;
212        flex-direction: row;
213        justify-content: space-between;`}
214    }
215  `),c=a.ZP.div.withConfig({displayName:"WasPrice",componentId:"-__sc-a974ab82-2"})(["",""],({theme:e})=>`
216  line-height: ${e.typography.text.fontSM.lineHeight};
217  font-size: ${e.typography.text.fontSM.fontSize};
218  color: ${e.colors.uiColors.greyscale5};
219  `),p=a.ZP.div.withConfig({displayName:"WasUnitPrice",componentId:"-__sc-a974ab82-3"})(({theme:e})=>`
220    line-height: ${e.typography.text.fontXS.lineHeight};
221    font-size: ${e.typography.text.fontXS.fontSize};
222    color: ${e.colors.uiColors.greyscale4};
223    text-wrap: nowrap;   `),g=a.ZP.span.withConfig({displayName:"ProductCardPrice",componentId:"-__sc-a974ab82-4"})(({theme:e,reducedPrice:t})=>`
224  font-weight: ${e.typography.weights.bold};
225  font-size: ${e.typography.text.fontMD.fontSize};
226  padding-right: ${s.W0.xs};
227  flex-wrap: wrap;
228
229  ${t&&`
230      color: ${e.productPage.priceReductionColor};
231    `}
232`),m=a.ZP.span.withConfig({displayName:"ProductCardPriceInfo",componentId:"-__sc-a974ab82-5"})(({theme:e})=>`
233    font-size: ${e.typography.text.fontSM.fontSize};
234    color: ${e.colors.uiColors.greyscale4};
235    display: inline-flex;
236    flex-wrap: wrap;
237  `);var h=o(35377),u=o(73342),x=o(20360),y=o(15158),f=o(26140),b=o(53524);let C=e=>{let{t}=r.useContext(u.q),{hasPriceLabel:o,hasPromo:a,isDiscounted:n,price:s,sellBy:C,smallAlt:P,wasUnitPrice:$,unitPrice:w,wasPrice:Z,taxDetailsInfo:_,showWasUnitPrice:j,showMembersPrice:I,subtotalWithoutLoyalty:N,unitPriceWithoutLoyalty:v}=e,W=a||!!o,S=(0,x.n)(C),{taxInfo:k,taxAmount:L}=_;return(0,y.Z)(()=>(0,i.jsxs)(r.Fragment,{children:[(0,i.jsx)(d,{hasPromo:W,children:S&&(0,i.jsx)("span",{children:t("productCard.weightBased")})}),(0,i.jsxs)(l,{"data-testid":h.w,hasPromo:W,smallAlt:P,children:[(0,i.jsxs)("span",{children:[(0,i.jsx)(g,{reducedPrice:n,children:I?N:s}),!!Z&&n&&(0,i.jsx)(c,{children:Z}),(0,i.jsx)(f.Z,{hasPromo:a}),!!k&&!!L&&(0,i.jsx)(b.Z,{taxAmount:L,taxInfo:k})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)(m,{children:I?v:w}),!!$&&j&&n&&(0,i.jsx)(p,{children:$})]})]})]}),{componentName:"Product Card Pricing"})}}}]);

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.