1"use strict";(self.webpackChunkhbApp=self.webpackChunkhbApp||[]).push([[899,2787,7483],{12787(u,r,i){i.d(r,{SectionNewsComponent:()=>p});var d=i(30899),n=i(35547);const l=["childComponent"];let p=(()=>{class s{constructor(o){this.elementRef=o}ngAfterViewChecked(){const e=Array.from(this.elementRef.nativeElement.children[0].children).filter(a=>"APP-CONTENT-ADVERTISEMENT"!==a.tagName);for(const a of e){const t=e.indexOf(a);this.updateColumnClass(a,"two-cols-col-",t%2),this.updateColumnClass(a,"two-cols-row-",Math.floor(t/2)),this.updateColumnClass(a,"four-cols-col-",t%4),this.updateColumnClass(a,"four-cols-row-",Math.floor(t/4))}}updateColumnClass(o,e,a){for(const t of Array.from(o.classList)){const _=`${e}${a}`;t.startsWith(e)&&t!==_&&o.classList.remove(t),o.classList.add(_)}}static{this.\u0275fac=function(e){return new(e||s)(n.rXU(n.aKT))}}static{this.\u0275cmp=n.VBU({type:s,selectors:[["app-section-news"]],viewQuery:function(e,a){if(1&e&&n.GBs(l,5),2&e){let t;n.mGM(t=n.lsd())&&(a.childComponents=t)}},inputs:{context:"context"},decls:1,vars:1,consts:[[3,"dynamicComponents"]],template:function(e,a){1&e&&n.nrm(0,"app-dynamic-component-list",0),2&e&&n.Y8G("dynamicComponents",a.context.newsTeaserGroups)},dependencies:[d.DynamicComponentListComponent],styles:["[_nghost-%COMP%]{display:block}@media(min-width:768px){app-dynamic-component-list[_ngcontent-%COMP%]{display:grid;grid-gap:0 var(--%NS%grid-gap-gt-sm);grid-template-columns:repeat(2,1fr)}}@media(min-width:1024px){app-dynamic-component-list[_ngcontent-%COMP%]{grid-gap:0 var(--%NS%grid-gap-gt-md)}}app-dynamic-component-list[_ngcontent-%COMP%]{--%NS%item-separator-margin-top: 0;--%NS%item-separator-padding-top: 0;--%NS%item-separator-border-top: 0}@media(min-width:1024px)and (min-width:768px){app-dynamic-component-list[_ngcontent-%COMP%]{display:grid;grid-gap:0 var(--%NS%grid-gap-gt-sm);grid-template-columns:repeat(4,1fr)}}@media(min-width:1024px)and (min-width:1024px){app-dynamic-component-list[_ngcontent-%COMP%]{grid-gap:0 var(--%NS%grid-gap-gt-md)}}@media(max-width:767.9px){app-dynamic-component-list[_ngcontent-%COMP%]{--%NS%item-separator-margin-top: var(--%NS%hmg-des-dimensions-gap-2xl)}}@media(min-width:768px){app-dynamic-component-list[_ngcontent-%COMP%] app-content-advertisement{grid-column-start:1;grid-column-end:3}}@media(min-width:1024px){app-dynamic-component-list[_ngcontent-%COMP%] app-content-advertisement{grid-column-start:1;grid-column-end:5}}"],changeDetection:1})}}return s})()},30899(u,r,i){i.r(r),i.d(r,{DynamicComponentListComponent:()=>a});var d=i(65157),n=i(32271),l=i(22470),p=i(77483),s=i(35547);function g(t,_){}function o(t,_){if(1&t&&s.DNE(0,g,0,0,"ng-template",1),2&t){const c=s.XpG(),m=c.$implicit,C=c.$index,h=s.XpG();s.Y8G("appDynamicComponent",m)("settings",0===C?h.firstElement():h.settings())}}function e(t,_){1&t&&s.DNE(0,o,1,2,null,0)}let a=(()=>{class t{constructor(){this.dynamicComponents=d.hFB.required(),this.settings=(0,d.hFB)({}),this.firstElement=(0,n.EW)(()=>{const c=this.settings()?.firstElement;return this.settings()&&this.isDynamicComponentSettings(c)?c:this.settings()})}isDynamicComponentSettings(c){return null===c||"object"==typeof c&&Object.keys(c).every(m=>"string"==typeof m)}static{this.\u0275fac=function(m){return new(m||t)}}static{this.\u0275cmp=s.VBU({type:t,selectors:[["app-dynamic-component-list"]],hostVars:2,hostBindings:function(m,C){2&m&&s.AVh("dynamic-component-list",!0)},inputs:{dynamicComponents:[1,"dynamicComponents"],settings:[1,"settings"]},decls:2,vars:0,consts:[[4,"appRemovable"],[3,"appDynamicComponent","settings"]],template:function(m,C){1&m&&s.Z7z(0,e,1,0,null,null,s.Vm6),2&m&&s.Dyx(C.dynamicComponents())},dependencies:[l.DynamicComponentDirective,p.r],encapsulation:2,changeDetection:1})}}return t})()},77483(u,r,i){i.d(r,{r:()=>l});var d=i(47266),n=i(35547);let l=(()=>{class p{constructor(g,o,e){this.viewContainer=g,this.ngZone=o,o.run(()=>this.viewContainer.createEmbeddedView(e))}remove(){this.ngZone.run(()=>this.viewContainer.clear())}static{this.\u0275fac=function(o){return new(o||p)(n.rXU(n.c1b),n.rXU(d.SKi),n.rXU(n.C4Q))}}static{this.\u0275dir=n.FsC({type:p,selectors:[["","appRemovable",""]]})}}return p})()}}]);
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.