1"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[703],{6567:function(e,t,s){s.d(t,{Q:function(){return a}});class a{static updateQueryParam(e={},t="",s="",a=!1,r=!1){try{if(!e||!e.history||!e.history.current)throw new Error("Invalid router instance");const i=Object.assign({},e.history.current.query);if(a){if(!(t in i))return;delete i[t]}else{if(i[t]===s)return;i[t]=s}r?e.replace({query:i}):e.push({query:i})}catch(e){console.error("Error updating query param:",e)}}}},20703:function(e,t,s){s.r(t),s.d(t,{default:function(){return o}});var a=function(){var e=this,t=e._self._c;return t("section",{staticClass:"b_applicationsList b_section",attrs:{"data-tests":"news-results-container"}},[t("div",{staticClass:"b_container b_container--middle"},[e.getActiveTeaserCount()>0?t("p",[t("strong",[e._v("\n\t\t\t\t"+e._s(e.getActiveTeaserCount())+" "),e.getActiveTeaserCount()>1?t("span",[e._v(e._s(e.pressReleasesLabel))]):e._e(),e._v(" "),1===e.getActiveTeaserCount()?t("span",[e._v(e._s(e.pressReleaseLabel))]):e._e()])]):e._e(),e._v(" "),e._l(e.getTeaserForCurrentPage(),(function(s){return t("div",["all"===e.selectYearValue?t("h2",[e._v(e._s(s.year))]):e._e(),e._v(" "),t("ul",{staticClass:"b_applicationsList__list b_grid b_grid--gutter",attrs:{"data-count":"4"}},e._l(s.teasers,(function(s){return t("li",{key:s.uid,staticClass:"b_teaser b_teaser--news b_grid__col--4",attrs:{"data-tests":"news-result-teaser"}},[t("a",{attrs:{href:s.link,title:s.title}},[t("figure",{staticClass:"b_teaser__image b_teaser__image--full",class:{"b_teaser__image--border":s.imageBorder}},[t("lazy-image",{attrs:{"image-data":s.image,alt:s.image.alt,title:s.image.title}})],1),e._v(" "),t("div",{staticClass:"b_teaser__container"},[t("div",{staticClass:"b_teaser__info b_grid"},[t("div",{staticClass:"b_grid__col--4"},[e._v(e._s(e.formatDate(s.date)))]),e._v(" "),t("div",{staticClass:"b_grid__col--8"},e._l(s.categoriesLabelList,(function(s,a){return t("span",[0!==a?t("span",[e._v(" /")]):e._e(),e._v(" "+e._s(s)+"\n\t\t\t\t\t\t\t\t\t")])})),0)]),e._v(" "),t("h3",{staticClass:"b_teaser__headline"},[e._v(e._s(s.title))]),e._v(" "),t("div",{staticClass:"b_teaser__text"},[t("div",{domProps:{innerHTML:e._s(e.trimText(s.text))}})]),e._v(" "),t("a",{staticClass:"b_btn",attrs:{title:e.buttonReadMoreLabel}},[e._v(e._s(e.buttonReadMoreLabel))])])])])})),0)])})),e._v(" "),0===e.getActiveTeaserCount()?t("div",[t("filter-no-results",{attrs:{headline:e.filterNoResultsMsgHeadline,subline:e.filterNoResultsMsgSubline,"link-label":e.filterNoResultsMsgResetLabel,img:e.filterNoResultsMsgImg}})],1):e._e()],2),e._v(" "),e.getActiveTeaserCount()>e.teaserPerPageCount?t("pagination",{attrs:{"page-count":Math.ceil(e.getActiveTeaserCount()/e.teaserPerPageCount),"active-page":e.$data.currentPage}}):e._e()],1)};a._withStripped=!0;var r=s(55869),i=s.n(r),n=s(6567),l={props:{newsData:{type:Object,default(){return{}}},selectCategoriesValue:{type:String,default:""},selectRegionValue:{type:String,default:""},selectYearValue:{type:String,default:""},searchTerm:{type:String,default:""},teaserListMatchingSearch:{type:Array,default(){return[]}},filterNoResultsMsgHeadline:{type:String,default:""},filterNoResultsMsgSubline:{type:String,default:""},filterNoResultsMsgResetLabel:{type:String,default:""},filterNoResultsMsgImg:{type:String,default:""},pressReleasesLabel:{type:String,default:""},pressReleaseLabel:{type:String,default:""},buttonReadMoreLabel:{type:String,default:""}},data(){return{currentPage:this.$router.history.current.query.page?parseInt(this.$router.history.current.query.page,10):1,teaserPerPageCount:24,activeNewsTeaser:this.filterResults()}},watch:{selectCategoriesValue(){this.onFilterChange()},selectRegionValue(){this.onFilterChange()},selectYearValue(){this.onFilterChange()},teaserListMatchingSearch(){this.onFilterChange()}},created(){this.$on("paginationActivePageChanged",(function(e){this.$data.currentPage=e;const t=this.$el.offsetTop;B.header?B.header.done((e=>{e.disableToggleByScrolling(),window.scrollTo(0,t-(window.innerWidth<1024?40:80)),setTimeout((()=>{e.enableToggleByScrolling()}),100)})):window.scrollTo(0,t-(window.innerWidth<1024?40:80));const s=parseInt(e,10);n.Q.updateQueryParam(this.$router,"page",s,1===s)})),this.$on("resetFilter",(function(){this.$parent.$emit("resetFilter"),window.scrollTo(0,0)})),this.$router.afterEach(((e,t)=>{if(e.query.page!==t.query.page){const t=e.query.page?e.query.page:1;this.$data.currentPage=parseInt(t,10)}this.$nextTick((()=>{window.setTimeout((()=>{window.dispatchEvent(new Event("scroll"))}),1)}))}))},methods:{onFilterChange(){this.$data.activeNewsTeaser=this.filterResults(),this.$data.currentPage=1},filterResults(){const e=[];return i().each(this.$props.newsData.news,(t=>{!("all"===this.$props.selectCategoriesValue||i().intersection(this.$props.selectCategoriesValue.split(","),t.categories.split(",")).length>0)||(0!==this.$props.teaserListMatchingSearch.length||0!==this.$props.searchTerm.length)&&-1===i().indexOf(this.$props.teaserListMatchingSearch,t.originUid)||"all"!==this.$props.selectRegionValue&&this.$props.selectRegionValue!==t.region||"all"!==this.$props.selectYearValue&&this.$props.selectYearValue!==t.year||e.push(t)})),e},getActiveTeaserCount(){return this.$data.activeNewsTeaser.length},formatDate(e){const t=new Date(1e3*e),s=t.getDate(),a=t.getMonth()+1;return`${s<10?`0${s}`:s}.${a<10?`0${a}`:a}.${t.getFullYear().toString()}`},getTeaserForCurrentPage(){const e=this.$data.activeNewsTeaser.slice((this.$data.currentPage-1)*this.$data.teaserPerPageCount,(this.$data.currentPage-1)*this.$data.teaserPerPageCount+this.$data.teaserPerPageCount),t=i().groupBy(e,"year"),s=[];let a=0;return i().each(t,((e,t)=>
1{s[a]={year:t,teasers:e},a++})),s.reverse()},trimText(e){if(!e)return"";const t=e.replace(/(<([^>]+)>)/gi,"");if(t.length<200)return t;const s=t.slice(0,250);let a=t.slice(0,Math.min(s.length,s.lastIndexOf(" "))).trim();return"."!==a.slice(-1)&&","!==a.slice(-1)||(a=a.slice(0,-1)),`${a}...`}}},o=(0,s(14486).A)(l,a,[],!1,null,null,null).exports}}]);
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.