"use strict";exports.id=6789,exports.ids=[6789],exports.modules={80839:(e,t,r)=>{r.d(t,{Z:()=>g});var o=r(55402),a=r(38394),n=r(65167),i=r(50547),s=r(16689),c=r(82331),d=r.n(c),l=r(11213),u=r(52011),p=r(70643),b=r(78563),f=r(3303),O=r(20997);let j=["product","index","bordered","variant","aspectRatio","imgProps","ratingValue","buttonLabel","onButtonClick","showDiscountBadge","taxesConfiguration","sponsoredLabel","enableCompareCheckbox","compareLabel"];function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(t){var o;o=r[t],t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let g=(0,s.memo)(function(e){let{product:t,index:r,bordered:c=!0,variant:g="default",aspectRatio:h=1,imgProps:y,ratingValue:m,buttonLabel:v="Add",onButtonClick:x,showDiscountBadge:P=!0,taxesConfiguration:w,sponsoredLabel:S,enableCompareCheckbox:k=!1,compareLabel:Z}=e,B=function(e,t){if(null==e)return{};var r,o,a=function(e,t){if(null==e)return{};var r,o,a={},n=Object.keys(e);for(o=0;o<n.length;o++)r=n[o],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(o=0;o<n.length;o++)r=n[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}(e,j),{sku:D,isVariantOf:{name:L},image:[T],advertisement:_,offers:{lowPrice:C,lowPriceWithTaxes:I,offers:[{listPrice:z,availability:E,listPriceWithTaxes:K}]},deliveryPromiseBadges:R}=t,{deliveryPromise:V}=(0,f.T)()??{},{badges:W,shouldDisplayDeliveryPromiseBadges:M}=(0,u.z0)({deliveryPromiseBadges:R,deliveryPromiseSettings:V}),N=_objectSpread(_objectSpread({},(0,b.w)({product:t,selectedOffer:0,index:r})),{},{as:d(),passHref:!0,legacyBehavior:!1,prefetch:!1}),A=(0,s.useMemo)(()=>"https://schema.org/InStock"!==E,[E]),F=w?.usePriceWithTaxes?I:C,H=w?.usePriceWithTaxes?K:z,$=_?{"data-van-res-id":_.adResponseId,"data-van-aid":_.adId,"data-van-prod-name":L}:{};return(0,O.jsxs)(O.Fragment,{children:[k&&O.jsx(o.Z,{label:Z,product:t,id:t.id}),(0,O.jsxs)(a.Z,_objectSpread(_objectSpread(_objectSpread({outOfStock:A,bordered:c,variant:g,"data-fs-product-card-sku":D},$),B),{},{children:[O.jsx(n.Z,{aspectRatio:h,children:O.jsx(l.Z,{src:T.url,alt:T.alternateName,sizes:`${y?.sizes??"(max-width: 768px) 40vw, 30vw"}`,width:y?.width??360,height:Math.round((Number(y?.height)||360)/h),loading:y?.loading})}),O.jsx(i.Z,{title:L,price:{value:F,listPrice:H,formatter:p.P},ratingValue:m,outOfStock:A,onButtonClick:x,linkProps:N,showDiscountBadge:F<=H&&P,includeTaxes:w?.usePriceWithTaxes,includeTaxesLabel:w?.taxesLabel,sponsored:!!_,sponsoredLabel:S,deliveryPromiseBadges:M&&W})]}))]})})},33836:(e,t,r)=>{r.r(t),r.d(t,{default:()=>o.Z});var o=r(80839)}};