PageSourceSearch

https://www.bang-olufsen.com/_next/static/chunks/1037-3048e7a04331e1e9.js

js bang-olufsen.com collected 2026-10-09 22:41:34 UTC 15,654 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1037,9826,8771,3284,1229,5332,484,5905,7670,2505,8629,3155,3594],{6819:function(t,e,n){"use strict";n.d(e,{Z:function(){return v}});var o=n(90849),i=n(60042),r=n.n(i),a=n(27378),s=n(2463),c=n(48500),u=n(6234),l=n(34869),d=(0,n(41408).iv)(["&.a-richMediaVideo{position:relative;width:100%;height:100%;&.setRatio{aspect-ratio:1/1;}.pause-button-wrapper{position:absolute;width:32px;height:32px;right:16px;bottom:16px;background-color:",";z-index:",";border-radius:50%;@media ","{width:45px;height:45px;}&.show-btn{visibility:visible;}&.hide-btn{visibility:hidden;}&.-isSmallBtn{width:32px;height:32px;.-playPauseA11yButton{width:32px;height:32px;}}}&.has-sticky-play-pause{.m-videoPlayer{position:absolute;inset:0;}.pause-button-track{position:sticky;top:0;height:100vh;width:100%;pointer-events:none;z-index:",";.pause-button-wrapper{pointer-events:auto;}}}&.isCarouselVideo{.pause-button-wrapper{@media ","{bottom:36px;}@media ","{bottom:8.5%;}}}.-playPauseA11yButton{z-index:",";position:absolute;bottom:50%;right:50%;display:block;width:32px;height:32px;cursor:pointer;background-color:transparent;transform:translate(50%,50%);border-radius:50%;@media ","{width:45px;height:45px;}&.-pause{background-image:url('/static-assets/images/common/video-pause-button.svg');background-position:center;background-repeat:no-repeat;}&.-play{background-image:url('/static-assets/images/common/video-play-button.svg');background-position:center;background-repeat:no-repeat;}.vjs-control-text{visibility:hidden;}}}"],(function(t){return"".concat(t.theme.colors.BEO_BLACK,"66")}),(function(t){return t.theme.zIndex.zCookiePopup}),(function(t){return t.theme.mediaQuery.medium}),(function(t){return t.theme.zIndex.zCookiePopup}),(function(t){return t.theme.mediaQuery.small}),(function(t){return t.theme.mediaQuery.medium}),(function(t){return t.theme.zIndex.zVideo}),(function(t){return t.theme.mediaQuery.medium})),p=n(41605),f=n(24246);function g(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?g(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var m=(0,u.Z)((function(t){var e,n=t.backgroundVideo,o=t.className,i=t.isRichMediaVideoOnCategoryPageProductCardCarousel,u=t.ratio,l=t.storyAutoPlayed,d=t.parentRef,g=t.isSmallBtn,m=t.isCarouselVideo,v=t.videoInlineStyles,h=t.alwaysShowPlayPauseButton,y=t.enableStickyPlayPauseButton,j=void 0!==y&&y,w=t.enableFullScreenOnClick,x=void 0!==w&&w,P=(0,a.useState)(!1),k=P[0],O=P[1],I=(0,a.useState)(!1),C=I[0],S=I[1],E=(0,a.useRef)(null),L=function(t){t.stopPropagation(),i&&t.preventDefault(),e()},N=function(t){var e=null===E||void 0===E?void 0:E.current,n=null===e||void 0===e?void 0:e.getElementsByClassName("pause-button-wrapper"),o=n&&(null===n||void 0===n?void 0:n.length)&&n[0];o&&!e.contains(t.relatedTarget)&&(o.classList.remove("show-btn"),o.classList.add("hide-btn"))};(0,a.useEffect)((function(){var t=null===E||void 0===E?void 0:E.current;return t.addEventListener("focusout",N),function(){t.removeEventListener("focusout",N)}}),[]);var A=function(){var t=null===E||void 0===E?void 0:E.current,e=null===t||void 0===t?void 0:t.getElementsByClassName("pause-button-wrapper"),n=e&&(null===e||void 0===e?void 0:e.length)&&e[0];n&&(n.classList.remove("hide-btn"),n.classList.add("show-btn"))};(0,a.useEffect)((function(){var t=null===d||void 0===d?void 0:d.current;return t&&(t.addEventListener("mouseover",A),t.addEventListener("mouseout",N)),function(){t&&(t.addEventListener("mouseover",A),t.addEventListener("mouseout",N))}}),[]);var z=null===n||void 0===n?void 0:n.getIn(["media","defaultAssetUrl"]),Z=l||(null===n||void 0===n?void 0:n.getIn(["media","autoPlay"])),B=null===n||void 0===n?void 0:n.getIn(["media","enableLoop"]),M=l||(null===n||void 0===n?void 0:n.getIn(["media","autoPlay"])),T={mediaItem:n,trackVideo:!1,controls:!M},R=C||h?"show-btn":"hide-btn",V=r()(o,"a-richMediaVideo",{setRatio:u,isCarouselVideo:m,"has-sticky-play-pause":j&&M}),F=m?-1:0;return(0,f.jsxs)("div",{className:V,ref:E,onMouseOver:function(t){t.stopPropagation(),C||S(!0)},onMouseLeave:function(t){t.stopPropagation(),C&&S(!1)},tabIndex:F,onFocus:function(t){return A()},role:"group","aria-label":"Rich Media Video",children:[M&&function(){var t=(0,f.jsx)("div",{className:"pause-button-wrapper ".concat(R," ").concat(g?"-isSmallBtn":""),tabIndex:F,role:"button",onClick:L,onKeyUp:function(t){return(null===t||void 0===t?void 0:t.keyCode)===
1p.q70&&L(t)},"aria-pressed":!k,"aria-label":k?p.VOb:p.eWc,children:(0,f.jsx)(c.Z,{isPaused:k,tabIndex:"-1"})});return j?(0,f.jsx)("div",{className:"pause-button-track",children:t}):t}(),(0,f.jsx)(s.default,b(b({className:"-staggerIn -stagger0",autoplay:Z,loop:B,setPlayPauseOptions:function(t){e=t},setPlayPauseState:function(t){O(t)},isRichMediaVideoOnCategoryPageProductCardCarousel:i,videoInlineStyles:v},T),{},{enableFullScreenOnClick:x}),z)]})})),v=(0,l.Z)(m,d)},84596:function(t,e,n){"use strict";n.d(e,{Z:function(){return o.Z}});var o=n(6819)},45332:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return o.Z}});var o=n(99920)},72782:function(t,e,n){"use strict";n.d(e,{Z:function(){return m}});var o=n(43350),i=n(80040),r=n(48415),a=n(73667),s=n(3117),c=n(27378),u=n(94026),l=n(45332),d=n(6234),p=n(57597),f=n(24246);function g(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 n,o=(0,s.Z)(t);if(e){var i=(0,s.Z)(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return(0,a.Z)(this,n)}}var b=function(t){(0,r.Z)(n,t);var e=g(n);function n(){return(0,o.Z)(this,n),e.apply(this,arguments)}return(0,i.Z)(n,[{key:"render",value:function(){var t=this.props,e=t.className,n=t.newsLetterFormData,o=t.slnId,i=t.locale,r=t.isNps,a=t.isNewsletterConfirmation,s=t.formSubmitData,c=t.countryCode,d=n&&n.getIn(["confirmationItem","item","0"]),g=n&&n.getIn(["confirmationHero","item","0"]),b=n.get("discountId"),m=n.get("discountRuleName"),v=n.get("couponLink"),h=b&&m&&v,y=s&&s.get("voucherUrl"),j=n&&n.get("additionalContent"),w=n&&n.get("trustPilot");return(0,f.jsxs)("div",{className:e,children:[(0,f.jsx)(l.default,{locale:i,data:g,thankYouPage:!0,slnId:"".concat(o,"_textAndIcon"),isNps:r,isNewsletterConfirmation:a,isVoucherAvailable:h,newsLetterFormData:n,voucherUrl:y,country:c}),w&&(0,f.jsx)(l.default,{locale:i,data:w,thankYouPage:!0,slnId:"".concat(o,"_textAndIcon_trustPilot"),istrustPilot:!0}),d&&!a&&(0,f.jsx)(u.default,{data:d,withOutBackground:!0,variant:"fiftyFifty",locale:i,country:c,slnId:"".concat(o,"_textAndImage")}),j&&(0,f.jsx)(p.ZP,{items:j})]})}}]),n}(c.PureComponent),m=(0,d.Z)(b)},7174:function(t,e,n){"use strict";n.d(e,{BA:function(){return f},Gl:function(){return a},IO:function(){return v},IU:function(){return j},JI:function(){return b},NM:function(){return m},Oi:function(){return s},RT:function(){return u},Sf:function(){return y},VS:function(){return x},dK:function(){return g},eb:function(){return p},jP:function(){return w},ob:function(){return c},tW:function(){return h},wZ:function(){return d},zs:function(){return l}});var o=n(90849);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var a={inheritedClass:"-fadeIn",controls:!0,autoplay:!0,muted:!1,loop:!1,ratio:[16,9]},s={inheritedClass:"-fadeIn",ratio:[16,9],cover:!0,controls:!1,autoplay:!0,muted:!0,loop:!0},c={className:"-staggerInUp -stagger5",variant:"secondary",forceClick:!0,centered:!0,isButton:!0,invertColor:!0},u={className:"-staggerInUp -stagger5",variant:"primary",forceClick:!0},l={className:"-staggerInUp -stagger5",variant:"secondary",invertColor:!0,forceClick:!0},d=r(r({},l),{},{className:"".concat(l.className," secondary-cta")}),p={className:"-staggerIn -stagger5",variant:"play",invertColor:!0,noLabel:!0},f={className:"o-hero__closeBtn -staggerIn -stagger5",variant:"close",invertColor:!0,noLabel:!0},g="herosplit",b="hero16x9",m="herosquare",v="herov4",h="heroscrollbanner",y="herosplitv2",j="productHeader",w="salesSupportModal",x="storyHeader"},48500:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var o=n(41605),i=n(51321),r=n(24246),a=function(t){var e=t.isPaused,n=t.onClick,a=t.onKeyUp,s=t.tabIndex,c=t.playLabel,u=t.pauseLabel;return(0,r.jsxs)("button",{className:"-playPauseA11yButton ".concat(e?"-play":"-pause"),type:"button",title:e?i.F.PLAY:i.F.PAUSE,"aria-pressed":!e,"aria-label":e?c||o.VOb:u||o.eWc,onClick:function(t){n&&n(t)},onKeyUp:function(t){a&&a(t)},tabIndex:s,children:[(0,r.jsx)("span",{"aria-hidden":"true",className:"vjs-icon-placeholder"}),(0,r.jsx)("div",{"aria-live":"assertive",role:"alert","aria-atomic":"true",children:(0,r.jsx)("span",{className:"vjs-control-text",children:e?i.F.PLAY:i.F.PAUSE})})]})}},63594:function(t){"use strict";var e="bfred-it:object-fit-images",n=/(object-fit|object-position)\s*:\s*([-.\w\s%]+)/g,o="undefined"===typeof Image?{style:{"object-position":1}}:new Image,i="object-fit"in o.style,r="object-position"in o.style,a="background-size"in o.style,s="string"===typeof o.currentSrc,c=o.getAttribute,u=o.setAttribute,l=!1;function d(t,e,n){var o="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+(e||1)+"' height='"+(n||0)+"'%3E%3C/svg%3E";c.call(t,"src")!==o&&u.call(t,"src",o)}
1function p(t,e){t.naturalWidth?e(t):setTimeout(p,100,t,e)}function f(t){var o=function(t){for(var e,o=getComputedStyle(t).fontFamily,i={};null!==(e=n.exec(o));)i[e[1]]=e[2];return i}(t),r=t[e];if(o["object-fit"]=o["object-fit"]||"fill",!r.img){if("fill"===o["object-fit"])return;if(!r.skipTest&&i&&!o["object-position"])return}if(!r.img){r.img=new Image(t.width,t.height),r.img.srcset=c.call(t,"data-ofi-srcset")||t.srcset,r.img.src=c.call(t,"data-ofi-src")||t.src,u.call(t,"data-ofi-src",t.src),t.srcset&&u.call(t,"data-ofi-srcset",t.srcset),d(t,t.naturalWidth||t.width,t.naturalHeight||t.height),t.srcset&&(t.srcset="");try{!function(t){var n={get:function(n){return t[e].img[n||"src"]},set:function(n,o){return t[e].img[o||"src"]=n,u.call(t,"data-ofi-"+o,n),f(t),n}};Object.defineProperty(t,"src",n),Object.defineProperty(t,"currentSrc",{get:function(){return n.get("currentSrc")}}),Object.defineProperty(t,"srcset",{get:function(){return n.get("srcset")},set:function(t){return n.set(t,"srcset")}})}(t)}catch(a){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}!function(t){if(t.srcset&&!s&&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=o["object-position"]||"center",t.style.backgroundRepeat="no-repeat",t.style.backgroundOrigin="content-box",/scale-down/.test(o["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=o["object-fit"].replace("none","auto").replace("fill","100% 100%"),p(r.img,(function(e){d(t,e.naturalWidth,e.naturalHeight)}))}function g(t,n){var o=!l&&!t;if(n=n||{},t=t||"img",r&&!n.skipTest||!a)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:n.skipTest},f(t[i]);o&&(document.body.addEventListener("load",(function(t){"IMG"===t.target.tagName&&g(t.target,{skipTest:n.skipTest})}),!0),l=!0,t="img"),n.watchMQ&&window.addEventListener("resize",g.bind(null,t,{skipTest:n.skipTest}))}g.supportsObjectFit=i,g.supportsObjectPosition=r,function(){function t(t,n){return t[e]&&t[e].img&&("src"===n||"srcset"===n)?t[e].img:t}r||(HTMLImageElement.prototype.getAttribute=function(e){return c.call(t(this,e),e)},HTMLImageElement.prototype.setAttribute=function(e,n){return u.call(t(this,e),e,String(n))})}(),t.exports=g},20484:function(t){"undefined"!==typeof t.exports&&(t.exports=function(t){"use strict";var e=navigator.userAgent.indexOf("Edge/")>=0,n=new Image,o="object-fit"in n.style&&!e,i="object-position"in n.style&&!e,r=/(object-fit|object-position)\s*:\s*([-\w\s%]+)/g;function a(t){for(var e=getComputedStyle(t).fontFamily,n=null,o={};null!==(n=r.exec(e));)o[n[1]]=n[2];return o["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}(o):o}function s(t,e){if("fill"!==e["object-fit"]){var n=t.style,o=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 a in"backgroundColor backgroundImage borderColor borderStyle borderWidth bottom fontSize lineHeight left opacity margin position right top visibility".replace(/\w+/g,(function(t){r[t]=o[t]})),r)i.style[a]=r[a];n.border=n.margin=n.padding=0,n.display="block",n.opacity=1,t.addEventListener("loadedmetadata",s),window.addEventListener("optimizedResize",s),t.readyState>=1&&(t.removeEventListener("loadedmetadata",s),s())}function s(){var o=t.videoWidth/t.videoHeight,r=i.clientWidth,a=i.clientHeight,s=r/a,c=0,u=0;n.marginLeft=n.marginTop=0,(o<s?"contain"===e["object-fit"]:"cover"===e["object-fit"])?(c=a*o,u=r/o,n.width=Math.round(c)+"px",n.height=a+"px","left"===e["object-position-x"]?n.marginLeft=0:"right"===e["object-position-x"]?n.marginLeft=Math.round(r-c)+"px":n.marginLeft=Math.round((r-c)/2)+"px"):(u=r/o,n.width=r+"px",n.height=Math.round(u)+"px","top"===e["object-position-y"]?n.marginTop=0:"bottom"===e["object-position-y"]?n.marginTop=Math.round(a-u)+"px":n.marginTop=Math.round((a-u)/2)+"px"),t.autoplay&&t.play()}}o&&i||(function(t){var e=-1;t?"length"in t||(t=[t]):t=document.querySelectorAll("video");for(;t[++e];){var n=a(t[e]);(n["object-fit"]||n["object-position"])&&(n["object-fit"]=n["object-fit"]||"fill",s(t[e],n))}}(t),function(t,e,n){n=n||window;var o=!1,i=null;try{i=new CustomEvent(e)}catch(a){(i=document.createEvent("Event")).initEvent(e,!0,!0)}
1var r=function(){o||(o=!0,requestAnimationFrame((function(){n.dispatchEvent(i),o=!1})))};n.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.