1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3425],{15731:(e,t,s)=>{"use strict";s.d(t,{M:()=>i,g:()=>l});var r=s(81586);let i=()=>{let{settings:e}=(0,r.Pj)();return!e.isGeox()||{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}},l=()=>{let{settings:e}=(0,r.Pj)();return e.isGeox()?{320:{slidesPerView:1.7},768:{slidesPerView:3},1024:{slidesPerView:3}}:{320:{slidesPerView:1.7},768:{slidesPerView:3},1024:{slidesPerView:4},1025:{slidesPerView:5}}}},21783:e=>{e.exports={prevArrow:"SharedSwiperNavigation_prevArrow__Ygowp",nextArrow:"SharedSwiperNavigation_nextArrow__Y9yOb"}},32790:e=>{e.exports={title:"RecommendedProducts_title__NuMS2"}},33425:(e,t,s)=>{"use strict";s.r(t),s.d(t,{RecommendedProducts:()=>v});var r=s(26514),i=s(41246),l=s(16074),a=s(32790),n=s.n(a),d=s(75834),o=s(55047),c=s(71917),p=s(15731),u=s(77412),m=s(82600),x=s(10511),w=s(49421);let v=({productId:e,loadProductsHandler:t,...s})=>{let{t:a}=(0,o.Bd)("common"),v=(0,d.useRef)(null),[h,b]=(0,d.useState)([]),[g,j]=(0,d.useState)(!1);(0,d.useEffect)(()=>{let s=new IntersectionObserver(s=>{let[r]=s;r.isIntersecting&&0===h.length&&t(e,b,j)},{rootMargin:"100px"});return v.current&&s.observe(v.current),()=>{s.disconnect()}},[t,e,h.length]);let P=(0,d.useMemo)(()=>(0,m.Tj)({itemListId:u.SU.PdpSimilar,resultsCount:(0,m.nW)(h)}),[h]),_={params:{navigation:(0,p.M)(),slidesPerView:5,spaceBetween:16,breakpoints:(0,p.g)()},boxes:[{products:h}]};return(0,r.jsxs)("div",{ref:v,className:"recommended-products-wrapper",...s,children:[0===h.length&&g&&(0,r.jsx)("div",{className:"relative p-12",children:(0,r.jsx)(w.a,{isActive:!0})}),h&&h.length>0&&(0,r.jsxs)("div",{className:"border-t pt-12",children:[(0,r.jsx)(i.m,{variant:"only-mobile",children:(0,r.jsx)(l.h,{heading:2,variant:l.Z.Beta,className:n().title,children:a("product-detail__similar__title")})}),(0,r.jsx)(x.b,{value:P,children:(0,r.jsx)(c.r,{data:_})})]})]})}},71917:(e,t,s)=>{"use strict";s.d(t,{r:()=>j});var r=s(26514),i=s(41246),l=s(40020),a=s(20465),n=s(16074),d=s(20228),o=s(81586),c=s(80254),p=s(21783),u=s.n(p),m=s(75406),x=s(75834),w=s(77412),v=s(82600),h=s(10511),b=s(15731);let g=({products:e,params:t,boxKey:s,listName:i})=>{let n=(0,h.B)(),d=(0,x.useMemo)(()=>e.filter(e=>e.isAvailable),[e]),o=(0,x.useMemo)(()=>(0,v.Tj)({itemListId:w.SU.BannerProducts,itemListName:i,resultsCount:d.length,stateKeySuffix:s}),[i,d.length,s]),c=(0,r.jsx)(a.a,{params:t,buttonPrevClass:u().prevArrow,buttonNextClass:u().nextArrow,slides:d.map((e,t)=>(0,r.jsx)(l.E,{item:e,index:t},e.id))});return n?c:(0,r.jsx)(h.b,{value:o,children:c})},j=({data:e,heading:t=2})=>{let{settings:s}=(0,o.Pj)(),l={...{navigation:(0,b.M)(),slidesPerView:4,spaceBetween:16,breakpoints:{320:{slidesPerView:1.5,spaceBetween:16},440:{slidesPerView:2,spaceBetween:16},768:{slidesPerView:3,spaceBetween:16},1025:{slidesPerView:4,spaceBetween:16}}},...e.params},a=(0,d.z)(e.textColor,e.textColorOpacity,!1),p=(0,d.z)(e.bgColor,e.bgColorOpacity,!0);return(0,r.jsx)(i.m,{maxW:"xl",children:(0,r.jsx)("section",{className:"mt-12 md:mt-8 lg:mt-16",style:{color:a,backgroundColor:p},"data-testid":c.Q.BannersSimpleProductsSection,children:e.boxes?.map((i,a)=>(0,r.jsxs)("div",{children:[i.title&&(0,r.jsx)(n.h,{heading:t,className:(0,m.cn)({"mb-4":i.text,"!font-normal":s.isGap()}),children:i.title}),i.text&&(0,r.jsx)("div",{className:"mb-12 text-sm lg:text-base",dangerouslySetInnerHTML:{__html:i.text}}),(0,r.jsx)("div",{className:(0,m.cn)({"my-6":!0,relative:s.isGeox()}),children:(0,r.jsx)(g,{products:(i.products?.products?i.products.products:i.products)??[],params:l,boxKey:`${e.id??"banner"}-${i.id??a}`,listName:i.title??e.title??void 0})})]},`simple-product-${a}`))})})}}}]);
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.