PageSourceSearch

https://corporate.bosch.co.jp/media/tech/scripts/main.js?ver=1783945424665

js bosch.co.jp collected 2026-10-02 04:02:24 UTC 231,926 bytes, 4 lines download raw bytes

1/*!
2 * [@bosch/rb-frontend] Version: 6.3.0 - 2026-02-27T08:06:05.824Z
3 * Third-party licenses: see main_licenses.txt
4 */(()=>{"use strict";var e,t={11:function(e,exports,t){var a,r=this&&this.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a);var i=Object.getOwnPropertyDescriptor(t,a);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,r,i)}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(a=function(e){return a=Object.getOwnPropertyNames||function(e){var t=[];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[t.length]=a);return t},a(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s=a(e),n=0;n<s.length;n++)"default"!==s[n]&&r(t,e,s[n]);return i(t,e),t}),n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.PressTeaserGroup=void 0;const l=s(t(6540)),o=n(t(4679)),c=n(t(6942)),d=t(5658),u=t(9566),h=t(6450),m=t(3803),g={pageSize:o.default.number.isRequired,perRow:o.default.number,maxPages:o.default.number,maxResults:o.default.number,errorMessage:o.default.string,noResultsMessage:o.default.string,textCharacterLimit:o.default.number,loadMoreLabel:o.default.string,externalTargetBlank:o.default.bool,internalTargetBlank:o.default.bool},f=(0,m.getService)("PressService"),p={publicationDate:"",image:{alt:"",xs:{x1:""}},title:"",url:"",category:""};exports.PressTeaserGroup=({pageSize:e,perRow:t=3,maxPages:a,maxResults:r,errorMessage:i,noResultsMessage:s,textCharacterLimit:n,loadMoreLabel:o,externalTargetBlank:m,internalTargetBlank:g})=>{const[v,b]=(0,l.useState)(!1),[y,_]=(0,l.useState)(!1),[S,E]=(0,l.useState)(void 0),[w,L]=(0,l.useState)(0),[T,k]=(0,l.useState)(e||0),[M,A]=(0,l.useState)([]),[C,N]=(0,l.useState)([]),[x,P]=(0,l.useState)(-1),I=(n,l=0)=>{const o=r?Math.min(e,r-l):null;if(r&&r-l<=0)return void _(!1);b(!0);const c=r?Math.min(e,r-l):Math.min(e,T||e);N((()=>{const e=[...M];return e.push(Array(c).fill(p)),e})),_(T>e&&(!r||l+(o??e)<r)),f.fetch(e,n).then((e=>{if(k(e.remainingPress),0===e.results.length)E(s);else{const t=null!=o?e.results.slice(0,o):e.results;L(n),A((e=>(e.push(t),N((()=>e)),e)));const i=M.reduce(((e,t)=>e+t.length),0)+t.length;_(e.moreAvailable&&(!a||n<a)&&(!r||i<r))}}),(e=>{E(i),console.log(e)})).finally((()=>{b(!1);const e=M.length>0?M.length*(Number(t)||3)+1:-1;P(e)}))};(0,l.useEffect)((()=>{I(1,0)}),[]);const O=(0,c.default)(["M-Teaser-Press__items",{"M-Teaser-Press__items--2Items":2===e,"M-Teaser-Press__items--twoColumns":2===Number(t),"M-Teaser-Press__items--threeColumns":3===Number(t),"M-Teaser-Press__items--fourColumns":4===Number(t)}]),B=Number(t)||3,R=C.flat(),q=r?R.slice(0,r):R,F=(D=B,q.reduce(((e,t,a)=>(a%D==0?e.push([t]):e[e.length-1].push(t),e)),[]));var D;return l.default.createElement(l.default.Fragment,null,S&&l.default.createElement(d.FrokNotification,{type:d.FrokNotificationType.Warning,text:S}),!S&&F.map(((e,t)=>l.default.createElement("ul",{className:O,key:t},e.map(((e,a)=>{const r=B*t+a+1;return l.default.createElement("li",{className:"M-Teaser-Press__item",key:a},l.default.createElement(h.PressTeaser,{press:e,pressIndex:a,textCharacterLimit:n,externalTargetBlank:m,internalTargetBlank:g,isFocused:x===r&&x>0}))}))))),y&&l.default.createElement("div",{className:"M-Teaser-Press__loadMore"},l.default.createElement("div",{className:"A-Button-LoadMore__wrapper"},l.default.createElement(u.LoadMore,{label:o,loading:v,onFetchData:()=>I(w+1,M.reduce(((e,t)=>e+t.length),0))}))))},exports.PressTeaserGroup.propTypes=g},229:function(e,exports,t){var a,r=this&&this.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a);var i=Object.getOwnPropertyDescriptor(t,a);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,r,i)}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(a=function(e){return a=Object.getOwnPropertyNames||function(e){var t=[];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[t.length]=a);return t},a(e)}
4,function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s=a(e),n=0;n<s.length;n++)"default"!==s[n]&&r(t,e,s[n]);return i(t,e),t}),n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.NewsTeaserGroup=void 0;const l=s(t(6540)),o=n(t(4679)),c=n(t(6942)),d=t(5658),u=t(9566),h=t(7530),m=t(3803),g={dateVisible:o.default.bool,categoryVisible:o.default.bool,tags:o.default.arrayOf(o.default.string.isRequired),pageSize:o.default.number.isRequired,perRow:o.default.number,maxPages:o.default.number,errorMessage:o.default.string,noResultsMessage:o.default.string,textCharacterLimit:o.default.number,loadMoreLabel:o.default.string,externalTargetBlank:o.default.bool,internalTargetBlank:o.default.bool,defaultLinkLabel:o.default.string.isRequired},f=(0,m.getService)("NewsService"),p={publicationDate:"",description:"",image:{alt:"",xs:{x1:""}},linkLabel:"",title:"",url:"",category:""};exports.NewsTeaserGroup=({dateVisible:e,categoryVisible:t,tags:a=[],pageSize:r,perRow:i=3,maxPages:s,errorMessage:n,noResultsMessage:o,textCharacterLimit:m,loadMoreLabel:g,externalTargetBlank:v,internalTargetBlank:b,defaultLinkLabel:y})=>{const[_,S]=(0,l.useState)(!1),[E,w]=(0,l.useState)(!1),[L,T]=(0,l.useState)(void 0),[k,M]=(0,l.useState)(0),[A,C]=(0,l.useState)(r||0),[N,x]=(0,l.useState)([]),[P,I]=(0,l.useState)([]),[O,B]=(0,l.useState)(-1),R=e=>{S(!0),I((()=>{const e=[...N];return e.push(Array(Math.min(r,A)).fill(p)),e})),w(A>r),f.fetch(r,e,a||[]).then((t=>{C(t.remainingNews),0===t.results.length?T(o):(M(e),x((e=>(e.push(t.results),I((()=>e)),e))),w(t.moreAvailable&&(!s||k<s)))}),(e=>{T(n),console.log(e)})).finally((()=>{S(!1);const e=N.length>0?N.length*N[0].length+1:-1;B(e)}))};(0,l.useEffect)((()=>{R(1)}),[]);const q=(0,c.default)(["M-Teaser-News__items",{"M-Teaser-News__items--2Items":2===r,"M-Teaser-News__items--twoColumns":2===Number(i),"M-Teaser-News__items--threeColumns":3===Number(i),"M-Teaser-News__items--fourColumns":4===Number(i)}]);return l.default.createElement(l.default.Fragment,null,L&&l.default.createElement(d.FrokNotification,{type:d.FrokNotificationType.Warning,text:L}),!L&&P.map(((a,r)=>l.default.createElement("ul",{className:q,key:r},a.map(((i,s)=>l.default.createElement("li",{className:"M-Teaser-News__item",key:s},l.default.createElement(h.NewsTeaser,{news:i,newsIndex:s,categoryVisible:t,dateVisible:e,textCharacterLimit:m,externalTargetBlank:v,internalTargetBlank:b,defaultLinkLabel:y,isFocused:O===a.length*r+1+s&&O>0}))))))),E&&l.default.createElement("div",{className:"M-Teaser-News__loadMore"},l.default.createElement("div",{className:"A-Button-LoadMore__wrapper"},l.default.createElement(u.LoadMore,{label:g,loading:_,onFetchData:()=>R(k+1)}))))},exports.NewsTeaserGroup.propTypes=g},256:function(e,exports,t){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.NavigationTeaser=void 0;const r=a(t(6540)),i=a(t(4679)),s=a(t(6942)),n=a(t(5577)),l=a(t(712)),o=t(6129),c=t(2446),d=t(4749),u={compact:i.default.bool,target:i.default.oneOf(["_blank",void 0]),teaser:c.StoryShape.isRequired},h=(0,n.default)(),m=(0,l.default)();exports.NavigationTeaser=({compact:e,target:t,teaser:a})=>{const i=(0,s.default)(["A-Teaser-NavigationTeaser","a-tile",{"-compact":e}]);return r.default.createElement("div",{className:i},r.default.createElement("a",{"aria-label":a.title,className:"A-Teaser-NavigationTeaser__link",href:a.url,target:t||void 0},r.default.createElement("div",{className:"A-Teaser-NavigationTeaser__image-wrapper"},r.default.createElement(o.Image,{image:a.imageList,alt:a.image?.alt,showSchemaMetadata:!0,showPreloadBox:!0,ratio:"ratio16to9"})),r.default.createElement("div",{className:"A-Teaser-NavigationTeaser__text-wrapper"},r.default.createElement("div",{className:"A-Teaser-NavigationTeaser__label"},a.story_type&&r.default.createElement("span",{className:"A-Teaser-NavigationTeaser__storyType"},a.story_type),a.identifier&&r.default.createElement("span",{className:"A-Teaser-NavigationTeaser__identifier"},a.identifier)),r.default.createElement("div",{className:"A-Teaser-NavigationTeaser__text"},r.default.createElement("span",null,h(a.title))," ",r.default.createElement("span",null,m(a.title),r.default.createElement(d.FrokIcon,{name:"nosafe-lr-forward-small-bold",isUiIcon:!0}))))))}
4,exports.NavigationTeaser.propTypes=u},302:(e,exports)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.CaasConfigValidator=void 0;class t{static $inject=["environmentConfig"];environmentConfig;config={caas:null};validated=!1;static props={caas:["baseUrl","collection","project","remoteAssetBaseUrl","tenant"]};constructor(e){this.environmentConfig=e}validate(e){if(!this.environmentConfig[e])throw new Error("[ConfigurationError]: externalConfiguration does not contain a CAAS configuration, aborting.");this.config[e]={...this.environmentConfig[e],locale:{country:this.environmentConfig.defaultLocalization.defaultCountry,language:this.environmentConfig.defaultLocalization.defaultCaaSLanguage}};const a=t.props[e],r=a.filter((t=>void 0===this.config[e][t]));if(r.length>0)throw new Error(`[ConfigurationError]: Configuration is incomplete, missing properties: ${r.join(", ")}.`);const i=a.filter((t=>"string"!=typeof this.config[e][t]));if(i.length>0)throw new Error(`[ConfigurationError]: Configuration is invalid, not a string: ${i.join(", ")}.`);return this.validated=!0,this.config[e]}}exports.CaasConfigValidator=t},402:(e,exports,t)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.CaasEventTeaserAggregation=void 0;const a=t(9928);class r extends a.CaasAggregation{static externalConfigBlock="caas";static aggregation="event-pages";map(e,t){const a=t=>new Intl.DateTimeFormat(e.locale.replace(/_/,"-"),{month:"short"}).format(t),r=!(t?.caasIsAbsolutePath&&t?.caasDomain&&t?.caasRemoteImageDomain)&&e.image.remote?this.updateImageListUrls(e.image):e.image,i={};if(e.start_date){const t=new Date(e.start_date);i.startDay=t.getDate().toString().padStart(2,"0"),i.startMonth=a(t),i.startTime=e.start_date}const s={};if(e.end_date){const t=new Date(e.end_date);s.endDay=t.getDate().toString().padStart(2,"0"),s.endMonth=a(t),s.endTime=e.end_date}return{image:{...r,alt:e.image.alt||""},linkLabel:e.link_label||"",title:e.title,url:e.url,address:e.address,addressName:e.address_name,location:e.location,...i,...s}}}exports.CaasEventTeaserAggregation=r},468:(e,t,a)=>{a.r(t),a.d(t,{ModalService:()=>o,closeModal:()=>l,openModal:()=>n});const r="dialog-open",i=e=>"hr"!==e.tagName.toLowerCase()&&("-1"!==e.getAttribute("tabindex")&&(!e.disabled&&!(null===e.offsetParent&&0===e.offsetWidth&&0===e.offsetHeight))),s=e=>Array.from(e.querySelectorAll('a[href], button, input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter(i),n=e=>{const t=document.getElementById(e),a=document.createElement("div");a.innerHTML=t.innerHTML;const i=a.querySelector(".m-dialog");e.split(/\s/).forEach((e=>i.classList.add(`m-dialog-${e}`)));const{body:n}=document,l=window.innerWidth-document.documentElement.clientWidth;n.classList.add(r),n.style.paddingRight=`${l}px`,document.getElementById("main").appendChild(i),i.showModal(),i.addEventListener("close",(()=>{n.classList.remove(r),n.style.removeProperty("padding-right"),setTimeout((()=>{i.parentNode&&i.remove()}),300)}),{once:!0}),requestAnimationFrame((()=>{window.RB.components.findComponents(),(e=>{let t=s(e);if(0===t.length)return;const a=e=>{if("Tab"!==e.key)return;const a=t.indexOf(document.activeElement);let r;e.preventDefault(),r=e.shiftKey?a<=0?t.length-1:a-1:a>=t.length-1?0:a+1,t[r]?.focus()};e.addEventListener("keydown",a);const r=new MutationObserver((()=>{const a=s(e);a.length!==t.length&&(t=a)}));r.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["disabled","tabindex"]}),(()=>{const a=e.querySelector(".m-dialog__close, button.m-dialog__close"),r=a&&!a.disabled?a:t[0];r?.focus()})(),e._cleanupFocusTrap=()=>{e.removeEventListener("keydown",a),r.disconnect()}})(i)}))},l=e=>{e._cleanupFocusTrap&&e._cleanupFocusTrap(),e.classList.add("ngdialog-closing"),e.close()};class o{open(e){n(e)}}},712:(e,t,a)=>{a.r(t),a.d(t,{default:()=>r});const r=()=>e=>e.split(" ").slice(-1).join(" ")},873:(e,t,a)=>{a.r(t),a.d(t,{SearchApiService:()=>i});class r{constructor(e,t,a){this.results=[],this.total=0,this.filters=e.postSearchNavigation,e.result&&(this.nextUrlQuery=e.result.nextUrlQuery||null,this.results=e.result.entries||this.results,this.total=e.result.count||this.total),this.moreAvailable=this.total>t+a}}class i{constructor(e,t,a){this.baseUrl=e.search&&e.search.baseUrl||"/",this.language=t.language,this.htmlService=a}getPage(e){return this.search(e)}getFirst(e){return this.getPage({size:1,...e}).then((e=>e.results[0]))}search(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=new URLSearchParams({q:e.q||null,start:e.start||null,num:e.num||null,lang:this.language||null,doc_lang:this.language||null,dnavs:e.dnavs||null,scenario:e.scenario||1}).toString();return fetch(`${this.baseUrl}?${t}`).then((e=>e.json())).then((t=>{let a=0;
4return t.result&&(a=t.result.startIndex,t.result.entries.forEach((e=>{e.title=this.htmlService.decode(e.title),e.snippet=this.htmlService.decode(e.snippet)}))),new r(t,a,e.num)}))}}},967:(e,exports)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.CaasQueryBuilder=void 0;exports.CaasQueryBuilder=class{runner;validator;static $inject=["caasQueryRunner","caasConfigValidator"];baseUrl=null;remoteAssetBaseUrl;project="";collection="";constructor(e,t){this.runner=e,this.validator=t,this.runner=e,this.validator=t}loadConfig(e,t){const{baseUrl:a,remoteAssetBaseUrl:r,tenant:i,project:s,collection:n}=this.validator.validate(e);this.baseUrl=new URL(i,a),this.project=t?.project||s,this.collection=t?.collection||n,r&&(this.remoteAssetBaseUrl=new URL(r))}buildUrl(){const e=new URL(this.baseUrl);return e.pathname+=`/${encodeURI(this.project)}.${encodeURI(this.collection)}.content`,e}buildUrlforAggregation(e){return new URL(`${this.buildUrl()}/_aggrs/${e}`)}buildAggregation(e,t){const{externalConfigBlock:a,aggregation:r}=e;this.loadConfig(a,t);const i=this.buildUrlforAggregation(r);return new e(this.runner,i,this.remoteAssetBaseUrl)}}},1125:function(e,exports,t){var a,r=this&&this.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a);var i=Object.getOwnPropertyDescriptor(t,a);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,r,i)}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(a=function(e){return a=Object.getOwnPropertyNames||function(e){var t=[];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[t.length]=a);return t},a(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s=a(e),n=0;n<s.length;n++)"default"!==s[n]&&r(t,e,s[n]);return i(t,e),t}),n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.SearchResultGroup=void 0;const l=s(t(6540)),o=n(t(4679)),c=n(t(6942)),d=t(7199),u=t(3931),h=t(5658),m=t(6129),g=t(2446),f=t(7673),p=t(2335),v=t(2119),b=t(3803),y=t(9830),_=t(1265),S=t(5722),E=t(9127),w=t(3245),L=(0,b.getService)("SearchService"),T=o.default.shape({headline:o.default.string.isRequired,href:o.default.string.isRequired,label:o.default.string.isRequired,external:o.default.bool}).isRequired,k=o.default.shape({label:o.default.string.isRequired,href:o.default.string.isRequired}),M=e=>{const t=e.split(",").map((e=>e.trim()));return{x1:t[0]||"",x2:t[1]||t[0]||""}},A=e=>{if(!e)return null;const t=e.search_corp_thumbnail_sm_md_lg,a=e.search_corp_thumbnail_xs;if(!t&&!a)return null;const r=M(t),i={xs:M(a),alt:""};return r?{...i,sm:r,md:r,lg:r}:i},C=e=>(e=>{if(!e)return"";const t=document.createElement("textarea");return t.innerHTML=e,t.value})(e.metaData?.search_corp_breadcrumb||e.breadcrumb||""),N={errorMessage:o.default.string,noResultsMessage:o.default.string.isRequired,inputName:o.default.string,ctaLabel:o.default.string.isRequired,ctaHref:o.default.string,ctaImage:y.ImageShape,teaserImage:y.ImageShape,teaserLabel:o.default.string,teaserHref:o.default.string,topQueries:o.default.arrayOf(k.isRequired),topQueryHeadline:o.default.string,relatedPages:o.default.arrayOf(T),additionalSearchParams:o.default.object,placeholder:o.default.string,ariaLabelSearchIcon:o.default.string,ariaLabelSearchForm:o.default.string.isRequired,ariaLabelCloseIcon:o.default.string,labelPdf:o.default.string,labelFileSizeBytes:o.default.string,labelFileSizeKilobytes:o.default.string,labelFileSizeMegabytes:o.default.string,labelFileSizeGigabytes:o.default.string,labelFilterSortHeadline:o.default.string,labelCategoryFilter:o.default.string,labelDocumentTypeFilter:o.default.string,labelDocumentTypeFilterAll:o.default.string,labelDocumentTypeFilterWebsites:o.default.string,labelDocumentTypeFilterPdf:o.default.string,labelSortCriterion:o.default.string,labelSortCriterionMostRelevant:o.default.string,labelSortCriterionMostRecent:o.default.string,labelResetAllFilters:o.default.string,ariaLabelPagination:o.default.string,ariaLabelPaginationPage:o.default.string,ariaLabelPaginationPreviousPage:o.default.string,ariaLabelPaginationNextPage:o.default.string,autosuggestionsLink:o.default.string.isRequired,resultsHeadline:o.default.string,landMark:o.default.string.isRequired,flyoutMode:o.default.bool,searchUrl:o.default.string,searchTarget:o.default.oneOf(["_blank",void 0]),disableAutoSuggestions:o.default.bool,nlqaStickerLabel:o.default.string,showThumbnails:o.default.bool,showBreadcrumbs:o.default.bool,showNlqa:o.default.bool,useFilterAndSort:o.default.bool};exports.SearchResultGroup=({errorMessage:e,noResultsMessage:t,inputName:a="q",ctaLabel:r,ctaHref:i,ctaImage:s,teaserImage:n,teaserLabel:o,teaserHref:b,topQueries:y,topQueryHeadline:T,relatedPages:k,additionalSearchParams:M,placeholder:N,ariaLabelSearchIcon:x,ariaLabelSearchForm:P,ariaLabelCloseIcon:I,ariaLabelPagination:O,ariaLabelPaginationPage:B,ariaLabelPaginationPreviousPage:R,ariaLabelPaginationNextPage:q,labelPdf:F,labelFileSizeBytes:D,labelFileSizeKilobytes:j,labelFileSizeMegabytes:W,labelFileSizeGigabytes:H,labelFilterSortHeadline:z,labelCategoryFilter:U,labelDocumentTypeFilter:G,labelDocumentTypeFilterAll:V,labelDocumentTypeFilterWebsites:Q,labelDocumentTypeFilterPdf:J,labelSortCriterion:Y,labelSortCriterionMostRelevant:Z,labelSortCriterionMostRecent:X,labelResetAllFilters:K,autosuggestionsLink:ee,resultsHeadline:te,landMark:ae,flyoutMode:re,searchUrl:ie,searchTarget:se,disableAutoSuggestions:ne,nlqaStickerLabel:le,showThumbnails:oe,showBreadcrumbs:ce,showNlqa:de,useFilterAndSort:ue})=>{const[he,me]=(0,l.useState)(0),[ge,fe]=(0,l.useState)(""),[pe,ve]=(0,l.useState)(!1),[be,ye]=(0,l.useState)(!1),[_e,Se]=(0,l.useState)([]),[Ee,we]=(0,l.useState)(1),[Le,Te]=(0,l.useState)(1),[ke,Me]=(0,l.useState)(""),[Ae,Ce]=(0,l.useState)(null),[Ne,xe]=(0,l.useState)({q:"",num:20,pageNum:1,dnavs:"",orderBy:"",orderDirection:""}),Pe=(0,l.useRef)([]),Ie=(0,l.useRef)(!1),[Oe,Be]=(0,l.useState)(!1),[Re,qe]=(0,l.useState)([]),[Fe,De]=(0,l.useState)("all"),[je,$e]=(0,l.useState)("rank"),We=async t=>(ve(!0),L.fetch(t).then((e=>(Ce(e.answer||null),e))).catch((()=>(Me(e||""),Ce(null),{}))).finally((()=>{ve(!1)}))),He=()=>{(async e=>L.fetch(e).then((e=>e)))({q:"ALL",num:1,pageNum:1}).then((e=>{const t=e.filters.find((e=>"search_corp_category"===e.FilterOptionGroupID));qe(t.options.map((e=>({id:e.id,label:e.label,active:!1}))))}))};(0,l.useEffect)((()=>{const e=new URL(document.location.href),t=e.searchParams.get(a)||Ne.q,r=parseInt(e.searchParams.get("num")||Ne.num,10),i=parseInt(e.searchParams.get("pageNum")||Ne.pageNum,10);xe({q:t,num:r,pageNum:i}),Te(i),t&&!re?(fe(t),We({q:t,num:r,pageNum:i}).then((e=>{e.results&&(Se((t=>[...t,...e.results])),me(e.total),void 0!==e.total&&null!==e.total&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"search_results",numberResults:e.total})))})).finally((()=>{ye(!0)})),ue&&He()):ye(!0)}),[]);const ze=()=>{if(!Re||0===Re.length)return!1;const e=Re.every((e=>e.active)),t=Re.every((e=>!e.active));return!(e||t)},Ue=()=>{const e={...Ne};e.pageNum=Le,ue?(e.dnavs=(()=>{const e=[];return ze()&&Re.forEach((t=>{t.active&&e.push(`Corp_category:${t.id}`)})),"all"!==Fe&&e.push(`Corp_doctype:${Fe}`),e.join("+")})(),e.orderBy="date"===je?"mes:date":"",e.orderDirection="DESCENDING"):e.dnavs=e.orderBy=e.orderDirection="",xe(e),We(e).then((e=>{me(e.total),e.results&&(Pe.current=[],Se(e.results))}))};(0,l.useEffect)((()=>{be&&Ue()}),[Le]),(0,l.useEffect)((()=>{be&&(Ie.current=!1,1!==Le?Te(1):Ue())}),[Re,Fe,je]),(0,l.useLayoutEffect)((()=>
4{be&&!ke&&_e.length&&Ie.current&&Pe.current[0]?.focus()}),[_e]),(0,l.useEffect)((()=>{we(Math.ceil(he/Ne.num))}),[he,Ne.num]);const Ge=e=>t=>{qe((a=>a.map((a=>({...a,active:a.id===e.id?t.target.checked:a.active})))))},Ve=(0,l.useId)();return l.default.createElement("div",{className:"O-Search-SearchResultGroup"},l.default.createElement("div",{className:"e-container"},l.default.createElement("div",{className:"O-Search-SearchResultGroup__wrapper"},i&&l.default.createElement("a",{href:i,className:"O-Search-SearchResultGroup__card -secondary"+(be?"":" --skeleton")},l.default.createElement(l.default.Fragment,null,be?l.default.createElement(l.default.Fragment,null,s&&l.default.createElement(m.Image,{additionalFigureClassName:"O-Search-SearchResultGroup__cardImage",image:s,role:"img",doLazyLoad:!0,showPreloadBox:!0,ratio:"ratio16to9"}),l.default.createElement(u.FrokLink,{additionalClasses:"O-Search-SearchResultGroup__cardLink highlight -size-xl",renderAsSpan:!0,label:r,level:u.FrokLinkLevel.Integrated,icon:"forward-small-bold",iconRight:!0,isUiIcon:!0})):l.default.createElement(l.default.Fragment,null,l.default.createElement("figure",{className:"A-Image__figure O-Search-SearchResultGroup__cardImage"},l.default.createElement("div",{className:"A-Image__preloadWrapper O-Search-SearchResultGroup__cardImage--skeleton"})),l.default.createElement("div",{className:"O-Search-SearchResultGroup__cardLink highlight -size-xl O-Search-SearchResultGroup__cardLink--skeleton"})))),l.default.createElement("div",{className:(0,c.default)("O-Search-SearchResultGroup__searchField",{"-show-suggestions":Oe})},l.default.createElement("div",{className:"M-SearchField--static"},l.default.createElement(f.SearchField,{inputName:a,landMark:ae,placeholder:N,ariaLabelSearchIcon:x,ariaLabelSearchForm:P,ariaLabelCloseIcon:I,autosuggestionsLink:ee,parseTermFromUrlOnInit:!0,searchUrl:ie,searchTarget:se,disableAutoSuggestions:ne,onHideAutoSuggestions:()=>Be(!1),onShowAutoSuggestions:()=>Be(!0),isInFlyout:re,additionalSearchParams:M}))),l.default.createElement("div",{className:"O-Search-SearchResultGroup__resultHeadline"},ge&&l.default.createElement("h1",{className:"-size-3xl highlight"},te," ",l.default.createElement("span",null,ge)," ",be&&l.default.createElement("span",null,"(",(0,w.formatForLocale)(he),")"))),!re&&ue&&l.default.createElement("div",{className:"O-Search-SearchResultGroup__filterWrapper"+(be?"":" --skeleton")},be&&l.default.createElement(S.FrokAccordion,{small:!0,headline:l.default.createElement(l.default.Fragment,null,l.default.createElement("span",null,z))},l.default.createElement("div",{className:"O-Search-SearchResultGroup__filter"},!!Re&&Re.length>0&&l.default.createElement("div",{className:"O-Search-SearchResultGroup__filterSection O-Search-SearchResultGroup__filterSection--category"},l.default.createElement("h3",{className:"O-Search-SearchResultGroup__filterSection__headline -size-m"},U),l.default.createElement("div",{className:"O-Search-SearchResultGroup__filterSection__items A-FormField A-FormField-Input A-FormField-Input-Checkbox A-FormFieldMultiple"},Re.map(((e,t)=>l.default.createElement("div",{className:"A-FormField__wrapper a-checkbox",key:`${Ve}-filter-${t}`},l.default.createElement("input",{type:"checkbox",className:"A-FormField__element",checked:e.active,id:`${Ve}-filter_category-${e.id}`,name:e.id,onChange:Ge(e)}),l.default.createElement("label",{className:"A-FormField__label -size-s",htmlFor:`${Ve}-filter_category-${e.id}`},e.label)))))),l.default.createElement("div",{className:"O-Search-SearchResultGroup__filterSection--type"},l.default.createElement("h3",{className:"O-Search-SearchResultGroup__filterSection__headline -size-m"},G),l.default.createElement("div",{className:"O-Search-SearchResultGroup__filterSection__items"},l.default.createElement("ul",{className:"a-option-bar"},l.default.createElement("li",{className:"a-option-bar__item"},l.default.createElement("input",{type:"radio",id:`${Ve}-filter_type_all`,name:`${Ve}-filter_type`,checked:"all"===Fe,value:"all",onChange:()=>{De("all")}}),l.default.createElement("label",{className:"a-option-bar__option",htmlFor:`${Ve}-filter_type_all`},l.default.createElement("span",{className:"a-option-bar__label"},V))),l.default.createElement("li",{className:"a-option-bar__item"},l.default.createElement("input",{type:"radio",id:`${Ve}-filter_type-html`,name:`${Ve}
4-filter_type`,checked:"html"===Fe,value:"html",onChange:()=>{De("html")}}),l.default.createElement("label",{className:"a-option-bar__option",htmlFor:`${Ve}-filter_type-html`},l.default.createElement("span",{className:"a-option-bar__label"},Q))),l.default.createElement("li",{className:"a-option-bar__item"},l.default.createElement("input",{type:"radio",id:`${Ve}-filter_type-pdf`,name:`${Ve}-filter_type`,checked:"pdf"===Fe,value:"pdf",onChange:()=>{De("pdf")}}),l.default.createElement("label",{className:"a-option-bar__option",htmlFor:`${Ve}-filter_type-pdf`},l.default.createElement("span",{className:"a-option-bar__label"},J)))))),l.default.createElement("div",{className:"O-Search-SearchResultGroup__filterSection--sort"},l.default.createElement("h3",{className:"O-Search-SearchResultGroup__filterSection__headline -size-m"},Y),l.default.createElement("div",{className:"O-Search-SearchResultGroup__filterSection__items A-FormField A-FormField-Input A-FormField-Input-Radio A-FormFieldMultiple A-FormField--noValidation"},l.default.createElement("div",{className:"A-FormField__wrapper a-radio-button"},l.default.createElement("input",{type:"radio",className:"A-FormField__element",name:`${Ve}-sort`,id:`${Ve}-sort-rank`,value:"rank",checked:"rank"===je,onChange:()=>{$e("rank")}}),l.default.createElement("label",{htmlFor:`${Ve}-sort-rank`,className:"A-FormField__label -size-s"},Z)),l.default.createElement("div",{className:"A-FormField__wrapper a-radio-button"},l.default.createElement("input",{type:"radio",className:"A-FormField__element",name:`${Ve}-sort`,id:`${Ve}-sort-date`,value:"date",checked:"date"===je,onChange:()=>{$e("date")}}),l.default.createElement("label",{htmlFor:`${Ve}-sort-date`,className:"A-FormField__label -size-s"},X))))),(ze()||"all"!==Fe||"rank"!==je)&&l.default.createElement(E.FrokButton,{additionalClasses:"O-Search-SearchResultGroup__resetFiltersButton",label:K,icon:"reset",variant:E.FrokButtonVariant.NeutralTertiary,onClick:()=>{qe((e=>e.map((e=>({...e,active:!1}))))),De("all"),$e("rank")}}))),l.default.createElement("div",{className:"O-Search-SearchResultGroup__results-teaser-wrapper"},l.default.createElement("div",{className:"O-Search-SearchResultGroup__results-wrapper"},de&&(!be||pe)&&l.default.createElement("div",{className:"M-Search-NLQAAnswer --skeleton"},l.default.createElement("div",{className:"M-Search-NLQAAnswer__wrapper"},l.default.createElement("div",{className:"a-sticker -secondary -contrast","aria-labelledby":"nlqa-sticker-label-skeleton"},l.default.createElement("span",{id:"nlqa-sticker-label-skeleton",className:"a-sticker__label -size-s"},le)),l.default.createElement("div",{className:"M-Search-NLQAAnswer__content"},Array.from({length:6}).map(((e,t)=>l.default.createElement("div",{key:t,className:"M-Search-NLQAAnswer__skeleton-text"})))))),de&&Ae&&be&&!pe&&l.default.createElement(v.NLQAAnswer,{answer:Ae,stickerLabel:le}),(re||be)&&0===he&&l.default.createElement("div",{className:"O-Search-SearchResultGroup__no-results"},l.default.createElement("p",{dangerouslySetInnerHTML:{__html:t}}),y&&y.length>0&&l.default.createElement("div",{className:"O-Search-SearchResultGroup__no-results__chips"},l.default.createElement("p",{className:"highlight -size-l"},T),l.default.createElement("div",{className:"O-Search-SearchResultGroup__no-results__chips__wrapper"},y.map(((e,t)=>l.default.createElement(d.FrokChip,{key:t,label:e.label,href:e.href})))))),l.default.createElement("div",{className:"O-Search-SearchResultGroup__results"},!ke&&_e.map(((e,t)=>l.default.createElement("div",{className:"O-Search-SearchResultGroup__item",key:t},l.default.createElement(p.SearchResultItem,{searchResultIndex:t,showAsSkeleton:!be||pe,text:e.snippet,title:e.title,url:e.url,isPdf:!!e.metaData?.extension&&"html"!==e.metaData?.extension,pdfLabel:F,fileSizeBytes:parseInt(e.metaData?.["mes:size"]||"",10),thumbnail:A(e.metaData),breadcrumb:C(e),showThumbnails:oe,showBreadcrumbs:ce,fileSizeUnitNames:[D,j,W,H],ref:e=>(Pe.current[t]=e,e)}))))),l.default.createElement("div",{className:"O-Search-SearchResultGroup__error"},ke&&l.default.createElement(h.FrokNotification,{type:h.FrokNotificationType.Warning,text:ke})),(!be||pe)&&l.default.createElement("div",{className:"O-Search-SearchResultGroup__pagination --skeleton"}),be&&!pe&&!ke&&Ee>1&&l.default.createElement("div",{className:"O-Search-SearchResultGroup__pagination"},l.default.createElement(_.FrokPageIndicator,{key:`pagination-${Ee}-${Le}`,maxLength:Ee,startIndex:Le,onIndexChange:e=>{Ie.current=!0,Te(e)},ariaLabel:O,ariaLabelPage:B,ariaLabelPrevPage:R,ariaLabelNextPage:q,disabled:pe})))),l.default.createElement("div",{className:"O-Search-SearchResultGroup__sidebar"+(be?"":" --skeleton")},be?b&&o&&n&&l.default.createElement("div",{className:"M-Teaser-StoryTeaser__item"},l.default.createElement(g.StoryTeaser,{key:`${o}-${b}`,story:{title:o,url:b,image:{alt:o}},imageList:n,storyIndex:1,useH2:!0})):l.default.createElement("div",{className:"M-Teaser-StoryTeaser__item"},l.default.createElement(g.StoryTeaser,{story:{title:"",url:"",image:{alt:""}},imageList:{xs:{x1:""}},storyIndex:1,useH2:!0}))))),re&&k&&k.length>0&&l.default.createElement("div",{className:"M-Teaser-DecisionTeaser -secondary"},l.default.createElement("div",{className:"e-container"},l.default.createElement("div",{className:"M-Teaser-DecisionTeaser__items"},k.map(((e,t)=>l.default.createElement("div",{className:"M-Teaser-DecisionTeaser__item--3Column M-Teaser-DecisionTeaser__item",key:t},l.default.createElement("div",{className:"A-Teaser-DecisionTeaser a-tile -primary"},l.default.createElement("a",{"aria-label":e.headline,className:"A-Teaser-DecisionTeaser__link",href:e.href,target:"_self"},l.default.createElement("div",{className:"A-Teaser-DecisionTeaser__content"},l.default.createElement("div",{className:"A-Teaser-DecisionTeaser__headline highlight -size-l"},e.headline),l.default.createElement("div",{className:"A-Teaser-DecisionTeaser__description"},l.default.createElement(u.FrokLink,{label:e.label,level:u.FrokLinkLevel.Primary,renderAsSp
4an:!0,icon:e.external?"nosafe-lr-externallink":"nosafe-lr-forward-small"}))))))))))))},exports.SearchResultGroup.propTypes=N},1144:(e,t,a)=>{a.r(t),a.d(t,{ViewportService:()=>s});const r=[480,768,992,1200],i=[`screen and (max-width: ${r[0]-1}px)`,`screen and (min-width: ${r[0]}px) and (max-width: ${r[1]-1}px)`,`screen and (min-width: ${r[1]}px) and (max-width: ${r[2]-1}px)`,`screen and (min-width: ${r[2]}px) and (max-width: ${r[3]-1}px)`,`screen and (min-width: ${r[3]-1}px)`];class s{constructor(e,t){this.$window=e,this.$rootScope=t,this.listeners=[],this.initViewportQuerying()}initViewportQuerying(){i.forEach(((e,t)=>{const a=this.$window.matchMedia(e);a.onchange||"function"!=typeof a.addListener||Object.defineProperty(a,"onchange",{set:e=>{a.addListener(e)}}),a.onchange=e=>{if(e.matches){const e=this.currentViewport;this.currentViewport=t,this.$rootScope.$apply((()=>{this.listeners.forEach((a=>a(t,e)))}))}},a.matches&&(this.currentViewport=t)}))}onChange(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.listeners.push(e),t&&e(this.currentViewport),()=>{const t=this.listeners.indexOf(e);t>=0&&this.listeners.splice(t,1)}}getCurrentViewport(){return this.currentViewport}}},1265:function(e,exports,t){var a,r=this&&this.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a);var i=Object.getOwnPropertyDescriptor(t,a);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,r,i)}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(a=function(e){return a=Object.getOwnPropertyNames||function(e){var t=[];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[t.length]=a);return t},a(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s=a(e),n=0;n<s.length;n++)"default"!==s[n]&&r(t,e,s[n]);return i(t,e),t}),n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.FrokPageIndicator=void 0;const l=s(t(6540)),o=n(t(4679)),c=n(t(6942)),d=n(t(9392)),u={maxLength:o.default.number.isRequired,startIndex:o.default.number.isRequired,numbered:o.default.bool,visiblePagesAroundCurrent:o.default.number,minVisibleItems:o.default.number,additionalClasses:o.default.string,onIndexChange:o.default.func,onMaxLengthChange:o.default.func,onNext:o.default.func,onPrev:o.default.func,onItemClick:o.default.func,ariaLabel:o.default.string,ariaLabelPrevPage:o.default.string,ariaLabelNextPage:o.default.string,ariaLabelPage:o.default.string,disabled:o.default.bool};exports.FrokPageIndicator=({maxLength:e,startIndex:t=1,numbered:a=!0,visiblePagesAroundCurrent:r,minVisibleItems:i,additionalClasses:s,onIndexChange:n,onMaxLengthChange:o,onNext:u,onPrev:h,onItemClick:m,ariaLabel:g="page indicator numbered",ariaLabelPrevPage:f="go to previous page",ariaLabelNextPage:p="go to next page",ariaLabelPage:v="page",disabled:b=!1})=>{const[y,_]=(0,l.useState)(Math.min(Math.max(t,1),Math.max(e,1))),S=(0,l.useRef)(t),E=y<=1,w=y>=e,L=(0,c.default)("a-page-indicator",{"a-page-indicator--numbered":a},{"-disabled":b},s),T=(0,l.useMemo)((()=>"number"!=typeof r&&"number"!=typeof i?(0,d.default)(y,e):(0,d.default)(y,e,r,i)),[y,e,r,i]);return(0,l.useEffect)((()=>{o?.(e),_((t=>Math.min(t,Math.max(e,1))))}),[e,o]),(0,l.useEffect)((()=>{S.current!==y&&(S.current=y,n?.(y))}),[y,n]),l.default.createElement("div",{className:L,role:"navigation","aria-label":g??void 0},l.default.createElement("button",{type:"button",className:(0,c.default)("a-page-indicator__caret","-left",{"-end":E}),"aria-label":f??void 0,"aria-disabled":E,disabled:E,onClick:()=>{E||_((e=>{const t=Math.max(e-1,1);return h?.(t),t}))}}),l.default.createElement("div",{className:"a-page-indicator__container"},T.map(((t,a)=>{const r="number"==typeof t,i=r&&t===y;return l.default.createElement("button",{key:`${t}-${a}
4`,type:"button",className:(0,c.default)("a-page-indicator__indicator",{"-selected":i}),...r?{"data-index":t}:{},"aria-label":r?`${v} ${t}`:"...","aria-current":i?"page":void 0,disabled:!r,onClick:()=>{var a;"number"!=typeof(a=t)||a<1||a>e||(_(a),m?.(a))}},l.default.createElement("span",null,r?t:"..."))}))),l.default.createElement("button",{type:"button",className:(0,c.default)("a-page-indicator__caret","-right",{"-end":w}),"aria-label":p??void 0,"aria-disabled":w,disabled:w,onClick:()=>{w||_((t=>{const a=Math.min(t+1,e);return u?.(a),a}))}}))},exports.FrokPageIndicator.propTypes=u},1305:function(e,exports,t){var a,r=this&&this.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a);var i=Object.getOwnPropertyDescriptor(t,a);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,r,i)}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(a=function(e){return a=Object.getOwnPropertyNames||function(e){var t=[];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[t.length]=a);return t},a(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s=a(e),n=0;n<s.length;n++)"default"!==s[n]&&r(t,e,s[n]);return i(t,e),t}),n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.EventTeaserGroup=void 0;const l=s(t(6540)),o=n(t(4679)),c=t(5658),d=t(9566),u=t(2786),h=t(3803),m={startDate:o.default.string.isRequired,endDate:o.default.string.isRequired,onlyFutureEvents:o.default.bool,onlyCurrentAndFutureEvents:o.default.bool,tags:o.default.arrayOf(o.default.string.isRequired),pageSize:o.default.number,maxPages:o.default.number,errorMessage:o.default.string.isRequired,noResultsMessage:o.default.string.isRequired,loadMoreLabel:o.default.string.isRequired,defaultLinkLabel:o.default.string.isRequired,caasProject:o.default.string,caasCollection:o.default.string,caasApiKey:o.default.string,caasIsAbsolutePath:o.default.bool,caasDomain:o.default.string,caasRemoteImageDomain:o.default.string,caasUseExternalLinkIcon:o.default.bool},g=(0,h.getService)("EventService"),f={address:"",addressName:"",image:{alt:"",xs:{x1:""}},linkLabel:"",location:"",title:"",url:""},p=e=>/^(https?:)?\/\//i.test(e),v=(e,t)=>{let a;return["xs","sm","md","lg"].forEach((r=>{a=e[r],a&&"string"!=typeof a&&"boolean"!=typeof a&&(p(a.x1)||(a.x1=`${t}${a.x1}`),a.x2&&!p(a.x2)&&(a.x2=`${t}${a.x2}`))})),e};exports.EventTeaserGroup=({startDate:e,endDate:t,onlyFutureEvents:a,onlyCurrentAndFutureEvents:r,tags:i,pageSize:s,maxPages:n,errorMessage:o,noResultsMessage:h,loadMoreLabel:m,defaultLinkLabel:p,caasProject:b,ca
4asCollection:y,caasApiKey:_,caasIsAbsolutePath:S,caasDomain:E,caasRemoteImageDomain:w,caasUseExternalLinkIcon:L})=>{const[T,k]=(0,l.useState)(!1),[M,A]=(0,l.useState)(!1),[C,N]=(0,l.useState)(void 0),[x,P]=(0,l.useState)(1),[I,O]=(0,l.useState)(s||0),[B,R]=(0,l.useState)([]),q=(0,l.useRef)(null),[F,D]=(0,l.useState)((()=>{})),[j,W]=(0,l.useState)([]),H=l=>{k(!0),W((()=>{const e=[...B];return e.push(Array(Math.min(s,I)).fill(f)),e}));const c=b&&y&&_?{project:b,collection:y,apiKey:_,caasIsAbsolutePath:!0===S,caasDomain:E||"",caasRemoteImageDomain:w||""}:void 0;return g.fetchByTimes(s||3,l,i||[],!0===a,!0===r,e,t,c).then((e=>{if(O(e.remainingEvents),0===e.results.length)N(h);else{P(l);const t=e.results.map((e=>(S&&E&&w&&(e.image.remote?e.image=v(e.image,w):e.image=v(e.image,E),e.url=`${E}${e.url}`),e)));R((e=>(e.push(t),W((()=>e)),e))),A(e.moreAvailable&&(!n||x<n))}}),(()=>{N(o)})).finally((()=>{k(!1)}))};return(0,l.useEffect)((()=>{D((()=>{if(B.length&&x>=2&&q.current&&s){const e=s*x-s,t=Array.from(q.current.querySelectorAll(".M-Teaser-EventTeaser__teaserElement"))[e],a=t?.querySelector(".A-Teaser-EventTeaser .A-Teaser-EventTeaser__Link");a?.focus()}}))}),[q,B,x,s]),(0,l.useEffect)((()=>{F&&F()}),[B]),(0,l.useEffect)((()=>{H(1)}),[]),l.default.createElement(l.default.Fragment,null,!C&&l.default.createElement("div",{className:"M-Teaser-EventTeaser__teasers",ref:q},j.map(((e,t)=>l.default.createElement("div",{className:"M-Teaser-EventTeaser__groupWrapper",key:t},e.map(((e,t)=>l.default.createElement("div",{className:"M-Teaser-EventTeaser__teaserElement",key:t},l.default.createElement(u.EventTeaser,{teaser:e,teaserIndex:t,defaultLinkLabel:p,useExternalLinkIcon:L}))))))),M&&l.default.createElement("div",{className:"M-Teaser-EventTeaser__loadMore"},l.default.createElement(d.LoadMore,{label:m,loading:T,onFetchData:()=>H(x+1)}))),C&&l.default.createElement(c.FrokNotification,{text:C,type:c.FrokNotificationType.Warning}))},exports.EventTeaserGroup.propTypes=m},1826:(e,exports,t)=>{exports.X=void 0;const a=t(5518),r=t(3803),i=".A-DataProtectionLayer__content",s="-revealed",n=`${i} .a-button`,l=(0,r.getService)("ScrollToService");exports.X=class{element;scriptsLoaded=new Map;button=null;content=null;constructor(e){if(this.element=e,this.button=e.querySelector(n),this.button&&this.button.addEventListener("click",(()=>{this.loadExternalScripts()})),this.content=e.querySelector(i),!this.content)throw new Error(`[DataProtectionLayer] could not find element for selector ${i} - aborting.`)}checkScriptsLoaded(){Array.from(this.scriptsLoaded.values()).every((e=>!0===e))&&setTimeout((()=>{this.showComponent()}),0)}loadScript(e){const t=/^https?:/i,a=document.head.querySelectorAll("script[src]"),r=Array.from(a).map((e=>e.src.replace(t,""))),i=e.replace(t,"");if(r.includes(i))return this.scriptsLoaded.set(e,!0),void this.checkScriptsLoaded();const s=document.createElement("script");s.setAttribute("src",e),this.scriptsLoaded.set(e,!1),s.addEventListener("load",(()=>{this.scriptsLoaded.set(e,!0),this.checkScriptsLoaded()})),document.head.appendChild(s)}loadExternalScripts(){this.button&&(this.button.disabled=!0);const e=this.element.dataset.scriptsToLoad;if(!e||0===e.length)return void this.showComponent();const t=e.split(",");t&&0!==t.length?t.forEach((e=>this.loadScript(e))):this.showComponent()}showComponent(){const e=this.element.querySelector(".A-DataProtectionLayer__component"),t=this.element.querySelector('template[type="text/html"]');e.innerHTML=t.innerHTML,(0,a.findComponents)(),requestAnimationFrame((()=>{const t=this.content.offsetHeight;this.element.style.height=`${t}px`,this.element.classList.add(s),this.element.addEventListener("transitionend",(({propertyName:e})=>{"height"!==e||this.element.classList.contains(s)||this.reveal()})),setTimeout((()=>{this.reveal()}),400),requestAnimationFrame((()=>{const t=e.offsetHeight;this.element.style.height=`${t}px`}))}))}reveal(){this.element.classList.remove("-revealing"),this.element.classList.add(s),this.content?.remove(),this.element.style.height="auto";const e=-1*l.getStickyElementsOffset()+"px 0px 0px 0px",t=new IntersectionObserver((e=>{const a=e[0].isIntersecting;t.disconnect(),a||l.scrollToElement(this.element,-50)}),{threshold:1,rootMargin:e});t.observe(this.element)}}},1879:function(e,exports,t){var a=this&&this.__importDefault||function(e){return e&&e.__esMo
4dule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0});const r=a(t(9565)),i=a(t(7458)),s=({label:e,url:t})=>((e,t)=>{const a=document.createElement("option");return a.innerText=e,t&&(a.dataset.productCountrySelectorUrl=t),a})(e,t),n=(e,t)=>{const a=e.querySelector(t);if(!a)throw new Error(`ProductCountrySelector: Template Error: No element for selector '${t}' could be found.`);return a};class l extends r.default{modal;modalElement;dropdownElement;selectElement=null;options=[];closeButton;confirmButton;targetUrl=null;focusElementOnClose=null;cleanupFocusTrap=null;constructor(e){super(e);const t=n(e,".M-ProductCountrySelector__modal");this.modalElement=t,this.modal=new i.default(t),this.dropdownElement=n(t,".M-ProductCountrySelector__dropdown"),this.closeButton=n(t,".M-ProductCountrySelector__close-button"),this.confirmButton=n(t,".M-ProductCountrySelector__confirm"),this.modal.addEventListener("backgroundClicked",(()=>this.hide())),this.closeButton.addEventListener("click",(()=>this.hide())),document.body.addEventListener("keydown",(e=>{"Escape"!==e.key&&"Esc"!==e.key||this.hide()})),this.dropdownElement.addEventListener("change",(({target:e})=>{let t;if(this.selectElement){const e=this.selectElement.selectedIndex;t=this.selectElement[e].dataset.productCountrySelectorUrl}const a=e;if("select"===a.tagName.toLowerCase()){const e=a,r=t||null;this.setTarget(r),this.dropdownElement.value=e.textContent,this.confirmButton.focus()}})),this.confirmButton.addEventListener("click",(()=>{this.targetUrl&&window.open(this.targetUrl,"_blank")}))}hide(){this.cleanupFocusTrap&&(this.cleanupFocusTrap(),this.cleanupFocusTrap=null),this.modal.hide(),this.focusElementOnClose&&(this.focusElementOnClose.focus(),this.focusElementOnClose=null)}show(){this.renderOptions(),this.setTarget(null),this.dropdownElement.value="",this.modal.show(),document.activeElement&&(this.focusElementOnClose=document.activeElement,document.activeElement.blur());const e=this.modalElement.querySelector(".M-ProductCountrySelector__box");e&&(this.cleanupFocusTrap=(e=>{const t=document.createElement("div");t.tabIndex=0,t.style.position="absolute",t.style.width="1px",t.style.height="1px",t.style.overflow="hidden",t.style.clip="rect(0 0 0 0)";const a=t.cloneNode();e.insertBefore(t,e.firstChild),e.appendChild(a);const r=Array.from(e.querySelectorAll('a[href], button, input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter((e=>e!==t&&e!==a));if(0===r.length)return()=>{};const i=r[0],s=r[r.length-1];return t.addEventListener("focus",(()=>{s.focus()})),a.addEventListener("focus",(()=>{i.focus()})),setTimeout((()=>{i.focus()}),50),()=>{t.remove(),a.remove()}})(e))}setOptions(e){this.options=e}renderOptions(){const e=this.options.filter((e=>e.label.toLocaleLowerCase())).map(s);Array.from(this.dropdownElement.children).forEach((e=>{this.dropdownElement.removeChild(e)})),this.selectElement=document.createElement("select"),this.selectElement.classList.add("M-ProductCountrySelector__list"),e.forEach((e=>{this.selectElement&&this.selectElement.appendChild(e)})),this.dropdownElement.appendChild(this.selectElement)}setTarget(e){this.targetUrl=e,this.confirmButton.disabled=!this.targetUrl}}exports.default=l},1925:(e,exports,t)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.CaasNewsTeaserAggregation=void 0;const a=t(9928);class r extends a.CaasAggregation{static externalConfigBlock="caas";static aggregation="news-pages";map(e){const t=e.image.remote?this.updateImageListUrls(e.image):e.image;return{publicationDate:e.date,description:e.description,image:{...t,alt:e.image.alt},linkLabel:e.linklabel||"",title:e.headline,url:e.url,category:e.category}}}exports.CaasNewsTeaserAggregation=r},1948:(e,t,a)=>{a.r(t),a.d(t,{ScrollToService:()=>i});const r=[".M-AnchorNavigation.-sticky",".M-ApplyButton__stickyWrapper--visible"];class i{constructor(e){this.$window=e}scrollToTop(){this.scrollTo(0)}scrollToElement(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2?arguments[2]:void 0;const r=this.getElementOffset(e).top+t;this.scrollTo(r,a)}getElementOffset(e){const t=this.$window.document.documentElement,a=e.getBoundingClientRect();return{top:Math.round(a.top+window.pageYOffset-t.clientTop),left
4:Math.round(a.left+window.pageXOffset-t.clientLeft)}}inOutQuintic(e,t,a,r){const i=(e/=r)*e,s=i*e;return t+a*(6*s*i+-15*i*i+10*s)}setPosition(e){this.$window.document.documentElement.scrollTop=e,this.$window.document.body.parentNode.scrollTop=e,this.$window.document.body.scrollTop=e}getPosition(){return this.$window.document.documentElement.scrollTop||this.$window.document.body.parentNode.scrollTop||this.$window.document.body.scrollTop}getPageBottomPosition(){return this.$window.document.body.scrollHeight-this.$window.document.body.offsetHeight}getStickyElementsOffset(){return r.reduce(((e,t)=>{const a=this.$window.document.querySelector(t);return a?e+a.offsetHeight:e}),0)}scrollTo(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;const a=this.getPosition(),r=e-a-this.getStickyElementsOffset();this.currentTime=0,this.animateScroll(a,r,t)}animateScroll(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:20;this.currentTime+=r;const i=this.inOutQuintic(this.currentTime,e,t,a);this.setPosition(i),this.currentTime<a&&requestAnimationFrame(this.animateScroll.bind(this,e,t,a,r))}}},2078:(e,exports,t)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.StoryService=void 0;const a=t(6633);exports.StoryService=class{queryBuilder;static $inject=["caasQueryBuilder"];constructor(e){this.queryBuilder=e,this.queryBuilder=e}fetch(e,t){const{offset:r,page:i,pageSize:s}={offset:0,page:1,pageSize:5,...t},n=this.queryBuilder.buildAggregation(a.CaasStoryTeaserAggregation).addParam("page",i).addParam("pagesize",s).addVariable("skip",r);return e.length>0&&n.addVariable("tag_ids",e),n.execute().then((({results:e,count:t})=>({results:e,moreAvailable:t>i*s,remainingStories:t-(r+s)})))}}},2119:function(e,exports,t){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.NLQAAnswer=void 0;const r=a(t(6540)),i=a(t(4679)),s=t(3024),n={answer:i.default.shape({snippet:i.default.string.isRequired,title:i.default.string.isRequired,breadcrumb:i.default.string,url:i.default.string.isRequired,score:i.default.oneOfType([i.default.string,i.default.number])}),stickerLabel:i.default.string,showSkeleton:i.default.bool};exports.NLQAAnswer=({answer:e,stickerLabel:t,showSkeleton:a})=>{const i=t||"Search suggestion";if(!(e&&e.snippet&&e.title&&e.url))return null;const n=(e=>{if(!e)return"";const t=(new DOMParser).parseFromString(e,"text/html");return(t.body.textContent||t.body.innerText||"").replace(/\s+/g," ").trim()})(e.title);return r.default.createElement("div",{className:"M-Search-NLQAAnswer"+(a?" --skeleton":"")},r.default.createElement("div",{className:"M-Search-NLQAAnswer__wrapper"},r.default.createElement("div",{className:"a-sticker -secondary -contrast","aria-labelledby":"nlqa-sticker-label"},r.default.createElement("span",{id:"nlqa-sticker-label",className:"a-sticker__label -size-s"},i)),a?r.default.createElement("div",{className:"M-Search-NLQAAnswer__content"},Array.from({length:6}).map(((e,t)=>r.default.createElement("div",{key:t,className:"M-Search-NLQAAnswer__skeleton-text"})))):r.default.createElement("div",{className:"M-Search-NLQAAnswer__content"},r.default.createElement("div",{className:"M-Search-NLQAAnswer__snippet"},r.default.createElement("span",{dangerouslySetInnerHTML:{__html:e.snippet}})),r.default.createElement("h2",{className:"a-link a-link--integrated -size-l M-Search-NLQAAnswer__title"},r.default.createElement("a",{"aria-label":`${n}`,href:e.url},r.default.createElement("span",null,n))),e.breadcrumb&&r.default.createElement(s.SearchBreadcrumb,{text:e.breadcrumb,variant:"nlqa",maxLength:100}))))},exports.NLQAAnswer.propTypes=n},2235:(e,exports)=>{const t="M-CarouselSimple__slide",a=`${t}--active`,r=`.${t}`,i=e=>`M-CarouselSimple__slide--${e}`;exports.A=class{element;carouselContainer=null;slides=[];active=-1;isRTL=!1;leftButton=null;rightButton=null;totalDisplay=null;currentDisplay=null;startCoords={x:0,y:0};isSwiping=!1;constructor(e){this.element=e,this.carouselContainer=e.querySelector(".M-CarouselSimple__wrapper"),this.slides=Array.from(e.querySelectorAll(r)),this.leftButton=e.querySelector(".M-CarouselSimple__paginationArrow--left"),this.rightButton=e.querySelector(".M-CarouselSimple__paginationArrow--right"),this.leftButton?.addEventListener("click",(()=>this.previous())),this.rightButton?.addEventListener("click",(()=>this.next())),this.totalDisplay=e.querySelector(".M-CarouselSimple__total"),this.currentDisplay=e.querySelector(".M-CarouselSimple__current"),this.totalDisplay&&(this.totalDisplay.innerText=this.slides.length.toString(10)),this.active=Number(e.dataset.active),this.isRTL="rtl"===getComputedStyle(e).direction,this.updateCurrentDisplay(),this.setContainerHeight(),this.addSwipeListeners()}setContainerHeight(){setTimeout((()=>{const e=this.slides[this.active];if(e&&e.children[0]&&this.carouselContainer){const t=e.children[0].offsetHeight;this.carouselContainer.style.height=`${t}px`}}),100)}updateCurrentDisplay(){this.currentDisplay&&(this.currentDisplay.innerText=(this.active+1).toString(10))}showSlide(e){const t=(e+this.slides.length)%this.slides.length,a=e>this.active!==this.isRTL?"left":"right";this.hideSlide(this.slides[this.active],a),this.revealSlide(this.slides[t]),this.active=t,this.updateCurrentDisplay()}hideSlide(e,t){e.addEventListener("transitionend",(()=>{e.classList.remove(i(t)),e.classList.remove(`${a}-remove-active`)})),e.classList.add(i(t)),e.classList.add(`${a}-remove-active`),e.classList.remove(a),e.ariaHidden="true"}revealSlide(e){e.classList.add(a),e.ariaHidden="false",this.setContainerHeight()}next(){const e=this.active+(this.isRTL?-1:1);this.showSlide(e)}previous(){const e=this.active+(this.isRTL?1:-1);this.showSlide(e)}
4getEventCoords(e){return e instanceof MouseEvent?{x:e.pageX,y:e.pageY}:e instanceof TouchEvent?{x:e.touches[0].pageX,y:e.touches[0].pageY}:{x:0,y:0}}addSwipeListeners(){if(this.carouselContainer){[{startEvent:"mousedown",endEvent:"mouseup",cancelEvent:"mouseleave"},{startEvent:"touchstart",endEvent:"touchend",cancelEvent:"touchcancel"}].forEach((({startEvent:e,endEvent:t,cancelEvent:a})=>{this.carouselContainer.addEventListener(e,(e=>{this.isSwiping=!0,this.startCoords=this.getEventCoords(e)})),this.carouselContainer.addEventListener(t,(e=>{if(!this.isSwiping)return!1;const t=this.getEventCoords(e);switch(this.getSwipeDirection(t)){case"left":this.isRTL?this.previous():this.next();break;case"right":this.isRTL?this.next():this.previous()}})),this.carouselContainer.addEventListener(a,(()=>{this.isSwiping=!1}))}))}}getSwipeDirection(e){if(!this.startCoords.x||!this.startCoords.y)return!1;const t=Math.abs(e.y-this.startCoords.y),a=e.x-this.startCoords.x,r=Math.abs(a);return!!(this.isSwiping&&t<50&&r>0&&r>30&&t/r<.3)&&(a<0?"left":"right")}}},2335:function(e,exports,t){var a,r=this&&this.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a);var i=Object.getOwnPropertyDescriptor(t,a);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,r,i)}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(a=function(e){return a=Object.getOwnPropertyNames||function(e){var t=[];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[t.length]=a);return t},a(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s=a(e),n=0;n<s.length;n++)"default"!==s[n]&&r(t,e,s[n]);return i(t,e),t}),n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.SearchResultItem=void 0;const l=s(t(6540)),o=n(t(4679)),c=t(6129),d=t(3024),u=t(9830),h=t(4749),m=t(3245),g={searchResultIndex:o.default.number.isRequired,showAsSkeleton:o.default.bool,title:o.default.string.isRequired,text:o.default.string,url:o.default.string.isRequired,breadcrumb:o.default.string.isRequired,thumbnail:u.ImageShape,showThumbnails:o.default.bool,showBreadcrumbs:o.default.bool,isPdf:o.default.bool,pdfLabel:o.default.string,fileSizeBytes:o.default.number,fileSizeUnitNames:o.default.arrayOf(o.default.string)},f=(0,l.forwardRef)(((e,t)=>{const[a,r]=(0,l.useState)(!0);(0,l.useEffect)((()=>{e.showAsSkeleton?r(!0):e.title&&e.url&&setTimeout((()=>{r(!1)}),40*e.searchResultIndex)}),[e]);const i=!!e.showThumbnails&&(e.thumbnail||e.isPdf),s=!!e.showBreadcrumbs&&(e.breadcrumb||e.isPdf),n=(t=>{if(!t||!Number.isFinite(t)||t<=0)return"";let a=[];Array.isArray(e.fileSizeUnitNames)&&(a=e.fileSizeUnitNames.filter((e=>"string"==typeof e&&e.length>0)));const r=a.length?a:["B","KB","MB","GB"],i=Math.floor(Math.log(t)/Math.log(1024)),s=Math.min(i,r.length-1),n=t/1024**s;return`${(0,m.formatForLocale)(n,{maximumSignificantDigits:3})} ${r[s]}`})(e.fileSizeBytes);return l.default.createElement("article",null,l.default.createElement("div",{className:"M-Search-SearchResultItem"+(a?" --skeleton":"")},l.default.createElement("div",{className:"M-Search-SearchResultItem__wrapper"},(a||i)&&l.default.createElement("div",{className:"M-Search-SearchResultItem__thumbnail-wrapper"},l.default.createElement("a",{"aria-label":e.title,href:e.url,tabIndex:-1},a&&l.default.createElement("div",{className:"M-Search-SearchResultItem__thumbnail"}),!a&&!e.isPdf&&l.default.createElement(c.Image,{image:e.thumbnail,ratio:"ratio16to9",alt:"",role:"presentation",additionalFigureClassName:"M-Search-SearchResultItem__thumbnail"}),!a&&e.isPdf&&l.default.createElement("div",{className:"M-Search-SearchResultItem__thumbnail M-Search-SearchResultItem__thumbnail--pdf"},l.default.createElement(h.FrokIcon,{name:"document-pdf"})))),l.default.createElement("div",{className:"M-Search-SearchResultItem__content"},l.default.createElement("h2",{className:"M-Search-SearchResultItem__title"},l.default.createElement("a",{ref:t,"aria-label":e.title,href:e.url,dangerouslySetInnerHTML:{__html:a?"":e.title}}
4)),s&&!a&&l.default.createElement("div",{className:"M-Search-SearchResultItem__breadcrumb"},!e.isPdf&&l.default.createElement(d.SearchBreadcrumb,{text:e.breadcrumb,variant:"search-result",maxLength:80}),e.isPdf&&l.default.createElement(d.SearchBreadcrumb,{text:`${e.pdfLabel}${n?` | ${n}`:""}`,variant:"search-result",maxLength:80})),a?l.default.createElement(l.default.Fragment,null,l.default.createElement("div",{className:"M-Search-SearchResultItem__breadcrumb"}),l.default.createElement("div",{className:"M-Search-SearchResultItem__text"})):e.text&&l.default.createElement("div",{className:"M-Search-SearchResultItem__text",dangerouslySetInnerHTML:{__html:e.text}})))))}));exports.SearchResultItem=f,f.displayName="SearchResultItem",f.propTypes=g},2353:(e,t,a)=>{function r(){const e=document.body.parentNode;e.classList?e.classList.add("is-touch"):e.className+=" is-touch",window.removeEventListener("touchstart",r)}window.addEventListener("touchstart",r);(0,a(6304).Ay)()},2446:function(e,exports,t){var a,r=this&&this.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a);var i=Object.getOwnPropertyDescriptor(t,a);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,r,i)}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(a=function(e){return a=Object.getOwnPropertyNames||function(e){var t=[];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[t.length]=a);return t},a(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s=a(e),n=0;n<s.length;n++)"default"!==s[n]&&r(t,e,s[n]);return i(t,e),t}),n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.StoryTeaser=exports.propTypes=exports.StoryShape=void 0;const l=s(t(6540)),o=n(t(4679)),c=t(6129),d=n(t(5577)),u=n(t(712)),h=t(4749),m=t(3803),g=t(9830);exports.StoryShape=o.default.shape({title:o.default.string.isRequired,url:o.default.string.isRequired,image:o.default.shape({alt:o.default.string.isRequired}).isRequired,story_type:o.default.string,type:o.default.string,identifier:o.default.string,publicationDate:o.default.string,__lastModified:o.default.string}),exports.propTypes={story:exports.StoryShape.isRequired,imageList:g.ImageShape.isRequired,useIdentifier:o.default.bool,storyIndex:o.default.number.isRequired,isFocused:o.default.bool,useH2:o.default.bool};const f=(0,d.default)(),p=(0,u.default)(),v=(0,m.getService)("config");exports.StoryTeaser=({story:e,imageList:t,useIdentifier:a,storyIndex:r,isFocused:i,useH2:s})=>{const{schemaTeasers:n}=v,{author:o,publisher:d,logoUrl:u}=n,[m,g]=(0,l.useState)(!0),b=l.default.useRef(null);(0,l.useEffect)((()=>{i&&b.current&&!1===m&&b.current.focus()}),[i,m]);const y=e.__lastModified?new Date(e.__lastModified).toISOString():void 0;return(0,l.useEffect)((()=>{e.title&&e.url&&t.xs.x1&&setTimeout((()=>{g(!1)}),40*r)}),[e]),l.default.createElement("a",{"aria-label":e.title,className:"A-Teaser-StoryTeaser"+(m?" --skeleton":""),href:e.url?e.url:void 0,itemScope:!0,itemType:"http://schema.org/NewsArticle",tabIndex:m?-1:0,ref:b},!m&&e.url&&l.default.createElement(l.default.Fragment,null,l.default.createElement("meta",{itemProp:"url",content:e.url}),l.default.createElement("meta",{itemProp:"mainEntityOfPage",content:e.url})),m?l.default.createElement("figure",{className:"A-Image__figure"},l.default.createElement("div",{className:"A-Image__preloadWrapper A-Image__preloadWrapper--ratio16to9"})):l.default.createElement(c.Image,{image:t,alt:e.image?.alt,showSchemaMetadata:!0,doLazyLoad:!0,showPreloadBox:!0,ratio:"ratio16to9"}),l.default.createElement("div",{className:"A-Teaser-StoryTeaser__text -secondary"},l.default.createElement("p",{itemProp:"description",className:"A-Teaser-StoryTeaser__subtitle"},!m&&(e.story_type||e.identifier&&a)&&l.default.createElement(l.default.Fragment,null,e.story_type&&l.default.createElement("span",{className:"A-Teaser-StoryTeaser__storyType"},e.story_type),e.identifier&&a&&l.default.createElement("span",{className:"A-Teaser-StoryTeaser__identifier"},e.identifier))),s?l.default.createElement("h2",{itemProp:"headline",className:"A-Teaser-StoryTeaser__title"},!m&&e.title&&l.default.createElement(l.default.Fragment,null,l.default.createElement("span",null,f(e.title)," "),l.default.createElement("span",null,p(e.title),l.default.createElement(h.FrokIcon,{name:"forward-small-bold",isUiIcon:!0})))):l.default.createElement("h3",{itemProp:"headline",className:"A-Teaser-StoryTeaser__title"},!m&&e.title&&l.default.createElement(l.default.Fragment,null,l.default.createElement("span",null,f(e.title)," "),l.default.createElement("span",null,p(e.title),l.default.createElement(h.FrokIcon,{name:"forward-small-bold",isUiIcon:!0})))),l.default.createElement("div",{itemType:"https://schema.org/Organization",itemScope:!0,itemProp:"publisher"},l.default.createElement("meta",{itemProp:"name",content:d}),l.default.createElement("div",{className:"A-Teaser-StoryTeaser__publisherL
4ogo",itemType:"https://schema.org/ImageObject",itemScope:!0,itemProp:"logo"},l.default.createElement("meta",{content:u,itemProp:"url"}),l.default.createElement("meta",{content:"100%",itemProp:"width"}),l.default.createElement("meta",{content:"100%",itemProp:"height"}))),l.default.createElement("meta",{itemProp:"author",content:o}),l.default.createElement("meta",{itemProp:"datePublished",content:e.publicationDate||void 0}),l.default.createElement("meta",{itemProp:"dateModified",content:y})))},exports.StoryTeaser.propTypes=exports.propTypes},2640:(e,exports)=>{exports.A=class{constructor(e){const t=e.querySelector("form"),a=t?.querySelector("button"),r=()=>{a&&(a.disabled=!t?.checkValidity())};r(),t?.addEventListener("change",r),t?.addEventListener("submit",(e=>{e.preventDefault();const a=t.action;window.location.href=a}))}}},2686:(e,exports)=>{Object.defineProperty(exports,"__esModule",{value:!0});const t="-selected";exports.default=(e,a)=>{e.forEach((e=>{parseInt(e.getAttribute("data-index")||"",0)===a?e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}))}},2689:(e,exports,t)=>{const a=t(3803),r=".A-Collapsable",i=`${r} .A-Collapsable__wrapper`,s="ng-hide",n=6,l=12,o=12;exports.A=class{element=null;viewportService=(0,a.getService)("ViewportService");showMoreButton=null;imageElements=[];loadMoreTriggered=!1;activeViewport=1;collapsableContent=null;collapsableElement=null;maxImagesMobile=0;maxImagesTablet=0;maxImagesDesktop=0;totalImageAmount=0;constructor(e){this.element=e,this.collapsableElement=e.querySelector(r),this.collapsableContent=e.querySelector(i),this.showMoreButton=e.querySelector(".M-ImageGrid__loadMore .a-button"),this.imageElements=[...e.querySelectorAll(".M-ImageGrid__list .M-ImageGrid__item")],this.showMoreButton?.addEventListener("click",(()=>this.loadMore())),this.maxImagesMobile=Number(e.dataset.maxImagesMobile)||n,this.maxImagesTablet=Number(e.dataset.maxImagesTablet)||l,this.maxImagesDesktop=Number(e.dataset.maxImagesDesktop)||o,this.totalImageAmount=Number(e.dataset.totalImageAmount),this.activeViewport=this.viewportService.getCurrentViewport(),this.updateImageVisibility(),this.viewportService.onChange((e=>{this.setActiveViewport(e)})),window.addEventListener("resize",(()=>this.calculateCollapsableHeight()))}calculateCollapsableHeight(){requestAnimationFrame((()=>{if(!this.loadMoreTriggered&&this.imageElements.length>0){const e=this.imageElements[0].clientHeight,t=this.imageElements[0].clientWidth,a=this.collapsableContent?.clientWidth||0,r=Math.max(1,Math.floor(a/Math.max(1,t)));let i=this.maxImagesDesktop;this.activeViewport<2?i=this.maxImagesMobile:this.activeViewport<3&&(i=this.maxImagesTablet);const s=Math.ceil(i/r)*e;this.collapsableElement.style.setProperty("max-height",`${s+20}px`)}}))}updateImageVisibility(){if(this.loadMoreTriggered)return void this.imageElements.forEach((e=>{e.style.display="unset"}));let e=this.maxImagesDesktop;this.activeViewport<2?e=this.maxImagesMobile:this.activeViewport<3&&(e=this.maxImagesTablet),this.imageElements.forEach(((t,a)=>{t.style.display=a<e?"unset":"none"}))}setActiveViewport(e){this.activeViewport=e,this.updateImageVisibility();let t=this.maxImagesDesktop;e<2?t=this.maxImagesMobile:e<3&&(t=this.maxImagesTablet),this.loadMoreTriggered||this.totalImageAmount<=t?this.hideShowMoreButton():this.showShowMoreButton(),this.calculateCollapsableHeight()}loadMore(){this.loadMoreTriggered=!0,this.hideShowMoreButton(),requestAnimationFrame((()=>{const e=this.imageElements.find((e=>"none"===window.getComputedStyle(e).display));this.updateImageVisibility();const t=this.collapsableContent.clientHeight;this.collapsableElement.style.maxHeight=`${t}px`,e&&setTimeout((()=>{const t=e.querySelector("a");t&&t.focus()}),100)}))}hideShowMoreButton(){this.showMoreButton?.classList.add(s)}showShowMoreButton(){this.showMoreButton?.classList.remove(s)}}},2786:function(e,exports,t){var a,r=this&&this.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a);var i=Object.getOwnPropertyDescriptor(t,a);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[a]}}
4),Object.defineProperty(e,r,i)}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(a=function(e){return a=Object.getOwnPropertyNames||function(e){var t=[];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[t.length]=a);return t},a(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s=a(e),n=0;n<s.length;n++)"default"!==s[n]&&r(t,e,s[n]);return i(t,e),t}),n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.EventTeaser=void 0;const l=s(t(6540)),o=n(t(4679)),c=t(6129),d=n(t(5577)),u=n(t(712)),h=t(4749),m=t(9830),g={teaser:o.default.shape({image:m.ImageShape.isRequired,title:o.default.string.isRequired,url:o.default.string.isRequired,startMonth:o.default.string,startDay:o.default.string,endMonth:o.default.string,endDay:o.default.string,location:o.default.string,linkLabel:o.default.string}).isRequired,teaserIndex:o.default.number.isRequired,defaultLinkLabel:o.default.string,useExternalLinkIcon:o.default.bool},f=(0,d.default)(),p=(0,u.default)();exports.EventTeaser=({teaser:e,teaserIndex:t,defaultLinkLabel:a,useExternalLinkIcon:r})=>{const[i,s]=(0,l.useState)(!0),n=e.linkLabel||a;return(0,l.useEffect)((()=>{e.title&&e.url&&e.image.xs.x1&&setTimeout((()=>{s(!1)}),40*t)}),[e]),l.default.createElement("div",{className:"A-Teaser-EventTeaser"+(i?" --skeleton":"")},l.default.createElement("a",{className:"A-Teaser-EventTeaser__Link","aria-label":e.title,href:e.url,target:"_self",tabIndex:i?-1:0},l.default.createElement("div",{className:"A-Teaser-EventTeaser__image"},i?l.default.createElement("figure",{className:"A-Image__figure"},l.default.createElement("div",{className:"A-Image__preloadWrapper A-Image__preloadWrapper--ratio16to9"})):l.default.createElement(c.Image,{showSchemaMetadata:!0,showPreloadBox:!0,doLazyLoad:!0,image:e.image})),l.default.createElement("div",{className:"A-Teaser-EventTeaser__content"},l.default.createElement("div",{className:"A-Teaser-EventTeaser__time"},l.default.createElement("div",{className:"A-Teaser-EventTeaser__calendar -contrast"},l.default.createElement("p",{className:"A-Teaser-EventTeaser__calendarMonth"},i?"":e.startMonth),l.default.createElement("p",{className:"A-Teaser-EventTeaser__calendarDay"},i?"":e.startDay),!i&&e.endMonth&&e.endDay&&l.default.createElement("div",null,l.default.createElement("p",{className:"A-Teaser-EventTeaser__calendarDayDivider"},"–"),l.default.createElement("p",{className:"A-Teaser-EventTeaser__calendarMonth"},e.endMonth),l.default.createElement("p",{className:"A-Teaser-EventTeaser__calendarDay"},e.endDay)))),l.default.createElement("div",{className:"A-Teaser-EventTeaser__text"},l.default.createElement("p",{className:"A-Teaser-EventTeaser__textLocation"},i?"":e.location),l.default.createElement("h3",{className:"A-Teaser-EventTeaser__textHeadline"},i?"":e.title),l.default.createElement("div",{className:"A-Teaser-EventTeaser__innerLink"},!i&&l.default.createElement(l.default.Fragment,null,l.default.createElement("span",null,f(n)," "),l.default.createElement("span",null,p(n),l.default.createElement(h.FrokIcon,{name:r?"nosafe-lr-externallink":"nosafe-lr-forward-small",isUiIcon:!0}))))))))},exports.EventTeaser.propTypes=g},2848:(e,t,a)=>{a.r(t),a.d(t,{BWSSearchApiService:()=>i});class r{constructor(e,t,a){this.results=[],this.total=0,this.filters=e.postSearchNavigation||[],this.time=e.time||0,this.nextUrlQuery=null,this.answer=null,e.result&&e.result.entries&&(this.results=e.result.entries.map((e=>({title:this.cleanHtml(e.title||""),snippet:this.cleanHtml(e.snippet||""),url:e.url||"",index:e.index||0,page:e.index||0,metaData:e.metaData||{},category:e.metaData?.search_corp_category||"",breadcrumb:e.metaData?.search_corp_breadcrumb||"",thumbnail:e.metaData?.search_corp_thumbnail||"",language:e.metaData?.["DCSext.wtg_lang"]||"",group:e.metaData?.group||""}))),this.total=e.result.count||0,this.nextUrlQuery=e.result.nextUrlQuery||null);const r=e.Answer||e.answer;if(r&&Array.isArray(r)&&r.length>0){const e=r[0];if(e.properties){const t=t=>{const a=e.properties.find((e=>e.id===t));return a?.data?.[0]||""},a=t("title"),r=t("search_corp_breadcrumb"),i=t("url"),s=e.text?.context_before||"",n=e.text?.text||"",l=e.text?.context_after||"";i&&n&&(this.answer={snippet:this.createSnippetText(s,n,l),title:this.decodeHtml(a),breadcrumb:this.decodeHtml(r),url:i,score:e.score||0})}}this.moreAvailable="string"==typeof t?!!this.nextUrlQuery:this.total>t+a}cleanHtml(e){if(!e)return"";const t=document.createElement("div");t.innerHTML=e;return(t.textContent||t.innerText||"").replace(/\s+/g," ").trim()}decodeHtml(e){if(!e)return"";const t=document.createElement("textarea");t.innerHTML=e;return t.value}createSnippetText(e,t,a){const r=this.cleanHtml(e).trim(),i=this.cleanHtml(t).trim(),s=this.cleanHtml(a).trim();let n="";return r&&(n+=r,r.endsWith(" ")||(n+=" ")),i&&(n+=`<b>${i}</b>`),s&&(!n||n.endsWith(" ")||s.startsWith(" ")||(n+=" "),n+=s),n}}class i{constructor(e,t,a){e.search&&e.search.bwsSearchBaseUrl&&(!e.search.useAutoSuggestion||e.search.bwsAutosuggestionBaseUrl)&&(this.autosuggestionBaseUrl=e.search.bwsAutosuggestionBaseUrl,this.searchBaseUrl=e.search.bwsSearchBaseUrl,this.language=t.language,this.htmlService=a)}getAutosuggestions(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.autosuggestionBaseUrl)return Promise.resolve({error:"Autosuggestion is disabled",results:[],useAutoSuggestion:!1});const t=new URLSearchParams({q:e.q||"",lang:this.language||"en"}).toString();return fetch(`${this.autosuggestionBaseUrl}?${t}`).then((e=>e.json())).then((t=>({error:null,results:(t.results||[]).map((t=>({title:t.name,url:e.useAutoSuggestion?null:`#search?q=${encodeURIComponent(t.name)}`,snippet:t.name,type:t.type,searchTerm:t.name}))),useAutoSuggestion:e.useAutoSuggestion}))).catch((t=>({error:t,results:[],useAutoSuggestion:e.useAutoSuggestion})))}search(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.searchBaseUrl)return Promise.resolve({error:"Search is disabled",results:[]});const t=new URLSearchParams({q:e.q||"",num:e.num||20,pageNum:e.pageNum||1,lang:this.language||"en",doc_lang:this.language||"en",scenario:e.scenario||1,getfields:"search_corp_category.search_corp_thumbnail_xs.search_corp_thumbnail_sm_md_lg.search_corp_breadcrumb.extension.mes:date.mes:rank.mes:size",dnavs:e.dnavs||null,orderby:e.orderBy||null,order_direction:e.orderDirection||null}),a=new URLSearchParams;
4Array.from(t.entries()).forEach((e=>{let[t,r]=e;"null"!==r&&null!==r&&a.append(t,r)}));const i=a.toString();return fetch(`${this.searchBaseUrl}?${i}`).then((e=>e.json())).then((t=>new r(t,e.start||0,e.num||20)))}getPage(e){return this.search(e)}getFirst(e){return this.getPage({num:1,...e}).then((e=>e.results[0]))}}!window.externalConfig||window.externalConfig.search},3024:(e,exports,t)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.SearchBreadcrumb=void 0;var a=t(3181);Object.defineProperty(exports,"SearchBreadcrumb",{enumerable:!0,get:function(){return a.SearchBreadcrumb}})},3093:(e,exports)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=()=>function(){const e=document.getElementById("js-externalConfig");let t={};return e&&(t=JSON.parse(e.innerHTML)),t}()},3122:function(e,exports,t){var a,r=this&&this.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a);var i=Object.getOwnPropertyDescriptor(t,a);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,r,i)}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(a=function(e){return a=Object.getOwnPropertyNames||function(e){var t=[];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[t.length]=a);return t},a(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s=a(e),n=0;n<s.length;n++)"default"!==s[n]&&r(t,e,s[n]);return i(t,e),t}),n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.StoryContentFilterable=void 0;const l=s(t(6540)),o=n(t(4679)),c=t(5383),d=t(7199),u=o.default.shape({label:o.default.string.isRequired,id:o.default.string.isRequired,tagIds:o.default.arrayOf(o.default.string.isRequired).isRequired}),h={initiallyActive:o.default.string.isRequired,filters:o.default.arrayOf(u.isRequired).isRequired,filtersLabel:o.default.string,loadMoreLabel:c.propTypes.loadM
4oreLabel,errorMessage:c.propTypes.errorMessage,noResultsMessage:c.propTypes.noResultsMessage,pageSize:c.propTypes.pageSize,initialPageSize:c.propTypes.initialPageSize,maxPages:c.propTypes.maxPages,tagQueryParam:c.propTypes.tagQueryParam,useIdentifier:c.propTypes.useIdentifier};exports.StoryContentFilterable=({initiallyActive:e,filters:t,filtersLabel:a,loadMoreLabel:r,errorMessage:i,noResultsMessage:s,pageSize:n,initialPageSize:o,maxPages:u,tagQueryParam:h,useIdentifier:m})=>{const[g,f]=(0,l.useState)(e),[p,v]=(0,l.useState)(t.find((e=>e.id===g))?.tagIds||[]);return l.default.createElement(l.default.Fragment,null,l.default.createElement("nav",{className:"O-StoryContentFilterable__filters","aria-label":a||void 0},t.map((e=>l.default.createElement(d.FrokChip,{key:e.id,label:e.label,selected:e.id===g,renderAsButton:!0,onClick:()=>{f(e.id),v(e.tagIds)}})))),l.default.createElement("div",null,l.default.createElement(c.StoryTeaserGroup,{key:g,loadMoreLabel:r,errorMessage:i,noResultsMessage:s,pageSize:n,initialPageSize:o,maxPages:u,tagQueryParam:h,useIdentifier:m,tags:p})))},exports.StoryContentFilterable.propTypes=h},3125:function(e,exports,t){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0});const r=a(t(9565)),i=a(t(181)),s=t(3277),n="a-page-indicator__indicator",l="-selected",o="-group-marker",c="-visible";class d extends r.default{el;parentEl;paginationContainer;eContainer;indicators;slider;buttonNext;buttonPrev;rightEdgeItem;pagination;numSlides;activePage=1;numPages=1;slidesPerViewport=2;syntheticScrollEvent=!1;indicatorHelper;isRTL;constructor(e){super(e),this.el=e,this.parentEl=this.el.closest(".M-ProductSlider"),this.paginationContainer=this.el.querySelector(".a-page-indicator__container"),this.eContainer=this.el.querySelector(".e-container.M-ProductSlider__gradients"),this.slider=this.el.querySelector(".M-ProductSlider__slider"),this.numSlides=this.slider.children.length,this.buttonNext=this.el.querySelector(".a-page-indicator__caret.-right"),this.buttonPrev=this.el.querySelector(".a-page-indicator__caret.-left"),this.rightEdgeItem=this.slider.children.item(0),this.indicators=this.paginationContainer.querySelectorAll(`.${n}`),this.indicatorHelper=new s.IndicatorHelper(this.slider,o),this.isRTL=this.indicatorHelper.isRightToLeft(),this.pagination=this.el.querySelector(".M-ProductSlider__pagination"),this.slider.addEventListener("scroll",(0,i.default)((()=>this.onScrollEnd()),100)),this.buttonNext.addEventListener("click",this.isRTL?()=>this.prev():()=>this.next()),this.buttonPrev.addEventListener("click",this.isRTL?()=>this.next():()=>this.prev()),window.addEventListener("resize",(0,i.default)((()=>this.onResize()),250,{trailing:!0})),this.init()}init(){this.slidesPerViewport=this.getSlidesPerViewport(),this.updateNumPages(),this.calculateScrollbarWidth(),this.createIndicators(),this.updateGroupMarkers(),this.updateCalculatedPage(),this.slider.scrollLeft=0,this.slider.style.opacity="1"}calculateScrollbarWidth(){const e=window.innerWidth-document.body.clientWidth;this.parentEl.style.setProperty("--scrollbar-width",`${e}px`)}getRightEdgeItem(){const e=Array.from(this.slider.children),t=parseFloat(getComputedStyle(this.slider).scrollPaddingLeft),a=this.slider.clientWidth-t,r=e.filter((e=>{let{left:t,right:r}=e.getBoundingClientRect();return t=this.isRTL?this.indicatorHelper.invertX(t,e.clientWidth):t,r=this.isRTL?this.indicatorHelper.invertX(r,-e.clientWidth):r,t>=0&&r<=a}));return r[r.length-1]}getPageOfItem(e){const t=Array.from(this.slider.children).indexOf(e);return Math.floor(t/this.slidesPerViewport)+1}onResize(){this.slidesPerViewport=this.getSlidesPerViewport(),this.updateNumPages(),this.calculateScrollbarWidth(),this.createIndicators(),this.updateGroupMarkers();const e=this.getPageOfItem(this.rightEdgeItem);this.setActivePage(e)}next(e=1){const t=this.activePage+e;t<=this.numPages&&(this.useSyntheticScroll(),this.setActivePage(t))}prev(e=1){const t=this.activePage-e;t>0&&(this.useSyntheticScroll(),this.setActivePage(t))}useSyntheticScroll(e=!0){this.syntheticScrollEvent=e,this.slider.classList.toggle("-no-pointer-events",e)}onScrollEnd(){this.syntheticScrollEvent?this.useSyntheticScroll(!1):this.updateCalculatedPage()}updateCalculatedPage(e=!1){const t=this.indicatorHelper.getCurrentIndex();this.setActivePage(t,e)}setActivePage(e,t=!0){this.activePage=e;const a=this.paginationContainer.querySelector(`.${l}`);a&&a.classList.remove(l),this.indicators.item(e-1).classList.add(l),t&&this.scrollToPage(e),this.rightEdgeItem=this.getRightEdgeItem()}scrollToPage(e,t=!1){const a=this.eContainer.offsetWidth*(e-1)+parseFloat(getComputedStyle(this.slider).columnGap
4)*(e-1);this.slider.scroll({left:this.isRTL?-a:a,behavior:t?"auto":"smooth"})}updateGroupMarkers(){[...this.slider.children].forEach(((e,t)=>{e.classList.remove(o),t%this.slidesPerViewport==0&&e.classList.add(o)})),this.indicatorHelper.updateGroupMarkers()}createIndicators(){if(this.indicators.length<this.numPages){const e=this.numPages-this.indicators.length;for(let t=0;t<e;t+=1){const e=document.createElement("div");e.classList.add(n),0===t&&0===this.indicators.length&&e.classList.add(l);const a=this.indicators.length+t+1;e.setAttribute("data-index",`${a}`),e.addEventListener("click",(()=>{this.useSyntheticScroll(),this.setActivePage(a)})),this.paginationContainer.appendChild(e)}}else for(let e=this.indicators.length;e>this.numPages;e-=1)this.paginationContainer.removeChild(this.indicators[e-1]);this.updateIndicators()}updateIndicators(){this.indicators=this.paginationContainer.querySelectorAll(`.${n}`),this.indicators.length<2?this.pagination.classList.remove(c):this.pagination.classList.add(c)}getSlidesPerViewport(){const e=window.getComputedStyle(this.el);return parseInt(e.getPropertyValue("--items-per-view"),10)||this.slidesPerViewport}updateNumPages(){const e=Math.ceil(this.numSlides/this.getSlidesPerViewport());this.numPages=e}}exports.default=d},3140:(e,t,a)=>{a.r(t),a.d(t,{LocaleService:()=>s});var r=a(2300),i=a(1394);class s{constructor(e,t){this.$window=e,this.environmentConfig=t,this.defaultLanguage=this.environmentConfig.defaultLocalization.defaultLanguage||"en",this.defaultCountry=this.environmentConfig.defaultLocalization.defaultCountry||"DE",this.defaultDateFormat=this.environmentConfig.defaultLocalization.defaultDateFormat||"dd.MM.yyyy"}get language(){return this.$window.document.documentElement.lang?this.$window.document.documentElement.lang.split("-")[0]:this.defaultLanguage}get country(){return(this.$window.document.documentElement.lang?this.$window.document.documentElement.lang.split("-")[1]:void 0)||this.defaultCountry}get dateFormat(){return this.defaultDateFormat}formatDate(e){return(0,r.Ay)((0,i.A)(e),this.defaultDateFormat)}}},3181:function(e,exports,t){var a,r=this&&this.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a);var i=Object.getOwnPropertyDescriptor(t,a);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,r,i)}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(a=function(e){return a=Object.getOwnPropertyNames||function(e){var t=[];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[t.length]=a);return t},a(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s=a(e),n=0;n<s.length;n++)"default"!==s[n]&&r(t,e,s[n]);return i(t,e),t}),n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.SearchBreadcrumb=void 0;const l=s(t(6540)),o=n(t(4679)),c={text:o.default.string.isRequired,variant:o.default.oneOf(["nlqa","search-result"]),maxLength:o.default.number,className:o.default.string};exports.SearchBreadcrumb=({text:e,variant:t="search-result",maxLength:a=80,className:r=""})=>{const i=e.split(/\s*[>›]\s*/).filter(Boolean),[s,n]=(0,l.useState)(3);(0,l.useEffect)((()=>{const e=()=>{n(window.innerWidth>=768?5:3)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[]);const o=e.length>(a||80)||i.length>s,c=["A-SearchBreadcrumb",`A-SearchBreadcrumb--${t}`,o?"A-SearchBreadcrumb--truncated":"",r].filter(Boolean).join(" "),d=`${i.length>0?i[i.length-1]:e}`;return l.default.createElement("nav",{className:c,"aria-label":d},o?(()=>{if(i.length<=1)return l.default.createElement("span",{className:"A-SearchBreadcrumb__text"},e);const t=e=>l.default.createElement("span",{key:`sep-${e}`,className:"A-SearchBreadcrumb__separator"},l.default.createElement("i",{className:"a-icon ui-ic-nosafe-lr-forward-small"})),a=(e,t,a)=>{let r="A-SearchBreadcrumb__segment";return r+=t<2?" A-SearchBreadcrumb__segment--truncatable":t>=2&&!a?" A-SearchBreadcrumb__segment--collapsible":" A-SearchBreadcrumb__segment--last",l.default.createElement("span",{key:`seg-${t}`,className:r},e)},r=i.length-1,n=[];return i.length>=4||i.length>s?(n.push(a(i[0],0,!1)),n.push(t(0)),n.push(a(i[1],1,!1)),n.push(t(1)),n.push(l.default.createElement("span",{key:"ellipsis",className:"A-SearchBreadcrumb__ellipsis"},"...")),n.push(t("ellipsis")),n.push(a(i[r],r,!0))):i.forEach(((e,i)=>{const s=i===r;n.push(a(e,i,s)),s||n.push(t(i))})),l.default.createElement("span",{className:"A-SearchBreadcrumb__text"},n)})():i.length<=1?l.default.createElement("span",{className:"A-SearchBreadcrumb__text"},e):l.default.createElement("span",{className:"A-SearchBreadcrumb__text"},i.map(((e,t)=>l.default.createElement(l.default.Fragment,{key:t},l.default.createElement("span",{className:"A-SearchBreadcrumb__segment"},e),t<i.length-1&&l.default.createElement("span",{className:"A-SearchBreadcrumb__separator"},l.default.createElement("i",{className:"a-icon ui-ic-nosafe-lr-forward-small"})))))))}
4,exports.SearchBreadcrumb.propTypes=c},3194:(e,exports,t)=>{const a=t(468);exports.A=class{constructor(e){const t=e.querySelector("button.m-dialog__close");t&&t.addEventListener("click",(()=>(0,a.closeModal)(e)))}}},3232:(e,t,a)=>{a.r(t),a.d(t,{default:()=>i});var r=a(4705);const i=class{constructor(e){if((0,r.A)(this,"noImagePlaceholder",(()=>{const e=document.createElement("div");e.className="A-Image__fallback";const t=document.createElement("i");t.className="a-icon boschicon-bosch-ic-imagery-off-disabled-light",t.title="imagery-off-disabled-light",e.appendChild(t),this.el.replaceWith(e)})),(0,r.A)(this,"removeUrlFromSources",((e,t)=>{t.forEach((t=>{const a=t.srcset.trim().split(",").filter((t=>{const[a]=t.trim().split(" ");return new URL(a.trim(),document.location).href!==e})).join(",");a!==t.srcset&&(t.srcset=a,t.dataset.srcset&&(t.dataset.srcset=a))}))})),(0,r.A)(this,"getSources",(e=>Array.from(e.querySelectorAll("source")).concat([e.querySelector("img")]))),(0,r.A)(this,"sourceFallbackErrorHandler",((e,t)=>{this.removeUrlFromSources(e.target.currentSrc,this.getSources(t));const a=new Image;a.addEventListener("error",this.errorListener),a.src=this.imgElement.currentSrc})),this.el=e,"picture"===e.tagName.toLowerCase())if(this.imgElement=e.querySelector("img"),this.imgElement){if(this.sourceUpdates=0,this.errorListener=t=>{this.sourceUpdates<20?(this.sourceFallbackErrorHandler(t,e),this.sourceUpdates+=1,this.imgElement.dispatchEvent(new Event("source-set-update"))):this.noImagePlaceholder()},this.imgElement.complete){const e=this.imgElement.currentSrc,t=new URL(e.trim(),document.location).href;if(e!==t)this.noImagePlaceholder();else{const t=new Image;t.addEventListener("error",this.noImagePlaceholder),t.src=e}}this.imgElement.addEventListener("error",this.errorListener)}else console.warn("SourceFallback component is missing an img tag, skipping");else console.warn(`Trying to attach SourceFallback component to a ${e.tagName} tag, skipping`)}unregister(){this.imgElement?.removeEventListener("error",this.errorListener)}}},3245:(e,exports)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.formatForLocale=function(e,t={}){const a=document.documentElement.getAttribute("lang")||void 0;let r=e.toLocaleString(a,t);return Object.entries({"de-DE":[{from:".",to:" "}]}).forEach((([e,t])=>{const[i,s]=e.split("-");(5===a?.length&&a?.endsWith(s)||2===a?.length&&a?.startsWith(i))&&t.forEach((({from:e,to:t})=>{r=r.replaceAll(e,t)}))})),r}},3277:(e,exports)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.IndicatorHelper=void 0;exports.IndicatorHelper=class{slider;groupMarkerClass;groupMarkerItems=[];currentGroupMarker=void 0;isRTL=!1;constructor(e,t){this.slider=e,this.groupMarkerClass=t,this.isRTL=this.isRightToLeft(),this.updateGroupMarkers()}updateGroupMarkers(){const e=[...this.slider.children].filter((e=>e.classList.contains(this.groupMarkerClass)));this.groupMarkerItems=e}getCurrentIndex(){let e=1,t=!1;const a=parseFloat(getComputedStyle(this.slider).scrollPaddingLeft),r=this.slider.scrollWidth-this.slider.clientWidth,i=this.slider.scrollLeft;if((this.isRTL?i===-r:i===r)&&(this.currentGroupMarker=this.groupMarkerItems[this.groupMarkerItems.length-1],t=!0),!t){const e=this.groupMarkerItems.find((e=>{const{x:t}=e.getBoundingClientRect();return(this.isRTL?t+a===this.invertX(r):t-a==0)&&e}));e&&(this.currentGroupMarker=e,t=!0)}if(!t){const e=this.groupMarkerItems.filter((e=>this.isRTL?e.getBoundingClientRect().x>a:e.getBoundingClientRect().x<a)),t=e.reduce(((e,t)=>{const a=t.getBoundingClientRect().x,r=e.getBoundingClientRect().x;return(this.isRTL?a<r:a>r)?t:e}),e[0]);this.currentGroupMarker=t}return this.currentGroupMarker&&(e=this.groupMarkerItems.indexOf(this.currentGroupMarker)+1),e}invertX(e,t=0){return this.slider.clientWidth-e-t}isRightToLeft(){return"rtl"===getComputedStyle(this.slider).direction}}},3528:function(e,exports,t){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.getPropsFromElement=void 0;const r=a(t(4679));exports.getPropsFromElement=(e,t)=>
4{const a=e.dataset,i=t.propTypes,s=t.displayName;if(!i)throw new Error(`[getPropsFromElement] Component ${s} has no propTypes, aborting.`);const n=Object.keys(i),l={};n.forEach((e=>{const t=i[e];if(Object.keys(a).includes(e))if(t!==r.default.string&&t!==r.default.string.isRequired){if(t===r.default.bool||t===r.default.bool.isRequired){if("true"===a[e])return void(l[e]=!0);if("false"===a[e])return void(l[e]=!1);if(""===a[e]?.trim())return void(l[e]=!1);throw new Error(`[getPropsFromDataSet] Could not convert prop '${e}' of component '${s}' to boolean: don't know how to handle value '${a[e]}'.`)}t!==r.default.number&&t!==r.default.number.isRequired?t!==r.default.func&&t!==r.default.func.isRequired&&"string"==typeof a[e]&&""!==a[e]?.trim()&&(l[e]=a[e]):l[e]=Number(a[e])}else l[e]=a[e]}));const o=(e=>[...e.querySelectorAll("*[data-prop-name]")].reduce(((e,t)=>{const a=t.attributes.getNamedItem("data-prop-name").value,r=t.textContent?.trim().replace(/[\r\n]/gm,"");if(!r)throw new Error("[getPropsFromElement] found a script tag without text content, aborting.");return e[a]=JSON.parse(r),e}),{}))(e);return{...l,...o}}},3633:function(e,exports,t){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0});const r=a(t(4679)),i=t(111),s=t(3528),n=t(3983),l=a(t(5577)),o=a(t(712)),c=(0,l.default)(),d=(0,o.default)(),u={ctaUrl:r.default.string,ctaTarget:r.default.string,ctaUseExternalLinkIcon:r.default.bool,directionsUrl:r.default.string,id:r.default.string,name:r.default.string.isRequired,address:r.default.shape({country:r.default.string,city:r.default.string,zipCode:r.default.number,street:r.default.string,streetNumber:r.default.number}).isRequired,pos:r.default.arrayOf(r.default.number.isRequired).isRequired},h={apiKey:r.default.string.isRequired,clusterIconImage:r.default.string.isRequired,ctaLabel:r.default.string,directionsLabel:r.default.string,directionsBaseUrl:r.default.string,markerActiveIconImage:r.default.string.isRequired,markerHoverIconImage:r.default.string.isRequired,markerIconImage:r.default.string.isRequired,markersDefinition:r.default.arrayOf(r.default.shape(u).isRequired),singleMarkerZoom:r.default.number.isRequired,keepInfoWindowOpen:r.default.bool},m="A-Map-InfoWindow",g=["A-Map-InfoWindow__link","a-link","-icon"],f="-hidden",p=48.789,v=9.064;exports.default=class{element;props;infoWindow=null;remainingRetries=25;markers=[];activeMarker=null;map=null;bounds=null;markerClusterer=null;options=n.options;constructor(e){this.element=e,this.infoWindow=e.parentElement.querySelector(`.${m}`),this.props=(0,s.getPropsFromElement)(e,{displayName:"GoogleMap",propTypes:h}),this.loadScript("//maps.google.com/maps/api/js?key="+this.props.apiKey+"&libraries=marker&loading=async")}waitForGoogleToInit(){if("undefined"!=typeof google&&void 0!==google.maps.LatLng)if(this.initMap(),this.initInfoWindow(),this.updateMarkers(),this.initMarkerClusterer(),1===this.markers.length){const[e]=this.props.markersDefinition;this.centerMap(e),this.props.keepInfoWindowOpen&&(this.onMarkerClick(e),this.setMarkerActive(this.markers[0]))}else this.showAllMarkers();else this.remainingRetries>0&&(this.remainingRetries-=1,setTimeout((()=>{this.waitForGoogleToInit()}),200))}initMap(){this.map=new google.maps.Map(this.element,{zoom:this.props.singleMarkerZoom||10,center:new google.maps.LatLng(p,v),mapId:"Bosch",scrollwheel:!1,zoomControl:!0,mapTypeControl:!1,scaleControl:!1,streetViewControl:!1,rotateControl:!1,fullscreenControl:!1}),this.map.mapTypes.set("styled_map",new google.maps.StyledMapType(this.options.styles)),this.map.setMapTypeId("styled_map"),this.bounds=new google.maps.LatLngBounds}initInfoWindow(){this.hideInfoWindow();const e=this.getInfoWindowElement("closeIcon");this.props.keepInfoWindowOpen?e?.remove():e?.addEventListener("click",(()=>{this.hideInfoWindow(),this.activeMarker&&(this.resetMarker(this.activeMarker),this.activeMarker=null)}))}updateMarkers(){const e=this.props.markersDefinition||[];this.markers=e.map((e=>{const{name:t,pos:a}=e,r=new google.maps.marker.AdvancedMarkerElement({position:new google.maps.LatLng(a[0],a[1]),map:this.map,content:this.createMarkerIcon("default")});return this.resetMarker(r),r.addListener("click",(()=>
4{this.markers.forEach((e=>this.resetMarker(e))),this.setMarkerActive(r),this.onMarkerClick(e)})),r}))}resetMarker(e){e.addListener("mouseover",(()=>e.content=this.createMarkerIcon("hover"))),e.addListener("mouseout",(()=>e.content=this.createMarkerIcon("default")))}setMarkerActive(e){google.maps.event.clearListeners(e,"mouseover"),google.maps.event.clearListeners(e,"mouseout"),this.activeMarker=e}createMarkerIcon(e){const t={default:this.props.markerIconImage,active:this.props.markerActiveIconImage,hover:this.props.markerHoverIconImage},a=document.createElement("div");return a.style.backgroundImage=`url(${t[e]})`,a.style.backgroundSize="48px 48px",a.style.height="48px",a.style.width="48px",a}initMarkerClusterer(){const e={render:({count:e,position:t})=>{const a=document.createElement("div");return a.style.backgroundImage=`url(${this.props.clusterIconImage})`,a.style.backgroundSize="48px 48px",a.style.color="white",a.style.fontSize="14px",a.style.fontWeight="bold",a.style.height="48px",a.style.width="48px",a.style.lineHeight="48px",a.style.textAlign="center",a.innerText=e.toString(),new google.maps.marker.AdvancedMarkerElement({content:a,position:t,zIndex:e})}};this.markerClusterer=new i.MarkerClusterer({map:this.map,markers:this.markers,algorithm:new i.GridAlgorithm({}),renderer:e})}showAllMarkers(){this.markers.forEach((e=>this.bounds.extend(e.position))),this.map.fitBounds(this.bounds)}onMarkerClick(e){this.updateInfoWindow(e),this.showInfoWindow(),this.centerMap(e)}showInfoWindow(){this.infoWindow?.classList.remove(f)}hideInfoWindow(){this.infoWindow?.classList.add(f)}centerMap({pos:e}){this.map.panTo(new google.maps.LatLng(e[0],e[1]))}getInfoWindowElement(e){const t=`.${m}__${e}`;return this.infoWindow?.querySelector(t)||null}updateInfoWindow(e){const{name:t,address:a,ctaUrl:r,ctaTarget:i,ctaUseExternalLinkIcon:s,pos:n}=e;if(!this.infoWindow)return;const l=this.getInfoWindowElement("title");l&&(l.textContent=t);const o=this.getInfoWindowElement("content");if(o&&(o.innerHTML="",a)){const{street:e,streetNumber:t,city:l,zipCode:c,country:d}=a,u=document.createElement("span");u.classList.add(`${m}__address`),u.innerHTML=[`${e} ${t}`,`${c} ${l}`,d].join("<br />"),o.appendChild(u);const{ctaLabel:h,directionsLabel:g,directionsBaseUrl:f}=this.props;if(h&&r){const e=this.createLink({href:r,target:i||"_self",text:h,ariaLabel:h,icon:this.createHTMLIcon(s?"nosafe-lr-externallink":"nosafe-lr-forward-small")});o.appendChild(e)}if(g&&f){const e=this.createLink({text:g,ariaLabel:g,href:`${f}${n[0]},${n[1]}`,target:"_blank",icon:this.createHTMLIcon("nosafe-lr-externallink")});o.appendChild(e)}}}preventOrphanIconInLink(e,t,a){const r=document.createElement("span");r.textContent=`${c(e)} `;const i=document.createElement("span");return i.textContent=d(e),i.appendChild(t),a.appendChild(r),a.appendChild(i),a}createHTMLIcon(e){const t=document.createElement("i");return t.setAttribute("title",`${e}`),t.classList.add("a-icon",`ui-ic-${e}`),t}createLink({text:e,ariaLabel:t="",target:a="_self",href:r="#",icon:i}){const s=document.createElement("div");s.classList.add(...g);const n=document.createElement("a");return this.preventOrphanIconInLink(e,i,n),n.setAttribute("href",r),n.setAttribute("target",a),n.setAttribute("aria-label",t),s.appendChild(n),s}loadScript(e){const t=/^https?:/i,a=document.head.querySelectorAll("script[src]"),r=Array.from(a).map((e=>e.src.replace(t,""))),i=e.replace(t,"");if(r.includes(i))return void this.waitForGoogleToInit();const s=document.createElement("script");s.setAttribute("src",e),s.addEventListener("load",(()=>{this.waitForGoogleToInit()})),document.head.appendChild(s)}}},3670:function(e,exports,t){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.DropDown=void 0;const r=a(t(6540)),i=a(t(4679)),s=a(t(6942)),n=i.default.shape({name:i.default.string,id:i.default.string.isRequired}),l={additionalClasses:i.default.string,options:i.default.arrayOf(n.isRequired).isRequired,placeholderText:i.default.string,disabled:i.default.bool,onCh
4ange:i.default.func};exports.DropDown=({additionalClasses:e,options:t,placeholderText:a,disabled:i,onChange:n})=>r.default.createElement("div",{className:(0,s.default)("a-dropdown",e)},r.default.createElement("select",{onChange:e=>n?.(e.target.value),disabled:i||void 0,defaultValue:""},r.default.createElement("option",{value:"",disabled:!0,key:""},a),t.map((e=>r.default.createElement("option",{value:e.id||void 0,key:e.id},e.name))))),exports.DropDown.propTypes=l},3803:function(e,exports,t){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.getService=void 0;const r=a(t(3093)),i=t(302),s=t(967),n=t(8724),l=t(7135),o=t(8018),c=t(4284),d=t(2078),u=t(873),h=t(2848),m=t(9561),g=t(8482),f=t(3140),p=t(1948),v=t(1144),b={window:{type:"value",provide:window},location:{type:"value",provide:document.location},config:{type:"value",provide:(0,r.default)()},SearchService:{type:"service",provide:m.SearchService,arguments:["SearchApiService","BWSSearchApiService","config"]},StoryService:{type:"service",provide:d.StoryService,arguments:["CaasQueryBuilder"]},SearchApiService:{type:"service",provide:u.SearchApiService,arguments:["config","LocaleService","HtmlService"]},BWSSearchApiService:{type:"service",provide:h.BWSSearchApiService,arguments:["config","LocaleService","HtmlService"]},LocaleService:{type:"service",provide:f.LocaleService,arguments:["window","config"]},HtmlService:{type:"service",provide:g.HtmlService},ViewportService:{type:"service",provide:v.ViewportService,arguments:["window","rootScope"]},CaasQueryBuilder:{type:"service",provide:s.CaasQueryBuilder,arguments:["CaasQueryRunner","CaasConfigValidator"]},CaasQueryRunner:{type:"service",provide:n.CaasQueryRunner,arguments:["CaasConfigValidator"]},CaasConfigValidator:{type:"service",provide:i.CaasConfigValidator,arguments:["config"]},ScrollToService:{type:"service",provide:p.ScrollToService,arguments:["window"]},rootScope:{type:"value",provide:{$apply:e=>e()}},NewsService:{type:"service",provide:o.NewsService,arguments:["CaasQueryBuilder"]},PressService:{type:"service",provide:c.PressService,arguments:["CaasQueryBuilder"]},EventService:{type:"service",provide:l.EventService,arguments:["CaasQueryBuilder"]}},y={};exports.getService=e=>{const t=b[e];if(!t)throw new Error(`Cannot find injection configuration for ${e}`);const a=(t.arguments||[]).map(exports.getService);switch(t.type){case"service":return y[e]||(y[e]=new t.provide(...a)),y[e];case"function":return y[e]||(y[e]=t.provide(...a)),y[e];case"value":return t.provide;default:throw new Error(`Unknown provider type ${t.type}`)}}},3931:function(e,exports,t){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.FrokLink=exports.FrokLinkLevel=void 0;const r=a(t(6540)),i=a(t(4679)),s=a(t(6942)),n=a(t(712)),l=a(t(5577)),o=t(4749),c=a(t(4783));var d;!function(e){e.Default="",e.Inline="inline",e.Primary="primary",e.Button="button",e.Integrated="integrated",e.ButtonPrimary="button-primary",e.ButtonSecondary="button-secondary"}(d||(exports.FrokLinkLevel=d={}));const u={level:i.default.oneOf([d.Default,d.Inline,d.Primary,d.Button,d.Integrated,d.ButtonPrimary,d.ButtonSecondary]),disabled:i.default.bool,icon:i.default.string,iconRight:i.default.bool,isUiIcon:i.default.bool,name:i.default.string,label:i.default.string.isRequired,href:i.default.string,target:i.default.oneOf(["_blank",void 0]),additionalClasses:i.default.string,renderAsSpan:i.default.bool,onClick:i.default.func,onBlur:i.default.func,tabIndex:i.default.number},h=({icon:e,level:t})=>t===d.Primary||!(!e||t===d.Button||t===d.ButtonSecondary),m=(0,n.default)(),g=(0,l.default)();exports.FrokLink=({level:e=d.Default,disabled:t,icon:a,iconRight:i,isUiIcon:n,name:l="",label:u,href:f,target:p,additionalClasses:v,renderAsSpan:b,onClick:y,onBlur:_,tabIndex:S})=>{const E=1===u.split(/\s/).length,w=(0,s.default)(["a-link",`a-link--${e||""}`,{"-disabled":t,"-icon":h({icon:a,level:e}),"-as-span":b},v]),L=async e=>{if(await(y?.(e)),e.defaultPrevented)return;if(!f)return;const t=window.location.href.split("#")[0],[a,r]=f.split("#");if(t!=a)return;if(!r)return;const i=document.getElementById(r);if(!i)return;const s=new c.default,n=`#${i.id}`;s.scrollToElement(i,0,!1),window.location.hash=n,e.preventDefault()};return r.default.createElement("div",{className:w},!b&&r.default.createElement("a",{"aria-label":`Open ${l} ${u}`,href:f||"#",target:p||"_self",onClick:L,onBlur:()=>_?.(),tabIndex:S||void 0},a&&!i&&e!==d.Primary&&r.default.createElement(r.default.Fragment,null,r.default.createElement(o.FrokIcon,{name:a,isUiIcon:n}),r.default.createElement("span",null,u)),(e===d.Primary||a&&i)&&!E&&r.default.createElement(r.default.Fragment,null,r.default.createElement("span",null,g(u)," "),r.default.createElement("span",null,m(u),e===d.Primary?r.default.createElement(o.FrokIcon,{name:a||"nosafe-lr-forward-small",isUiIcon:!0}):a&&i&&r.default.createElement(o.FrokIcon,{name:a,isUiIcon:n}))),(e===d.Primary||a&&i)&&E&&r.default.createElement("span",null,u,e===d.Primary?r.default.createElement(o.FrokIcon,{name:a||"nosafe-lr-forward-small",isUiIcon:!0}):a&&i&&r.default.createElement(o.FrokIcon,{name:a,isUiIcon:n})),!a&&e!==d.Primary&&r.default.createElement("span",null,u)),b&&E&&r.default.createElement("span",{onClick:L,onBlur:()=>_?.()},u,r.default.createElement(o.FrokIcon,{name:a||"nosafe-lr-forward-small",isUiIcon:!0})),b&&!E&&r.default.createElement(r.default.Fragment,null,r.default.createElement("span",{onClick:L,onBlur:()=>_?.()},g(u)," "),r.default.createElement("span",{onClick:L,onBlur:()=>_?.()},m(u),r.default.createElement(o.FrokIcon,{name:a||"nosafe-lr-forward-small",isUiIcon:!0}))))},exports.FrokLink.propTypes=u},3983:e=>{e.exports=JSON.parse('{"options":{"styles":[{"elementType":"geometry","stylers":[{"color":"#eff1f2"}]},{"elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"elementType":"labels.text.fill","stylers":[{"color":"#000000"}]},{"elementType":"labels.text.stroke","stylers":[{"color":"#ffffff"}]},{"featureType":"administrative.country","elementType":"geometry.stroke","stylers":[{"color":"#000000"}]},{"featureType":"administrative.land_parcel","stylers":[{"visibility":"off"}]},{"featureType":"administrative.land_parcel","elementType":"labels.text.fill","stylers":[{"color":"#000000"}]},{"featureType":"administrative.locality","elementType":"labels.text.stroke","stylers":[{"visibility":"on"},{"weight":2}]},{"featureType":"administrative.neighborhood","stylers":[{"visibility":"off"}]},{"featureType":"administrative.province","elementType":"geometry.stroke","stylers":[{"color":"#000000"}]},{"featureType":"landscape","elementType":"geometry.fill","stylers":[{"color":"#e0e2e5"}]},{"featureType":"landscape.man_made","elementType":"geometry.fill","stylers":[{"color":"#e0e2e5"}]},{"featureType":"landscape.natural","elementType":"geometry.fill","stylers":[{"color":"#eff1f2"}]},{"featureType":"poi","stylers":[{"visibility":"off"}]},{"featureType":"poi","elementType":"geometry","stylers":[{"visibility":"off"}]},{"featureType":"poi","elementType":"labels.text","stylers":[{"visibility":"off"}]},{"featureType":"poi.business","stylers":[{"visibility":"off"}]},{"featureType":"poi.park","elementType":"geometry.fill","stylers":[{"color":"#eff1f2"},{"visibility":"on"}]},{"featureType":"poi.park","elementType":"labels.text","stylers":[{"visibility":"off"}]},{"featureType":"road","elementType":"geometry","stylers":[{"color":"#ffffff"}]},{"featureType":"road","elementType":"geometry.fill","stylers":[{"color":"#c1c7cc"}]},{"featureType":"road","elementType":"labels","stylers":[{"visibility":"off"}]},{"featureType":"road.arterial","elementType":"labels","stylers":[{"visibility":"off"}]},{"featureType":"road.arterial","elementType":"labels.text.fill","stylers":[{"color":"#000000"}]},{"featureType":"road.highway","elementType":"geometry.fill","stylers":[{"color":"#c1c7cc"},{"visibility":"on"}]},{"featureType":"road.highway","elementType":"geometry.stroke","stylers":[{"visibility":"off"}]},{"featureType":"road.highway","elementType":"labels","stylers":[{"visibility":"off"}]},{"featureType":"road.highway","elementType":"labels.text.fill","stylers":[{"color":"#000000"}]},{"featureType":"road.local","stylers":[{"visibility":"off"}]},{"featureType":"road.local","elementType":"labels.text.fill","stylers":[{"color":"#000000"}]},{"featureType":"transit.line","elementType":"geometry","stylers":[{"color":"#b2b9c0"}
4]},{"featureType":"transit.station","elementType":"geometry","stylers":[{"color":"#b2b9c0"}]},{"featureType":"transit.station.airport","elementType":"geometry.fill","stylers":[{"color":"#d0d4d8"}]},{"featureType":"water","elementType":"geometry","stylers":[{"color":"#9dc9ff"}]},{"featureType":"water","elementType":"geometry.fill","stylers":[{"color":"#9dc9ff"}]},{"featureType":"water","elementType":"geometry.stroke","stylers":[{"visibility":"off"}]},{"featureType":"water","elementType":"labels.text","stylers":[{"visibility":"off"}]},{"featureType":"water","elementType":"labels.text.fill","stylers":[{"color":"#ffffff"}]},{"featureType":"water","elementType":"labels.text.stroke","stylers":[{"color":"#007bc0"}]}]}}')},4284:(e,exports,t)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.PressService=void 0;const a=t(6663);exports.PressService=class{queryBuilder;static $inject=["caasQueryBuilder"];constructor(e){this.queryBuilder=e,this.queryBuilder=e}fetch(e,t){return this.queryBuilder.buildAggregation(a.CaasPressTeaserAggregation).addParam("page",t).addParam("pagesize",e).execute().then((({results:a,count:r})=>({results:a,moreAvailable:r>t*e,remainingPress:r-t*e})))}}},4289:function(e,exports,t){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0});const r=a(t(9565));class i extends r.default{constructor(e){super(e);const t=e.querySelectorAll(".O-Product-Highlight-Teaser__item");Array.from(t).forEach((e=>{const t=e.dataset.productCountrySelectorId;if(!t)return;const a=e.querySelector("script");if(!a)throw new Error("ProductHighlightTeaserGroup: Template Error: Could not find a script tag with data");const r=JSON.parse(a.textContent);e.addEventListener("click",(e=>{const a=document.getElementById(t);if(!a)throw new Error(`ProductHighlightTeaserGroup: Template Error: Could not find a modal with ID '${t}'`);if(!a.component)throw new Error("ProductHighlightTeaserGroup: Template Error: Modal is not a component");a.component.setOptions(r),e.preventDefault(),a.component.show()}))}))}}exports.default=i},4749:function(e,exports,t){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.FrokIcon=void 0;const r=a(t(6942)),i=a(t(4679)),s=a(t(6540)),n={name:i.default.string.isRequired,title:i.default.string,additionalClass:i.default.string,isUiIcon:i.default.bool};exports.FrokIcon=({name:e,additionalClass:t,isUiIcon:a=!1})=>{const i=(0,r.default)("a-icon",(a?"ui-ic-":"boschicon-bosch-ic-")+e,t);return s.default.createElement("i",{className:i})},exports.FrokIcon.propTypes=n},4783:(e,t,a)=>{a.r(t),a.d(t,{default:()=>i});const r=[".M-AnchorNavigation.-sticky",".M-ApplyButton__stickyWrapper--visible"];class i{scrollToTop(){this.scrollTo(0)}scrollToElement(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=this.getElementOffset(e).top+t;this.scrollTo(r,500,a)}getElementOffset(e){const t=window.document.documentElement,a=e.getBoundingClientRect();return{top:Math.round(a.top+window.pageYOffset-t.clientTop),left:Math.round(a.left+window.pageXOffset-t.clientLeft)}}inOutQuintic(e,t,a,r){const i=(e/=r)*e,s=i*e;return t+a*(6*s*i+-15*i*i+10*s)}static setPosition(e){window.document.documentElement.scrollTop=e,window.document.body.parentNode.scrollTop=e,window.document.body.scrollTop=e}getPosition(){return window.document.documentElement.scrollTop||window.document.body.parentNode.scrollTop||window.document.body.scrollTop}getPageBottomPosition(){return window.document.body.scrollHeight-window.document.body.offsetHeight}getStickyElementsOffset(){return r.reduce(((e,t)=>{const a=document.querySelector(t);return a?e+a.offsetHeight:e}),0)}scrollTo(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=this.getPosition(),i=e-r-(a?0:this.getStickyElementsOffset());this.currentTime=0,this.animateScroll(r,i,t)}animateScroll(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:20;this.currentTime+=r;const s=this.inOutQuintic(this.currentTime,e,t,a);i.setPosition(s),this.currentTime<a&&requestAnimationFrame(this.animateScroll.bind(this,e,t,a,r))}}},4810:(e,t,a)=>{a.r(t),a.d(t,{default:()=>r});const r=e=>{const t=e.language;return(e,a)=>(a?e.sort(((e,r)=>
4e[a].localeCompare(r[a],t))):e.sort(((e,a)=>e.localeCompare(a,t))),e)}},5090:(e,exports)=>{exports.A=class{constructor(e){const t=e.closest(".m-dialog"),a=e.querySelector('button[data-frok-action="reload"]'),r=e.querySelector('button[data-frok-action="close"]');a&&a.addEventListener("click",(()=>document.location.reload())),r&&r.addEventListener("click",(()=>{t?.close(),t?.remove()}))}}},5252:function(e,exports,t){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0});const r=a(t(9392));exports.default=(e,t,a)=>{(0,r.default)(e,t).forEach(((e,t)=>{"number"==typeof e?(a[t].querySelector("span").textContent=e.toString(),a[t].setAttribute("data-index",e.toString())):"string"==typeof e&&(a[t].querySelector("span").textContent="...",a[t].removeAttribute("data-index"))}))}},5383:function(e,exports,t){var a,r=this&&this.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a);var i=Object.getOwnPropertyDescriptor(t,a);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,r,i)}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(a=function(e){return a=Object.getOwnPropertyNames||function(e){var t=[];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[t.length]=a);return t},a(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s=a(e),n=0;n<s.length;n++)"default"!==s[n]&&r(t,e,s[n]);return i(t,e),t}),n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.StoryTeaserGroup=exports.propTypes=void 0;const l=s(t(6540)),o=n(t(4679)),c=t(5658),d=t(2446),u=t(9566),h=t(3803);exports.propTypes={loadMoreLabel:o.default.string.isRequired,errorMessage:o.default.string.isRequired,noResultsMessage:o.default.string.isRequired,tags:o.default.arrayOf(o.default.string.isRequired),pageSize:o.default.number,initialPageSize:o.default.number,maxPages:o.default.number,tagQueryParam:o.default.string,useIdentifier:o.default.bool};const m=(0,h.getService)("StoryService"),g={title:"",url:"",image:{alt:""},imageList:{xs:{x1:""}}};exports.StoryTeaserGroup=({loadMoreLabel:e,errorMessage:t,noResultsMessage:a,tags:r,pageSize:i,initialPageSize:s,maxPages:n,tagQueryParam:o,useIdentifier:h})=>{const[f,p]=(0,l.useState)([]),[v,b]=(0,l.useState)([]),[y,_]=(0,l.useState)(!1),[S,E]=(0,l.useState)(1),[w,L]=(0,l.useState)(0),[T,k]=(0,l.useState)(s||0),[M,A]=(0,l.useState)(!1),[C,N]=(0,l.useState)(!1),[x,P]=(0,l.useState)(!1),[I,O]=(0,l.useState)(null),B=(e=[],t=1,a=6)=>(N(!0),b((()=>{const e=[...f];return e.push(Array(Math.min(a,T)).fill(g)),e})),A(T>a),m.fetch(e,{page:t,pageSize:a,offset:w||0}).then((e=>{k(e.remainingStories),P(!0),p((t=>{var a;return t.push((a=e.results,Array.isArray(a)?a.map((e=>(e.imageList=e.image.Columns2,e))):a)),b((()=>t)),t})),E(t),A(e.moreAvailable&&(!n||t<n));const{length:a}=e.results;L(w+a),N(!1)}),(e=>(_(!0),N(!1),Promise.reject(e))))),R=()=>(L(0),E(0),p([]),A(!1),B(r||[],1,s||6));return(0,l.useEffect)((()=>{if(!r&&o){const e=new URL(window.location.href).searchParams.get(o);e&&(r=[e],O([e]))}R()}),[]),(0,l.useEffect)((()=>{setTimeout((()=>{if(f.length>=2&&S>=2){const e=Array.from(document.querySelectorAll(".M-Teaser-StoryTeaser")).slice(-1)[0];if(e){const t=e.querySelector(".A-Teaser-StoryTeaser");t&&t.focus()}}}),50)}),[f]),(0,l.useEffect)((()=>{x&&R()}),[r]),l.default.createElement(l.default.Fragment,null,!y&&l.default.createElement(l.default.Fragment,null,v.map(((e,t)=>l.default.createElement("div",{className:"M-Teaser-StoryTeaser",key:t},l.default.createElement("ul",{className:"M-Teaser-StoryTeaser__list -dynamic"},e.map(((e,a)=>l.default.createElement("li",{className:"M-Teaser-StoryTeaser__item",key:a},l.default.createElement(d.StoryTeaser,{story:e,imageList:e.imageList,useIdentifier:h,storyIndex:a,isFocused:t>0&&t===v.length-1&&0===a}))))))))),M&&l.default.createElement("div",{className:"M-Teaser-StoryTeaser__button"},l.default.createElement(u.LoadMore,{label:e,loading:C,onFetchData:()=>B(r||I||[],S+1,i||6)})),l.default.createElement("div",{className:"M-Teaser-StoryTeaser__notificationWrapper"},y&&l.default.createElement(c.FrokNotification,{text:t}),1===S&&f.length>0&&0===f[0].length&&l.default.createElement(c.FrokNotification,{type:c.FrokNotificationType.Warning,text:a})))},exports.StoryTeaserGroup.propTypes=exports.propTypes},5518:(e,t,a)=>{a.r(t),a.d(t,{findComponents:()=>Ge});var r=a(4783);var i=a(3093);const s="A-Collapsable__trigger--collapsed",n="A-Collapsable__wrapper",l="A-Collapsable--collapsed";var o=a(1826);var c=a(9494);const d={xs:480,sm:768,md:992,lg:1200};class u{constructor(e){this.el=e,this.mediumZoom=(0,c.A)(),this.img=this.el.querySelector("img"),this.zoomedImages=this.el.dataset.zoomedImages&&JSON.parse(this.el.dataset.zoomedImages),this.mediumZoom.on("close",(e=>{let{target:t}=e;t.setAttribute("srcset",t.getAttribute("data-zoom-srcset"))})).on("open",(e=>{let{target:t}=e;t.setAttribute("data-zoom-srcset",t.getAttribute("srcset")),t.removeAttribute("srcset")})),this.assignZoomResolution(),this.img.addEventListener("source-set-update",(()=>{this.mediumZoom.detach(this.img),this.assignZoomResolution()})),window.addEventListener("resize",(()=>this.assignZoomResolution()))}
4assignZoomResolution(){const e=this.getBreakpoint(),t=this.zoomedImages&&this.zoomedImages[e]?this.zoomedImages[e]:u.getHighestResolution(this.img);this.img.dataset.zoomSrc=t,this.mediumZoom.attach(this.img)}static parseSrcSet(e){const t=e.split(",");return t[t.length-1].trim().split(" ")[0]}static getHighestResolution(e){let t="";const a=e.parentElement,r=Array.from(a.querySelectorAll("source"));if(r.length>0){t=r.filter((e=>""!==e.srcset))[0].srcset}else t=e.srcset;return u.parseSrcSet(t)}getBreakpoint(){return Object.keys(d).reduce(((e,t)=>d[t]<=window.innerWidth?t:e))}}var h=a(181),m=a.n(h);const g="main",f="-open";var p=a(3232);class v{constructor(e){this.$window=e}updateHeaderData(e,t){this.$window.document.title=this.$window.document.title.replace(t,e),v.replaceMetaTags(document.head.getElementsByTagName("meta"),e,t)}static replaceMetaTags(e,t,a){Array.prototype.map.call(e,(e=>e)).filter((e=>e.attributes.content)).forEach((e=>{e.attributes.content.value=e.attributes.content.value.replace(a,t)}))}}const b="a-accordion",y="a-accordion--open",_="a-accordion__headline",S="a-accordion__headline-button",E="a-accordion__headline-icon",w="boschicon-bosch-ic-up",L="boschicon-bosch-ic-down",T=".A-Button-LoadMore__wrapper button",k="M-Accordion-Text__loadMoreContainer",M="M-Accordion-Text__loadMoreContainer--hidden",A="M-Accordion-Text__hiddenItems",C="M-Accordion-Text__hiddenItems--active";function N(e){const t=e.getElementsByClassName(_)[0],a=t.getElementsByClassName(E)[0],r=t.getElementsByClassName(S)[0];e.classList.add(y),a.classList.add(w),a.classList.remove(L),r.setAttribute("aria-label",r.getAttribute("data-show-less")),r.setAttribute("aria-expanded","true")}function x(){const e=document.getElementsByClassName(b),t=document.querySelector(T),a=document.getElementsByClassName(A);t&&(Array.from(a).forEach((e=>{e.classList.add(C)})),Array.from(document.getElementsByClassName(k)).forEach((e=>{e.classList.add(M)}))),Array.from(document.getElementsByClassName(b)).forEach((e=>{N(e)})),Array.from(e).forEach((e=>{N(e)}))}window.RB=window.RB||{},window.RB.openAllAccordions=x;const P=[5,25,50,75,100];function I(e){e.preventDefault()}let O=0;var B=a(5858),R=a.n(B);const q="M-AnchorNavigation-Navigation__element",F="M-AnchorNavigation-Navigation__element--active",D="-secondary",j=["a-button","a-button--neutral-tertiary"];class W{constructor(e){this.el=document.querySelector(e),this.wrapper=this.el.querySelector(".M-Search-
4Flyout__wrapper"),this.closeButton=this.el.querySelector(".M-Search-Flyout--close-button"),this.body=document.querySelector("body"),this.savedScrollbarWidth=0,this.closeButton.addEventListener("click",(()=>this.close())),this.el.addEventListener("animationend",(e=>{"fadeIn"===e.animationName&&this.disablePageScrolling()})),this.el.addEventListener("close",(()=>{this.enablePageScrolling()})),window.addEventListener("resize",(()=>this.resizeHandler()))}open(){this.el.dispatchEvent(new Event("open")),this.adjustFlyout(),this.el.showModal();const e=document.querySelector('input[type="search"]');e&&requestAnimationFrame((()=>{e.focus()}))}close(){this.el.close()}enablePageScrolling(){this.body.style.overflowY="auto"}disablePageScrolling(){this.body.style.overflowY="hidden"}getScrollbarWidth(){return window.innerWidth-document.body.clientWidth}adjustFlyout(){if(window.innerWidth<1200)return void(this.wrapper.style.marginLeft="");const e=this.getScrollbarWidth();e>0&&(this.savedScrollbarWidth=e);const t=window.innerHeight<this.el.scrollHeight?0:this.savedScrollbarWidth;this.wrapper.style.marginLeft=`-${t}px`}resizeHandler(){this.adjustFlyout()}}const H="M-Main-Navigation__flyoutWrapper",z="M-Main-Navigation__nextNavOpen",U="is-visible",G="active",V="-background",Q="M-Main-Navigation__toggle--active",J="M-Main-Navigation__item--second",Y="M-Main-Navigation__item--third",Z=".M-Main-Navigation__linkToSecond",X=".M-Main-Navigation__linkToThird",K=".M-Main-Navigation__highlights",ee=".M-Main-Navigation__language-flyout-wrapper--close-button",te=e=>{Array.from(e.querySelectorAll(".M-Main-Navigation__items")).forEach((e=>{e.setAttribute("aria-hidden","true"),e.setAttribute("aria-expanded","false")}))};var ae=a(1879),re=a.n(ae),ie=a(3125),se=a.n(ie);const ne="M-Stage-Two__headline-link--hover",le="M-Stage-Two__headline-link--active";const oe="a-tab-navigation-pane--active";class ce{constructor(e){this.el=e,this.navTabPanes=this.el.getElementsByClassName("a-tab-navigation-pane"),this.scrollToService=new r.default,this.scrollLeft=0,this.scrollRight=0,Array.from(this.el.getElementsByClassName("a-tab-navigation__item")).forEach((e=>{const t=e.querySelector("button");t.addEventListener("click",(()=>{this.toggleTabPane(t.dataset.frokTabIdentifier,!1)}),!1)})),this.checkDefaultOpen(),this.registerScrollUpdates()}checkDefaultOpen(){const e=this.el.querySelector(".a-tab-navigation"),t=window.location.hash||e.dataset.active;if(!t)return;const a=t.replace("#","");this.el.querySelector(t)&&this.toggleTabPane(a,!1)}toggleTabPane(e,t){Array.from(this.navTabPanes).forEach((a=>{a.dataset.tabName===e?(a.classList.add(oe),t&&a.focus()):(a.classList.remove(oe),ce.pauseYoutubeVideos(a))}))}static pauseYoutubeVideos(e){e.querySelectorAll(".M-Youtube iframe").forEach((e=>{e.contentWindow.postMessage(JSON.stringify({event:"command",func:"pauseVideo",args:[]}),"*")}))}registerScrollUpdates(){this.updateTimeout=null;const e=()=>{this.updateTimeout||(this.updateTimeout=setTimeout((()=>this.updateScrollingInformation()),250))};e(),window.addEventListener("resize",e),this.el.addEventListener("scroll",e)}updateScrollingInformation(){clearTimeout(this.updateTimeout),this.scrollLeft=this.el.scrollLeft,this.scrollRight=this.el.scrollWidth-this.el.offsetWidth-this.scrollLeft}}const de="-selected";function ue(e){return"tab"===e.getAttribute("role")}const he=".A-Teaser-AggregationExpandableTeaser",me="A-Teaser-AggregationExpandableTeaser--active",ge=".A-Teaser-AggregationExpandableTeaserDetails",fe="A-Collapsable",pe="A-Collapsable--collapsed";const ve=(e,t)=>{const a=document.getElementById(e);if(!a)throw new Error(`ProductCategoryTeaserGroup: Template Error: Could not find a modal with ID '${e}'`);if(!a.component)throw new Error("ProductCategoryTeaserGroup: Template Error: Modal is not a component");a.component.setOptions(t),a.component.show()};var be=a(4289),ye=a.n(be),_e=a(7954),Se=a(8921),Ee=a(1125),we=a(7673),Le=a(7075),Te=a(2689),ke=a(229),Me=a(11),Ae=a(9093),Ce=a(3194),Ne=a(7882),xe=a(5090),Pe=a(2640),Ie=a(2235),Oe=a(3633),Be=a.n(Oe),Re=a(5383),qe=a(6713),Fe=a(1305),De=a(3122);var je=a(9538),$e=a.n(je),We=a(9238),He=a.n(We),ze=a(4705);const Ue={"button-back-to-top":class{constructor(e){this.el=e,this.el.addEventListener("click",(()=>{this.scrollToTop()}),!1),this.scrollToServiceVanilla=new r.default}scrollToTop(){this.scrollToServiceVanilla.scrollToTop()}},chat:class{constructor(e){this.el=e,this.isScriptLoaded=!1,this.environmentConfig=(0,i.default)(),this.bodyElement=document.getElementsByTagName("body")[0],this.headElement=document.getElementsByTagName("head")[0];const t=this.environmentConfig.genesysChat;this.el.addEventListener("click",(e=>{e.preventDefault(),this.isScriptLoaded?window.localWidgetPlugin.command("WebChat.open"):this.loadChatScripts()}),!1),window._genesys||(window._genesys={}),window._genesys.widgets||(window._genesys.widgets={}),window._genesys.widgets.main={theme:"bosch",downloadGoogleFont:!1,lang:t.lang,i18n:t.i18nUrl,themes:{bosch:"cx-theme-bosch"}},window._genesys.widgets.onReady=e=>{window.localWidgetPlugin=e.registerPlugin("boschGenesysChat"),this.configureChat()}}loadChatScripts(){const e=this.environmentConfig.genesysChat,t=document.createElement("link"),a=document.createElement("link"),r=document.createElement("link"),i=document.createElement("script");t.setAttribute("rel","stylesheet"),t.setAttribute("href",e.widgetCssPath),a.setAttribute("rel","stylesheet"),a.setAttribute("href",e.templateCss),r.setAttribute("rel","stylesheet"),r.setAttribute("href",e.skinCss),i.setAttribute("type","text/javascript"),i.setAttribute("src",e.widgetJsPath),i.onload=()=>{this.isScriptLoaded=!0},this.bodyElement.appendChild(i),this.headElement.appendChild(t),this.headElement.appendChild(a),this.headElement.appendChild(r)}configureChat(){const e=this.environmentConfig.genesysChat;window._genesys||(window._genesys={}),window._gt||(window._gt=[]),window._genesys.widgets.knowledgecenter={deflection:{enabled:e.shouldShowKnowledgeCenter}},window._genesys.widgets.webchat={dataURL:e.apiUrl,async:{enabled:!0,get
4SessionData:function(e,t,a){const r={...a,path:"/",secure:!0,sameSite:"Strict",httpOnly:!0};t.set("_genesys.widgets.app.autoLoadList",JSON.stringify(e),r)},setSessionData:function(e,t){return t.get("_genesys.widgets.app.autoLoadList")}},userData:{chat_language:e.userLanguage,chat_country:e.userCountry},emojis:!1,uploadsEnabled:!1,form:{wrapper:"<table></table>",inputs:[{id:"cx_webchat_form_firstName",name:"firstName",value:e.firstName,type:"hidden"},{id:"cx_webchat_form_lastName",name:"lastName",value:e.lastName,type:"hidden"},{id:"cx_webchat_form_nickname",name:"nickname",value:e.nickname,type:"hidden"},{id:"cx_webchat_form_customterms",name:"customterms",type:"checkbox",title:"Terms",label:e.termLabel,validateWhileTyping:!1,validate:(e,t,a)=>!!a&&a.is(":checked")}]}},setTimeout((()=>{window.localWidgetPlugin.command("WebChat.open")}),250)}},collapsable:class{constructor(e){this.el=e,this.wrapper=this.el.getElementsByClassName(n)[0],this.expandEventRef=this.expandEvent.bind(this),this.collapseEventRef=this.collapseEvent.bind(this),this.collapsableTriggers=document.getElementsByClassName("A-Collapsable__trigger"),Array.from(this.collapsableTriggers).forEach((e=>{e.dataset.collapsableId===this.el.id&&e.addEventListener("click",(()=>{"true"!==this.el.dataset.disabled&&this.toggleCollapsable(e)}),!1)}))}expandEvent(){this.el.classList.remove(l),this.el.removeAttribute("style"),this.el.removeEventListener("transitionend",this.expandEventRef,!1)}collapseEvent(){this.el.classList.add(l),this.el.removeEventListener("transitionend",this.collapseEventRef,!1)}toggleCollapsable(e){if(this.triggerButton=e,this.el.classList.contains(l))if(this.el.dataset.groupClass){let e=0;Array.from(document.getElementsByClassName(this.el.dataset.groupClass)).forEach((t=>{if(!t.classList.contains(l)){e+=1,t.style["max-height"]=this.getContentHeight();const a=()=>{t.classList.add(l),t.removeEventListener("transitionend",a,!1)};setTimeout((()=>{t.style["max-height"]="0px",t.style["overflow-y"]="hidden",t.addEventListener("transitionend",a),this.triggerButton&&(this.triggerButton.classList.add(s),this.triggerButton.parentNode.setAttribute("data-collapsed","")),this.onCollapsed&&(t.getElementsByClassName(n)[0].setAttribute("aria-hidden",!0),t.classReference.onCollapsed())}),100)}})),e>0?setTimeout((()=>{this.expand()}),1e3):this.expand()}else this.expand();else this.collapse()}expand(){this.el.style["max-height"]=this.getContentHeight(),this.el.style.visibility="visible",this.el.addEventListener("transitionend",this.expandEventRef),this.triggerButton&&(this.triggerButton.classList.remove(s),this.triggerButton.parentNode.removeAttribute("data-collapsed")),this.wrapper.setAttribute("aria-hidden",!1),this.onExpanded&&this.onExpanded()}collapse(){this.el.style["max-height"]=this.getContentHeight(),setTimeout((()=>{this.el.style["max-height"]="0px",this.el.style["overflow-y"]="hidden",this.el.addEventListener("transitionend",this.collapseEventRef)}),100),this.triggerButton&&(this.triggerButton.classList.add(s),this.triggerButton.parentNode.setAttribute("data-collapsed","")),this.wrapper.setAttribute("aria-hidden",!0),this.onCollapsed&&this.onCollapsed()}getContentHeight(){const e=this.el.getElementsByClassName(n)[0];return window.getComputedStyle(e).height}},"iframe-post-height":class{constructor(e){this.el=e,this.domain=e.dataset.domain||"*",this.resizeEventBlocked=!1,this.mutationObserver=new MutationObserver(this.postHeight.bind(this)),document.addEventListener("DOMContentLoaded",this.postHeight.bind(this),!1),window.addEventListener("resize",this.resize.bind(this),!1),this.mutationObserver.observe(document.body,{attributes:!1,childList:!0,subtree:!0})}postHeight(){const e=document.documentElement.scrollHeight;window.top.postMessage({name:"setWindowSize",height:e},this.domain)}resize(){this.resizeEventBlocked||(this.resizeEventBlocked=!0,this.postHeight(),window.setTimeout((()=>{this.resizeEventBlocked=!1}),100))}},image:u,"reading-progress-bar":class{constructor(e){this.el=e,this.progress=0,this.scrollPos=0,this.calculateMainOffset(),window.addEventListener("scroll",this.scrollHandler.bind(this)),window.addEventListener("resize",m()(this.calculateMainOffset.bind(this),400,{trailing:!0}))}scrollHandler(){this.calculateProgress(),this.setProgress(),this.toggleVisibility()}setProgress(){this.el.style.setProperty("--progress",this.progress)}toggleVisibility(){this.scrollPos>this.mainOffset?this.el.classList.add(f):this.el.classList.remove(f)}calculateProgress(){const e=window.outerHeight;this.scrollPos=window.scrollY||window.scrollTop||document.getElementsByTagName("html")[0].scrollTop;const t=Math.max(0,this.scrollPos-this.mainOffset),a=document.querySelector(g).clientHeight-e+this.mainOffset,r=parseFloat((t/a).toFixed(3));this.progress=r>1?1:r}calculateMainOffset(){const e=document.querySelector(g);this.mainOffset=e.offsetTop-10}},"source-fallback":p.default,"stage-headline":class{constructor(e){this.el=e,this.data=e.dataset,this.tag=this.data.tag,this.h1=this.el.querySelector("h1"),this.metaService=new v(window),this.headlines=this.getHeadlines(),this.setHeadline()}getHeadlines(){return JSON.parse(this.el.querySelector(`#${this.data.dataid}`).innerHTML)}getHeadline(e){return this.headlines[e]||""}getTag(){return""===this.tag?new URLSearchParams(window.location.search).get("tag")||this.data.fallback:this.tag}setHeadline(){this.tag=this.getTag();const e=this.getHeadline(this.tag);this.h1.innerHTML=e,this.metaService.updateHeaderData(e,this.data.placeholder)}},video:class{constructor(e){this.el=e,this.videoElement=this.el.getElementsByTagName("video")[0];const t=this.el.classList.contains("-lazyloading");if(this.sourcesAdded=!1,t&&this.videoElement.dataset.sources){const t=new IntersectionObserver((a=>{a.forEach((a=>{a.isIntersecting&&(this.lazyload(),t.unobserve(e))}))}));t.observe(e)}else this.videoElement.dataset.sources&&this.lazyload()}lazyload(){if(!this.sourcesAdded){const e=Number(this.videoElement.dataset.sources);let t="";for(let a=0;a<e;a+=1){const e=this.videoElement.dataset[`source${a}Type`];t+=`<source src="${this.videoElement.dataset[`source${a}Url`]}" type="${e}"/>`}this.videoElement.insertAdjacentHTML("beforeend",t),this.sourcesAdded=!0}}},accordion:class{constructor(e){this.el=e,this.accordions=this.el.getElementsByClassName(b),this.toggleElements=this.el.getElementsByClassName(_),this.loadMoreBtn=this.el.querySelector(T),this.hiddenElements=this.el.getElementsByClassName(A)[0],Array.from(this.accordions).forEac
4h((e=>{const t=e.getElementsByClassName(_)[0];t.addEventListener("click",(()=>{this.toggleAccordion(e)})),t.addEventListener("keydown",(t=>{const{code:a}=t;"Space"!==a&&"Enter"!==a||(t.preventDefault(),this.toggleAccordion(e))}))})),this.loadMoreBtn&&this.loadMoreBtn.addEventListener("click",(()=>{this.hiddenElements.classList.add(C);const e=this.hiddenElements.firstElementChild.getElementsByClassName(_)[0];e&&e.focus(),this.el.getElementsByClassName(k)[0].classList.add(M)})),setTimeout((()=>{this.checkDefaultOpen(),this.checkForOpenAllSearchParam()}))}checkForOpenAllSearchParam(){"1"===new URLSearchParams(window.location.search).get("open-all-accordions")&&x()}checkDefaultOpen(){const e=window.location.hash||this.el.dataset.active;if(!e)return;const t=e.replace("#",""),a=this.el.querySelector(`#${t}`);a&&this.toggleAccordion(a)}closeAccordion(e){const t=e.getElementsByClassName(_)[0],a=t.getElementsByClassName(E)[0],r=t.getElementsByClassName(S)[0];e.classList.remove(y),a.classList.remove(w),a.classList.add(L),r.setAttribute("aria-label",r.getAttribute("data-show-more")),r.setAttribute("aria-expanded","false")}toggleAccordion(e){e.classList.contains(y)?this.closeAccordion(e):N(e)}},"audio-player":class{constructor(e){this.el=e,this.player=this.el.querySelector("audio"),this.source=this.player.querySelector("source").getAttribute("src"),this.percentPlayed=0,this.duration=0,this.enableTracking=!0,this.durationEl=this.el.querySelector(".M-AudioPlayer__track__duration"),this.currentTimeEl=this.el.querySelector(".M-AudioPlayer__track__currentTime"),this.track=this.el.querySelector(".M-AudioPlayer__track"),this.buttons=this.el.querySelectorAll(".M-AudioPlayer__buttons button"),this.playHead=this.el.querySelector(".M-AudioPlayer__track__playHead"),this.paused="pause"===this.el.getAttribute("data-play-state"),this.trackingIntervalls=P.map((e=>({threshold:e,hasBeenTracked:!1}))),this.player.addEventListener("loadedmetadata",(()=>this.setTrackDuration(this.player.duration))),this.player.addEventListener("timeupdate",(()=>this.setPlayHead(this.player.currentTime,this.player.duration))),this.player.addEventListener("ended",(()=>this.togglePlayPause())),this.player.addEventListener("seeking",(()=>{this.enableTracking=!1})),this.player.addEventListener("seeked",(()=>{this.enableTracking=!0})),this.player.load(),this.track.addEventListener("click",(e=>this.movePlayHead(e.clientX))),Array.from(this.buttons).forEach((e=>{e.addEventListener("click",(()=>this.togglePlayPause()))}))}movePlayHead(e){const t=(e-this.track.getBoundingClientRect().left)/this.track.getBoundingClientRect().width;this.playHead.style.width=`${(100*t).toFixed(1)}%`,this.player.currentTime=this.duration*t}setTrackDuration(e){this.duration=e,this.durationEl.textContent=this.formatTime(e)}togglePlayPause(){this.paused?(this.paused=!1,this.el.setAttribute("data-play-state","playing"),this.player.play()):(this.paused=!0,this.el.setAttribute("data-play-state","pause"),this.player.pause())}setPlayHead(e,t){const a=parseFloat((e/t*100).toFixed(1));isNaN(a)||(this.currentTimeEl.textContent=this.formatTime(e),this.playHead.style.width=`${a}%`,this.enableTracking&&this.trackProgress(a),this.percentPlayed=a)}trackProgress(e){window.dataLayer=window.dataLayer||[];const t=e,a=this.percentPlayed;this.trackingIntervalls.forEach((e=>{e.threshold>a&&e.threshold<=t&&!e.hasBeenTracked&&(window.dataLayer.push({event:"audioProgress",audioName:this.source,audioPercentage:`${e.threshold}%`,audioStatus:100===e.threshold?"completed":void 0}),e.hasBeenTracked=!0)}))}formatTime(e){const t=Math.floor(e/60);let a=Math.floor(e%60);return a=a>=10?a:`0${a}`,`${t}:${a}`}},"file-uploader":class{constructor(e){this.el=e,this.inputEl=this.el.querySelector("input[type=file]"),this.dropzoneEl=this.el.querySelector(".M-FileUploader__dropzone"),this.dropzoneButtonEl=this.dropzoneEl.querySelector(".a-button"),this.deleteAllButtonLabel=this.el.dataset.deleteAllButtonLabel,this.fileSizeLabel=this.el.dataset.fileSizeLabel;const t=this.renderList.bind(this);this.inputEl.addEventListener("change",t),this.inputEl.addEventListener("mouseenter",(()=>{this.dropzoneButtonEl.classList.add("is-hovered")})),this.inputEl.addEventListener("mouseleave",(()=>{this.dropzoneButtonEl.classList.remove("is-hovered")})),this.containerEl=document.createElement("div"),this.el.appendChild(this.containerEl),this.renderList()}renderList(){const e=this.inputEl.files;function t(e){if(0===e)return"0 Bytes";const t=Math.floor(Math.log(e)/Math.log(1024));return`${parseFloat((e/Math.pow(1024,t)).toFixed(0))} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][t]}`}if(e.length>0){let a="";for(let r=0;r<e.length;r++){const i=e[r];a+=`<div class="M-FileUploader__file">\n          <i class="M-FileUploader__file__icon a-icon boschicon-bosch-ic-upload"></i>\n          <div class="M-FileUploader__file__metadata">\n            <div class="M-FileUploader__file__name">${i.name}</div>\n            <div class="M-FileUploader__file__size">${this.fileSizeLabel}: ${t(i.size)}</div>\n          </div>\n        </div>`}this.containerEl.innerHTML=`${a}<button type="button" class="a-button a-button--brand-secondary">\n        <div class="a-button__label">${this.deleteAllButtonLabel}</div>\n        </button>`,this.containerEl.querySelector(".a-button").addEventListener("click",(()=>{this.inputEl.value="",this.renderList()})),this.dropzoneEl.classList.add("hidden")}else this.containerEl.innerHTML="",this.dropzoneEl.classList.remove("hidden")}},"image-comparison-slider":class{constructor(e){this.el=e,this.range=this.el.querySelector(".M-ImageComparisonSlider__range"),this.imageAfter=this.el.querySelector(".M-ImageComparisonSlider__imageAfter"),this.slider=this.el.querySelector(".M-ImageComparisonSlider__slider"),this.thumb=this.el.querySelector(".M-ImageComparisonSlider .a-button"),this.hint=this.el.querySelector(".M-ImageComparisonSlider__hint"),this.range.addEventListener("mouseenter",(()=>this.thumb.classList.add("-hover"))),this.range.addEventListener("mouseleave",(()=>this.thumb.classList.remove("-hover"))),this.range.addEventListener("mousedown",(()=>this.thumb.classList.add("-active"))),this.range.addEventListener("mouseup",(()=>this.thumb.classList.remove("-active"))),this.range.addEventListener("touchstart",(e=>{e.preventDefault(),window.addEventListener("touchmove",I,{passive:!1}),this.setInputValue(e)})),this.range.addEventListener("touchmove",(e=>{e.preventDefault(),this.setInputValue(e)})),this.range.addEventListener("touchend",(()=>{window.removeEventListener("touchmove",I)})),this.range.addEventListener("input",(e=>{this.handleSliderChange(e.target.value)}))}setInputValue(e){let t=e.touches[0].clientX/(this.range.clientWidth/100);t>=100&&(t=100),t<=0&&(t=0),this.range.value=t,this.handleSliderChange(t)}
4handleSliderChange(e){const t="rtl"===document.documentElement.dir?100-e:e;this.hint.classList.add("-hidden"),O=.03*t-1.5;const a=`polygon(calc(${t}% - ${O}rem) 0%, 100% 0%, 100% 100%, calc(${t}% - ${O}rem) 100%)`;this.imageAfter.style.clipPath=a,this.slider.style.left=`${t}%`,this.slider.style.transform=`translateX(-${t}%)`,this.hint.style.left=`${t}%`}},"language-selector":class{constructor(e){this.el=e,this.window=window,this.dropdown=this.el.getElementsByClassName("a-dropdown")[0],this.dropdown&&this.dropdown.addEventListener("change",(e=>{this.loadLanguagePage(e.target.value)}))}loadLanguagePage(e){this.targetURL=e,this.window.location.href=this.targetURL+window.location.search}},"anchor-navigation":class{constructor(e){if(this.el=e,this.scrollToService=new r.default,this.activeSection=null,this.anchorNavigationStickyWrapper=this.el.closest(".M-AnchorNavigation__sticky"),this.anchorNavigationElementSpacing=this.el.querySelector(".-spacing"),this.anchorNavigationSeparators=document.getElementsByClassName("M-AnchorNavigation-Separator"),this.anchorNavigationElementsWrapper=this.el.getElementsByClassName("M-AnchorNavigation-Navigation")[0],this.buttonLeft=this.el.querySelector(".M-AnchorNavigation-GradientButton.-button-left"),this.buttonRight=this.el.querySelector(".M-AnchorNavigation-GradientButton.-button-right"),this.buttonLeft.addEventListener("click",(()=>this.scrollContainerTo("left"))),this.buttonRight.addEventListener("click",(()=>this.scrollContainerTo("right"))),this.throttledGradientAppearance=R()(this.handleGradientAppearance.bind(this),250),this.generateAnchors(),this.setScrollEvent(),this.setResizeEvent(),this.setInteractionObserver(),this.setClickEvent(e),window.addEventListener("load",(()=>{this.observer.unobserve(this.anchorNavigationStickyWrapper),this.observer.observe(this.anchorNavigationStickyWrapper)})),window.location.hash){const e=window.location.hash;this.initiallySetAnchor(e.split("#")[1])}}scrollToSectionByName(e){let t;for(t=0;t<this.anchorNavigationSeparators.length;t+=1)if(this.anchorNavigationSeparators[t].id===e){this.scrollToSectionByIndex(Number(t));break}}handleClickEvent(e){const t=e.target?.closest("a");if(!t)return;const a=new URL(t.href,window.location.href).hash.slice(1);a&&setTimeout((()=>{this.scrollToSectionByName(a)}))}setClickEvent(e){e.addEventListener("click",(e=>this.handleClickEvent(e)))}scrollContainerTo(e){const t=2*this.buttonLeft.clientWidth,a=this.anchorNavigationElementsWrapper.clientWidth-t;this.anchorNavigationElementsWrapper.scrollBy({left:"left"===e?-a:a,behavior:"smooth"})}setInteractionObserver(){this.observer=new IntersectionObserver(this.addShadowWhenSticky.bind(this),{threshold:1,rootMargin:"-1px 0px 0px 0px"}),this.observer.observe(this.anchorNavigationStickyWrapper)}addShadowWhenSticky(e){const t=e[0],{intersectionRatio:a,boundingClientRect:r}=t,i=a<1&&r.top<1;this.el.classList.toggle("-sticky",i)}handleOverflowScrollEvents(){const{scrollWidth:e,clientWidth:t}=this.anchorNavigationElementsWrapper,a=e>t;this.handleGradientAppearance(),a?this.anchorNavigationElementsWrapper.addEventListener("scroll",this.throttledGradientAppearance):this.anchorNavigationElementsWrapper.removeEventListener("scroll",this.throttledGradientAppearance)}handleGradientAppearance(){const{scrollLeft:e,clientWidth:t,scrollWidth:a}=this.anchorNavigationElementsWrapper;this.buttonLeft.classList.toggle("-visible",e>0),this.buttonRight.classList.toggle("-visible",Math.ceil(e+t+1)<a)}initiallySetAnchor(e){document.addEventListener("DOMContentLoaded",(()=>{setTimeout((()=>{this.scrollToSectionByName(e)}),900)}))}setScrollEvent(){window.addEventListener("scroll",(()=>{this.timeoutRunning||(this.timeoutRunning=setTimeout(this.getSectionTimeout.bind(this),450))}))}setResizeEvent(){window.addEventListener("resize",m()(this.handleOverflowScrollEvents.bind(this),450))}generateAnchorElement(e){const t=document.createElement("button");t.type="button",t.classList.add(...j);const a=document.createElement("div");a.classList.add("a-button__label"),a.textContent=this.anchorNavigationSeparators[e].dataset.sectionTitle,t.appendChild(a),t.addEventListener("click",(()=>{this.scrollToSectionByIndex(Number(e))}));const r=document.createElement("li");return r.classList.add(q),r.appendChild(t),r}generateAnchors(){for(let e=0;e<this.anchorNavigationSeparators.length;e+=1){const t=this.generateAnchorElement(e);this.anchorNavigationElementsWrapper.appendChild(t)}this.anchorNavigationElementsWrapper.removeChild(this.anchorNavigationElementSpacing),this.handleOverflowScrollEvents()}getSectionTimeout(){this.timeoutRunning=!1;const e=this.getActiveSection();this.toggleActiveAnchor(e)}getActiveSection(){const e=this.scrollToService.getPosition()+64,{offsetHeight:t}=this.anchorNavigationStickyWrapper;let a=null;for(let r=this.anchorNavigationSeparators.length-1;r>=0&&null===a;r-=1)e+t>=this.getElementPosition(r)&&(a=r);return a}getElementPosition(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const t=this.anchorNavigationSeparators[e];return this.scrollToService.getElementOffset(t).top+t.offsetHeight}scrollToSectionByIndex(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const t=this.anchorNavigationSeparators[e],a=`#${t.id}`,{offsetHeight:r}=this.anchorNavigationStickyWrapper,i=t.offsetHeight-r-64+1;this.scrollToService.scrollToElement(t,i,!0),window.location.hash=a}scrollToActiveAnchor(){const e=this.el.getElementsByClassName(F);if(e&&e.item(0)){const t=e.item(0),{x:a}=this.anchorNavigationElementsWrapper.getBoundingClientRect(),{x:r,width:i}=t.getBoundingClientRect(),s=i/2+this.buttonLeft.clientWidth,n=Math.round(r-s)-a;this.anchorNavigationElementsWrapper.scrollBy({left:n,behavior:"smooth"})}}toggleActiveAnchor(e){const t=document.getElementsByClassName(q);for(let a=0;a<t.length;a+=1)a===e?(t[a].classList.add(F,D),t[a].setAttribute("aria-current","location")):(t[a].classList.remove(F,D),t[a].removeAttribute("aria-current"));this.activeSection!==e&&(this.activeSection=e,this.scrollToActiveAnchor())}},"main-navigation":class{constructor(e){this.el=e,this.window=window,this.body=document.querySelector("body"),this.mainNavigationToggleButton=this.el.getElementsByClassName("M-Main-Navigation__toggle")[0],this.menuFirstLevel=this.el.getElementsByClassName("M-Main-Navigation__items--first")[0],this.itemsWrapper=this.el.getElementsByClassName(H)[0],this.itemsWrapper&&(this.scrollContainer=this.itemsWrapper.querySelector(`.${H}--scroll-container`),this.itemsWrapperInner=this.itemsWrapper.querySelector(`.${H}--inner`)),this.menuItemsFirstLevel=Array.from(this.el.getElementsByClassName("M-Main-Navigation__item--first")),this.menuItemsSecondLevel=Array.from(this.el.getElementsByClassName(J)),this.menuLinksFirstLevel=Array.from(this.el.querySelectorAll(".M-Main-Navigation__item--first > .M-Main-Navigation__link")),this.menuLinksSecondLevel=Array.from(this.el.querySelectorAll(".M-Main-Navigation__item--second > .M-Main-Navigation__link")),this.menuLinksThirdLevel=Array.from(this.el.querySelectorAll(".M-Main-Navigation__item--third > .M-Main-Navigation__link")),this.menuItemsThirdLevel=Array.from(this.el.getElementsByClassName(Y)),this.backLinksSecondLevel=Array.from(this.el.querySelectorAll(".M-Main-Navigation__items--second > .M-Main-Navigation__backLink > .a-button")),this.homeLinksThirdLevel=Array.from(this.el.querySelectorAll(".M-Main-Navigation__items--third > .M-Main-Navigation__homeLink > .a-button")),this.backLinksThirdLevel=Array.from(this.el.querySelectorAll(".M-Main-Navigation__items--third > .M-Main-Navigation__backLink > .a-button")),this.mainLandMark=document.querySelector("main"),this.mainNavigationOpenSearchButton=this.el.querySelector(".M-Main-Navigation__buttons--toggle-search"),this.mainNavigationToggleLanguageButton=this.el.querySelector(".M-Main-Navigation__buttons--toggle-language"),this.highlights=this.el.querySelectorAll(K),this.highlightsFirstLevel=this.el.querySelector(".M-Main-Navigation__highlights--first"),this.highlightsSecondLevel=this.el.querySelectorAll(".M-Main-Navigation__highlights--second"),this.navigationTeaserLinks=Array.from(this.el.querySelectorAll(".A-Teaser-NavigationTeaser__link")),this.shortcuts=this.el.querySelector(".M-Main-Navigation__buttons--shortcuts"),this.searchDisabled=null!==this.el.getAttribute("data-search-disabled"),this.searchDisabled||(this.searchFlyout=new W("#M-Main-Navigation__search-flyout")),this.languageWrapper=this.el.querySelector(".M-Main-Navigation__language-flyout-wrapper"),this.languageWrapper&&(this.closeLanguageButton=this.languageWrapper.querySelector(ee)),this.menuIsOpen=!1,this.searchIsOpen=!1,this.languageSelectorIsOpen=!1,this.languageSelectorFocusTrapHandler=null,this.isMobile=!1,this.isTablet=!1,this.savedScrollbarWidth=0,this.mainNavigationToggleButton&&this.mainNavigationToggleButton.addEventListener("click",(()=>this.toggleMenu())),this.mainNavigationOpenSearchButton&&this.mainNavigationOpenSearchButton.addEventListener("click",(()=>this.openSearch())),this.languageWrapper&&(this.mainNavigationToggleLanguageButton.addEventListener("click",(()=>this.openLanguageSelector())),this.closeLanguageButton.addEventListener("click",(()=>this.closeLanguageSelector()))),this.menuItems=Array.from(this.el.querySelectorAll(".M-Main-Navigation__item")),this.el.addEventListener("keyup",(e=>
4{27===e.keyCode&&(this.menuIsOpen&&this.closeMenu(),this.languageSelectorIsOpen&&this.closeLanguageSelector())})),this.headerNav=this.el.querySelector(".M-Main-Navigation__items"),this.menuItemsFirstLevel.forEach((e=>{const t=e.querySelector(Z);t?(t.addEventListener("click",(()=>{this.smoothScrollToTop(),this.openNextNav(e,1)})),t.addEventListener("keyup",(t=>{13===t.keyCode&&(this.smoothScrollToTop(),this.openNextNav(e,1))}))):e.querySelector(".M-Main-Navigation__link").addEventListener("click",(e=>{e.stopPropagation(),this.closeMenu()}))})),this.menuItemsSecondLevel.forEach((e=>{const t=e.querySelector(X);t?(t.addEventListener("click",(t=>{t.stopPropagation(),this.smoothScrollToTop(),this.openNextNav(e,2)})),t.addEventListener("keyup",(t=>{13===t.keyCode&&(t.stopPropagation(),this.smoothScrollToTop(),this.openNextNav(e,2))}))):e.querySelector(".M-Main-Navigation__link").addEventListener("click",(e=>{e.stopPropagation(),this.closeMenu()}))})),this.menuItemsThirdLevel.forEach((e=>{e.querySelector(".M-Main-Navigation__link").addEventListener("click",(e=>{e.stopPropagation(),this.closeMenu()}))})),this.navigationTeaserLinks.forEach((e=>{e.addEventListener("click",(()=>{this.closeMenu()}))})),this.backLinksSecondLevel.forEach((e=>{e.addEventListener("click",(e=>{e.stopPropagation(),this.closeCurrentNav(this.menuItemsFirstLevel)}),!1)})),this.backLinksThirdLevel.forEach((e=>{e.addEventListener("click",(e=>{e.stopPropagation(),this.closeCurrentNav(this.menuItemsSecondLevel)}),!1)})),this.homeLinksThirdLevel.forEach((e=>{e.addEventListener("click",(e=>{e.stopPropagation(),this.closeCurrentNav(this.menuItemsFirstLevel)}),!1)})),this.shortcuts&&this.shortcuts.querySelectorAll(".M-Main-Navigation__buttons--shortcut").forEach((e=>{e.addEventListener("click",(e=>{const t=e.currentTarget.dataset.target.split("--"),a=t.length,r=this.itemsWrapper.querySelector(`[data-id="${t[0]}"]`);if(this.openMenu(!1),this.openNextNav(r,1),2===a){const e=this.itemsWrapper.querySelector(`[data-id="${t.join("--")}"]`);this.openNextNav(e,2)}}),!1)})),this.searchDisabled||this.searchFlyout.el.addEventListener("close",(()=>{this.searchIsOpen=!1})),window.addEventListener("resize",(()=>this.resizeHandler())),this.resizeHandler()}checkViewport(){window.innerWidth>=992?(this.isMobile=!1,window.innerWidth>=1200?this.isTablet=!1:this.isTablet=!0):this.isMobile=!0}resizeHandler(){this.checkViewport(),this.checkHighlighVisibility(),this.positionLanguageSelector(),this.setTabIndex()}toggleMenu(){this.menuIsOpen?this.closeMenu():(this.openMenu(),this.setTabIndex())}checkHighlighVisibility(){if(this.isMobile||!this.itemsWrapper)return;const e=this.itemsWrapper.querySelector(`${K}.${U}`);if(e){this.itemsWrapper.classList.add(V);const t=e.getBoundingClientRect().x;this.itemsWrapper.style.setProperty("--background-size",`${t}px`)}else this.itemsWrapper.classList.remove(V)}openMenu(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.closeSearch(),this.searchIsOpen||this.adjustHeader(),this.closeLanguageSelector(),this.menuIsOpen=!0,this.el.classList.add(U),this.itemsWrapper.classList.add(U),this.itemsWrapper.setAttribute("aria-hidden","false"),this.itemsWrapper.setAttribute("aria-expanded","true"),this.mainNavigationToggleButton.classList.add(Q),this.headerNav.classList.add("M-Main-Navigation__items--expanded"),this.hideShortcuts(),this.disablePageScrolling(),this.setMenuScrolling(this.itemsWrapperInner),!this.isMobile&&e&&(this.openActiveMenuItems(),this.checkHighlighVisibility())}closeMenu(){this.menuIsOpen&&(this.adjustHeader(),this.menuIsOpen=!1,this.el.classList.remove(U),this.mainNavigationToggleButton.classList.remove(Q),this.itemsWrapper.classList.remove(U),this.itemsWrapper.setAttribute("aria-hidden","true"),this.itemsWrapper.setAttribute("aria-expanded","false"),this.showShortcuts(),this.enablePageScrolling(),this.positionLanguageSelector(),this.closeCurrentNav(this.menuItemsFirstLevel),this.closeCurrentNav(this.menuItemsSecondLevel),this.hideAllHighlights(),this.showHighlightsFirstLevel(),this.setTabIndex())}smoothScrollToTop(){this.window.scrollTo({top:0,behavior:"smooth"})}openNextNav(e,t){const a=e.classList.contains(U);switch(this.hideAllHighlights(),t){case 1:this.closeCurrentNav(this.menuItemsFirstLevel),this.closeCurrentNav(this.menuItemsSecondLevel),this.removeActiveMark(1),this.removeActiveMark(2),a?this.showHighlightsFirstLevel():this.showHighlightsSecondLevel(e);break;case 2:this.closeCurrentNav(this.menuItemsSecondLevel),this.removeActiveMark(3),a&&this.showHighlightsSecondLevel(e.parentElement.parentElement)}a?(te(e),e.classList.remove(U),e.parentElement.classList.remove(z)):((e=>{const t=Array.from(e.querySelectorAll(".M-Main-Navigation__items")).filter((t=>t.parentElement===e));if(t.length>0){const e=t[0];e.setAttribute("aria-hidden","false"),e.setAttribute("aria-expanded","true")}})(e),e.classList.add(U),e.parentElement.classList.add(z)),this.setTabIndex(),this.checkHighlighVisibility(e),this.setMenuScrolling(e)}closeCurrentNav(e){e.forEach((e=>{e.classList.remove(U),e.parentElement.classList.remove(z),te(e)}));const t=e[0]?.parentElement;return this.setMenuScrolling(t),this}setTabIndex(){const e=this.menuItemsFirstLevel.filter((e=>e.classList.contains(U)))[0],t=this.menuItemsSecondLevel.filter((e=>e.classList.contains(U)))[0];this.isMobile&&(e||t||(this.menuLinksFirstLevel.map((e=>e.setAttribute("tabIndex","0"))),this.menuLinksSecondLevel.map((e=>e.setAttribute("tabIndex","-1"))),this.menuLinksThirdLevel.map((e=>e.setAttribute("tabIndex","-1"))),this.backLinksSecondLevel.map((e=>e.setAttribute("tabIndex","-1"))),this.backLinksThirdLevel.map((e=>e.setAttribute("tabIndex","-1"))),this.homeLinksThirdLevel.map((e=>e.setAttribute("tabIndex","-1")))),e&&(this.menuLinksFirstLevel.map((e=>e.setAttribute("tabIndex","-1"))),this.menuLinksSecondLevel.map((e=>e.setAttribute("tabIndex","0"))),this.menuLinksThirdLevel.map((e=>e.setAttribute("tabIndex","-1"))),this.backLinksSecondLevel.map((e=>e.setAttribute("tabIndex","0"))),this.backLinksThirdLevel.map((e=>e.setAttribute("tabIndex","-1"))),this.homeLinksThirdLevel.map((e=>e.setAttribute("tabIndex","-1")))),e&&t&&(this.menuLinksFirstLevel.map((e=>e.setAttribute("tabIndex","-1"))),this.menuLinksSecondLevel.map((e=>e.setAttribute("tabIndex","-1"))),this.menuLinksThirdLevel.map((e=>e.setAttribute("tabIndex","0"))),this.backLinksSecondLevel.map((e=>e.setAttribute("tabIndex","-1"))),this.backLinksThirdLevel.map((e=>e.setAttribute("tabIndex","0"))),this.homeLinksThirdLevel.map((e=>e.setAttribute("tabIndex","0"))))),this.isMobile||(this.menuLinksFirstLevel.map((e=>e.setAttribute("tabIndex","0"))),this.menuLinksSecondLevel.map((e=>e.setAttribute("tabIndex","0"))),this.menuLinksThirdLevel.map((e=>e.setAttribute("tabIndex","0"))),this.backLinksSecondLevel.map((e=>e.setAttribute("tabIndex","0"))),this.backLinksThirdLevel.map((e=>e.setAttribute("tabIndex","0"))),this.homeLinksThirdLevel.map((e=>e.setAttribute("tabIndex","0")))),this.menuIsOpen||(this.menuLinksFirstLevel.map((e=>e.setAttribute("tabIndex","-1"))),this.menuLinksSecondLevel.map((e=>e.setAttribute("tabIndex","-1"))),this.menuLinksThirdLevel.map((e=>e.setAttribute("tabIndex","-1"))),this.backLinksSecondLevel.map((e=>e.setAttribute("tabIndex","-1"))),this.backLinksThirdLevel.map((e=>e.setAttribute("tabIndex","-1"))),this.homeLinksThirdLevel.map((e=>e.setAttribute("tabIndex","-1"))))}openActiveMenuItems(){this.menuItemsFirstLevel.forEach((e=>{if(e.getAttribute("data-is-active")){if(e.querySelectorAll(Z).length>0){this.openNextNav(e,1);
4Array.from(e.getElementsByClassName(J)).forEach((t=>{if(t.getAttribute("data-is-active")){if(Array.from(t.querySelectorAll(X)).length>0){this.openNextNav(t,2);Array.from(e.getElementsByClassName(Y)).forEach((e=>{e.getAttribute("data-is-active")&&e.classList.add(G)}))}else t.classList.add(G)}}))}else e.classList.add(G)}}))}removeActiveMark(e){switch(e){case 1:this.menuItemsFirstLevel.forEach((e=>e.classList.remove(G)));break;case 2:this.menuItemsSecondLevel.forEach((e=>e.classList.remove(G)));break;case 3:this.menuItemsThirdLevel.forEach((e=>e.classList.remove(G)))}}showHighlightsFirstLevel(){this.highlightsFirstLevel?.classList.add(U)}showHighlightsSecondLevel(e){const t=e.querySelector(K);t?.classList.add(U)}hideAllHighlights(){this.highlights.forEach((e=>e.classList.remove(U)))}showShortcuts(){this.shortcuts?.classList.add(U)}hideShortcuts(){this.shortcuts?.classList.remove(U)}openSearch(){this.searchDisabled||(this.closeMenu(),this.closeLanguageSelector(),this.searchFlyout.open(),this.searchIsOpen=!0)}closeSearch(){this.searchDisabled||(this.searchIsOpen=!1)}openLanguageSelector(){this.closeMenu(),this.closeSearch(),this.positionLanguageSelector(),this.languageWrapper.classList.add(U),this.languageSelectorIsOpen=!0,this.addLanguageSelectorFocusTrap(),requestAnimationFrame((()=>{const e=this.languageWrapper.querySelector("select"),t=this.languageWrapper.querySelector(ee),a=this.languageWrapper.querySelector('a, button, input, select, textarea, [tabindex]:not([tabindex="-1"])');e?e.focus():t?t.focus():a&&a.focus()}))}closeLanguageSelector(){this.languageWrapper&&this.languageSelectorIsOpen&&(this.languageWrapper.classList.remove(U),this.languageSelectorIsOpen=!1,this.removeLanguageSelectorFocusTrap(),this.mainNavigationToggleLanguageButton&&this.mainNavigationToggleLanguageButton.focus())}removeLanguageSelectorFocusTrap(){this.languageSelectorFocusTrapHandler&&this.languageWrapper&&(this.languageWrapper.removeEventListener("keydown",this.languageSelectorFocusTrapHandler),this.languageSelectorFocusTrapHandler=null)}getLanguageSelectorOffsetX(){const e=this.languageWrapper.getBoundingClientRect(),t=this.mainNavigationToggleLanguageButton.getBoundingClientRect(),a=parseFloat(getComputedStyle(document.documentElement).fontSize),r=window.innerWidth-e.width-2*a,i=e.width/2,s=t.left+t.width/2,n=2.5*a/2,l=Math.max(s-r-n,i-n);this.languageWrapper.style.setProperty("--arrow-left",`${l}px`);return Math.min(s-i,r)}positionLanguageSelector(){if(!this.languageWrapper)return;let e=!1;""===this.languageWrapper.style.display&&(this.languageWrapper.style.display="block",e=!0);const t=parseInt(getComputedStyle(this.languageWrapper,":before").height,10),a=this.mainNavigationToggleLanguageButton.getBoundingClientRect();this.languageWrapper.style.top=`${a.bottom+t}px`,this.languageWrapper.style.left=`${this.getLanguageSelectorOffsetX()}px`,e&&(this.languageWrapper.style.display="")}enablePageScrolling(){this.body.style.overflowY="auto"}disablePageScrolling(){this.body.style.overflowY="hidden"}enableMenuScrolling(){this.scrollContainer.style.overflowY="auto"}disableMenuScrolling(){this.scrollContainer.style.overflowY="hidden"}setMenuScrolling(e){if(!this.isMobile||!e)return;const t="UL"===e.tagName?e:e.querySelector("ul");this.scrollContainer.scrollTo({top:0}),t.clientHeight>=this.scrollContainer.clientHeight?this.enableMenuScrolling():this.disableMenuScrolling()}getScrollbarWidth(){return window.innerWidth-document.body.clientWidth}adjustHeader(){document.querySelector(".O-Header__wrapper").style.paddingRight=`${this.get
4ScrollbarWidth()}px`}addLanguageSelectorFocusTrap(){const e=this.languageWrapper.querySelectorAll('a, button, input, select, textarea, [tabindex]:not([tabindex="-1"])');if(0===e.length)return;const t=e[0],a=e[e.length-1];this.languageSelectorFocusTrapHandler=e=>{if("Tab"===e.key){if(e.shiftKey)return void(document.activeElement===t&&(e.preventDefault(),a.focus()));document.activeElement===a&&(e.preventDefault(),t.focus())}},this.languageWrapper.addEventListener("keydown",this.languageSelectorFocusTrapHandler)}},"product-country-selector":re(),"product-slider":se(),"stage-two":class{constructor(e){this.el=e,this.el.classList.contains("M-Stage-Two--homeTeaser")&&(this.contentLink=this.el.querySelector(".M-Stage-Two__content a"),this.headline=this.el.getElementsByClassName("M-Stage-Two__headline-link")[0],this.contentLink.addEventListener("mouseenter",(()=>{this.headline.classList.add(ne)})),this.contentLink.addEventListener("mouseleave",(()=>{this.headline.classList.remove(ne),this.headline.classList.remove(le)})),this.contentLink.addEventListener("mousedown",(()=>{this.headline.classList.add(le)})),this.contentLink.addEventListener("mouseup",(()=>{this.headline.classList.remove(le)})),this.contentLink.addEventListener("mouseout",(()=>{this.headline.classList.remove(le)})))}},"tab-navigation":ce,table:class{constructor(e){this.el=e,this.tableContent=this.el.getElementsByClassName("M-Table__content")[0],this.el.classList.contains("M-Table--collapse-column")&&(this.isFlexBoxTable()&&this.calculateTableCellHeights(),window.addEventListener("resize",(()=>{this.onResize()}),!1)),this.setupClickableRows()}setupClickableRows(){const e=this.el.querySelectorAll(".M-Table__row[data-href]");function t(e){const{href:t,target:a}=e.dataset;"_self"===a?window.location.href=t:window.open(t,a)}Array.from(e).forEach((e=>{e.addEventListener("click",(()=>{t(e)}),!1),e.addEventListener("keydown",(a=>{(a.key&&"Enter"===a.key||a.keyCode&&13===a.keyCode)&&t(e)}),!1)}))}isFlexBoxTable(){return"flex"===window.getComputedStyle(this.tableContent,null).display}calculateTableCellHeights(){const e=this.el.getElementsByTagName("tr"),t=[];Array.from(e).forEach((e=>{Array.from(e.children).forEach(((e,a)=>{const r=e.offsetHeight;(!t[a]||r>t[a])&&(t[a]=r)}))})),this.setTableCellHeights(t)}setTableCellHeights(e){const t=this.el.getElementsByTagName("tr");e.forEach(((e,a)=>{Array.from(t).forEach((t=>{t.children[a].style.height=`${e}px`}))}))}resetCellHeights(){Array.from(this.el.getElementsByClassName("M-Table__cell")).forEach((e=>{e.style.height=null}))}onResize(){m()((()=>{this.resetCellHeights(),this.isFlexBoxTable()&&this.calculateTableCellHeights()}),250)()}},"tab-buttons":class{constructor(e){this.updateTimeout=null,this.scrollLeft=0,this.scrollRight=0,this.scrollPadding=16,this.scrollIntoViewPadding=20,this.wrapper=e;const t=e.querySelector(".a-tab-navigation");this.tabs=t.querySelectorAll(".a-tab-navigation__tab"),this.tabNavigations=t,this.scrollLeftButton=this.wrapper.querySelector(".a-tab-navigation__button-left"),this.scrollRightButton=this.wrapper.querySelector(".a-tab-navigation__button-right"),this.scrollLeftButton.addEventListener("click",(()=>{t.scrollBy({left:-150,behavior:"smooth"})})),this.scrollRightButton.addEventListener("click",(()=>{t.scrollBy({left:150,behavior:"smooth"})})),Array.from(this.tabs).forEach((e=>{e instanceof HTMLElement&&(e.addEventListener("scrollToView",(()=>{const a=t.getBoundingClientRect(),r=e.getBoundingClientRect(),i=r.right-a.right+this.scrollIntoViewPadding,s=a.left-r.left+this.scrollIntoViewPadding;i>0&&t.scrollBy({top:0,left:i,behavior:"smooth"}),s>0&&t.scrollBy({top:0,left:-s,behavior:"smooth"})})),e.addEventListener("click",(()=>{e.classList.contains(de)||e.classList.contains("-disabled")||(this.deselectAllTabs(),e.classList.add(de),e.setAttribute(ue(e)?"aria-selected":"aria-pressed","true"),e.dispatchEvent(new CustomEvent("scrollToView")))})))})),this.registerScrollUpdates(),this.checkDefaultSelected()}checkDefaultSelected(){let e=window.location.hash||this.tabNavigations.dataset.active;if(!e)return;if(!this.tabNavigations.querySelector(e)){if(!this.tabNavigations.dataset.active)return;e=this.tabNavigations.dataset.active}const t=e.replace("#","");this.toggleSelectedClass(t)}
4toggleSelectedClass(e){Array.from(this.tabs).forEach((t=>{e===t.dataset.frokTabIdentifier?(t.classList.add(de),t.setAttribute(ue(t)?"aria-selected":"aria-pressed","true")):(t.classList.remove(de),t.setAttribute(ue(t)?"aria-selected":"aria-pressed","false"))}))}deselectAllTabs(){Array.from(this.tabs).forEach((e=>{e instanceof HTMLElement&&(e.classList.remove(de),e.removeAttribute(ue(e)?"aria-selected":"aria-pressed"))}))}registerScrollUpdates(){this.updateTimeout=null;const e=()=>{this.updateTimeout||(this.updateTimeout=setTimeout((()=>this.updateScrollingInformation()),100))};e(),window.addEventListener("resize",e),this.tabNavigations.addEventListener("scroll",e)}updateScrollingInformation(){clearTimeout(this.updateTimeout),this.scrollLeft=this.tabNavigations.scrollLeft,this.scrollRight=this.tabNavigations.scrollWidth-this.tabNavigations.offsetWidth-this.scrollLeft,this.toggleScrollingClass()}toggleScrollingClass(){this.updateTimeout=null,this.wrapper&&(this.wrapper.classList.toggle("a-tab-navigation--scrollLeft",this.scrollLeft>1+this.scrollPadding),this.wrapper.classList.toggle("a-tab-navigation--scrollRight",this.scrollRight>1+this.scrollPadding))}},"aggregation-expandable-teaser-group":class{constructor(e){this.el=e,this.shouldTriggerElement=!0,this.toggleTransitionEvent=this.transitionEvent.bind(this),Array.from(this.el.querySelectorAll(he)).forEach(((e,t)=>{e.addEventListener("click",(()=>this.toggleHandler(e,t)),!1),e.addEventListener("keydown",(a=>{"Enter"===a.code&&this.toggleHandler(e,t)}),!1)}));const t=e.querySelector(".M-AggregationExpandableTeaserGroup__button .a-button");t&&t.addEventListener("click",(()=>{const e=this.el.querySelectorAll(".--hidden");e.length>0&&(e[0].classList.add("--fadeIn"),e[0].classList.remove("--hidden")),e.length<=1&&t.parentNode.parentNode.remove()}),!1),setTimeout((()=>{const e=this.el.querySelector(".a-page-indicator.a-page-indicator--numbered");e&&e.classReference.addEventListener("indexChanged",(e=>{const t=this.el.querySelector(`.${me}`);t?.classList.remove(me),t?.setAttribute("aria-expanded",!1);const a=[...this.el.querySelectorAll(`${ge} .${fe}`)].find((e=>!e.classList.contains(pe)));a?.classReference.collapse(),setTimeout((()=>{this.el.querySelectorAll(".M-AggregationExpandableTeaserGroup__group.--page-indicator").forEach(((t,a)=>{a+1===e?(t.classList.add("--fadeIn"),t.classList.remove("--hidden"),setTimeout((()=>{const e=t.querySelector(he);e&&e.focus()}),100)):(t.classList.add("--hidden"),t.classList.remove("--fadeIn"))}))}),t&&a?500:0)}))}),1e3)}toggleCollapsable(e){const t=this.el.querySelectorAll(ge)[e].querySelector(`.${fe}`);this.groupClass=t.dataset.groupClass,this.clearSameGroup(),window.RB.components.componentsCollection.collapsable.forEach((e=>{t===e.el&&(this.shouldTriggerElement=!1,this.collapsable=e,this.collapsable.toggleCollapsable(),this.collapsable.el.addEventListener("transitionend",this.toggleTransitionEvent,!1),this.collapsable.el.classList.contains(pe)?(this.activeToggle.classList.add(me),this.activeToggle.setAttribute("aria-expanded",!0)):(this.activeToggle.classList.remove(me),this.activeToggle.setAttribute("aria-expanded",!1)))}))}clearSameGroup(){window.RB.components.componentsCollection["aggregation-expandable-teaser-group"].forEach((e=>{e.groupClass===this.groupClass&&e.activeToggle.classList.remove(me)}))}transitionEvent(){this.shouldTriggerElement=!0,this.collapsable.el.removeEventListener("transitionend",this.toggleTransitionEvent,!1)}toggleHandler(e,t){this.shouldTriggerElement&&(this.activeToggle&&this.activeToggle!==e&&(this.activeToggle.classList.remove(me),this.activeToggle.setAttribute("aria-expanded",!1)),this.activeToggle=e,this.toggleCollapsable(t))}},"product-category-teaser-group":class{constructor(e){this.el=e,this.itemWrapper=this.el.querySelector(".O-Product-Category-Teaser__wrapper"),this.showMoreBtn=this.el.querySelector(".O-Product-Category-Teaser__toggle button.-show-more");const t=e.querySelectorAll(".O-Product-Category-Teaser__item"),a=e.querySelector(".a-component-header .a-link"),r=e.querySelector(".a-component-header + script"),i=e.dataset.productC
4ountrySelectorId;let s=-1;if([...t].forEach(((e,t)=>{const a=e.dataset.productCountrySelectorId;if("none"===window.getComputedStyle(e).display&&-1===s&&(s=t),a){const t=e.querySelector("script");if(!t)throw new Error("ProductCategoryTeaserGroup: Template Error: Could not find a script tag with data");const r=JSON.parse(t.textContent);e.addEventListener("click",(e=>{e.preventDefault(),ve(a,r)}))}})),a&&i){if(!r)throw new Error("ProductCategoryTeaserGroup: Template Error: Could not find a script tag with data for top-level modal");const e=JSON.parse(r.textContent);a.addEventListener("click",(t=>{t.preventDefault(),ve(i,e)}))}this.showMoreBtn.addEventListener("click",(()=>{this.toggleExpand(),t[s].focus()}))}toggleExpand(){this.itemWrapper.classList.toggle("-expanded")}},"product-highlight-teaser-group":ye(),"search-flyout":W,SearchResultGroup:(0,Se.createReactComponentLoader)(Ee.SearchResultGroup),SearchField:(0,Se.createReactComponentLoader)(we.SearchField),FrokPageIndicator:$e(),NewsTeaserGroup:(0,Se.createReactComponentLoader)(ke.NewsTeaserGroup),PressTeaserGroup:(0,Se.createReactComponentLoader)(Me.PressTeaserGroup),CountrySelector:(0,Se.createReactComponentLoader)(Ae.CountrySelector),Modal:Ce.A,ModalTrigger:Ne.A,OverlayAlert:xe.A,OverlayButton:Pe.A,CarouselSimple:Ie.A,DataProtectionLayer:o.X,GoogleMap:Be(),IFrame:Le.Z,ImageGrid:Te.A,StoryTeaserGroup:(0,Se.createReactComponentLoader)(Re.StoryTeaserGroup),TeaserGroup:_e.A,NavigationTeaserGroup:(0,Se.createReactComponentLoader)(qe.NavigationTeaserGroup),EventTeaserGroup:(0,Se.createReactComponentLoader)(Fe.EventTeaserGroup),StoryContentFilterable:(0,Se.createReactComponentLoader)(De.StoryContentFilterable),"conversion-teaser":class{constructor(e){this.el=e,this.offset=parseInt(this.el.dataset.offset,10),this.boundScrollHandler=this.checkScrollPos.bind(this),this.buttonClose=this.el.querySelector(".M-ConversionTeaser__close"),window.addEventListener("scroll",this.boundScrollHandler,!1),this.buttonClose.addEventListener("click",this.hideConversionTeaser.bind(this),!1),this.checkScrollPos()}hideConversionTeaser(){this.el.classList.remove("M-ConversionTeaser--shown"),window.removeEventListener("scroll",this.boundScrollHandler)}checkScrollPos(){window.pageYOffset>=this.offset?this.el.classList.add("M-ConversionTeaser--shown"):this.el.classList.remove("M-ConversionTeaser--shown")}},FrokLinkVanilla:class{constructor(e){this.el=e,this.setClickEvent(e)}handleClickEvent(e){const t=e.target?.closest("a");if(!t)return;const a=new URL(t.href,window.location.href);if(`${a.origin}${a.pathname}`!=`${window.location.origin}${window.location.pathname}`)return;const r=a.hash.slice(1);if(!r)return;const i=document.querySelector('[data-js-component="anchor-navigation"]');i?.classReference?.scrollToSectionByName&&(setTimeout((()=>i.classReference.scrollToSectionByName(r))),e.preventDefault())}setClickEvent(e){e.addEventListener("click",(e=>this.handleClickEvent(e)))}},TopicTeaserSlider:He(),"download-box":class{constructor(e){(0,ze.A)(this,"copyContentToClipboard",(async()=>{if(!this.toCopySelector)return void this.showNotification("error");const e=document.querySelector(this.toCopySelector);if(!e)return void this.showNotification("error");const t=e.cloneNode(!0);if(this.noCopySelector)try{t.querySelectorAll(this.noCopySelector).forEach((e=>e.remove()))}catch{}const a=t.innerHTML.replace(/>\s+</g,"><").trim(),r=t.innerText.split("\n").map((e=>e.trim().replace(/\s+/g," "))).filter((e=>e.length>0)).join("\n").trim();try{const e=new Blob([a],{type:"text/html"}),t=new Blob([r],{type:"text/plain"}),i=new ClipboardItem({"text/html":e,"text/plain":t});await navigator.clipboard.write([i]),this.notification.classList.add("copy-success"),this.showNotification("success")}catch{this.showNotification("error")}})),(0,ze.A)(this,"showNotification",(e=>{const t=this.el.getAttribute(`data-notification-${e}`),a=`ui-ic-alert-${e}`,r=`-${e}`;this.notification.querySelector(".a-icon").classList.add(a),this.notification.querySelector(".a-notification__content").textContent=t,this.notification.classList.add(r),this.notification.classList.add("show"),setTimeout((()=>{this.notification.classList.remove(r),this.notification.querySelector(".a-icon").classList.remove(a),this.notification.querySelector(".a-notification__content").textContent="",this.notification.classList.remove("show")}),3e3)})),this.el=e,this.clipboardButton=this.el.querySelector(".M-DownloadBox__clipboard-button"),this.toCopySelector=this.el.dataset.toCopySelector,this.noCopySelector=this.el.dataset.noCopySelector,this.notification=this.el.querySelector(".a-notification"),this.clipboardButton?.addEventListener("click",this.copyContentToClipboard)}}};(0,a(9830).findAllLazyLoadedImages)();window.RB=window.RB||{},window.RB.components=new class{constructor(){this.components=Ue,this.componentsCollection={},this.loadedComponentElements=[]}findComponents(){const e=document.querySelectorAll("[data-js-component]");for(let t=0;t<e.length;t+=1){const a=e[t].dataset.jsComponent;this.initComponent(a,e[t])}}initComponent(e,t){if(this.components[e]){if(this.loadedComponentElements.indexOf(t)<0){this.loadedComponentElements.push(t);const a=new this.components[e](t);this.componentsCollection[e]?this.componentsCollection[e].push(a):this.componentsCollection[e]=[a],t.classReference=a}}else console.warn(`The component: ${e} is not declared`)}getComponents(){return this.componentsCollection}},window.RB.components.findComponents();const Ge=()=>window.RB.components.findComponents()},5577:(e,t,a)=>{a.r(t),a.d(t,{default:()=>r});const r=()=>e=>e.split(" ").slice(0,-1).join(" ")},5658:function(e,exports,t){var a=this&&this.__importDefault||function(e){return e&&e.__esMo
4dule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.FrokNotification=exports.FrokNotificationType=void 0;const r=a(t(6540)),i=a(t(4679)),s=a(t(6942)),n=t(4749);var l;!function(e){e.Success="success",e.Warning="warning",e.Error="error"}(l||(exports.FrokNotificationType=l={}));const o={type:i.default.oneOf([l.Success,l.Warning,l.Error]),text:i.default.string,icon:i.default.string};exports.FrokNotification=({type:e,text:t,icon:a})=>{const i=(0,s.default)("a-notification",{[`-${e}`]:e},{"-neutral":!e});return r.default.createElement("div",{className:i,role:"alert"},(e||a)&&r.default.createElement(n.FrokIcon,{name:e?`alert-${e}`:a,isUiIcon:!!e}),r.default.createElement("div",{className:"a-notification__content"},t))},exports.FrokNotification.propTypes=o},5722:function(e,exports,t){var a,r=this&&this.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a);var i=Object.getOwnPropertyDescriptor(t,a);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,r,i)}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(a=function(e){return a=Object.getOwnPropertyNames||function(e){var t=[];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[t.length]=a);return t},a(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s=a(e),n=0;n<s.length;n++)"default"!==s[n]&&r(t,e,s[n]);return i(t,e),t}),n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.FrokAccordion=void 0;const l=s(t(6540)),o=n(t(4679)),c=n(t(6942)),d=t(4749),u={id:o.default.string,headline:o.default.oneOfType([o.default.element,o.default.string,o.default.number,o.default.bool,o.default.array]).isRequired,headingLevel:o.default.oneOf([1,2,3,4,5,6]),children:o.default.oneOfType([o.default.element,o.default.string,o.default.number,o.default.bool,o.default.array]).isRequired,defaultExpanded:o.default.bool,small:o.default.bool,ariaLabelButton:o.default.string,additionalClasses:o.default.string,onToggle:o.default.func,onBlur:o.default.func};exports.FrokAccordion=({id:e,headline:t,headingLevel:a=2,children:r,defaultExpanded:i=!1,small:s=!1,additionalClasses:n,onToggle:o,onBlur:u})=>{const[h,m]=(0,l.useState)(i||!1),g=`h${a}`,f=(0,l.useId)(),p=e||f,v=(0,c.default)("a-accordion",{"a-accordion--open":h},{"a-accordion--small":s},n);return l.default.createElement("div",{className:v},l.default.createElement("div",{className:"a-accordion__headline",onClick:()=>{const e=!h;m(e),o?.(e)},onBlur:()=>u?.()},l.default.createElement(g,{id:`accordion-headline-${p}`,className:"a-accordion__headline-heading highlight"},t),l.default.createElement("button",{id:`accordion-button-${p}`,type:"button",className:"a-accordion__headline-button","aria-expanded":h??void 0,"aria-controls":`accordion-content-${p}`,"aria-label":h?"arrow up":"arrow down"},l.default.createElement(d.FrokIcon,{name:h?"up":"down",additionalClass:"a-accordion__headline-icon"}))),l.default.createElement("div",{className:"a-accordion__content",id:`accordion-content-${p}`,role:"region","aria-labelledby":`accordion-headline-${p}`},r))},exports.FrokAccordion.propTypes=u},6020:(e,t,a)=>{a.r(t),a.d(t,{default:()=>i});let r=null;class i{constructor(){return r||(this.isMoving=!1,this.elements=[],r=this,"ontouchstart"in window&&(window.addEventListener("touchend",(e=>{this.isMoving||this.eventOutsideHandler(e)}),!1),window.addEventListener("touchmove",(()=>{this.isMoving=!0}),!1),window.addEventListener("touchstart",(()=>{this.isMoving=!1}),!1)),document.body.addEventListener("click",this.eventOutsideHandler.bind(this),!1),r)}add(e,t){this.elements.push({node:e,fn:t})}remove(e){this.elements=this.elements.filter((t=>t.node!==e))}eventOutsideHandler(e){const t=e.target;this.elements.forEach((e=>{i.eventOutsideNotify(t,e.node,e.fn)}))}static eventOutsideNotify(e,t,a){t.contains(e)||a()}}},6129:function(e,exports,t){var a,r=this&&this.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a);var i=Object.getOwnPropertyDescriptor(t,a);
4i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,r,i)}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(a=function(e){return a=Object.getOwnPropertyNames||function(e){var t=[];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[t.length]=a);return t},a(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s=a(e),n=0;n<s.length;n++)"default"!==s[n]&&r(t,e,s[n]);return i(t,e),t}),n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Image=void 0;const l=s(t(6540)),o=n(t(4679)),c=n(t(6942)),d=n(t(3232)),u=t(9830),h={image:u.ImageShape.isRequired,showPreloadBox:o.default.bool,ratio:o.default.oneOf(["ratio16to9","ratio1to1"]),showSchemaMetadata:o.default.bool,alt:o.default.string,doLazyLoad:o.default.bool,skipWebP:o.default.bool,additionalFigureClassName:o.default.string};exports.Image=({image:e,showPreloadBox:t,ratio:a,showSchemaMetadata:r,alt:i,doLazyLoad:s,skipWebP:n=!1,role:o,additionalFigureClassName:h})=>{const m=(0,l.useRef)(null);(0,l.useEffect)((()=>{if(m.current){(0,u.removeLazyLoadingClassOnComplete)(m.current.getElementsByTagName("img")[0]);const e=new d.default(m.current);return()=>e.unregister()}}),[m.current]);const g=(0,c.default)({"A-Image__preloadWrapper":t},{[`A-Image__preloadWrapper--${a}`]:a}),f=(0,c.default)("A-Image__figure",h),p=(0,c.default)("A-Image",{"A-Image--preload":t,[u.LAZY_LOADING_CLASS]:s});return l.default.createElement("figure",{className:f},l.default.createElement("div",{className:g},r&&l.default.createElement("div",{itemProp:"image",itemScope:!0,itemType:"https://schema.org/ImageObject"},l.default.createElement("meta",{itemProp:"url",content:e.md?.x1||e.sm?.x1||e.xs.x1||void 0}),l.default.createElement("meta",{itemProp:"width",content:"100%"}),l.default.createElement("meta",{itemProp:"height",content:"100%"})),l.default.createElement("picture",{className:"A-Image__picture",ref:m},l.default.createElement(u.SourceSetList,{image:e,skipWebP:n||!1}),l.default.createElement("img",{className:p,srcSet:(0,u.buildSrcset)(e.xs,!1,!0),src:e.xs.x1,loading:s?"lazy":void 0,alt:i||e.alt||"",role:"img"!==o?o:void 0}))),e.caption&&l.default.createElement("figcaption",{className:"A-Image__caption"},e.caption))},exports.Image.propTypes=h},6304:(e,t,a)=>{a.d(t,{Ay:()=>h});const r="sessionId",i="fallbackContent",s={startMessage:"Hi, I´m a ChatBot",stillThereMessage:"If you have further questions, I'm still here to help"},n="chatBotIsStarted",l="cognigyUrl",o="cognigyScriptUrl",c="cognigyConfig",d="stillThereDelay",u="-hidden";function h(){const e=document.getElementById("js-externalConfig");let t={};e&&(t=JSON.parse(e.innerHTML));const a=(t.cognigyChat||{}).active||null,h=JSON.parse(sessionStorage.getItem(n));if(a||h){const e=(t.cognigyChat||{}).url||JSON.parse(sessionStorage.getItem(l));sessionStorage.setItem(l,JSON.stringify(e));const m=(t.cognigyChat||{}).scriptUrl||JSON.parse(sessionStorage.getItem(o));if(sessionStorage.setItem(o,JSON.stringify(m)),m){const l=document.createElement("script");l.type="text/javascript",l.id="cognigy-chat-script",l.addEventListener("load",(()=>{let l=(t.cognigyChat||{}).config||{};0===Object.keys(l).length&&sessionStorage.getItem(c)&&(l=JSON.parse(sessionStorage.getItem(c)));let o={useSessionStorage:!0,headerLogoUrl:"/"};o=Object.assign(o,l.settings||{}),l=Object.assign(l,{settings:o}),sessionStorage.setItem(c,JSON.stringify(l));const m=(t.cognigyChat||{}).stillThereDelay||sessionStorage.getItem(d);sessionStorage.setItem(d,m);const g=(t.cognigyChat||{}).startDelay||0;let f=(t.cognigyChat||{}).speechBubbleContent||JSON.parse(sessionStorage.getItem(i));f=f||s,sessionStorage.setItem(i,JSON.stringify(f));let p=sessionStorage.getItem(r)||null;p||(p="session-"+Date.now()*Math.random(),sessionStorage.setItem(r,p));let v={sessionId:p};v=Object.assign(v,l),e&&initWebchat(e,v).then((e=>{window.webChat=e;
4let t=null,r=null,i=null,s=null;const l=setInterval((()=>{t=document.querySelector("[data-cognigy-webchat-root]"),t&&(clearInterval(l),a&&(r=function(e,t){const a=document.createElement("div"),r=document.createElement("div"),i=document.createElement("button"),s=document.createElement("div"),n=document.createElement("div"),l=document.createElement("span"),o=document.createElement("span"),c=document.createElement("span"),d=document.createElement("div");return s.classList.add("cognigy-speech-bubble__close-icon"),l.innerText=t?e.stillThereMessage:e.startMessage,n.classList.add("cognigy-speech-bubble__text"),n.appendChild(l),n.appendChild(o),n.appendChild(c),i.classList.add("cognigy-speech-bubble__start-chat"),i.innerText=e.startChat,r.classList.add("cognigy-speech-bubble__arrow"),d.classList.add("inner-wrapper"),d.appendChild(s),d.appendChild(n),t||d.appendChild(i),d.appendChild(r),a.classList.add("cognigy-speech-bubble"),a.classList.add("-hidden"),a.appendChild(d),a}(f,h),document.body.appendChild(r),h||(i=setTimeout((()=>{r.classList.remove(u)}),g),document.querySelector(".cognigy-speech-bubble__start-chat").addEventListener("click",(()=>{e.open(),r&&r.classList.add(u)}))),document.querySelector(".cognigy-speech-bubble__close-icon").addEventListener("click",(()=>{r&&r.classList.add(u)})),h&&(s=setTimeout((()=>{r.classList.remove(u)}),m))))}),500);e.registerAnalyticsService((e=>{"webchat/open"===e.type&&((s||i)&&(clearTimeout(s),clearTimeout(i)),r&&r.classList.add(u),sessionStorage.setItem(n,JSON.stringify(!0)))}))}))})),l.src=m,document.body.appendChild(l)}else console.error("No script URL given, cannot launch cognigy chat.")}}},6450:function(e,exports,t){var a,r=this&&this.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a);var i=Object.getOwnPropertyDescriptor(t,a);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,r,i)}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(a=function(e){return a=Object.getOwnPropertyNames||function(e){var t=[];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[t.length]=a);return t},a(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s=a(e),n=0;n<s.length;n++)"default"!==s[n]&&r(t,e,s[n]);return i(t,e),t}),n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.PressTeaser=void 0;const l=s(t(6540)),o=n(t(4679)),c=n(t(5577)),d=n(t(712)),u=t(3803),h=t(4749),m=t(6129),g=t(9830),f={press:o.default.shape({url:o.default.string.isRequired,title:o.default.string.isRequired,category:o.default.string.isRequired,publicationDate:o.default.string.isRequired,image:g.ImageShape.isRequired}).isRequired,pressIndex:o.default.number.isRequired,textCharacterLimit:o.default.number,externalTargetBlank:o.default.bool,internalTargetBlank:o.default.bool,isFocused:o.default.bool},p=(0,c.default)(),v=(0,d.default)(),b=(0,u.getService)("LocaleService"),y=(0,u.getService)("config"),{schemaTeasers:_}=y,S=(e="")=>e.replace(/(http|https):\/\//g,"").split("/")[0];exports.PressTeaser=({press:e,pressIndex:t,externalTargetBlank:a,internalTargetBlank:r,isFocused:i})=>{const[s,n]=(0,l.useState)(!0),o=l.default.useRef(null);let c;(0,l.useEffect)((()=>{i&&o.current&&!1===s&&o.current.focus()}),[i,s]);const d=S(window.location.href)===S(e.url);let u;return(r&&a||r&&d||a&&!d)&&(c="_blank"),(0,l.useEffect)((()=>{e.title&&e.url&&e.image.xs.x1&&setTimeout((()=>{n(!1)}),40*t)}),[e]),e.publicationDate&&(u=b.formatDate(e.publicationDate)),l.default.createElement("article",{className:"-primary",itemScope:!0,itemType:"http://schema.org/NewsArticle"},l.default.createElement("a",{className:"A-Teaser-PressTeaser"+(s?" --skeleton":""),href:e.url,target:c,rel:"noopener noreferrer",itemProp:"url","aria-label":e.title,tabIndex:s?-1:0,ref:o},l.default.createElement("meta",{itemProp:"mainEntityOfPage",content:e.url}),l.default.createElement("div",{className:"A-Teaser-PressTeaser__image"},s?l.default.createElement("figure",{className:"A-Image__figure"},l.default.createElement("div",{className:"A-Image__preloadWrapper A-Image__preloadWrapper--ratio16to9"})):l.default.createElement(m.Image,{image:{...e.image,lg:e.image.lg??void 0,md:e.image.md??void 0,sm:e.image.sm??void 0},alt:e.image?.alt,doLazyLoad:!0,showSchemaMetadata:!0,showPreloadBox:!0,ratio:"ratio16to9",role:"img"})),l.default.createElement("div",{className:"A-Teaser-PressTeaser__text"},l.default.createElement("header",null,l.default.createElement("div",{className:"A-Teaser-PressTeaser__metaInformation"},!s&&e.category&&l.default.createElement("div",{className:"A-Teaser-PressTeaser__metaInformation__category",itemProp:"about"},l.default.createElement("div",{className:"a-sticker -contrast"},l.default.createElement("span",{className:"a-sticker__label -size-s"},e.category))),!s&&u&&l.default.createElement("span",{className:"A-Teaser-PressTeaser__metaInformation__date",content:u,itemProp:"dateCreated"},l.default.createElement("time",{dateTime:e.publicationDate},u))),l.default.createElement("h3",{className:"A-Teaser-PressTeaser__headline",itemProp:"headline"},s?"":l.default.createElement(l.default.Fragment,null,l.default.createElement("span",null,p(e.title)," "),l.default.createElement("span",null,v(e.title),l.default.createElement(h.FrokIcon,{name:"nosafe-lr-forward-small",isUiIcon:!0}))))))),l.default.createElement("div",{itemType:"https://schema.org/Organization",itemScope:!0,itemProp:"publisher"},l.default.createElement("meta",{itemProp:"name",content:_.publisher}),l.default.createElement("div",{className:"A-Teaser-PressTeaser__publisherL
4ogo",itemType:"https://schema.org/ImageObject",itemScope:!0,itemProp:"logo"},l.default.createElement("meta",{content:_.logoUrl,itemProp:"url"}),l.default.createElement("meta",{content:"100%",itemProp:"width"}),l.default.createElement("meta",{content:"100%",itemProp:"height"}))),l.default.createElement("meta",{itemProp:"author",content:_.author}),l.default.createElement("meta",{itemProp:"datePublished",content:e.publicationDate}))},exports.PressTeaser.propTypes=f},6454:function(e,exports,t){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.getBusinessActivity=void 0;const r=a(t(4810)),i=(0,t(3803).getService)("LocaleService"),s=(0,r.default)(i),n=e=>s(e,"name"),l=e=>Object.values(e).map((e=>({...e,isoCode:e.id}))),o=(e,t,a)=>{const r=document.getElementById(e);if(!r)throw new Error(`[CountrySelector] script tag with id ${e} not found.`);const i=JSON.parse(r.innerHTML);let s;if(t&&a){if(!i.regions)throw new Error("[CountrySelector] country and region known, but rawData contains no regions.");s=i.regions[a].countries[t]}else if(a){if(!i.regions)throw new Error("[CountrySelector] region known, but rawData contains no regions.");const e=i.regions[a];s={...e,countries:l(e.countries)}}else s=(({regions:e})=>({regions:Object.entries(e||{}).map((([e,t])=>({...t,countries:l(t.countries),isoCode:e})))}))(i);return s};exports.getBusinessActivity=(e,t,a,r)=>{const i={businessActivity:o(t,r,a)},s=i.businessActivity.regions,l=i.businessActivity.countries,c=i.businessActivity.url;return i.businessActivity&&(s||l||c)?(s?i.businessActivity.regions=((d=i.businessActivity.regions).forEach((e=>{e.countries=n(e.countries)})),d):l&&(i.businessActivity.countries=n(i.businessActivity.countries)),i.businessActivity):(e(!0),{});var d}},6633:(e,exports,t)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.CaasStoryTeaserAggregation=void 0;const a=t(9928);class r extends a.CaasAggregation{static externalConfigBlock="caas";static aggregation="story-pages";map(e){const t=e.image.remote?this.updateImageListUrls(e.image):e.image;return{identifier:e.identifier,image:{Columns2:t,alt:e.image.alt},imageList:t,publicationDate:e.date,title:e.headline,type:e.type,story_type:e.story_type,url:e.url}}}exports.CaasStoryTeaserAggregation=r},6663:(e,exports,t)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.CaasPressTeaserAggregation=void 0;const a=t(9928);class r extends a.CaasAggregation{static externalConfigBlock="caas";static aggregation="press-pages";map(e){const t=e.image.remote?this.updateImageListUrls(e.image):e.image;return{publicationDate:e.date,image:{...t,alt:e.image.alt},title:e.headline,url:e.url,category:e.category}}}exports.CaasPressTeaserAggregation=r},6713:function(e,exports,t){var a,r=this&&this.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a);var i=Object.getOwnPropertyDescriptor(t,a);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,r,i)}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(a=function(e){return a=Object.getOwnPropertyNames||function(e){var t=[];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[t.length]=a);return t},a(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s=a(e),n=0;n<s.length;n++)"default"!==s[n]&&r(t,e,s[n]);return i(t,e),t}),n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.NavigationTeaserGroup=void 0;const l=s(t(6540)),o=n(t(4679)),c=n(t(6942)),d=t(3803),u=t(256),h={tags:o.default.arrayOf(o.default.string.isRequired),pageSize:o.default.number,compact:o.default.bool,autoLoad:o.default.bool},m=(0,d.getService)("StoryService");exports.NavigationTeaserGroup=({tags:e,pageSize:t,compact:a,autoLoad:r=!1})=>{const[i,s]=(0,l.useState)([]),[n,o]=(0,l.useState)(!1),d=(0,l.useRef)(null),h=()=>m.fetch(e||[],{pageSize:t||3}).then((({results:e})=>{s(e),o(!0)}));(0,l.useEffect)((()=>{r&&!n&&h()}),[r,n]),(0,l.useEffect)((()=>
4{if(d.current&&!r){const e=new IntersectionObserver((e=>{if(e.length>0&&!n){e[0].intersectionRatio>0&&h()}}),{threshold:.1});return e.observe(d.current),()=>{e.unobserve(d.current),e.disconnect()}}}),[d.current,r]);const g=(0,c.default)("M-Teaser-NavigationTeaser",{"-compact":a});return l.default.createElement("div",{className:g,"data-expose-scope":!0,ref:d},i.map(((e,t)=>l.default.createElement(u.NavigationTeaser,{teaser:e,compact:a,key:t}))))},exports.NavigationTeaserGroup.propTypes=h},7075:(e,exports)=>{exports.Z=void 0;const t="iframe",a="-lazyloading";exports.Z=class{element;contentWrapper=null;iframe=null;constructor(e){this.element=e,e.dataset.crossDomainMessaging&&window.addEventListener("message",this.crossDomainMessagingEvent.bind(this),!1);e.querySelector(".M-Youtube")&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"gtm.video"})),this.iframe=this.element.querySelector(t);const r=this.iframe?.classList.contains(a);r&&this.iframe?.addEventListener("load",(()=>{this.iframe.classList.remove(a)}))}initializeElements(){this.iframe=this.element.querySelector(t),this.contentWrapper=this.element.querySelector(".M-IFrame__content")}crossDomainMessagingEvent(e){if(this.initializeElements(),e.source===this.iframe?.contentWindow&&e.data&&(e.data.height||e.data.setWindowHeight)){const t=`${e.data.height||e.data.setWindowHeight}px`;this.contentWrapper&&(this.contentWrapper.style.maxHeight="none",this.contentWrapper.style.height=t)}}}},7135:(e,exports,t)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.EventService=void 0;const a=t(402);exports.EventService=class{queryBuilder;static $inject=["caasQueryBuilder"];constructor(e){this.queryBuilder=e,this.queryBuilder=e}fetchByTimes(e,t,r=[],i,s,n,l,o){const c=this.queryBuilder.buildAggregation(a.CaasEventTeaserAggregation,o).addParam("page",t).addParam("pagesize",e),d=n?parseInt(n,10):new Date(Date.UTC(2e3,0,1)).getTime(),u=l?parseInt(l,10):new Date(Date.UTC(2050,0,1)).getTime();return c.addVariable("start_date",i||s?(new Date).setHours(0,0,0,0):d).addVariable("end_date",u).addVariable("show_current",s?1:0),r.length>0&&c.addVariable("tag_ids",r),c.execute(o).then((({results:a,count:r})=>({results:a,moreAvailable:r>t*e,remainingEvents:r-t*e})))}}},7199:function(e,exports,t){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.FrokChip=void 0;const r=a(t(6540)),i=a(t(4679)),s=a(t(6942)),n={label:i.default.string.isRequired,href:i.default.string,renderAsButton:i.default.bool,selected:i.default.bool,onClick:i.default.func};exports.FrokChip=({label:e,href:t,renderAsButton:a,selected:i,onClick:n})=>{if(a){const t=(0,s.default)(["a-chip",{"-selected":i}]);return r.default.createElement("button",{className:t,onClick:()=>n&&n()},r.default.createElement("span",{className:"a-chip__label"},e))}const l=(0,s.default)("a-chip",{"-link":t});return r.default.createElement("a",{className:l,href:t||void 0},r.default.createElement("span",{className:"a-chip__label"},e))},exports.FrokChip.propTypes=n},7530:function(e,exports,t){var a,r=this&&this.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a);var i=Object.getOwnPropertyDescriptor(t,a);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,r,i)}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(a=function(e){return a=Object.getOwnPropertyNames||function(e){var t=[];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[t.length]=a);return t},a(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s=a(e),n=0;n<s.length;n++)"default"!==s[n]&&r(t,e,s[n]);return i(t,e),t}),n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.NewsTeaser=void 0;const l=s(t(6540)),o=n(t(4679)),c=n(t(6942)),d=n(t(5577)),u=n(t(712)),h=t(3803),m=t(4749),g=t(6129),f=t(9830),p={news:o.default.shape({url:o.default.string.isRequired,title:o.default.string.isRequired,category:o.default.string.isRequired,linkLabel:o.default.string.isRequired,publicationDate:o.default.string.isRequired,image:f.ImageShape.isRequired}).isRequired,newsIndex:o.default.number.isRequired,dateVisible:o.default.bool,categoryVisible:o.default.bool,textCharacterLimit:o.default.number,externalTargetBlank:o.default.bool,internalTargetBlank:o.default.bool,defaultLinkLabel:o.default.string.isRequired,isFocused:o.default.bool},v=(0,d.default)(),b=(0,u.default)(),y=(0,h.getService)("LocaleService"),_=(0,h.getService)("config"),{schemaTeasers:S}=_,E=(e="")=>e.replace(/(http|https):\/\//g,"").split("/")[0];exports.NewsTeaser=({news:e,newsIndex:t,dateVisible:a,categoryVisible:r,externalTargetBlank:i,internalTargetBlank:s,defaultLinkLabel:n,isFocused:o})=>{const[d,u]=(0,l.useState)(!0),h=l.default.useRef(null);let f;(0,l.useEffect)((()=>{o&&h.current&&!1===d&&h.current.focus()}),[o,d]);const p=E(window.location.href)===E(e.url);(s&&i||s&&p||i&&!p)&&(f="_blank"),(0,l.useEffect)((()=>
4{e.title&&e.url&&e.image.xs.x1&&setTimeout((()=>{u(!1)}),40*t)}),[e]);const _=e.linkLabel||n;let w;return e.publicationDate&&(w=y.formatDate(e.publicationDate)),l.default.createElement("article",{className:"-primary",itemScope:!0,itemType:"http://schema.org/NewsArticle"},l.default.createElement("a",{className:"A-Teaser-NewsTeaser"+(d?" --skeleton":""),href:e.url,target:f,rel:"noopener noreferrer",itemProp:"url","aria-label":e.title,tabIndex:d?-1:0,ref:h},l.default.createElement("meta",{itemProp:"mainEntityOfPage",content:e.url}),l.default.createElement("div",{className:"A-Teaser-NewsTeaser__image"},d?l.default.createElement("figure",{className:"A-Image__figure"},l.default.createElement("div",{className:"A-Image__preloadWrapper A-Image__preloadWrapper--ratio16to9"})):l.default.createElement(g.Image,{image:e.image,alt:e.image?.alt,doLazyLoad:!0,showSchemaMetadata:!0,showPreloadBox:!0,ratio:"ratio16to9"})),l.default.createElement("div",{className:"A-Teaser-NewsTeaser__text"},l.default.createElement("header",null,l.default.createElement("div",{className:"A-Teaser-NewsTeaser__metaInformation"},!d&&r&&e.category&&l.default.createElement("span",{className:(0,c.default)(["A-Teaser-NewsTeaser__metaInformation__category",{"pull-left":!a}]),itemProp:"about"},e.category),!d&&a&&w&&l.default.createElement("span",{className:"A-Teaser-NewsTeaser__metaInformation__date",content:w,itemProp:"dateCreated"},l.default.createElement("time",null,w))),l.default.createElement("h3",{className:"A-Teaser-NewsTeaser__headline",itemProp:"headline"},d?"":e.title)),l.default.createElement("div",{className:"A-Teaser-NewsTeaser__innerLink"},!d&&l.default.createElement(l.default.Fragment,null,l.default.createElement("span",null,v(_)," "),l.default.createElement("span",null,b(_),l.default.createElement(m.FrokIcon,{name:"nosafe-lr-forward-small",isUiIcon:!0})))))),l.default.createElement("div",{itemType:"https://schema.org/Organization",itemScope:!0,itemProp:"publisher"},l.default.createElement("meta",{itemProp:"name",content:S.publisher}),l.default.createElement("div",{className:"A-Teaser-NewsTeaser__publisherLogo",itemType:"https://schema.org/ImageObject",itemScope:!0,itemProp:"logo"},l.default.createElement("meta",{content:S.logoUrl,itemProp:"url"}),l.default.createElement("meta",{content:"100%",itemProp:"width"}),l.default.createElement("meta",{content:"100%",itemProp:"height"}))),l.default.createElement("meta",{itemProp:"author",content:S.author}),l.default.createElement("meta",{itemProp:"datePublished",content:e.publicationDate}))},exports.NewsTeaser.propTypes=p},7673:function(e,exports,t){var a,r=this&&this.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a);var i=Object.getOwnPropertyDescriptor(t,a);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,r,i)}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(a=function(e){return a=Object.getOwnPropertyNames||function(e){var t=[];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[t.length]=a);return t},a(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s=a(e),n=0;n<s.length;n++)"default"!==s[n]&&r(t,e,s[n]);return i(t,e),t}),n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.SearchField=void 0;const l=s(t(6540)),o=n(t(4679)),c=n(t(181)),d=t(3803),u=t(8693),h=t(8100),m=n(t(6020)),g="-show-suggestions",f=(0,d.getService)("SearchService"),p=new m.default;let v=!1;const b={landMark:o.default.string.isRequired,placeholder:o.default.string,ariaLabelSearchForm:o.default.string.isRequired,ariaLabelSearchIcon:o.default.string,ariaLabelCloseIcon:o.default.string,inputName:o.default.string,autosuggestionsLink:o.default.string.isRequired,disableAutoSuggestions:o.default.bool,parseTermFromUrlOnInit:o.default.bool,onShowAutoSuggestions:o.default.func,onHideAutoSuggestions:o.default.func,showSuggestionsElementSelector:o.default.string,searchUrl:o.default.string,searchTarget:o.default.oneOf(["_blank",void 0]),isInFlyout:o.default.bool,additionalSearchParams:o.default.object};exports.SearchField=({landMark:e,placeholder:t,ariaLabelSearchForm:a,ariaLabelSearchIcon:r,ariaLabelCloseIcon:i,inputName:s="q",autosuggestionsLink:n,disableAutoSuggestions:o=!1,parseTermFromUrlOnInit:d,onHideAutoSuggestions:m,onShowAutoSuggestions:b,showSuggestionsElementSelector:y,searchUrl:_,searchTarget:S,isInFlyout:E,additionalSearchParams:w})=>{const L=(0,l.useRef)(null),T=(0,l.useRef)(null),[k,M]=(0,l.useState)(!0),[A,C]=(0,l.useState)(""),[N,x]=(0,l.useState)(),[P,I]=(0,l.useState)(4),O=(0,l.useMemo)((()=>(0,c.default)((e=>C(e)),400)),[]),B=(0,h.usePrevious)(A),[R,q]=(0,l.useState)([]),[F,D]=(0,l.useState)(!1),[j,W]=(0,l.useState)(-1),[H,z]=(0,l.useState)(""),U=(0,l.useMemo)((()=>E?1:0),[E]),G=(0,l.useMemo)((()=>A?E?2:0:-1),[A,E]),V=(0,l.useMemo)((()=>A?E?3:0:-1),[A,E]);if(!m&&!y)throw new Error("[SearchField] onHideAutoSuggestion callback or showSuggestionsElementSelector needed, but none are given - aborting.");if(!b&&!y)throw new Error("[SearchField] onShowAutoSuggestions callback or showSuggestionsElementSelector needed, but none are given - aborting.");const Q=()=>{q([]),W(-1),N&&(N.tabIndex=P),m&&m();const e=document.querySelector(y);e?.classList.remove(g)},J=()=>{N&&(N.tabIndex=-1),b?b():y&&document.querySelector(y)?.classList.add(g)},Y=e=>{L.current&&(L.current.value=e,C(e),T.current?.submit()),Q()};return(0,l.useEffect)((()=>{""!==A&&A!==B&&(k?M(!1):((e,t,a=()=>{})=>t||e.length<3?(a(),Promise.resolve({})):"function"==typeof f.getAutosuggestions?f.getAutosuggestions({q:e}):f.fetch({q:e,size:5}))(A,!!o,Q).catch((e=>({error:e,results:[]}))).then((e=>{e.error?Q():e.results&&(q(e.results.slice(0,5)),D(e.useAutoSuggestion||!1),0===e.results.length?Q():v&&J())})))}),[A]),(0,l.useEffect)((()=>{W(-1),L.current&&z(L.current.value)}),[R]),(0,l.useEffect)((()=>
4{if(L.current)if(-1===j)L.current.value=H;else if(j>=0&&j<R.length){const e=R[j];L.current.value=F&&e.searchTerm?e.searchTerm:e.title,L.current.focus()}}),[j,R,F,H]),(0,l.useEffect)((()=>()=>O.cancel()),[O]),(0,l.useEffect)((()=>{if(x((()=>{const e=document.querySelector(".M-Search-Flyout--close-button");return I(e?.tabIndex),e})),d){const e=(new URL(document.location.href).searchParams.get(s||"q")||"").split(" inmeta:")[0].trim();C(e),L.current&&(L.current.value=e)}setTimeout((()=>M(!1)),100)}),[]),(0,l.useEffect)((()=>{if(T.current&&Q)return p.add(T.current,Q),()=>p.remove(T.current)}),[T.current,Q]),l.default.createElement("form",{ref:T,className:"m-search-form","aria-label":a,role:"search",autoComplete:"off",action:_||document.location.href,method:"GET",target:S||void 0},l.default.createElement("div",{className:"a-search-input"+(A?" --close-visible":"")},w&&Object.entries(w).map((([e,t])=>l.default.createElement("input",{type:"hidden",key:e,name:e,value:t}))),l.default.createElement("input",{ref:L,type:"search",id:e,className:"m-search-form__input",placeholder:t||"",onInput:()=>{const e=L?.current?.value.trim()??"";O(e),-1!==j&&W(-1),z(e)},onKeyDown:e=>{if(0!==R.length)switch(e.key){case"ArrowDown":e.preventDefault(),W((e=>{if(e>=R.length-1)return-1;if(-1===e&&L.current){const e=L.current.value;R.some((t=>(F&&t.searchTerm?t.searchTerm:t.title)===e))||z(e)}return e+1}));break;case"ArrowUp":e.preventDefault(),W((e=>-1===e?R.length-1:e-1));break;case"Enter":if(e.preventDefault(),j>=0&&j<R.length){const e=R[j];F&&e.searchTerm?Y(e.searchTerm):e.url&&(window.location.href=e.url)}else T.current?.submit();break;case"Escape":e.preventDefault(),Q(),W(-1),L.current&&""!==H&&(L.current.value=H,C(H))}},onFocus:()=>{v=!0,R&&R.length>0&&A&&A.trim().length>=3&&J()},tabIndex:U,"aria-label":r,name:s}),l.default.createElement("button",{type:"button",className:"a-search-input__icon-close",tabIndex:V,"aria-label":i,onClick:()=>{O.cancel(),Q(),L.current&&(L.current.value=""),z(""),C("")}},l.default.createElement("i",{className:"a-icon ui-ic-close-small"})),l.default.createElement("button",{type:"submit",className:"a-search-input__icon-search",tabIndex:G,"aria-label":r},l.default.createElement("i",{className:"a-icon ui-ic-search"}))),R.length>0&&l.default.createElement(u.Autosuggestions,{autosuggestions:R,autosuggestionsLink:n,autosuggestionsAction:()=>T.current?.submit(),onFocusLoss:()=>{Q(),N.focus()},useAutoSuggestion:F,onSuggestionClick:Y,searchQuery:A,selectedIndex:j}))},exports.SearchField.propTypes=b},7882:(e,exports,t)=>{const a=t(468);exports.A=class{constructor(e){const{modalId:t}=e.dataset;if(!t)throw new Error("[ModalTrigger] no modalId given.");e.addEventListener("click",(e=>{e.preventDefault(),(0,a.openModal)(t)}))}}},7954:(e,exports)=>{exports.A=class{loadMoreContainer=null;collapsables=[];collapsableIndex=0;loadMoreButton=null;constructor(e){const t=e.dataset.loadMoreContainer;if(!t)throw new Error("[TeaserGroup] no data attribute for load-more-container, aborting.");const a=`.${t}`;this.loadMoreContainer=e.querySelector(a),this.loadMoreButton=e.querySelector(`${a} button`),this.collapsables=Array.from(e.querySelectorAll('[data-js-component="collapsable"]')),this.loadMoreButton?.addEventListener("click",(()=>this.loadMoreTeasers()))}loadMoreTeasers(){const e=this.collapsables[this.collapsableIndex];if(e?.classReference.expand(),e&&e instanceof HTMLElement){const t=e?.firstElementChild?.querySelector('[tabindex="0"]');t&&t.focus()}this.collapsableIndex===this.collapsables.length-1?this.loadMoreContainer?.classList.add("ng-hide"):this.collapsableIndex+=1}}},8018:(e,exports,t)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.NewsService=void 0;const a=t(1925);exports.NewsService=class{queryBuilder;static $inject=["caasQueryBuilder"];constructor(e){this.queryBuilder=e,this.queryBuilder=e}fetch(e,t,r=[]){const i=this.queryBuilder.buildAggregation(a.CaasNewsTeaserAggregation).addParam("page",t).addParam("pagesize",e);return r.length>0&&i.addVariable("tag_ids",r),i.execute().then((({results:a,count:r})=>({results:a,moreAvailable:r>t*e,remainingNews:r-t*e})))}}},8100:(e,exports,t)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.usePrevious=function(e){const t=(0,a.useRef)();return(0,a.useEffect)((()=>{t.current=e}),[e]),t.current};const a=t(6540)},8482:(e,t,a)=>{a.r(t),a.d(t,{HtmlService:()=>r});
4class r{constructor(){this.htmlDecodingElement=document.createElement("div")}decode(e){return this.htmlDecodingElement.innerHTML=e,0===this.htmlDecodingElement.childNodes.length?"":this.htmlDecodingElement.childNodes[0].nodeValue}}},8693:function(e,exports,t){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Autosuggestions=void 0;const r=a(t(6540)),i=a(t(4679)),s=t(3931),n=i.default.shape({url:i.default.string,title:i.default.string.isRequired,searchTerm:i.default.string}),l={autosuggestions:i.default.arrayOf(n.isRequired).isRequired,autosuggestionsLink:i.default.string.isRequired,autosuggestionsAction:i.default.func.isRequired,onFocusLoss:i.default.func,useAutoSuggestion:i.default.bool,onSuggestionClick:i.default.func,searchQuery:i.default.string,selectedIndex:i.default.number},o=(e,t)=>{if(!t||""===t.trim())return e;const a=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),r=new RegExp(`(${a})`,"gi");return e.replace(r,"<em>$1</em>")};exports.Autosuggestions=({autosuggestions:e,autosuggestionsLink:t,autosuggestionsAction:a,onFocusLoss:i,useAutoSuggestion:n,onSuggestionClick:l,searchQuery:c,selectedIndex:d=-1})=>r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"a-search-suggestions -primary"},r.default.createElement("ul",{className:"a-search-suggestions__results"},e.map(((e,t)=>r.default.createElement("li",{className:"a-search-suggestions__item"+(t===d?" -selected":""),key:e.url||t},r.default.createElement("a",{className:"a-search-suggestions__result-link",href:e.url||"#",onClick:t=>{n&&e.searchTerm&&(t.preventDefault(),l?.(e.searchTerm))},dangerouslySetInnerHTML:{__html:n&&c?o(e.title,c):e.title}})))),!n&&r.default.createElement("li",{className:"a-search-suggestions__item a-search-suggestions__results-link"},r.default.createElement(s.FrokLink,{label:t,level:s.FrokLinkLevel.Primary,onClick:()=>a(),onBlur:()=>i&&i()}))))),exports.Autosuggestions.propTypes=l},8724:(e,exports)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.CaasQueryRunner=void 0;exports.CaasQueryRunner=class{configValidator;static $inject=["caasConfigValidator"];config=null;constructor(e){this.configValidator=e,this.configValidator=e}getAuthHeader(){return this.config?.apiKey?{Authorization:`Bearer ${this.config.apiKey}`}:{}}runAggregation(e,t){return this.config=this.configValidator.validate(e.externalConfigBlock),t&&(this.config.apiKey=t?.apiKey,this.config.project=t?.project,this.config.collection=t?.collection),e.addVariable("lang",this.config.locale.language).addVariable("country",this.config.locale.country),fetch(e.url.toString(),{headers:this.getAuthHeader()}).then((e=>e.json())).then((e=>{const{data:t,meta:a}=e._embedded["rh:result"][0];return 0===e._returned||0===t.length?{results:[],count:0}:{results:t,count:a[0]&&a[0].count}}))}}},8921:function(e,exports,t){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.createReactComponentLoader=void 0;const r=a(t(6540)),i=t(5338),s=t(3528);exports.createReactComponentLoader=e=>class{Component=e;constructor(e){(0,i.createRoot)(e).render(r.default.createElement(this.Component,(0,s.getPropsFromElement)(e,this.Component)))}}},9093:function(e,exports,t){var a,r=this&&this.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a);var i=Object.getOwnPropertyDescriptor(t,a);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,r,i)}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(a=function(e){return a=Object.getOwnPropertyNames||function(e){var t=[];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[t.length]=a);return t},a(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s=a(e),n=0;n<s.length;n++)"default"!==s[n]&&r(t,e,s[n]);return i(t,e),t}
4),n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.CountrySelector=void 0;const l=s(t(6540)),o=n(t(4679)),c=t(5658),d=t(3931),u=t(6454),h=t(3670),m=t(9127),g={dataId:o.default.string.isRequired,isocodeRegion:o.default.string,isocodeCountry:o.default.string,noResultsMessage:o.default.string,textRegionPlaceholder:o.default.string,textCountryPlaceholder:o.default.string,textButton:o.default.string.isRequired,redirectWithLink:o.default.bool};exports.CountrySelector=({dataId:e,isocodeCountry:t,isocodeRegion:a,noResultsMessage:r,redirectWithLink:i,textButton:s,textCountryPlaceholder:n,textRegionPlaceholder:o})=>{const[g,f]=(0,l.useState)(!1),[p,v]=(0,l.useState)(null),[b,y]=(0,l.useState)(null),[_,S]=(0,l.useState)(null);return(0,l.useEffect)((()=>v((0,u.getBusinessActivity)(f,e,a||void 0,t||void 0))),[]),l.default.createElement("div",{className:"A-CountrySelector"},l.default.createElement("div",{className:"A-CountrySelector__notification"},g&&l.default.createElement(c.FrokNotification,{text:r,type:c.FrokNotificationType.Warning})),!g&&l.default.createElement("div",{className:"A-CountrySelector__form"},p?.regions&&l.default.createElement("div",null,l.default.createElement(h.DropDown,{additionalClasses:"A-CountrySelector__dropdown",options:p.regions,placeholderText:o,onChange:e=>{S(p.regions.find((t=>t.id===e))||null),y(null)}}),l.default.createElement(h.DropDown,{additionalClasses:"A-CountrySelector__dropdown",key:_?.id,options:_?.countries||[],disabled:!_?.isoCode||void 0,placeholderText:n,onChange:e=>y(_.countries.find((t=>t.id===e))||null)})),p?.countries&&l.default.createElement("div",null,l.default.createElement(h.DropDown,{additionalClasses:"A-CountrySelector__dropdown",options:p.countries,placeholderText:n,disabled:0===p.countries.length,onChange:e=>{y(p.countries.find((t=>t.id===e))||null)}})),l.default.createElement("div",{className:"A-CountrySelector__action"},!b&&!p?.url&&l.default.createElement(m.FrokButton,{additionalClasses:"A-CountrySelector__button -icon-right",label:s,disabled:!0,isUiIcon:!0,icon:"nosafe-lr-externallink"}),b&&!p?.url&&l.default.createElement(d.FrokLink,{additionalClasses:"A-CountrySelector__link",href:b?.url,label:s,level:d.FrokLinkLevel.Button,target:"_blank",iconRight:!0,isUiIcon:!0,icon:"nosafe-lr-externallink"}),p?.url&&l.default.createElement(d.FrokLink,{additionalClasses:"A-CountrySelector__link",href:p.url,level:i?d.FrokLinkLevel.Primary:d.FrokLinkLevel.Button,target:"_blank",label:s,iconRight:!0,isUiIcon:!0,icon:"nosafe-lr-externallink"}))))},exports.CountrySelector.propTypes=g},9127:function(e,exports,t){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.FrokButton=exports.FrokButtonVariant=exports.FrokButtonType=void 0;const r=a(t(6540)),i=a(t(4679)),s=a(t(6942)),n=t(4749);var l,o;!function(e){e.Button="button",e.Submit="submit",e.Reset="reset"}(l||(exports.FrokButtonType=l={})),function(e){e.BrandPrimary="brand-primary",e.BrandSecondary="brand-secondary",e.BrandTertiary="brand-tertiary",e.NeutralPrimary="neutral-primary",e.NeutralSecondary="neutral-secondary",e.NeutralTertiary="neutral-tertiary",e.DestructivePrimary="destructive-primary",e.DestructiveSecondary="destructive-secondary",e.DestructiveTertiary="destructive-tertiary"}(o||(exports.FrokButtonVariant=o={}));const c={type:i.default.oneOf([l.Button,l.Submit,l.Reset]),variant:i.default.oneOf([o.BrandPrimary,o.BrandSecondary,o.BrandTertiary,o.NeutralPrimary,o.NeutralSecondary,o.NeutralTertiary,o.DestructivePrimary,o.DestructiveSecondary,o.DestructiveTertiary]),label:i.default.string,disabled:i.default.bool,icon:i.default.string,isUiIcon:i.default.bool,fixedWidth:i.default.bool,small:i.default.bool,iconPositionRight:i.default.bool,action:i.default.string,additionalClasses:i.default.string,ariaHasPopup:i.default.bool,ariaExpanded:i.default.bool,ariaLabel:i.default.string,ariaLabelledBy:i.default.string,ariaControls:i.default.string,ariaSelected:i.default.bool,tabIndex:i.default.number,id:i.default.string,renderAsDiv:i.default.bool,onClick:i.default.func};exports.FrokButton=({type:e,variant:t=o.BrandPrimary,label:a,disabled:i=!1,icon:c,isUiIcon:d,fixedWidth:u,small:h,iconPositionRight:m,action:g,additionalClasses:f,ariaHasPopup:p,ariaExpanded:v,ariaLabel:b,ariaLabelledBy:y,ariaControl
4s:_,ariaSelected:S,tabIndex:E,id:w,renderAsDiv:L=!1,onClick:T})=>{const k=(0,s.default)("a-button",`a-button--${t||o.BrandPrimary}`,{"-icon-right":m,"-fixed":u,"-small":h},f),M=L?"div":"button";return r.default.createElement(M,{type:L?void 0:e||l.Button,className:k,id:w||void 0,disabled:i||!1,"aria-label":b||void 0,"aria-labelledby":y||void 0,"aria-haspopup":p||void 0,"aria-expanded":v||void 0,"aria-controls":_||void 0,"aria-selected":S||void 0,"data-frok-action":g||void 0,tabIndex:E||void 0,onClick:()=>T&&T()},c&&r.default.createElement(n.FrokIcon,{name:c,isUiIcon:d,additionalClass:"a-button__icon"}),a&&r.default.createElement("span",{className:"a-button__label"},a))},exports.FrokButton.propTypes=c},9238:function(e,exports,t){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0});const r=a(t(9565)),i=a(t(181)),s=t(3277),n="a-page-indicator__indicator",l="-selected",o="-group-marker",c="-visible";class d extends r.default{el;parentEl;paginationContainer;eContainer;indicators;slider;buttonNext;buttonPrev;leftEdgeItem;pagination;numSlides;activePage=1;numPages=1;slidesPerViewport=2;syntheticScrollEvent=!1;indicatorHelper;isRTL;constructor(e){super(e),this.el=e,this.parentEl=this.el.closest(".M-Teaser-TopicTeaser"),this.paginationContainer=this.el.querySelector(".a-page-indicator__container"),this.eContainer=this.el.querySelector(".e-container.M-Teaser-TopicTeaser__gradients"),this.slider=this.el.querySelector(".M-Teaser-TopicTeaser__slider"),this.numSlides=this.slider.children.length,this.buttonNext=this.el.querySelector(".a-page-indicator__caret.-right"),this.buttonPrev=this.el.querySelector(".a-page-indicator__caret.-left"),this.leftEdgeItem=this.slider.children.item(0),this.indicators=this.paginationContainer.querySelectorAll(`.${n}`),this.indicatorHelper=new s.IndicatorHelper(this.slider,o),this.isRTL=this.indicatorHelper.isRightToLeft(),this.pagination=this.el.querySelector(".M-Teaser-TopicTeaser__pagination"),this.slider.addEventListener("scroll",(0,i.default)((()=>this.onScrollEnd()),100)),this.buttonNext.addEventListener("click",this.isRTL?()=>this.prev():()=>this.next()),this.buttonPrev.addEventListener("click",this.isRTL?()=>this.next():()=>this.prev()),window.addEventListener("resize",(0,i.default)((()=>this.onResize()),250,{trailing:!0})),this.init()}init(){this.slidesPerViewport=this.getSlidesPerViewport(),this.updateNumPages(),this.calculateScrollbarWidth(),this.createIndicators(),this.updateGroupMarkers(),this.updateCalculatedPage(),this.slider.scrollLeft=0,this.slider.style.opacity="1"}calculateScrollbarWidth(){const e=window.innerWidth-document.body.clientWidth;this.parentEl.style.setProperty("--scrollbar-width",`${e}px`)}getLeftEdgeItem(){const e=Array.from(this.slider.children),t=parseFloat(getComputedStyle(this.slider).scrollPaddingLeft),a=this.slider.clientWidth-t;return e.filter((e=>{let{left:t,right:r}=e.getBoundingClientRect();return t=this.isRTL?this.indicatorHelper.invertX(t,e.clientWidth):t,r=this.isRTL?this.indicatorHelper.invertX(r,-e.clientWidth):r,t>=0&&r<=a}))[0]}getPageOfItem(e){const t=Array.from(this.slider.children).indexOf(e);return-1===t?1:Math.floor(t/this.slidesPerViewport)+1}onResize(){this.slidesPerViewport=this.getSlidesPerViewport(),this.updateNumPages(),this.calculateScrollbarWidth(),this.createIndicators(),this.updateGroupMarkers();const e=this.getPageOfItem(this.leftEdgeItem);this.setActivePage(e)}next(e=1){const t=this.activePage+e;t<=this.numPages&&(this.useSyntheticScroll(),this.setActivePage(t))}prev(e=1){const t=this.activePage-e;t>0&&(this.useSyntheticScroll(),this.setActivePage(t))}useSyntheticScroll(e=!0){this.syntheticScrollEvent=e,this.slider.classList.toggle("-no-pointer-events",e)}onScrollEnd(){this.syntheticScrollEvent?this.useSyntheticScroll(!1):this.updateCalculatedPage()}updateCalculatedPage(e=!1){const t=this.indicatorHelper.getCurrentIndex();this.setActivePage(t,e)}setActivePage(e,t=!0){this.activePage=e;const a=this.paginationContainer.querySelector(`.${l}`);a&&a.classList.remove(l),this.indicators.item(e-1).classList.add(l),t&&this.scrollToPage(e),this.leftEdgeItem=this.getLeftEdgeItem()}scrollToPage(e,t=!1){const a=this.eContainer.offsetWidth,r=window.getComputedStyle(this.el),i=parseFloat(getComputedStyle(this.slider).columnGap
4),s=parseInt(r.getPropertyValue("--item-max-width"),10),n=Math.min(a,s)+i,l=(e-1)*(this.slidesPerViewport*n+(this.slidesPerViewport-1)*i);this.slider.scroll({left:this.isRTL?-l:l,behavior:t?"auto":"smooth"})}updateGroupMarkers(){[...this.slider.children].forEach(((e,t)=>{e.classList.remove(o),t%this.slidesPerViewport==0&&e.classList.add(o)})),this.indicatorHelper.updateGroupMarkers()}createIndicators(){if(this.indicators.length<this.numPages){const e=this.numPages-this.indicators.length;for(let t=0;t<e;t+=1){const e=document.createElement("div");e.classList.add(n),0===t&&0===this.indicators.length&&e.classList.add(l);const a=this.indicators.length+t+1;e.setAttribute("data-index",`${a}`),e.addEventListener("click",(()=>{this.useSyntheticScroll(),this.setActivePage(a)})),this.paginationContainer.appendChild(e)}}else for(let e=this.indicators.length;e>this.numPages;e-=1)this.paginationContainer.removeChild(this.indicators[e-1]);this.updateIndicators()}updateIndicators(){this.indicators=this.paginationContainer.querySelectorAll(`.${n}`),this.indicators.length<2?this.pagination.classList.remove(c):this.pagination.classList.add(c)}getSlidesPerViewport(){const e=window.getComputedStyle(this.el),t=parseFloat(getComputedStyle(this.slider).columnGap),a=parseInt(e.getPropertyValue("--item-max-width"),10),r=Math.min(this.el.clientWidth-32,1152)+t,i=Math.min(r,a)+t;return Math.max(Math.floor(r/i),1)}updateNumPages(){this.numPages=Math.ceil(this.numSlides/this.getSlidesPerViewport())}}exports.default=d},9392:(e,exports)=>{Object.defineProperty(exports,"__esModule",{value:!0});exports.default=(e,t,a=1,r=7)=>{const i=[];if(t<=r)return Array.from({length:t+1},((e,t)=>t)).slice(1);for(let r=Math.max(2,e-a);r<=Math.min(t-1,e+a);r+=1)i.push(r);if(e-a>3&&i.unshift("..."),e+a<t-2&&i.push("..."),i.length<r-2*a){if(e<r-2*a){i.length=0;for(let e=1;e<=r-2;e+=1)i.push(e);return i.push("..."),i.push(t),i}i.length=0,i.push(1,"...");const s=i.length;for(let e=t;e>t-(r-s);e-=1)i.splice(s,0,e);return i}return i.unshift(1),i.push(t),i}},9538:function(e,exports,t){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0});const r=a(t(9565)),i=a(t(2686)),s=a(t(5252)),n="-end";class l extends r.default{static events=["clicked","nextClicked","prevClicked","indexChanged","maxLengthChanged"];indicators;arrowLeft;arrowRight;isNumbered;activeIndex=0;maxLength=5;constructor(e){super(e),this.indicators=e.querySelectorAll(".a-page-indicator__indicator"),this.arrowLeft=e.querySelector(".a-page-indicator__caret.-left"),this.arrowRight=e.querySelector(".a-page-indicator__caret.-right"),this.isNumbered=e.classList.contains("a-page-indicator--numbered");const t=parseInt(e.getAttribute("data-start-index")||"",0)||0,a=parseInt(e.getAttribute("data-max-length")||"",0)||this.indicators.length;this.setMaxLength(a),this.setActiveIndex(t),this.arrowLeft instanceof HTMLElement&&this.arrowLeft.addEventListener("click",(()=>{this.prev(),this.triggerEvent("prevClicked")})),this.arrowRight instanceof HTMLElement&&this.arrowRight.addEventListener("click",(()=>{this.next(),this.triggerEvent("nextClicked")})),this.indicators&&[...this.indicators].forEach((e=>{e.addEventListener("click",(()=>{const t=parseInt(e.getAttribute("data-index")||"",0);this.setActiveIndex(t),this.triggerEvent("clicked",t)}))}))}setActiveIndex(e){return e>0&&e<=this.maxLength&&(this.activeIndex=e,this.isNumbered&&((0,s.default)(this.activeIndex,this.maxLength,this.indicators),this.updateArrowStyle()),(0,i.default)(this.indicators,this.activeIndex),this.triggerEvent("indexChanged",e)),this.activeIndex}setMaxLength(e){return this.maxLength=e,this.triggerEvent("maxLengthChanged",this.maxLength),this.maxLength}prev(e=1){const t=this.activeIndex-e;return this.setActiveIndex(t)}next(e=1){const t=this.activeIndex+e;return this.setActiveIndex(t)}updateArrowStyle(){this.activeIndex<=1&&!this.arrowLeft.classList.contains(n)?(this.arrowLeft.classList.add(n),this.arrowRight.classList.remove(n)):this.activeIndex>=this.maxLength&&!this.arrowRight.classList.contains(n)?(this.arrowRight.classList.add(n),this.arrowLeft.classList.remove(n)):(this.arrowLeft.classList.remove(n),this.arrowRight.classList.remove(n))}}exports.default=l},9561:(e,t,a)=>{a.r(t),a.d(t,{SearchService:()=>r});
4class r{constructor(e,t,a){this.searchApiService=e,this.bwsSearchApiService=t,this.useBWS=a.search&&a.search.useBWS,this.useAutoSuggestion=a.search&&a.search.useAutoSuggestion}getSearchService(){return this.useBWS?this.bwsSearchApiService:this.searchApiService}fetch(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.getSearchService().getPage(e)}getAutosuggestions(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.useAutoSuggestion&&this.useBWS&&this.bwsSearchApiService.getAutosuggestions?this.bwsSearchApiService.getAutosuggestions({...e,useAutoSuggestion:!0}):this.fetch({...e,num:5}).then((e=>({error:null,results:e.results.map((e=>({title:e.title,url:e.url,snippet:e.snippet,type:"search_result"})))})))}}},9566:function(e,exports,t){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.LoadMore=void 0;const r=a(t(6540)),i=a(t(4679)),s=t(9127),n={label:i.default.string,loading:i.default.bool.isRequired,onFetchData:i.default.func};exports.LoadMore=({label:e,loading:t,onFetchData:a})=>r.default.createElement(s.FrokButton,{label:e,variant:s.FrokButtonVariant.BrandSecondary,onClick:()=>!t&&a&&a(),"data-on-click":"!$ctrl.loading && $ctrl.load()"}),exports.LoadMore.propTypes=n},9830:function(e,exports,t){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.SourceSetList=exports.buildSrcset=exports.ImageShape=exports.findAllLazyLoadedImages=exports.removeLazyLoadingClassOnComplete=exports.LAZY_LOADING_CLASS=void 0;const r=a(t(6540)),i=a(t(4679));exports.LAZY_LOADING_CLASS="-lazyloading";exports.removeLazyLoadingClassOnComplete=e=>{e&&e.classList.contains(exports.LAZY_LOADING_CLASS)&&(e.complete?e.srcset&&e.classList.remove(exports.LAZY_LOADING_CLASS):e.onload=()=>{e.srcset&&e.classList.remove(exports.LAZY_LOADING_CLASS)})};exports.findAllLazyLoadedImages=()=>{const e=Array.from(document.querySelectorAll(`.${exports.LAZY_LOADING_CLASS}`));e&&e.forEach(exports.removeLazyLoadingClassOnComplete)};const s=["x1","x2"],n={x1:"1x",x2:"2x"};var l;!function(e){e.Large="lg",e.Medium="md",e.Small="sm",e.ExtraSmall="xs"}(l||(l={}));const o={[l.Large]:"1200px",[l.Medium]:"992px",[l.Small]:"768px"},c=i.default.shape({x1:i.default.string.isRequired,x2:i.default.string,breakpoint:i.default.string});exports.ImageShape=i.default.shape({lg:c,md:c,sm:c,xs:c.isRequired,alt:i.default.string,caption:i.default.string});exports.buildSrcset=(e,t=!1,a=!1)=>void 0===e?"":s.filter((t=>(!a||"x2"!==t)&&e[t])).map((a=>{let r;return r=t?e[a].replace(/\.jpe?g$/i,".webp"):e[a],`${r} ${n[a]}`})).join(", ");const d=({size:e,source:t,useWebP:a=!1})=>r.default.createElement("source",{"data-size":e,media:"(max-width: 768px)",srcSet:(0,exports.buildSrcset)(t,a)}),u=({size:e,source:t,useWebP:a=!1})=>r.default.createElement("source",{"data-size":e,media:t.breakpoint||`(min-width: ${t.breakpoint||o[e]})`,srcSet:(0,exports.buildSrcset)(t,a)}),h=({size:e,source:t,skipWebP:a=!1,ComponentType:i=u})=>{const n=s.find((e=>/\.jpe?g$/i.test(t[e])));return r.default.createElement(r.default.Fragment,null,!a&&n&&r.default.createElement(i,{size:e,source:t,useWebP:!0}),r.default.createElement(i,{size:e,source:t,useWebP:!1}))};exports.SourceSetList=({image:e,skipWebP:t=!1})=>r.default.createElement(r.default.Fragment,null,[l.Large,l.Medium,l.Small].filter((t=>e[t])).map((a=>r.default.createElement(h,{key:a,size:a,source:e[a],skipWebP:t}))),e.xs&&r.default.createElement(h,{ComponentType:d,size:l.Small,source:e.xs,skipWebP:t}))},9928:(e,exports)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.CaasAggregation=void 0;exports.CaasAggregation=class{runner;baseUrl;remoteAssetBaseUrl;static externalConfigBlock;static aggregation;url;avars=[];params;constructor(e,t,a){this.runner=e,this.baseUrl=t,this.remoteAssetBaseUrl=a,this.runner=e,this.baseUrl=t,this.remoteAssetBaseUrl=a,this.url=t,this.params=new URLSearchParams}get externalConfigBlock(){return this.constructor.externalConfigBlock}execute(e){return this.runner.runAggregation(this,e).then((t=>({count:t.count,results:t.results.map((t=>this.map(t,e)))})))}map(e,t){return e}buildImageUrl(e){if(!e)return"";if(/^(https?:)?\/\//i.test(e))return e;const t=new URL(this.remoteAssetBaseUrl);return t.pathname+="/"===e[0]?e.slice(1):e,t.href}updateImageListUrls(e){return["xs","sm","md","lg"].forEach((t=>{["x1","x2"].forEach((a=>{const r=e[t];if(r){const e=r[a];e&&(r[a]=this.buildImageUrl(e))}}))})),e}addVariable(e,t){return void 0!==t&&(this.avars.push({[e]:t}),this.updateUrl()),this}addParam(e,t){return void 0!==t&&(this.params.append(e,t.toString()),this.updateUrl()),this}updateUrl(){const e=new URL(this.baseUrl.href);if(this.avars.length>0){this.avars.some((e=>"tag_ids"===Object.keys(e)[0]))&&(e.pathname=e.pathname.replace("-pages","-pages-by-ids"));const t=JSON.stringify(Object.assign({},...this.avars));e.searchParams.append("avars",t)}
4this.params.forEach(((t,a)=>e.searchParams.append(a,t))),this.url=e}}}},a={};function r(e){var i=a[e];if(void 0!==i)return i.exports;var s=a[e]={exports:{}};return t[e].call(s.exports,s,s.exports,r),s.exports}r.m=t,e=[],r.O=(t,a,i,s)=>{if(!a){var n=1/0;for(d=0;d<e.length;d++){a=e[d][0],i=e[d][1],s=e[d][2];for(var l=!0,o=0;o<a.length;o++)(!1&s||n>=s)&&Object.keys(r.O).every((e=>r.O[e](a[o])))?a.splice(o--,1):(l=!1,s<n&&(n=s));if(l){e.splice(d--,1);var c=i();void 0!==c&&(t=c)}}return t}s=s||0;for(var d=e.length;d>0&&e[d-1][2]>s;d--)e[d]=e[d-1];e[d]=[a,i,s]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(exports,e)=>{for(var t in e)r.o(e,t)&&!r.o(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:e[t]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=exports=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},(()=>{var e={182:0,299:0};r.O.j=t=>0===e[t];var t=(t,a)=>{var i,s,n=a[0],l=a[1],o=a[2],c=0;if(n.some((t=>0!==e[t]))){for(i in l)r.o(l,i)&&(r.m[i]=l[i]);if(o)var d=o(r)}for(t&&t(a);c<n.length;c++)s=n[c],r.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return r.O(d)},a=self.webpackChunk_bosch_rb_frontend=self.webpackChunk_bosch_rb_frontend||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})(),r.O(void 0,[705,361],(()=>r(2353)));var i=r.O(void 0,[705,361],(()=>r(5518)));i=r.O(i)})();

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.