PageSourceSearch

https://www.bang-olufsen.com/_next/static/chunks/3578-e041b9004b1ab941.js

js bang-olufsen.com collected 2026-10-09 22:39:57 UTC 20,340 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3578],{26221:function(t,e,r){r.d(e,{Z:function(){return M}});var a=r(11246),n=r(43350),o=r(80040),i=r(59307),c=r(48415),s=r(73667),l=r(3117),u=r(90849),d=r(27378),p=r(34051),g=r(60042),h=r.n(g),f=r(41408),m=r(83030),v=r(96667),S=(0,f.iv)(["&.m-productCrossSellUpSell{",";.-price{color:",";margin-top:15px;margin-bottom:0;.original-price{&.-strikePrice{text-decoration:line-through;}position:relative;color:",";}span{background-image:none;}}.-discounted-price{margin-top:0;color:",";}.m-productCrossSellUpSell__wrapper{background-color:",";}.container,.row{height:100%;}.productCrossSell__swatch__variants{margin-bottom:18px;}.m-productCrossSellUpSell__media{display:flex;align-items:center;justify-content:center;.a-youTubePlayer{flex:1;align-self:center;}.a-responsiveImage{display:block;height:100%;overflow:hidden;text-align:center;@media ","{margin-bottom:0;}}img{height:100%;}}.m-productCrossSellUpSell__details{text-align:center;margin-top:30px;display:flex;flex-direction:column;align-items:center;@media ","{margin-top:60px;}.a-responsiveImage{height:200px;width:200px;display:inline-block;margin-bottom:30px;overflow:hidden;text-align:center;}.m-productCrossSellUpSell__price{font-size:",";}}&.-video{height:auto;max-height:none;.wrapper{padding-top:20px;@media ","{padding:80px 0;}}}&.-signUp{.m-productCrossSellUpSell__subtitle{font-size:",";}}.m-productCrossSellUpSell__button{margin-top:25px;}.productCrossSell__subHeader{margin-top:18px;}.radioButtons{margin-bottom:20px;padding-top:5px;font-size:",";line-height:1.43;.radio-container-label{color:",";}.radio-container{margin-right:20px;padding-left:30px;}}@media ","{.productCrossSell__swatch__variants,.productCrossSell__subHeader,.productCrossSell__description,.productCrossSell__price,.m-productCrossSellUpSell__button,.productCrossSell__radio{order:1;}}.productImage-view{width:100%;}}"],(function(t){return!t.isWithinProductListing&&v.Z.topAndBottomWhitespace()}),(function(t){return t.theme.darkColor?t.theme.colors.WHITE:t.theme.colors.BEO_BLACK}),(function(t){return t.theme.colors.GREY5}),(function(t){return t.theme.colors.BEO_BLACK}),(function(t){var e=t.theme;return e.darkColor?e.darkColor.BACKGROUND.GREY:e.colors.GREY1}),(function(t){return t.theme.mediaQuery.medium}),(function(t){return t.theme.mediaQuery.medium}),(function(t){return t.theme.fonts.fontSize.price}),(function(t){return t.theme.mediaQuery.medium}),(function(t){return t.theme.fonts.fontSize.heading.large.h7}),(function(t){return(0,m.hO)(t.theme.fonts.fontSize.body.small.tertiary)}),(function(t){return t.theme.colors.GREY5}),(function(t){return t.theme.mediaQuery.medium})),C=r(34869),y=r(81365),b=r(5047),w=r(71377),k=r(95739),I=r(31357),Z=r(18307),_=r(75006),P=r(2463),j=r(97451),x=r(5407),O=r(41605),T=r(50813),B=r(1953),D=r(71250),A=r(21318),N=r(48323),L=r(26891
1),V=r(6234),U=r(24246);function E(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}return r}function K(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?E(Object(r),!0).forEach((function(e){(0,u.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function R(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,a=(0,l.Z)(t);if(e){var n=(0,l.Z)(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return(0,s.Z)(this,r)}}var J=function(t){(0,c.Z)(r,t);var e=R(r);function r(t){var o;return(0,n.Z)(this,r),o=e.call(this,t),(0,u.Z)((0,i.Z)(o),"getDefaultSwatchKeys",(function(t){var e=o.props.data,r=e&&e.get("swatchConfigurations"),a=e&&e.get("productDetails"),n={};if(r){var i=a&&a.get("variants");n=t?i.filter((function(e){return e.get("variantKey")===t})).getIn([0,"additionalProperties"]):a&&a.getIn(["variants","0","additionalProperties"])}return r&&(0,p.fromJS)(n)})),(0,u.Z)((0,i.Z)(o),"initalSelectedVariants",(function(){var t=o.props.data,e=t&&t.get("productDetails"),r=t&&t.get("swatchConfigurations");if(r){var a=r&&e.getIn(["variants","0","variantKey"]),n=r&&o.getDefaultSwatchKeys(a),i={};n.map((function(t,e){i[e]="object"===typeof t&&t.get("key")?t.get("key"):t})),o.state.swatchObject=i}})),(0,u.Z)((0,i.Z)(o),"getSwatchConfigKey",(function(){var t=o.state.swatchObject,e=o.props.data,r=e&&e.get("productDetails"),a=r&&r.get("variantUniqueKeys"),n=t&&Object.keys(t).map((function(e){return t[e]})),i=n&&n.join("");return a&&a.get(i)})),(0,u.Z)((0,i.Z)(o),"getVariantCarousel",(function(t){var e=o.props.data,r=e&&e.get("productDetails"),a=r&&r.get("variants"),n=a&&a.toJS(),i=n&&n.filter((function(e){return e.variantKey===t}));return i&&i.length?i[0]:n})),(0,u.Z)((0,i.Z)(o),"onVariantChange",(function(t){o.setState({selectedVariant:t-1})})),(0,u.Z)((0,i.Z)(o),"onSwatchInputChange",(function(t){t&&o.setState((function(e){return{swatchObject:K(K({},e.swatchObject),{},{Color:t})}}))})),(0,u.Z)((0,i.Z)(o),"getAnchorProps",(function(){var t=o.state,e=t.selectedVariant,r=t.swatchObject,a=o.props,n=a.data,i=a.locale,c=a.country,s=r&&o.getSwatchConfigKey(),l=r&&(0,p.fromJS)(o.getVariantCarousel(s)),u=r?l:n.getIn([e,"productDetails"]),d=u&&u.get("slug"),g=u&&u.get("variantKey"),h=u&&u.get("categorySlug");return{href:{pathname:"/[language]/[country]/[categoriesSlug]/[slug]",query:{language:i,country:c&&c.toLowerCase(),categoriesSlug:h,slug:d,variant:g}}}})),(0,u.Z)((0,i.Z)(o),"trackProductClickCall",(function(){var t=o.props,e=t.data,r=t.listName,a=o.state,n=a.selectedVariant,i=a.swatchObject,c=i&&o.getSwatchConfigKey(),s=i&&(0,p.fromJS)(o.getVariantCarousel(c)),l=i?s:e.getIn([n,"productDetails"])||e,u=e.getIn([n,"productDetails","variantKey"]),d=T.Ceb,g=r,h={};r===T.tIE&&(g=T.wo_,h={eventCategory:T.DES,eventLabel:"".concat(T.wo_,"|").concat(u),eventAction:T.JZq}),r===T.nOH&&(h={eventCategory:T.nOH,eventLabel:"".concat(T.nOH,"|").concat(u),eventAction:T.JZq}),(0,A.hq)({product:l,selectedVariant:l,variantKey:u,event:d,listName:g,quantity:1,checkConditionWithListName:!0,action:"click",eventAdditionalLabels:h})})),(0,u.Z)((0,i.Z)(o),"trackBuyAction",(function(t){if(t&&t.code===O.uhn)o.setState({productInStock:!1});else{var e=o.props,r=e.addToCartSuccessAction,a=e.data,n=o.state,i=n.selectedVariant,c=n.swatchObject,s=c&&o.getSwatchConfigKey(),l=c&&(0,p.fromJS)(o.getVariantCarousel(s)),u=c?l:a.getIn([i,"productDetails"]);r&&u&&r(u,T.JzP)}})),(0,u.Z)((0,i.Z)(o),"trackDiscoverMoreButton",(function(){var t=o.props,e=t.addToCartSuccessAction,r=t.data,a=o.state,n=a.selectedVariant,i=a.swatchObject,c=i&&o.getSwatchConfigKey(),s=i&&(0,p.fromJS)(o.getVariantCarousel(c)),l=i?s:r.getIn([n,"productDetails"]);e&&l&&e(l,T.JzP,T.F4E)})),(0,u.Z)((0,i.Z)(o),"container",(0,d.createRef)()),(0,u.Z)((0,i.Z)(o),"renderPrimaryMedia",(function(t,e){var r=(null===t||void 0===t?void 0:t.get("media"))||(0,p.Map)(),a=r.get("altText"),n=o.getAnchorProps().href,i=null===r||void 0===r?void 0:r.get("altText");return(0,U.jsx)(U.Fragment,{children:e?(0,U.jsx)(P.default,{mediaItem:t,responsive:!0,videoTitle:a}):(0,U.jsx)("div",{className:"productImage-view",children:(0,U.jsx)(b.Z,{cta:null,href:n,forceClick:!0,handleLinkClick:function(){return o.trackProductClickCall()},ariaLabel:i,children:(0,U.jsx)(I.Z,{size:"large",media:r,ratio:[16,9],fit:I.Z.FIT.PAD,transparent:!0})})})})})),(0,u.Z)((0,i.Z)(o),"renderVariantSwatches",(function(t,e,r,a){var n,i=o.props,c=i.data,s=i.slnId,l=o.state,u=l.selectedVariant,d=l.swatchObject,g=c&&c.get("productDetails"),h=g&&g.get("swatchConfigurations"),f=h&&h.get("Color"),m=d&&o.getSwatchConfigKey(),v=d&&(0,p.fromJS)(o.getVariantCarousel(m)),S=d?v:c.getIn([u,"productDetails"])||c,C=S&&S.get("variantTitle");return h&&(n=f&&f.map((function(t){var e=t.get("hexCode"),r=t.get("title"),a=t.get("key");return(0,p.fromJS)({variantKey:a,name:r,value:e})}))),h||(n=c.map((function(t,r){var a=e.toLowerCase(),n="color"===a,o=t.get("productDetails"),i=o.get("variantId"),c=r+1,s=o.get("variantAttributes"),l=o.get("productId"),u=n?s.get("colorCode"):s.get("size"),d=o.get("variantTitle");return(0,p.fromJS)({variantId:i,variantKey:c,name:d,type:a,value:u,productId:l})}))),(0,U.jsxs)("div",{className:"".concat(t,"__variants"),children:[(0,U.jsx)(_.Z,{swatches:n,showInfo:r,onSelect:h?o.onSwatchInputChange:o.onVariantChange,changeOnHover:!0,slnId:"".concat(o.props.slnId,"_colorSwatch"),isMobileSwatchClickable:!0,hidePrice
1:a}),C&&(0,U.jsx)("p",{className:"b2 productCrossSell__subHeader","data-sln-id":"".concat(s,"_subHeader"),children:C})]})})),(0,u.Z)((0,i.Z)(o),"onRadioInputChange",(function(t,e){t&&o.setState((function(r){return{swatchObject:K(K({},r.swatchObject),{},(0,u.Z)({},e,t))}}))})),(0,u.Z)((0,i.Z)(o),"getRadioOption",(function(t){var e=o.props.data,r=o.state.swatchObject,a=e.get("productDetails").get("swatchConfigurations"),n=a&&a.get(t),i=(n?n.map((function(t){var e=t&&t.get("title"),r=t&&t.get("key");return(0,p.fromJS)({id:r,label:e})})):{}).toJS();return(0,U.jsx)("div",{className:"productCrossSell__radio",children:(0,U.jsx)(L.Z,{name:t,selected:r[t],options:i,radioBtnClass:"radioBtnClass",classname:"icn-tick-round",isPdp:"true",onChecked:o.onRadioInputChange})})})),(0,u.Z)((0,i.Z)(o),"renderDetails",(function(t){var e=o.props,r=e.data,a=e.slnId,n=o.state,i=n.selectedVariant,c=n.swatchObject,s=c&&o.getSwatchConfigKey(),l=c&&(0,p.fromJS)(o.getVariantCarousel(s)),u=c?l:r.getIn([i,"productDetails"])||r,d=!c&&(r&&r.getIn([i,"productImage"])),g=u&&u.get("productName"),h=u&&u.get("variantDescription"),f=u&&u.get("price"),m=u&&u.get("discountedPrice"),v=r.size>1,S=o.getAnchorProps().href,C="";c&&(C=Object.keys(c).map((function(e){return"Color"===e?o.renderVariantSwatches("productCrossSell__swatch","color",!1,t):o.getRadioOption(e)})));return(0,U.jsxs)(U.Fragment,{children:[d&&(0,U.jsx)(b.Z,{cta:null,href:S,forceClick:!0,handleLinkClick:function(){return o.trackProductClickCall()},ariaLabel:null===d||void 0===d?void 0:d.get("altText"),children:(0,U.jsx)(I.Z,{media:d,size:I.Z.SIZES.XSMALL,slnId:"".concat(a,"_image"),ratio:[1,1],fit:I.Z.FIT.PAD,transparent:!0})}),g&&(0,U.jsx)("h2",{className:"h5 -noMargin","data-sln-id":"".concat(a,"_productName"),children:g}),v&&!c&&o.renderVariantSwatches("productCrossSell__swatch","color",!1,t),C,h&&(0,U.jsx)("p",{className:"productCrossSell__description b1","data-sln-id":"".concat(a,"_description"),children:h}),f&&!t&&(0,U.jsx)("div",{className:"h4 -price productCrossSell__price",children:(0,U.jsx)(Z.Z,{price:f,slnId:"".concat(a,"_price"),className:"".concat(m&&"original-price"," ").concat(m?"-strikePrice":""),priceCategory:m?B.z.EARLIER_PRICE:null})}),m&&!t&&(0,U.jsx)("div",{className:"h4 -price productCrossSell__price -discounted-price",children:(0,U.jsx)(Z.Z,{price:m,slnId:"".concat(a,"_discountedPrice"),priceCategory:B.z.DISCOUNTED_PRICE})})]})})),(0,u.Z)((0,i.Z)(o),"renderCTA",(function(t){var e=t.productInfo,r=t.cartProps,a=t.sku,n=o.props,i=n.cmsLabels,c=n.slnId,s=n.data,l=n.showCartLoader,u=n.hideCartLoaderHandler,d=n.handleShowCartPopup,g=n.setAddToBasketProdSku,h=d&&[K(K({},e),{},{relatedVariantSku:a})],f=o.state,m=f.selectedVariant,v=f.swatchObject,S=v&&o.getSwatchConfigKey(),C=v&&(0,p.fromJS)(o.getVariantCarousel(S)),y=v?C:s.getIn([m,"productDetails"]),b=i&&i.get("buyProductAccessibility"),w=y.get("price"),k=y.get("productName"),I=null===y||void 0===y?void 0:y.getIn(["buyCta","linkText"]),Z=b&&b.replace("{product_name}",k).replace("{price}",w&&w.get("centAmount")),_=o.state.productInStock;return(0,U.jsx)("div",{className:"m-productCrossSellUpSell__button",children:_&&(0,U.jsx)(x.Z,K(K({variant:"buy",slnId:"".concat(c,"_buyButton"),productInfo:d?h:e},r),{},{ariaLabel:"ProductCrossSellUpSell : ".concat(Z),addToCartSuccessAction:o.trackBuyAction,showCartLoader:l,hideCartLoaderHandler:u,productInStock:_,handleShowCartPopup:d,setAddToBasketProdSku:g,skuForBasketPopup:a,buyButtonLinkText:I}))})})),(0,u.Z)((0,i.Z)(o),"renderSignUpButton",(function(){var t=o.props,e=t.data,r=t.locale,a=t.slnId,n=o.state.selectedVariant,i=e.get("callToAction")||e.getIn([n,"callToAction"]),c=i&&i.get("title"),s=i&&i.get("url"),l=s&&((0,N.Sv)(s)?s:(0,D.LK)({pathname:s,query:{language:r}})),u=s&&((0,N.Sv)(s)?"_blank":"_self"),d=i&&i.get("ariaLabel"),p=null===i||void 0===i?void 0:i.get("buttonColor"),g=(null===i||void 0===i?void 0:i.get("theme"))||"secondary",h={href:l,target:u,ariaLabel:d};return(0,U.jsx)("div",{className:"m-productCrossSellUpSell__button",children:(0,U.jsx)(y.Z,K(K({cta:h},h),{},{variant:g,labelText:c,slnId:"".concat(a,"signupButton"),buttonColor:p}))})})),(0,u.Z)((0,i.Z)(o),"renderDiscoverMoreButton",(function(t){var e=o.props,r=e.locale,n=e.categoryLabels,i=e.slnId,c=e.country,s=n&&n.get("discoverAllLabel"),l=t&&t.get("slug"),u=l&&l.split("?")||[],d=(0,a.Z)(u,1)[0],p=t&&t.get("variantKey"),g=t&&t.get("categorySlug"),h={pathname:"/[language]/[country]/[categoriesSlug]/[slug]",query:{language:r,country:c.toLowerCase(),categoriesSlug:g,slug:d,variant:p}};return(0,U.jsx)("div",{className:"m-productCrossSellUpSell__button",children:(0,U.jsx)(y.Z,{cta:null,href:h,variant:"secondary",labelText:s,slnId:"".concat(i,"_buyButton"),onClick:o.trackDiscoverMoreButton,ariaLabel:"ProductCrossSellUpSell : ".concat(s),forceClick:!0})})})),(0,u.Z)((0,i.Z)(o),"renderCallsToAction",(function(){var t=o.props,e=t.data,r=t.withinCart,a=t.cmsLabels,n=t.isSignUp,i=t.availableQuant,c=o.state,s=c.selectedVariant,l=c.swatchObject,u=l&&o.getSwatchConfigKey(),d=l&&(0,p.fromJS)(o.getVariantCarousel(u)),g=l?d:e.getIn([s,"productDetails"]),h=g&&g.get("addedToCart"),f=a&&a.get("addToBasket"),m=a&&a.get("addedToCart"),v=h?"addToCart":"addToBasket",S=g&&g.get("productId"),C=g&&g.get("variantId"),y=h?m:f,b={productId:S,quantity:1,currency:g&&g.getIn(["price","currencyCode"]),variantId:C},w=g&&g.get("sku"),k=g&&g.get("showBuyButton"),I=g&&g.get("isUpcomingVariant"),Z={variant:v,labelText:y,disabled:h,centered:h},_=i&&i.getIn(["crossSell","results"]),P=_&&_.filter((function(t){return t.get("sku")===w})),j=P&&P.getIn([0,"quantityOnStock"]);return!I&&(!!j&&j>0)&&k?o.renderCTA({productInfo:b,cartProps:r?Z:null,sku:w}):n?o.renderSignUpButton():o.renderDiscoverMoreButton(g)})),(0,u.Z)((0,i.Z)(o),"renderSticky",(function(t){var e=o.props,r=e.data,a=e.toggleHeader,n=e.withPromoBanner,i=e.withCountryNotification,c=e.globalMsgHeight,s=e.handleShowCartPopup,l=e.setAddToBasketProdSku,u=o.state,d=u.productInStock,g=u.selectedVariant,h=u.swatchObject,f=o.container&&o.container.current,m=f&&f.offsetHeight,v=f&&f.offsetTop,S=(null===t||void 0===t?void 0:t.get("media"))||(0,p.Map)(),C=h&&o.getSwatchConfigKey(),y=h&&(0,p.fromJS)(o.getVariantCarousel(C)),b=h?y:r.getIn([g,"productDetails"])||r,w=b&&b.get("sku"),k=(0,p.fromJS)({productName:b&&b.get("productName"),price:b&&b.get("price"),currencyCode:b&&b.getIn(["price","currencyCode"]),productId:b&&b.get("productId"),variantId:b&&b.get("variantId"),variantName:b&&b.get("variantTitle")}),I=!h&&(r&&r.getIn([g,"productImage"])),Z={};return Z=I?{url:I.get("defaultAssetUrl"),altText:I.get("altText")}:{url:S.get("defaultAssetUrl"),altText:S.get("altText")},d&&(0,U.jsx)(j.Z,{product:k,containerHeight:m,containerTop:v,toggleHeader:a,addToCartSuccessAction:o.trackBuyAction,withPromoBanner:n,withCountryNotification:i,globalMsgHeight:c,productImage:Z,handleShowCartPopup:s,skuForRelatedProducts:w,setAddToBasketProdSku:l})})),o.state={productInStock:!0,selectedVariant:0},o.initalSelectedVariants(),o}
1return(0,o.Z)(r,[{key:"componentWillUnmount",value:function(){var t=this.props,e=t.hasSticky,r=t.toggleHeader;e&&r&&r(!0)}},{key:"render",value:function(){var t,e,r,a=this.props,n=a.className,o=a.data,i=a.hasSticky,c=a.isSignUp,s=a.slnId,l=a.pageType,u=a.hidePriceForCountries,d=a.homeCountryCookie,g=this.state,f=g.selectedVariant,m=g.swatchObject,v=m&&this.getSwatchConfigKey(),S=m&&(0,p.fromJS)(this.getVariantCarousel(v));o&&o.get("swatchConfigurations")?(e=S.getIn(["mediaItems",0]),r=o&&o.get("productDetails")):(e=o&&o.getIn([f,"primaryMedia"]),r=o&&o.getIn([f,"productDetails"]));var C="video"===(null===(t=e)||void 0===t?void 0:t.get("mediaType")),y=r&&r.getIn(["ctProductAvailibility","isOnStock"]),b=r&&r.get("showBuyButton"),I=h()(n,"m-productCrossSellUpSell",{"-signUp":c,"-pdp":y,"-cart":y,"-video":C}),Z=l===T.Hao.PDP,_=i&&y&&b&&!Z,P=(0,D.CQ)(d,u);return(0,U.jsx)("div",{ref:this.container,className:I,children:(0,U.jsxs)(k.Z,{onIntersectionEnter:_?this.onIntersectionEnter:function(){},onIntersectionLeave:_?this.onIntersectionLeave:function(){},multiple:[k.Z.MULTIPLE.ENTRIES,k.Z.MULTIPLE.EXITS],threshold:.2,children:[_&&this.renderSticky(e),(0,U.jsx)("div",{className:"m-productCrossSellUpSell__wrapper focus-styling",children:(0,U.jsx)(w.Z,{children:(0,U.jsxs)("div",{className:"row","data-sln-id":"".concat(s,"_container"),children:[(0,U.jsx)("div",{className:"m-productCrossSellUpSell__media col-xs-12 col-md-7",children:this.renderPrimaryMedia(e,C)}),(0,U.jsxs)("div",{className:"m-productCrossSellUpSell__details col-xs-12 col-md-3 col-md-offset-1",children:[this.renderDetails(P),this.renderCallsToAction()]})]})})})]})})}}]),r}(d.PureComponent);J.displayName="ProductCrossSellUpSell",J.defaultProps={hasSticky:!1,isCategoryPage:!1,isWithinCart:!1,isSignUp:!1,withPromoBanner:!1,withCountryNotification:!1,globalMsgHeight:{expressNotificationBannerHeight:0,countryNotificationHeight:0},toggleSupportingNav:function(){}};var H=(0,V.Z)(J),M=(0,C.Z)(H,S)},73578:function(t,e,r){r.r(e),r.d(e,{default:function(){return C}});var a=r(90849),n=r(90089),o=r(43350),i=r(80040),c=r(48415),s=r(73667),l=r(3117),u=r(27378),d=r(71250),p=r(26221),g=r(24246),h=["data","availableQuant","handleShowCartPopup","setAddToBasketProdSku","hidePriceForCountries","homeCountryCookie"];function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}return r}function m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){(0,a.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function v(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,a=(0,l.Z)(t);if(e){var n=(0,l.Z)(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return(0,s.Z)(this,r)}}var S=function(t){(0,c.Z)(r,t);var e=v(r);function r(){return(0,o.Z)(this,r),e.apply(this,arguments)}return(0,i.Z)(r,[{key:"componentDidMount",value:function(){var t=this.props,e=t.data,r=t.getVariantStockAvailability;if(r){var a=e&&e.getIn([0,"variants"]);if(a&&a.size>0)r(a.map((function(t){return t.get("sku")})).toJS(),"crossSell");else e&&e.toJS()&&Array.isArray(e.toJS())?r(e&&e.map((function(t){return t.getIn(["productDetails","sku"])})).toJS(),"crossSell"):r([e&&e.getIn(["productDetails","sku"])],"crossSell")}}},{key:"render",value:function(){var t=this.props,e=t.data,r=t.availableQuant,a=t.handleShowCartPopup,o=t.setAddToBasketProdSku,i=t.hidePriceForCountries,c=t.homeCountryCookie,s=(0,n.Z)(t,h),l=e&&e.getIn([0,"withPromoBanner"]),u=e&&e.getIn([0,"withCountryNotification"]),f=e&&e.getIn([0,"globalMsgHeight"]),v=e.size>1?e:e.get(0),S=(0,d.nr)(v);return(0,g.jsx)(p.Z,m(m({data:S},s),{},{withPromoBanner:l,withCountryNotification:u,globalMsgHeight:f,availableQuant:r,handleShowCartPopup:a,setAddToBasketProdSku:o,hidePriceForCountries:i,homeCountryCookie:c}))}}]),r}(u.PureComponent),C=S}}]);

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.