{"version":3,"file":"863.00a4941241105171.js","mappings":"2OAsCO,IAAMA,EAAyB,MAAhC,MAAOA,UAAiCC,IAAQC,SAAAC,KAAA,4DAAzCH,KAAwBI,GAAxBJ,EAAwB,GAAiB,GAAjBE,SAAAC,KAAA,UAAAE,EAAAC,IAAA,MAAxBN,EAAwBO,UAAA,2BAAAC,YAAA,EAAAC,SAAA,CAAAC,aAAAC,MAAA,EAAAC,KAAA,EAAAC,OAAA,aAAAC,SAAA,SAAAC,EAAAC,GAAA,EAAAD,GCjCrCL,MAAA,sCAC0BA,MAAA,aAAAM,EAAAC,KAAA,KAAAD,EAAAC,KAAAC,iFDsBlBC,KACAC,IACAC,oBACAC,IAAUC,IACVC,IAEAC,KAAeC,OAAA,+xEAAAC,gBAAA,WAIV3B,CAAyB,iFE1B/B,IAAMC,EAAQ,MAAf,MAAOA,EAGT2B,YACcC,GAAA1B,KAAA0B,SAEV1B,KAAK2B,cAAgB,GACrB3B,KAAKc,KAAOd,KAAK0B,QAAQE,UAAUC,MAAMC,SAAShB,KAClDd,KAAK2B,cAAcI,KAAK/B,KAAK0B,OAAOG,KAAKG,QAAKC,KAAK,IAAIC,UAAUL,IAC7D7B,KAAKc,KAAOe,GAAMC,SAAShB,KAC3Bd,KAAKmC,UAAQ,GAErB,CACAA,WAAY,CACZC,cACIpC,KAAK2B,cAAcU,QAAQC,IACf,MAALA,IAAcA,EAAEC,QACnBD,EAAEE,aAAW,EAErB,CAACzC,SAAAC,KAAA,mBAAAC,iBAnBQH,GAAQS,MAAAa,MAAA,EAAArB,SAAAC,KAAA,UAAAyC,EAAAtC,IAAA,MAARL,EAAQM,UAAA,gBAAAC,YAAA,EAAAC,SAAA,CAAAC,OAAAC,MAAA,EAAAC,KAAA,EAAAE,SAAA,SAAAC,EAAAC,GAAA,EAAA6B,aAAA,CAJP1B,MAAY2B,cAAA,WAIb7C,CAAQ","names":["ArticleOverviewComponent","PageBase","static","this","__ngFactoryType__","_angular_core__WEBPACK_IMPORTED_MODULE_6__","VBU","selectors","standalone","features","i0","decls","vars","consts","template","rf","ctx","page","layout","CommonModule","NavigationModule","BreadcrumbsModule","GridModule","i1","MediaModule","TranslateModule","styles","changeDetection","constructor","_route","subscriptions","snapshot","data","content","push","pipe","skip","subscribe","ngOnInit","ngOnDestroy","forEach","s","closed","unsubscribe","_angular_core__WEBPACK_IMPORTED_MODULE_1__","dependencies","encapsulation"],"ignoreList":[],"sourceRoot":"webpack:///","sources":["./src/app/article/article-overview/article-overview.component.ts","./src/app/article/article-overview/article-overview.component.html","./src/core-lib/navigation/base-page.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { PageBase } from 'src/core-lib/navigation/base-page';\nimport { ComponentPage } from 'src/core-lib/navigation/models/component-page.model';\nimport { Page } from 'src/core-lib/navigation/models/page.interface';\nimport { NavigationModule } from 'src/core-lib/navigation/navigation.module';\nimport { BreadcrumbsModule } from 'src/layout/breadcrumbs/breadcrumbs.module';\nimport { GridModule } from 'src/layout/grid/grid.module';\nimport { UmbracoGrid } from 'src/layout/grid/models/umbraco-grid.type';\nimport { MediaModule } from 'src/layout/media/media.module';\nimport { ArticlePage } from '../article-page/article-page.component';\n\n\n\nexport interface ArticleOverviewPage extends Page {\n layoutLabel?: string;\n layout?: UmbracoGrid;\n prelayout?: UmbracoGrid;\n articles: Array\n}\n\n@Component({\n selector: 'app-article-overview',\n templateUrl: './article-overview.component.html',\n styleUrls: ['./article-overview.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n NavigationModule,\n BreadcrumbsModule,\n GridModule,\n MediaModule,\n NavigationModule,\n TranslateModule,\n ],\n standalone: true,\n})\nexport class ArticleOverviewComponent extends PageBase {\n page: ArticleOverviewPage;\n}\n","\n\n\n\n\n\n","import { CommonModule } from '@angular/common';\nimport { Component, OnDestroy, OnInit } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\nimport { skip, Subscription } from 'rxjs';\nimport { Page } from './models/page.interface';\n\n@Component({\n standalone: true,\n imports: [CommonModule],\n selector: 'page-base',\n template: ''\n})\nexport class PageBase implements OnDestroy, OnInit {\n page: Page;\n protected subscriptions:Array\n constructor(\n protected _route: ActivatedRoute,\n ) {\n this.subscriptions = [];\n this.page = this._route?.snapshot?.data?.content?.page;\n this.subscriptions.push(this._route.data.pipe(skip(1)).subscribe(data => {\n this.page = data?.content?.page;\n this.ngOnInit();\n }))\n }\n ngOnInit() {}\n ngOnDestroy(): void {\n this.subscriptions.forEach(s => {\n if(s != null && !s.closed)\n s.unsubscribe();\n })\n }\n}\n"],"x_google_ignoreList":[]}