1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5814],{35814:(e,i,s)=>{"use strict";s.r(i),s.d(i,{default:()=>x});var t=s(95155),o=s(12115),a=s(25635),d=s(33077),r=s(34880),l=s(7788),n=s(41389),c=s(60315),g=s.n(c),m=s(55015),u=s(42302),_=s(93739),h=s(22402),P=s(22426),z=s(27302),W=s(72785),b=s(22066);let x=function(e){let{heading:i,personalizedData:s,globalConfig:c,page:x}=e,N=(0,m.A)(),I=(0,P.YK4)(),j=N.width>1024,[w,p]=(0,o.useState)({}),v=(0,l.d4)(e=>e[_.qCn]??{}),k=v?.products;return(0,t.jsxs)("section",{className:`${g()[e.moduleName]} ${g()["PersonalizedWidget-section"]} PersonalizedWidget-section`,"data-section-index":"recommendedMob",children:[(0,t.jsx)(a.A,{variant:"h2",className:`${g().heading}`,children:i}),(0,t.jsx)(d.Ay,{container:!0,className:g()["PersonalizedWidget-section-grid"],children:s&&s?.length>0&&s?.map((e,i)=>{let s=e?.hits?.length>=6?e?.hits?.slice(0,6):[],o=`Recs${i+1}`,a=e.strategyMessage;return s.length>=6&&(0,t.jsx)(d.Ay,{item:!0,children:(0,t.jsxs)(r.A,{className:g()["PersonalizedWidget-section-box"],children:[(0,t.jsx)("h1",{children:e.strategyMessage}),(0,t.jsx)("div",{className:g()["PersonalizedWidget-img-containor"],children:s.map((i,s)=>{var d;let r=(0,P.WZs)(i._source),l="";return l=0==s?"large-image":1==s?"small-image-bottom":2==s?"small-image-bottom-2":"small-image-right",(0,t.jsxs)("div",{role:"button",tabIndex:0,className:`${g()[l]} ${l}`,onClick:e=>{e.preventDefault(),(0,z.$Z)(c,{isLoggedIn:(0,b.Gu)(_.G0)?.loggedIn,isMobile:!j,customerId:I,linkPageName:"Home Page",section:a,modulePosition:o,productMap:r,productName:i?._source?.Name,position:s+1,icidName:"home"}),setTimeout(()=>{window.location.href=(0,P.uuj)(i?._source?.ProductID,i?._source?.LinkRewrite?i?._source?.LinkRewrite:i?._source?.Name)},1e3)},children:[(0,t.jsx)("a",{title:i?._source?.Name,onClick:()=>{(0,z.o$)(e?.productsClickAndLabelData?.[i?._source?.ProductID]?.clickURL)},href:(0,P.uuj)(i?._source?.ProductID,i?._source?.LinkRewrite?i?._source?.LinkRewrite:i?._source?.Name),children:(0,t.jsx)(n.LazyLoadImage,{alt:i?._source?.Name,title:i?._source?.Name,src:`${(0,P.bvF)(i?._source?.ProductID,i?._source?.Media?.Images[0]?.ID,"small",i?._source?.Media?.Images[0]?.Extension,"")}`,className:g()["PersonalizedWidget-section-img"],loading:"lazy",effect:"blur",width:j?"245":"139",height:j?"245":"139"})}),(0,t.jsxs)("div",{className:`${g()["PersonalizedWidget-action"]} PersonalizedWidget-action`,children:[(0,t.jsx)(u.default,{item:i?._source,showItems:w[i?._source?.ProductID],setShowItems:p,page:x,modulePosition:o,source:a}),(0,t.jsx)("div",{className:`${g()["add-to-cart-icon"]}`,children:(0,t.jsx)("span",{role:"button",tabIndex:0,className:`${g()["add-to-cart-button"]}`,onClick:e=>{e.preventDefault(),e.stopPropagation(),i?._source?.Sizes&&p({[i?._source?.ProductID]:!0})},children:(0,t.jsx)(W.A,{isMobile:!j,name:(d=i?._source,k&&Array.isArray(k)&&k.length>0&&k.find(e=>parseInt(e?.id_product)===parseInt(d?.ProductID))||0)?"addedCartIconTeal":"addCartIconTeal"})})}),(0,t.jsx)("div",{className:g()["move-to-wishlist"],children:(0,t.jsx)("span",{className:`${g()["move-to-wishlist-button"]} move-to-wishlist-button`,children:(0,t.jsx)(h.default,{item:i?._source,source:"justin",module:i?.source?i.source:"justin",globalConfig:c,adobeCallback:e=>{(0,z.L1)(c,{isLoggedIn:(0,b.Gu)(_.G0)?.loggedIn,isMobile:!j,customerId:I,linkPageName:x,section:a,modulePosition:o,productMap:r,linkName:"ADDED"===e?"add to wishlist":"remove from wishlist"})}})})})]})]},`img-${i?._source?.ProductID}`)})})]})},e.strategyMessage)})})]})}},60315:e=>{e.exports={"PersonalizedWidget-section":"PersonalizedWidget_PersonalizedWidget-section__8e63L","PersonalizedWidget-section-grid":"PersonalizedWidget_PersonalizedWidget-section-grid__nS9fe","PersonalizedWidget-section-box":"PersonalizedWidget_PersonalizedWidget-section-box__HEHZ9","PersonalizedWidget-img-containor":"PersonalizedWidget_PersonalizedWidget-img-containor__Hl8x1","PersonalizedWidget-action":"PersonalizedWidget_PersonalizedWidget-action__JCZ3O","add-to-cart-icon":"PersonalizedWidget_add-to-cart-icon__FJk3U","move-to-wishlist":"PersonalizedWidget_move-to-wishlist__tXdiC","move-to-wishlist-button":"PersonalizedWidget_move-to-wishlist-button__zDP6A","large-image":"PersonalizedWidget_large-image__05rxW","small-image-bottom":"PersonalizedWidget_small-image-bottom__SjDaK","small-image-bottom-2":"PersonalizedWidget_small-image-bottom-2___wZm0","small-image-right":"PersonalizedWidget_small-image-right__lqAEB"}}}]);
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.