PageSourceSearch

https://www.bang-olufsen.com/_next/static/chunks/3493.485bfa1a0040ea03.js

js bang-olufsen.com collected 2026-10-09 22:42:09 UTC 13,462 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3493,3284,6277,7832,5307,484,3594],{26891:function(t,e,o){"use strict";o.d(e,{Z:function(){return j}});var n=o(43350),i=o(80040),r=o(59307),c=o(48415),a=o(73667),s=o(3117),l=o(90849),u=o(34051),d=o(27378),p=o(41408),f=o(83030),h=o(49366),g=(0,p.iv)([".checkmark{position:absolute;top:1px;left:1px;height:21px;width:21px;background-color:",";border-radius:50%;border:1px solid ",";&::after{content:'';position:absolute;display:none;}}.icn-tick-round{position:absolute;font-size:",";top:1px;left:1px;height:21px;width:21px;background-color:",";border-radius:50%;}.radio-container{display:block;position:relative;padding-left:30px;margin-bottom:12px;cursor:pointer;user-select:none;width:fit-content;.checkmark{&::after{top:5px;left:5px;width:10px;height:10px;border-radius:50%;background:",";border:none;}}.radio-description{display:inline;color:",";}input{position:absolute;opacity:0;cursor:pointer;&:checked{~{.checkmark{background-color:",";border:transparent;&::after{display:block;}}}}}.label-with-logo{display:flex;flex-direction:column;.logo-wrapper{display:flex;margin-top:5px;img{width:40px;height:24px;margin-right:5px;}}}}&.is-focused{.radio-container{input:checked{~{.checkmark{"," border-radius:50%;}}}}}"],(function(t){return t.theme.colors.WHITE}),(function(t){return t.theme.colors.GREY4}),(function(t){return(0,f.hO)(t.theme.fonts.fontSize.icon.primary)}),(function(t){return t.theme.colors.WHITE}),(function(t){return t.theme.colors.BEO_BLACK}),(function(t){return t.theme.colors.GREY5}),(function(t){return t.theme.colors.WHITE}),(0,h.Z)()),m=o(34869),b=o(79341),v=o(24246);function x(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 o,n=(0,s.Z)(t);if(e){var i=(0,s.Z)(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return(0,a.Z)(this,o)}}var y=function(t){(0,c.Z)(o,t);var e=x(o);function o(t){var i;return(0,n.Z)(this,o),i=e.call(this,t),(0,l.Z)((0,r.Z)(i),"handleChange",(function(t){var e,o=t.target,n=o.name,r=o.value,c=i.props.onChecked;i.setState((e={},(0,l.Z)(e,n,r),(0,l.Z)(e,"isFocused",!0),e)),"function"===typeof c&&c(r,n)})),(0,l.Z)((0,r.Z)(i),"getLabelWithLogos",(function(t){var e=i.props.name,o=t.label,n=t.logos,r=t.id;return(0,v.jsxs)("div",{className:"label-with-logo",children:[(0,v.jsx)("div",{className:"radio-container-label",children:o}),n&&n.length>0&&(0,v.jsx)("div",{className:"logo-wrapper",children:n&&n.map((function(t){return(0,v.jsx)("img",{className:"option-logo",src:t,alt:""},"".concat(e,"_logo_").concat(r))}))})]})})),i.state={},i}return(0,i.Z)(o,[{key:"render",value:function(){var t=this,e=this.props,o=e.options,n=e.name,i=e.selected,r=e.className,c=void 0===r?"":r,a=e.onFocus,s=e.onBlur,l=e.isPdp,d=this.state.isFocused,p="".concat(c," radioButtons ").concat(d?" is-focused":"");return(0,v.jsx)("div",{className:p,children:o&&o.map((function(e){var o,r=e.logos,c=e.disabled,d=void 0!==c&&c,p=e.description,f=(null===i||void 0===i?void 0:i.toLowerCase())===(null===e||void 0===e||null===(o=e.id)||void 0===o?void 0:o.toLowerCase());return(0,v.jsxs)("label",{htmlFor:e.id,className:"radio-container",children:[r&&t.getLabelWithLogos(e),!r&&(0,v.jsx)("span",{className:"radio-container-label",children:e.label}),(0,v.jsx)("div",{className:"richtext-component ".concat(f?"selected":""),children:f&&p&&(0,v.jsx)(b.Z,{data:(0,u.fromJS)(p),paragraphClassName:"b3 radio-description"})}),(0,v.jsx)("input",{type:"radio",id:e.id,value:e.id,name:n,checked:i.toLowerCase()===e.id.toLowerCase(),onChange:function(e){return t.handleChange(e)},onFocus:function(e){return t.setState({isFocused:!0},(function(){a&&a(e)}))},onBlur:function(e){return t.setState({isFocused:!1},(function(){s&&s(e)}))},disabled:d}),(0,v.jsx)("span",{className:"checkmark",children:" \xa0"}),l&&i.toLowerCase()===e.id.toLowerCase()&&(0,v.jsx)("span",{className:"icn-tick-round",children:"\xa0"})]},"".concat(n,"_").concat(e.id))}))})}}]),o}
1(d.PureComponent);y.displayName="RadioButtonGroup",y.defaultProps={onFocus:function(){},onBlur:function(){}};var j=(0,m.Z)(y,g)},5307:function(t,e,o){"use strict";o.r(e),o.d(e,{default:function(){return T}});var n=o(43350),i=o(80040),r=o(59307),c=o(48415),a=o(73667),s=o(3117),l=o(90849),u=o(27378),d=o(90104),p=o.n(d),f=o(34869),h=o(41408),g=o(83030),m=(0,h.iv)([".a-markdownContent.no-title{p{strong{font-size:",";}}}&.m-text{p{color:",";}.m-readMore{color:",";text-decoration:underline;cursor:pointer;margin-top:20px;}.richTextWrapper{p{margin-bottom:20px;}}}.a-anchorButton{margin-top:20px;}"],(function(t){return(0,g.hO)(t.theme.fonts.fontSize.body.small.tertiary)}),(function(t){return t.theme.colors.BEO_BLACK}),(function(t){return t.theme.colors.GREY5})),b=o(71377),v=o(8103),x=o(81365),y=o(71250),j=o(48323),w=o(41507),k=o(6234),C=o(79341),Z=o(5047),L=o(24246);function S(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 o,n=(0,s.Z)(t);if(e){var i=(0,s.Z)(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return(0,a.Z)(this,o)}}var E=function(t){(0,c.Z)(o,t);var e=S(o);function o(t){var i;return(0,n.Z)(this,o),i=e.call(this,t),(0,l.Z)((0,r.Z)(i),"readMoreDescp",(function(){i.setState({showReadMore:!1})})),i.state={showReadMore:!1},i}return(0,i.Z)(o,[{key:"componentDidMount",value:function(){var t;(null===(t=this.props.data)||void 0===t?void 0:t.get("alternateDescription"))&&this.setState({showReadMore:!0})}},{key:"render",value:function(){var t=this.props,e=t.className,o=t.modifierClasses,n=t.data,i=t.slnId,r=t.locale,c=t.country,a=t.readMoreLabel,s=n&&n.get("title"),l=n&&n.get("subtitle"),u=n&&n.get("callToAction"),d=null===n||void 0===n?void 0:n.get("alternateDescription"),f=u&&u.get("linkText"),h=u&&u.get("url"),g=u&&u.get("ariaLabel"),m=(null===u||void 0===u?void 0:u.get("theme"))||"secondary",k=null===u||void 0===u?void 0:u.get("buttonColor"),S=h&&((0,j.Sv)(h)?h:(0,y.LK)({pathname:h,query:{language:r,country:null===c||void 0===c?void 0:c.toLowerCase()}})),E=u&&u.get("target")||h&&((0,j.Sv)(h)?"_blank":"_self");return(0,L.jsx)("div",{className:"".concat(e," m-text"),"data-sln-id":i,children:(0,L.jsx)(b.Z,{children:(0,L.jsx)("div",{className:"row",children:(0,L.jsxs)("div",{className:"".concat(o||""),children:[!p()(null===s||void 0===s?void 0:s.trim())&&(0,L.jsx)("h2",{"data-sln-id":"".concat(i,"_title"),className:"h3",children:(0,L.jsx)("span",{children:s})}),!p()(null===l||void 0===l?void 0:l.trim())&&(0,L.jsx)("h2",{"data-sln-id":"".concat(i,"_subtitle"),className:"h3",children:(0,L.jsx)("span",{children:l})}),this.state.showReadMore&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(C.Z,{data:d,dataSlnId:"".concat(i,"_text_description"),className:"alt-desc"}),(0,L.jsx)(Z.Z,{cta:null,className:"b1 m-readMore",onClick:this.readMoreDescp,noLink:!0,children:a})]}),!this.state.showReadMore&&(0,L.jsx)(v.Z,{data:n,slnId:i,locale:r,country:c}),u&&!this.state.showReadMore&&(0,L.jsx)(x.Z,{cta:u,href:S,variant:m,labelText:f,target:E,tertiaryBtnHoverColor:w.Z.BEO_BLACK,ariaLabel:g,buttonColor:k})]})})})})}}]),o}(u.PureComponent);E.displayName="Text";var N=(0,k.Z)(E),T=(0,f.Z)(N,m)},99767:function(t,e,o){"use strict";o.r(e),o.d(e,{default:function(){return n.Z}});var n=o(54245)},63594:function(t){"use strict";var e="bfred-it:object-fit-images",o=/(object-fit|object-position)\s*:\s*([-.\w\s%]+)/g,n="undefined"===typeof Image?{style:{"object-position":1}}:new Image,i="object-fit"in n.style,r="object-position"in n.style,c="background-size"in n.style,a="string"===typeof n.currentSrc,s=n.getAttribute,l=n.setAttribute,u=!1;function d(t,e,o){var n="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+(e||1)+"' height='"+(o||0)+"'%3E%3C/svg%3E";s.call(t,"src")!==n&&l.call(t,"src",n)}function p(t,e){t.naturalWidth?e(t):setTimeout(p,100,t,e)}function f(t){var n=function(t){for(var e,n=getComputedStyle(t).fontFamily,i={};null!==(e=o.exec(n));)i[e[1]]=e[2];return i}(t),r=t[e];if(n["object-fit"]=n["object-fit"]||"fill",!r.img){if("fill"===n["object-fit"])return;if(!r.skipTest&&i&&!n["object-position"])return}if(!r.img){r.img=new Image(t.width,t.height),r.img.srcset=s.call(t,"data-ofi-srcset")||t.srcset,r.img.src=s.call(t,"data-ofi-src")||t.src,l.call(t,"data-ofi-src",t.src),t.srcset&&l.call(t,"data-ofi-srcset",t.srcset),d(t,t.naturalWi
1dth||t.width,t.naturalHeight||t.height),t.srcset&&(t.srcset="");try{!function(t){var o={get:function(o){return t[e].img[o||"src"]},set:function(o,n){return t[e].img[n||"src"]=o,l.call(t,"data-ofi-"+n,o),f(t),o}};Object.defineProperty(t,"src",o),Object.defineProperty(t,"currentSrc",{get:function(){return o.get("currentSrc")}}),Object.defineProperty(t,"srcset",{get:function(){return o.get("srcset")},set:function(t){return o.set(t,"srcset")}})}(t)}catch(c){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}!function(t){if(t.srcset&&!a&&window.picturefill){var e=window.picturefill._;t[e.ns]&&t[e.ns].evaled||e.fillImg(t,{reselect:!0}),t[e.ns].curSrc||(t[e.ns].supported=!1,e.fillImg(t,{reselect:!0})),t.currentSrc=t[e.ns].curSrc||t.src}}(r.img),t.style.backgroundImage='url("'+(r.img.currentSrc||r.img.src).replace(/"/g,'\\"')+'")',t.style.backgroundPosition=n["object-position"]||"center",t.style.backgroundRepeat="no-repeat",t.style.backgroundOrigin="content-box",/scale-down/.test(n["object-fit"])?p(r.img,(function(){r.img.naturalWidth>t.width||r.img.naturalHeight>t.height?t.style.backgroundSize="contain":t.style.backgroundSize="auto"})):t.style.backgroundSize=n["object-fit"].replace("none","auto").replace("fill","100% 100%"),p(r.img,(function(e){d(t,e.naturalWidth,e.naturalHeight)}))}function h(t,o){var n=!u&&!t;if(o=o||{},t=t||"img",r&&!o.skipTest||!c)return!1;"img"===t?t=document.getElementsByTagName("img"):"string"===typeof t?t=document.querySelectorAll(t):"length"in t||(t=[t]);for(var i=0;i<t.length;i++)t[i][e]=t[i][e]||{skipTest:o.skipTest},f(t[i]);n&&(document.body.addEventListener("load",(function(t){"IMG"===t.target.tagName&&h(t.target,{skipTest:o.skipTest})}),!0),u=!0,t="img"),o.watchMQ&&window.addEventListener("resize",h.bind(null,t,{skipTest:o.skipTest}))}h.supportsObjectFit=i,h.supportsObjectPosition=r,function(){function t(t,o){return t[e]&&t[e].img&&("src"===o||"srcset"===o)?t[e].img:t}r||(HTMLImageElement.prototype.getAttribute=function(e){return s.call(t(this,e),e)},HTMLImageElement.prototype.setAttribute=function(e,o){return l.call(t(this,e),e,String(o))})}(),t.exports=h},20484:function(t){"undefined"!==typeof t.exports&&(t.exports=function(t){"use strict";var e=navigator.userAgent.indexOf("Edge/")>=0,o=new Image,n="object-fit"in o.style&&!e,i="object-position"in o.style&&!e,r=/(object-fit|object-position)\s*:\s*([-\w\s%]+)/g;function c(t){for(var e=getComputedStyle(t).fontFamily,o=null,n={};null!==(o=r.exec(e));)n[o[1]]=o[2];return n["object-position"]?function(t){~t["object-position"].indexOf("left")?t["object-position-x"]="left":~t["object-position"].indexOf("right")?t["object-position-x"]="right":t["object-position-x"]="center";~t["object-position"].indexOf("top")?t["object-position-y"]="top":~t["object-position"].indexOf("bottom")?t["object-position-y"]="bottom":t["object-position-y"]="center";return t}(n):n}function a(t,e){if("fill"!==e["object-fit"]){var o=t.style,n=window.getComputedStyle(t),i=document.createElement("object-fit");i.appendChild(t.parentNode.replaceChild(i,t));var r={height:"100%",width:"100%",boxSizing:"content-box",display:"inline-block",overflow:"hidden"};for(var c in"backgroundColor backgroundImage borderColor borderStyle borderWidth bottom fontSize lineHeight left opacity margin position right top visibility".replace(/\w+/g,(function(t){r[t]=n[t]})),r)i.style[c]=r[c];o.border=o.margin=o.padding=0,o.display="block",o.opacity=1,t.addEventListener("loadedmetadata",a),window.addEventListener("optimizedResize",a),t.readyState>=1&&(t.removeEventListener("loadedmetadata",a),a())}function a(){var n=t.videoWidth/t.videoHeight,r=i.clientWidth,c=i.clientHeight,a=r/c,s=0,l=0;o.marginLeft=o.marginTop=0,(n<a?"contain"===e["object-fit"]:"cover"===e["object-fit"])?(s=c*n,l=r/n,o.width=Math.round(s)+"px",o.height=c+"px","left"===e["object-position-x"]?o.marginLeft=0:"right"===e["object-position-x"]?o.marginLeft=Math.round(r-s)+"px":o.marginLeft=Math.round((r-s)/2)+"px"):(l=r/n,o.width=r+"px",o.height=Math.round(l)+"px","top"===e["object-position-y"]?o.marginTop=0:"bottom"===e["object-position-y"]?o.marginTop=Math.round(c-l)+"px":o.marginTop=Math.round((c-l)/2)+"px"),t.autoplay&&t.play()}}n&&i||(function(t){var e=-1;t?"length"in t||(t=[t]):t=document.querySelectorAll("video");for(;t[++e];){var o=c(t[e]);(o["object-fit"]||o["object-position"])&&(o["object-fit"]=o["object-fit"]||"fill",a(t[e],o))}}(t),function(t,e,o){o=o||window;var n=!1,i=null;try{i=new CustomEvent(e)}catch(c){(i=document.createEvent("Event")).initEvent(e,!0,!0)}
1var r=function(){n||(n=!0,requestAnimationFrame((function(){o.dispatchEvent(i),n=!1})))};o.addEventListener(t,r)}("resize","optimizedResize"))})}}]);

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.