1"use strict";(self.webpackChunkhbApp=self.webpackChunkhbApp||[]).push([[1851,4175],{96705(L,D,i){i.d(D,{z:()=>a});var u=i(31635),m=i(65157),l=i(47266),g=i(32271),h=i(99829),P=i(12654),M=i(78950),p=i(5964),b=i(6309),r=i(35547);const A=["adDesktop"],y=["adMobile"];function x(n,o){if(1&n&&r.Hgh(0,"div",2,0),2&n){r.XpG(2);const d=r.r8f(0);r.BMQ("data-placement","pos_"+d.position)}}function e(n,o){if(1&n&&r.Hgh(0,"div",4,1),2&n){r.XpG(2);const d=r.r8f(0);r.xc7("min-height",d.mobileHeight,"px"),r.BMQ("data-placement","pos_"+d.position)}}function C(n,o){if(1&n&&(r.nVh(0,x,2,1,"div",2),r.nVh(1,e,2,3,"div",3)),2&n){r.XpG();const d=r.r8f(0);r.vxM(d.useOnDesktop?0:-1),r.R7$(),r.vxM(d.useOnMobile?1:-1)}}var E=function(n){return n.shown="iqdad",n.retired="iqdnoad",n.skipped="iqdempty",n}(E||{}),t=function(n){return n.visible="visible",n.hidden="hidden",n.pending="pending",n}(t||{});class a{#t;#e;constructor(){this.context=m.hFB.required(),this.forceHidden=(0,m.hFB)(!1),this.recordHeightMetric=(0,m.hFB)(!1),this.currentAdTileUsageClass=(0,l.vPA)(""),this.adDesktop=(0,m.ebz)("adDesktop"),this.adMobile=(0,m.ebz)("adMobile"),this.adContainer=(0,g.EW)(()=>this.advertisementService.isMobile?this.adMobile()?.nativeElement:this.adDesktop()?.nativeElement),this.adContainerHeight=(0,m.CGW)(),this.advertisementService=(0,l.WQX)(b.L),this.router=(0,l.WQX)(h.Ix),this.#t=(0,l.WQX)(M.Z),this.#e=!1,this.visibilityState=(0,g.EW)(()=>this.advertisementService.isDisabled()||this.forceHidden()?t.hidden:{[E.shown]:t.visible,[E.skipped]:t.hidden,[E.retired]:t.hidden,"":t.pending}[this.currentAdTileUsageClass()]),this.VisibilityState=t,this.retainHeightOnNavigation(),(0,l.QZP)(()=>{this.#n()}),(0,m.uEv)(()=>{const o=this.context();(0,g.O8)(()=>{null!==o&&this.advertisementService.register(o)})}),(0,m.uEv)(()=>{const o=this.adContainer();(0,g.O8)(()=>{o&&this.observeAdTileUsageClass(o)})})}ngOnDestroy(){this.adTileClassObserver?.disconnect()}retainHeightOnNavigation(){this.router.events.pipe((0,p.p)(o=>o instanceof h.wF),(0,p.p)(o=>"/"!==o.url)).subscribe(()=>{this.adContainerHeight.emit(this.adContainer()?.offsetHeight??null),this.adContainer()?.classList.remove(E.shown)})}observeAdTileUsageClass(o){this.adTileClassObserver=new MutationObserver(()=>{this.currentAdTileUsageClass.set(o.className.split(" ").find(d=>this.isAdTileUsageClass(d))??"")}),this.adTileClassObserver.observe(o,{attributeFilter:["class"]})}isAdTileUsageClass(o){return Object.values(E).includes(o)}#n(){if(this.#e)return;const o=this.adContainer()?.offsetHeight;this.recordHeightMetric()&&""!==this.currentAdTileUsageClass()&&void 0!==o&&(this.#e=!0,this.#t.summary("adtileHeight",o,{position:this.context()?.position??"",group:this.#i(o)}))}#i(o){return o<250?"< 250":o>=350?">= 350":"< "+(20*Math.floor((o-250)/20)+250+20)}static{this.\u0275fac=function(d){return new(d||a)}}static{this.\u0275cmp=r.VBU({type:a,selectors:[["app-advertisement"]],viewQuery:function(d,v){1&d&&r.wEZ(v.adDesktop,A,5)(v.adMobile,y,5),2&d&&r.NyB(2)},hostVars:2,hostBindings:function(d,v){2&d&&r.HbH(v.visibilityState())},inputs:{context:[1,"context"],forceHidden:[1,"forceHidden"],recordHeightMetric:[1,"recordHeightMetric"]},outputs:{adContainerHeight:"adContainerHeight"},decls:2,vars:2,consts:[["adDesktop",""],["adMobile",""],["data-device","desktop",1,"iqdcontainer"],["data-device","mobile",1,"iqdcontainer",3,"min-height"],["data-device","mobile",1,"iqdcontainer"]],template:function(d,v){if(1&d&&(r.SS7(0),r.nVh(1,C,2,2)),2&d){const B=r.bH3(v.context());r.R7$(),r.vxM(B&&B.position?1:-1)}},styles:["[_nghost-%COMP%]{display:block;text-align:center;line-height:0;z-index:var(--%NS%layer-advertisement);position:relative}.hidden[_nghost-%COMP%]{display:none}@media(min-width:1024px){[_nghost-%COMP%] div[data-device=mobile][_ngcontent-%COMP%]{display:none}}@media(max-width:1023.9px){[_nghost-%COMP%] div[data-device=desktop][_ngcontent-%COMP%]{display:none}}@media print{[_nghost-%COMP%]{display:none}}"],changeDetection:1})}}(0,u.Cg)([(0,P.Y)(),(0,u.Sn)("design:type",Function),(0,u.Sn)("design:paramtypes",[HTMLElement]),(0,u.Sn)("design:returntype",void 0)],a.prototype,"observeAdTileUsageClass",null)},6309(L,D,i){i.d(D,{L:()=>e});var u=i(29293),m=i.n(u),l=i(47266),g=i(32271),h=i(62329),P=i(52164),M=i(97084),p=i(99289),b=i(41981),r=i(4504),A=i(82444),y=i(93488),x=i(29885);let e=(()=>{class C{#t;#e;#n;constructor(t,a,n,o,d){this.adControllerService=t,this.loadLazyService=a,this.userService=n,this.layoutService=o,this.adInjectorService=d,this.registeredAdvertisements=[],this.requiredAdvertisements=[],this.isPageRendered=!1,this.areAllRequiredAdvertisementsKnown=!1,this.#t=(0,l.vPA)(!0),this.#e=(0,l.vPA)(null),this.#n=(0,l.vPA)(!1),this.#i=(0,g.EW)(()=>this.#n()||this.layoutService.userAgentIsEligibleForUnrestrictedContentWidth()),this.isEnabled=(0,g.EW)(()=>this.#t()&&!this.#i()),this.isDisabled=(0,g.EW)(()=>!this.isEnabled()),n.hasAccessCategory(p.K.Pur).then(v=>{this.#n.set(v)})}#i;get isMobile(){return this.adControllerService.isMobile}get staticAdvertisements(){return this.#e.asReadonly()}isVisibleOnCurrentScreen(t=null){return null!==t&&""!==t.position&&(this.isMobile&&t.useOnMobile||!this.isMobile&&t.useOnDesktop)}filterRelevantAdvertisements(t){return this.isDisabled()?t.filter(a=>!this.isAdvertisement(a)):t.filter(a=>{const n=!this.isAdvertisement(a)||this.isMobile&&a.useOnMobile;return n||this.register(a),n})}isAdvertisement(t){return t?.type===A.dFk.advertisement}isNoAdvertisement(t){return!this.isAdvertisement(t)}register(t){this.registeredAdvertisements.push(t),this.adControllerService.debug("register",t),this.attemptToFinish()}get isRegistrationCompleted(){return this.requiredAdvertisements.filter(t=>this.isMobile&&t.useOnMobile||!this.isMobile&&t.useOnDesktop).every(t=>{const a=this.registeredAdvertisements.some(n=>t.position===n.position&&t.useOnDesktop===n.useOnDesktop&&t.useOnMobile===n.useOnMobile);return a||this.adControllerService.debug("advertisement still missing in registration",t),a})}setup(t){if(this.adControllerService.debug("setup"),this.adInjectorService.attachAds(t),this.preregisterContinuedStaticAdvertisements(t.iqadsetup.staticAdvertisements),t.type===P.D8)return this.#e.set(P.Dt),void this.#t.set(!0);this.#e.set(t.iqadsetup.staticAdvertisements),this.#t.set(t.iqadsetup.isEnabled)}preregisterContinuedStaticAdvertisements(t){const a=this.#e();null!==a&&Object.keys(t).forEach(n=>{a[n]&&this.isAdvertisement(t[n])&&this.register(t[n])})}arrivedOnNewPage(t){var a=this;return m()(function*(n,o={}){a.adControllerService.debug("arrivedOnNewPage",n.iqadsetup),a.isPageRendered=!1,a.areAllRequiredAdvertisementsKnown=!1,a.isDisabled()&&!a.adControllerService.isIqChannelizer()&&a.adControllerService.cleanUp(),yield a.adControllerService.setPageInfo(n.iqadsetup),a.getRequiredAdvertisementPositions(n,o),a.attemptToFinish()}).apply(this,arguments)}arrivedOnNewLocalPage(t,a){var n=this;return m()(function*(){n.adControllerService.debug("arrivedOnNewLocalPage",t),n.isPageRendered=!1,n.areAllRequiredAdvertisementsKnown=!1,n.registeredAdvertisements=[];const o=Object.values(t.staticAdvertisements).filter(d=>n.isAdvertisement(d));n.requiredAdvertisements=[...a,...o],n.#e.set(t.staticAdvertisements),n.#t.set(t.isEnabled),yield n.adControllerService.setPageInfo(t),n.areAllRequiredAdvertisementsKnown=!0,n.attemptToFinish()})()}getRequiredAdvertisementPositions(t,a={}){this.requiredAdvertisements=[];const n=o=>
1{if(this.isAdvertisement(o)&&o.position)this.requiredAdvertisements.push(o);else for(const d in o)(0,r.Gv)(o[d])&&n(o[d])};n(t),n(a),this.areAllRequiredAdvertisementsKnown=!0}attemptToFinish(){var t=this;return m()(function*(){const a=t.areAllRequiredAdvertisementsKnown&&t.isRegistrationCompleted&&!t.isPageRendered;t.adControllerService.debug("attemptToFinish",{isEnabled:t.isEnabled(),areAllRequiredAdvertisementsKnown:t.areAllRequiredAdvertisementsKnown,isRegistrationCompleted:t.isRegistrationCompleted,isPageRendered:t.isPageRendered}),a&&(t.isPageRendered=!0,t.areAllRequiredAdvertisementsKnown=!1,yield t.loadLazyService.readyToLoad,t.isEnabled()&&t.adControllerService.finish(),t.registeredAdvertisements=[])})()}static{this.\u0275fac=function(a){return new(a||C)(l.KVO(y.Z),l.KVO(M.u),l.KVO(x.UserService),l.KVO(b.Y),l.KVO(h.$))}}static{this.\u0275prov=l.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}}return C})()},11851(L,D,i){i.d(D,{ContentAdvertisementComponent:()=>g});var u=i(65157),m=i(96705),l=i(35547);let g=(()=>{class h{constructor(){this.context=u.hFB.required()}static{this.\u0275fac=function(p){return new(p||h)}}static{this.\u0275cmp=l.VBU({type:h,selectors:[["app-content-advertisement"]],inputs:{context:[1,"context"]},decls:1,vars:1,consts:[[3,"context"]],template:function(p,b){1&p&&l.nrm(0,"app-advertisement",0),2&p&&l.Y8G("context",b.context())},dependencies:[m.z],styles:["[_nghost-%COMP%] app-advertisement.visible[_ngcontent-%COMP%]{margin:var(--%NS%hmg-des-dimensions-gap-2xl) var(--%NS%page-padding-negative)}@media(min-width:1024px){[_nghost-%COMP%] app-advertisement.visible[_ngcontent-%COMP%]{margin-block:var(--%NS%top-level-container-margin-top)}}@media(max-width:1023.9px){[_nghost-%COMP%] app-advertisement[_ngcontent-%COMP%]:has(div.iqdcontainer[data-device=mobile]).pending{margin:var(--%NS%hmg-des-dimensions-gap-2xl) var(--%NS%page-padding-negative)}}"],changeDetection:1})}}return h})()},84175(L,D,i){i.d(D,{BigTeaserGroupComponent:()=>z});var u=i(49769),m=i(65157),l=i(32271),g=i(89079),h=i(6309),P=i(11851),M=i(13858),p=i(2329),b=i(32186),r=i(22470),A=i(10629),y=i(82444),x=i(96354),e=i(35547),C=i(81535),E=i(85697);function t(s,c){1&s&&e.nrm(0,"app-content-headline-with-custom-logo",2),2&s&&e.Y8G("headline",c)}function a(s,c){1&s&&e.eu8(0)}function n(s,c){if(1&s&&e.DNE(0,a,1,0,"ng-container",5),2&s){e.XpG();const _=e.sdS(8);e.Y8G("ngTemplateOutlet",_)}}function o(s,c){1&s&&e.eu8(0)}function d(s,c){if(1&s&&e.DNE(0,o,1,0,"ng-container",5),2&s){e.XpG();const _=e.sdS(10);e.Y8G("ngTemplateOutlet",_)}}function v(s,c){1&s&&e.nrm(0,"app-content-advertisement",4),2&s&&e.Y8G("context",c)}function B(s,c){1&s&&e.eu8(0)}function R(s,c){if(1&s&&e.DNE(0,B,1,0,"ng-container",5),2&s){e.XpG();const _=e.sdS(8);e.Y8G("ngTemplateOutlet",_)}}function W(s,c){1&s&&e.eu8(0)}function N(s,c){if(1&s&&e.DNE(0,W,1,0,"ng-container",5),2&s){e.XpG();const _=e.sdS(10);e.Y8G("ngTemplateOutlet",_)}}function I(s,c){}function U(s,c){if(1&s&&(e.j41(0,"div",7),e.DNE(1,I,0,0,"ng-template",8),e.k0s()),2&s){const _=e.XpG(2);e.R7$(),e.Y8G("appDynamicComponent",_.bigTeaser())("settings",_.largeTeaserLayoutSettings())}}function K(s,c){if(1&s&&e.DNE(0,U,2,2,"div",6),2&s){const _=e.XpG();e.Y8G("appLoadLazy",_.settings().loadLazy)}}function G(s,c){}function H(s,c){if(1&s&&e.DNE(0,G,0,0,"ng-template",8),2&s){const _=e.XpG(3);e.Y8G("appDynamicComponent",_.sideTeaser())("settings",_.sideTeaserLayoutSettings())}}function F(s,c){if(1&s&&(e.j41(0,"div",9),e.DNE(1,H,1,2,null,10),e.k0s()),2&s){const _=e.XpG(2);e.R7$(),e.Y8G("appLoadLazy",_.settings().loadLazy)}}function V(s,c){if(1&s&&e.nVh(0,F,2,1,"div",9),2&s){const _=e.XpG();e.vxM(_.sideTeaser()?0:-1)}}let z=(()=>{class s{constructor(_,T,f){this.advertisementService=_,this.brandService=f,this.context=m.hFB.required(),this.settings=(0,m.hFB)({loadLazy:!0,imageLayoutContext:"with_aside"}),this.bigTeaser=(0,l.EW)(()=>this.teasers()[0]),this.sideTeaser=(0,l.EW)(()=>this.teasers()[1]),this.mobileAd=(0,l.EW)(()=>this.context().teasers.filter(O=>this.advertisementService.isAdvertisement(O))[0]??null),this.fallbackImageWidthLargeTeaser=(0,l.
1EW)(()=>"full"===this.settings().imageLayoutContext?this.brandService.isWiwo()?600:634:this.brandService.isWiwo()?440:468),this.fallbackImageWidthSideTeaser=(0,l.EW)(()=>"full"===this.settings().imageLayoutContext?this.brandService.isWiwo()?280:302:this.brandService.isWiwo()?200:219),this.largeTeaserLayoutSettings=(0,l.EW)(()=>({layout:M.D.large,loadImageLazy:this.settings().loadLazy,imageFallbackWidth:this.fallbackImageWidthLargeTeaser(),imageFullWidthOnMobile:!0})),this.sideTeaserLayoutSettings=(0,l.EW)(()=>({layout:this.isMobile()?M.D.mediumWide:M.D.medium,hideImage:!1,loadImageLazy:this.settings().loadLazy,imageFallbackWidth:this.fallbackImageWidthSideTeaser(),imageFullWidthOnMobile:!0})),this.teasers=(0,l.EW)(()=>this.context().teasers.filter(O=>this.advertisementService.isNoAdvertisement(O))),this.BigTeaserGroupPosition=y.JV7,this.isMobile=(0,g.ot)(T.observe([A.d.mobile]).pipe((0,x.T)(O=>O.matches)),{requireSync:!0})}static{this.\u0275fac=function(T){return new(T||s)(e.rXU(h.L),e.rXU(C.Q),e.rXU(E.j))}}static{this.\u0275cmp=e.VBU({type:s,selectors:[["app-big-teaser-group"]],inputs:{context:[1,"context"],settings:[1,"settings"]},decls:11,vars:4,consts:[["main",""],["side",""],[3,"headline"],[1,"stage"],[3,"context"],[4,"ngTemplateOutlet"],["class","main",4,"appLoadLazy"],[1,"main"],[3,"appDynamicComponent","settings"],[1,"side"],[4,"appLoadLazy"]],template:function(T,f){if(1&T&&(e.nVh(0,t,1,1,"app-content-headline-with-custom-logo",2),e.j41(1,"section",3),e.nVh(2,n,1,1,"ng-container")(3,d,1,1,"ng-container"),e.nVh(4,v,1,1,"app-content-advertisement",4),e.nVh(5,R,1,1,"ng-container")(6,N,1,1,"ng-container"),e.k0s(),e.DNE(7,K,1,1,"ng-template",null,0,e.C5r)(9,V,1,1,"ng-template",null,1,e.C5r)),2&T){let O,S;e.vxM((O=f.context().headline)?0:-1,O),e.R7$(2),e.vxM(f.context().position===f.BigTeaserGroupPosition.left?2:3),e.R7$(2),e.vxM((S=f.mobileAd())?4:-1,S),e.R7$(),e.vxM(f.context().position===f.BigTeaserGroupPosition.right?5:6)}},dependencies:[r.DynamicComponentDirective,b.E,p.J,P.ContentAdvertisementComponent,u.T3],styles:['[_nghost-%COMP%]{display:block}.stage[_ngcontent-%COMP%]{position:relative;display:flex;flex-flow:column}@media(min-width:1024px)and (min-width:768px){.stage[_ngcontent-%COMP%]{display:grid;grid-gap:0 var(--%NS%grid-gap-gt-sm);grid-template-columns:repeat(9,1fr)}}@media(min-width:1024px)and (min-width:1024px){.stage[_ngcontent-%COMP%]{grid-gap:0 var(--%NS%grid-gap-gt-md)}}@media(max-width:1023.9px){.stage[_ngcontent-%COMP%]:not(:has(app-content-advertisement>app-advertisement:not(.hidden))) .main[_ngcontent-%COMP%]:after{content:"";display:block;padding-bottom:var(--%NS%hmg-des-dimensions-padding-m);border-bottom:var(--%NS%divider-secondary);margin-bottom:var(--%NS%hmg-des-dimensions-gap-m)}}.main[_ngcontent-%COMP%]{grid-column:span 6}@media(max-width:1023.9px){.main[_ngcontent-%COMP%]{order:1}}app-content-advertisement[_ngcontent-%COMP%]{order:2}@media(min-width:1024px){app-content-advertisement[_ngcontent-%COMP%]{display:none}}.side[_ngcontent-%COMP%]{grid-column:span 3}.side[_ngcontent-%COMP%] >*:not(:last-child){display:block}.side[_ngcontent-%COMP%] >*:not(:last-child):after{content:"";display:block;padding-bottom:var(--%NS%hmg-des-dimensions-padding-m);border-bottom:var(--%NS%divider-secondary);margin-bottom:var(--%NS%hmg-des-dimensions-gap-m)}@media(max-width:1023.9px){.side[_ngcontent-%COMP%]{order:3}}@media(min-width:1024px){.side[_ngcontent-%COMP%]:not(:last-child){position:relative}.side[_ngcontent-%COMP%]:not(:last-child):after{display:block;content:"";position:absolute;top:0;width:1px;height:100%;background-color:var(--%NS%hmg-des-color-divider-light);right:calc(-.5 * var(--%NS%grid-gap-gt-md) - 1px)}}@media(min-width:1024px){.main[_ngcontent-%COMP%]:not(:last-child), .side[_ngcontent-%COMP%]:not(:last-child){position:relative}.main[_ngcontent-%COMP%]:not(:last-child):after, .side[_ngcontent-%COMP%]:not(:last-child):after{display:block;content:"";position:absolute;top:0;width:1px;height:100%;background-color:var(--%NS%hmg-des-color-divider-light);right:calc(-.5 * var(--%NS%grid-gap-gt-md) - 1px)}}'],changeDetection:1})}}return s})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.