"use strict";exports.id=6789,exports.ids=[6789,3836],exports.modules={80839:(e,t,r)=>{r.d(t,{Z:()=>f});var o=r(38394),a=r(65167),n=r(50547),s=r(16689),i=r(82331),c=r.n(i),d=r(2056),l=r(70643),u=r(78563),p=r(20997);let b=["product","index","bordered","variant","aspectRatio","imgProps","ratingValue","buttonLabel","onButtonClick","showDiscountBadge","taxesConfiguration","sponsoredLabel"];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 f=(0,s.memo)(function(e){let{product:t,index:r,bordered:i=!0,variant:f="default",aspectRatio:O=1,imgProps:j,ratingValue:g,buttonLabel:h="Add",onButtonClick:y,showDiscountBadge:v=!0,taxesConfiguration:w,sponsoredLabel:m}=e,x=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,b),{sku:P,isVariantOf:{name:S},image:[k],advertisement:D,offers:{lowPrice:Z,lowPriceWithTaxes:_,offers:[{listPrice:B,availability:L,listPriceWithTaxes:T}]}}=t,I=_objectSpread(_objectSpread({},(0,u.w)({product:t,selectedOffer:0,index:r})),{},{as:c(),passHref:!0,legacyBehavior:!1,prefetch:!1}),C=(0,s.useMemo)(()=>"https://schema.org/InStock"!==L,[L]),E=w?.usePriceWithTaxes?_:Z,K=w?.usePriceWithTaxes?T:B,R=D?{"data-van-res-id":D.adResponseId,"data-van-aid":D.adId,"data-van-prod-name":S}:{};return(0,p.jsxs)(o.Z,_objectSpread(_objectSpread(_objectSpread({outOfStock:C,bordered:i,variant:f,"data-fs-product-card-sku":P},R),x),{},{children:[p.jsx(a.Z,{aspectRatio:O,children:p.jsx(d.Z,{src:k.url,alt:k.alternateName,sizes:`${j?.sizes??"(max-width: 768px) 40vw, 30vw"}`,width:j?.width??360,height:Math.round((Number(j?.height)||360)/O),loading:j?.loading})}),p.jsx(n.Z,{title:S,price:{value:E,listPrice:K,formatter:l.P},ratingValue:g,outOfStock:C,onButtonClick:y,linkProps:I,showDiscountBadge:E<=K&&v,includeTaxes:w?.usePriceWithTaxes,includeTaxesLabel:w?.taxesLabel,sponsored:!!D,sponsoredLabel:m})]}))})},33836:(e,t,r)=>{r.r(t),r.d(t,{default:()=>o.Z});var o=r(80839)}};