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