1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3655],{63655:function(e,l,t){"use strict";t.r(l);var i=t(57437);t(2265);var o=t(27648),n=t(84225),c=t(54423),r=t(13962),a=t(41253),s=t.n(a);l.default=e=>{var l,t,a;let{name:u,url:d,products:_,maxProductsToDisplay:m=1,maxTilesPerRow:v=1}=e,f=(0,n.g)();if(!u||!_.length&&(null==_?void 0:null===(l=_[0].basicProducts)||void 0===l?void 0:l.length))return null;let g=m&&m>1,h=g?m:1;return(0,i.jsxs)(o.default,{href:d,className:"".concat(s().collectionTile," ").concat(3===v?s().tilesPerRow3:""),children:[(0,i.jsxs)("div",{className:s().collectionName,children:[u,(0,i.jsxs)("div",{className:s().ctaText,children:[(0,i.jsx)("span",{children:"Shop now"})," ",(0,i.jsx)(c.Z,{className:s().arrowRight})]})]}),(0,i.jsx)("div",{className:g?s().multiProductsContainer:s().productsContainer,children:(0,i.jsx)("div",{className:s().productsOffset,children:null==_?void 0:null===(a=_[0])||void 0===a?void 0:null===(t=a.basicProducts)||void 0===t?void 0:t.map((e,l)=>{var t;let o=null!==(t=null==e?void 0:e.imageUrl)&&void 0!==t?t:null;return l<h&&o&&(0,i.jsx)("div",{className:"".concat(s().productImage," ").concat(l>=1?s().hiddenOnMobile:s().multipleProducts," ").concat(g?s().smallProductImage:"","\n "),children:(0,i.jsx)(r.Z,{width:330,height:330,alt:"Product Image",src:o})},f(e))})})})]})}},13962:function(e,l,t){"use strict";var i=t(57437),o=t(2265),n=t(38452),c=t(70690);l.Z=e=>{let{src:l,storeSlug:t="",fallbackImage:r=null,...a}=e,[s,u]=(0,o.useState)(()=>(0,n.Pq)(l,t)),[d,_]=(0,o.useState)(0);return(0,o.useEffect)(()=>{u((0,n.Pq)(l,t)),_(0)},[l,t]),(0,i.jsx)(c.Z,{src:s,...a,onError:()=>{0===d&&(null==r?void 0:r.src)?(u((0,n.Pq)(l,t)),_(e=>e+1)):u("/missing_image.png")}})}},70690:function(e,l,t){"use strict";var i=t(57437);t(2265);var o=t(33145),n=t(61995);l.Z=e=>{let{unoptimized:l,...t}=e;return(0,i.jsx)(o.default,{...t,unoptimized:l||n.fy})}},84225:function(e,l,t){"use strict";t.d(l,{g:function(){return i}});let i=()=>{let e=new Map;return l=>{let t="";if("primaryProductSku"in l)t=l.primaryProductSku||"";else{var i;t=(null===(i=l.id)||void 0===i?void 0:i.toString())||""}let o=e.get(t)||0;return e.set(t,o+1),"".concat(t).concat(o?"_".concat(o):"")}}},41253:function(e){e.exports={collectionTile:"CollectionTile_collectionTile__ugu2k",tilesPerRow3:"CollectionTile_tilesPerRow3__Lf5nW",collectionName:"CollectionTile_collectionName__2Kx30",ctaText:"CollectionTile_ctaText__WDk8t",productImage:"CollectionTile_productImage__9ytuV",productsOffset:"CollectionTile_productsOffset__gjCvB",arrowRight:"CollectionTile_arrowRight__BghD2",hiddenOnMobile:"CollectionTile_hiddenOnMobile__Smlwf",smallProductImage:"CollectionTile_smallProductImage__mIhw0",productsContainer:"CollectionTile_productsContainer__PJ75X",multiProductsContainer:"CollectionTile_multiProductsContainer__pQ3q1"}},54423:function(e,l,t){"use strict";var i=t(2265);let o=i.forwardRef(function(e,l){let{title:t,titleId:o,...n}=e;return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":o},n),t?i.createElement("title",{id:o},t):null,i.createElement("path",{fillRule:"evenodd",d:"M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))});l.Z=o}}]); 2//# sourceMappingURL=3655.0d7e8418fb656a81.js.map
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.