1"use strict";(self["FC.EcomwebpackJsonp"]=self["FC.EcomwebpackJsonp"]||[]).push([[8619],{43129:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var n=function(t,e,a,n){return new(a||(a=Promise))((function(i,r){function o(t){try{s(n.next(t))}catch(t){r(t)}}function c(t){try{s(n.throw(t))}catch(t){r(t)}}function s(t){var e;t.done?i(t.value):(e=t.value,e instanceof a?e:new a((function(t){t(e)}))).then(o,c)}s((n=n.apply(t,e||[])).next())}))},i=function(t,e){var a,n,i,r,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function c(r){return function(c){return function(r){if(a)throw new TypeError("Generator is already executing.");for(;o;)try{if(a=1,n&&(i=2&r[0]?n.return:r[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,r[1])).done)return i;switch(n=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return o.label++,{value:r[1],done:!1};case 5:o.label++,n=r[1],r=[0];continue;case 7:r=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==r[0]&&2!==r[0])){o=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]<i[3])){o.label=r[1];break}if(6===r[0]&&o.label<i[1]){o.label=i[1],i=r;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(r);break}i[2]&&o.ops.pop(),o.trys.pop();continue}r=e.call(t,o)}catch(t){r=[6,t],n=0}finally{a=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,c])}}},r=function(t,e){var a="function"==typeof Symbol&&t[Symbol.iterator];if(!a)return t;var n,i,r=a.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(n=r.next()).done;)o.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(a=r.return)&&a.call(r)}finally{if(i)throw i.error}}return o},o=function(t,e,a){if(a||2===arguments.length)for(var n,i=0,r=e.length;i<r;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))},c=function(){function t(t){var e=this;this.element=t,this.visible=!1,this.actionItems=this.element.querySelectorAll(".action-item"),this.skipButton=this.element.querySelector("a.skip-content-btn"),this.initHandlers(),this.animatedPictureSelector='picture[data-animated="true" i]',this.animatedImageSelector='img[data-animated="true" i]',this.animatedImageClass="animated-image",document.querySelectorAll(this.animatedPictureSelector).forEach((function(t){e.setupAnimationHandlingForPictures(t)})),document.addEventListener("searchLayer:opened",(function(t){var a=document.querySelector(t.detail.selector);a&&a.querySelectorAll("".concat(e.animatedPictureSelector,":not([data-animation-initialized])")).forEach((function(t){e.setupAnimationHandlingForPictures(t),t.dataset.animationInitialized="true"}))})),document.addEventListener("navigationFlyout:opened",(function(t){document.querySelectorAll(t.detail.selector).forEach((function(t){t.querySelectorAll("".concat(e.animatedPictureSelector,":not([data-animation-initialized])")).forEach((function(t){e.setupAnimationHandlingForPictures(t),t.dataset.animationInitialized="true"}))}))})),document.querySelectorAll(this.animatedImageSelector).forEach((function(t){if("true"!==t.dataset.listenerBound){t.dataset.listenerBound="true",t.tabIndex=0;var a=document.getElementById("animated-images-section");a&&a.hidden&&(a.hidden=!1),t.title=a.dataset.animatedTooltipText;var n=!!t.closest(".standard-teaser-container");t.addEventListener("click",(function(i){(n&&(i.preventDefault(),i.stopPropagation()),t.hasAttribute("data-paused"))?(e.switchImageToAnimatedImage(t),document.querySelector(".".concat(e.animatedImageClass,"[data-paused]"))||a.removeAttribute("data-paused")):(e.switchImageToStaticImage(t),document.querySelector(".".concat(e.animatedImageClass,":not([data-paused])"))||(a.dataset.paused=""))})),t.addEventListener("keydown",(function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),n&&e.stopPropagation(),t.click())})),e.convertImgToStaticImage(t).then((function(){t.classList.add("animated-image"),t.tabIndex=t.parentElement.classList.contains("gallery-slider__image")?t.closest(".tns-slide-active")?0:-1:0}))}}))}return t.setup=function(e){void 0===e&&(e='[data-module="SkipToContent"]');var a=document.querySelectorAll(e);Array.from(a).filter((function(t){return!t.dataset.moduleInitialized}
1)).forEach((function(e){new t(e),e.dataset.moduleInitialized="true"}))},t.prototype.setupAnimationHandlingForPictures=function(t){var e=this,a=t.querySelector("img"),n=t.querySelectorAll("source");if("true"!==a.dataset.listenerBound){var i=document.getElementById("animated-images-section");i&&i.hidden&&(i.hidden=!1),a.title=i.dataset.animatedTooltipText;var r=!!t.closest(".search-overlay__article-image, .standard-teaser-container, .third-level__picture");a.dataset.listenerBound="true",a.addEventListener("click",(function(n){(r&&(n.preventDefault(),n.stopPropagation()),a.hasAttribute("data-paused"))?(e.switchPictureToAnimatedImage(t),document.querySelector(".".concat(e.animatedImageClass,"[data-paused]"))||i.removeAttribute("data-paused")):(e.switchPictureToStaticImage(t),document.querySelector(".".concat(e.animatedImageClass,":not([data-paused])"))||(i.dataset.paused=""))})),a.addEventListener("keydown",(function(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),r&&t.stopPropagation(),a.click())}));var o=function(){var i=Array.from(n).find((function(t,e){return t.media?!!window.matchMedia(t.media).matches&&(a.dataset.activeSourceIndex=e.toString(),!0):(a.dataset.activeSourceIndex=e.toString(),!0)}));i&&(a.dataset.staticImageSize="".concat(a.naturalWidth,"x").concat(a.naturalHeight),e.convertSourceToStaticImage(i,a).then((function(){a.classList.add("animated-image"),a.tabIndex=t.classList.contains("stage-slider__image")?t.closest(".tns-slide-active")?0:-1:0})))};o(),n.forEach((function(t){t.media&&window.matchMedia(t.media).addEventListener("change",(function(){o()}))}))}},t.prototype.initHandlers=function(){var t,e,a=this;document.addEventListener("click",(function(t){a.closeOnClickOutside(t)})),null===(t=this.skipButton)||void 0===t||t.addEventListener("focus",(function(){a.visible||a.openAccessibilityDialog()})),null===(e=this.skipButton)||void 0===e||e.addEventListener("blur",(function(t){a.visible&&a.blurAccessibilityDialog(t)})),this.actionItems.forEach((function(t){t.addEventListener("blur",(function(t){a.visible&&a.blurAccessibilityDialog(t)}))})),document.addEventListener("keydown",(function(t){var e=document.activeElement;e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement||(t.shiftKey&&"?"===t.key?a.callKeyboardShortcut("accessibility"):t.altKey&&"/"===t.key?a.callKeyboardShortcut("search"):t.altKey&&"q"===t.key?a.callKeyboardShortcut("main"):"Home"===t.key?a.callKeyboardShortcut("header"):"End"===t.key?a.callKeyboardShortcut("footer"):t.altKey&&"g"===t.key&&a.callKeyboardShortcut("pause-gifs"))}));var n=o([this.skipButton],r(Array.from(this.actionItems)),!1);n.forEach((function(t,e){t.addEventListener("keydown",(function(i){var r;"ArrowDown"===i.key?(i.preventDefault(),t.tabIndex=-1,e===n.length-1?(n[0].tabIndex=0,n[0].focus()):n[e+1].closest("[hidden]")?(n[e+2].tabIndex=0,n[e+2].focus()):(n[e+1].tabIndex=0,n[e+1].focus())):"ArrowUp"===i.key?(i.preventDefault(),t.tabIndex=-1,0===e?(n[n.length-1].tabIndex=0,n[n.length-1].focus()):n[e-1].closest("[hidden]")?(n[e-2].tabIndex=0,n[e-2].focus()):(n[e-1].tabIndex=0,n[e-1].focus())):"Escape"===i.key&&(a.closeAccessibilityDialog(),null===(r=document.querySelector(".header__navigation .burger-menu"))||void 0===r||r.focus())})),t.dataset.command&&t.addEventListener("click",(function(e){e.preventDefault(),a.callKeyboardShortcut(t.dataset.command)}))}))},t.prototype.blurAccessibilityDialog=function(t){var e=t.relatedTarget;e&&e.closest(".accessibility-dialog")||this.closeAccessibilityDialog()},t.prototype.openAccessibilityDialog=function(){this.visible=!0,this.element.classList.add("active")},t.prototype.closeAccessibilityDialog=function(){this.visible=!1,this.element.classList.remove("active"),this.skipButton.tabIndex=0,this.actionItems.forEach((function(t){t.tabIndex=-1}))},t.prototype.closeOnClickOutside=function(t){t.target.closest(".accessibility-dialog")||this.closeAccessibilityDialog()},t.prototype.callKeyboardShortcut=function(t){var e,a,n=this;switch(t){case"search":setTimeout((function(){var t;null===(t=document.querySelector(".search-input__field"))||void 0===t||t.focus()}),0);break;case"accessibility":this.visible?(this.closeAccessibilityDialog(),null===(a=document.querySelector(".header__navigation .burger-menu"))||void 0===a||a.focus()):(this.openAccessibilityDialog(),null===(e=this.skipButton)||void 0===e||e.focus());break;case"main":window.location.href="#main";break;case"header":window.location.href="#header-navigation";break;case"footer":window.location.href="#footer-navigation";break;case"pause-gifs":var i=document.getElementById("animated-images-section");i&&(i.hasAttribute("data-paused")?(i.removeAttribute("data-paused"),document.querySelectorAll(this.animatedPictureSelector).forEach((function(t){n.switchPictureToAnimatedImage(t)})),document.querySelectorAll(this.animatedImageSelector).forEach((function(t){n.switchImageToAnimatedImage(t)}))):(i.setAttribute("data-paused",""),document.querySelectorAll(this.animatedPictureSelector).forEach((function(t){n.switchPictureToStaticImage(t)})),document.querySelectorAll(this.animatedImageSelector).forEach((function(t){n.switchImageToStaticImage(t)}))))}},t.prototype.switchPictureToStaticImage=function(t){var e,a=this;
1null===(e=t.querySelector(".".concat(this.animatedImageClass)))||void 0===e||e.setAttribute("data-paused",""),t.querySelectorAll("source[data-static-image]").forEach((function(t){var e=t.dataset.staticImage;e&&(t.srcset=e)})),t.querySelectorAll("source:not([data-static-image])").forEach((function(e){a.convertSourceToStaticImage(e,t.querySelector("img")).then((function(){var t=e.dataset.staticImage;t&&(e.srcset=t)}))}))},t.prototype.switchPictureToAnimatedImage=function(t){var e;return n(this,void 0,void 0,(function(){var a,r=this;return i(this,(function(o){switch(o.label){case 0:return null===(e=t.querySelector(".".concat(this.animatedImageClass)))||void 0===e||e.removeAttribute("data-paused"),a=t.querySelectorAll("source[data-original-image-src]"),[4,Promise.all(Array.from(a).map((function(t){return n(r,void 0,void 0,(function(){var e,a;return i(this,(function(n){switch(n.label){case 0:return e=t,[4,this.getAnimatedUrlForSource(e)];case 1:return(a=n.sent())&&(e.srcset=a),[2]}}))}))})))];case 1:return o.sent(),[2]}}))}))},t.prototype.switchImageToStaticImage=function(t){t.setAttribute("data-paused",""),t.src=t.dataset.staticImage},t.prototype.switchImageToAnimatedImage=function(t){return n(this,void 0,void 0,(function(){var e;return i(this,(function(a){switch(a.label){case 0:return t.removeAttribute("data-paused"),[4,this.getAnimatedUrlForImg(t)];case 1:return(e=a.sent())&&(t.src=e),[2]}}))}))},t.prototype.getAnimatedUrlForSource=function(t){return n(this,void 0,void 0,(function(){var e,a,n;return i(this,(function(i){switch(i.label){case 0:if(t.dataset.originalImageObjectUrl)return[2,t.dataset.originalImageObjectUrl];if(!(e=t.dataset.originalImageSrc))return[2,void 0];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,fetch(e).then((function(t){return t.blob()}))];case 2:return a=i.sent(),n=URL.createObjectURL(a),t.dataset.originalImageObjectUrl=n,[2,n];case 3:return i.sent(),[2,e];case 4:return[2]}}
1))}))},t.prototype.getAnimatedUrlForImg=function(t){return n(this,void 0,void 0,(function(){var e,a,n;return i(this,(function(i){switch(i.label){case 0:if(t.dataset.originalImageObjectUrl)return[2,t.dataset.originalImageObjectUrl];if(!(e=t.dataset.originalImageSrc))return[2,void 0];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,fetch(e).then((function(t){return t.blob()}))];case 2:return a=i.sent(),n=URL.createObjectURL(a),t.dataset.originalImageObjectUrl=n,[2,n];case 3:return i.sent(),[2,e];case 4:return[2]}}))}))},t.prototype.convertSourceToStaticImage=function(t,e){var a=this,n=function(){return t.dataset.staticImageSize?Promise.resolve():(t.dataset.staticImageSize="".concat(e.naturalWidth,"x").concat(e.naturalHeight),a.convertToJpg(e).then((function(e){e&&(t.dataset.staticImage=e,t.dataset.originalImageSrc=t.srcset)})))};return e.complete&&0!==e.naturalWidth?n():new Promise((function(t){e.addEventListener("load",(function(){n().then(t)}),{once:!0})}))},t.prototype.convertImgToStaticImage=function(t){var e=this,a=function(){return t.dataset.staticImageSize?Promise.resolve():(t.dataset.staticImageSize="".concat(t.naturalWidth,"x").concat(t.naturalHeight),e.convertToJpg(t).then((function(e){e&&(t.dataset.staticImage=e,t.dataset.originalImageSrc=t.src)})))};return t.complete&&0!==t.naturalWidth?a():new Promise((function(e){t.addEventListener("load",(function(){a().then(e)}),{once:!0})}))},t.prototype.convertToJpg=function(t){try{return fetch(t.src).then((function(t){return t.blob()})).then((function(){var e=document.createElement("canvas");return e.width=t.naturalWidth,e.height=t.naturalHeight,e.getContext("2d").drawImage(t,0,0),e.toDataURL("image/jpeg",.92)})).catch((function(e){return console.warn("Could not fetch original image for size:",t.src,e),t.src}))}catch(e){return console.warn("Could not convert image due to CORS restrictions:",t.src),Promise.resolve(t.src)}},t}();const s=c;new c.setup}}]);
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.