{"version":3,"file":"185.b3467f6e828a03ff.js","mappings":"8LAeO,IAAMA,EAAkB,MAAzB,MAAOA,UAA0BC,uBAAoBC,SAAAC,KAAA,4DAA9CH,KAAiBI,GAAjBJ,EAAiB,GAA6B,GAA7BE,SAAAC,KAAA,UAAAE,EAAAC,IAAA,MAAjBN,EAAiBO,UAAA,oBAAAC,YAAA,EAAAC,SAAA,CAAAC,aAAAC,MAAA,EAAAC,KAAA,EAAAC,OAAA,aAAAC,SAAA,SAAAC,EAAAC,GAAA,EAAAD,GCf9BL,MAAA,qCAA0BA,MAAA,aAAAM,EAAAC,KAAA,KAAAD,EAAAC,KAAAC,uBDSlBC,KACAC,IAAiBC,KAAAC,OAAA,m9CAKZtB,CAAkB,iFEHxB,IAAMuB,EAAQ,MAAf,MAAOA,EAGTC,YACcC,GAAAtB,KAAAsB,SAEVtB,KAAKuB,cAAgB,GACrBvB,KAAKc,KAAOd,KAAKsB,QAAQE,UAAUC,MAAMC,SAASZ,KAClDd,KAAKuB,cAAcI,KAAK3B,KAAKsB,OAAOG,KAAKG,QAAKC,KAAK,IAAIC,UAAUL,IAC7DzB,KAAKc,KAAOW,GAAMC,SAASZ,KAC3Bd,KAAK+B,UAAQ,GAErB,CACAA,WAAY,CACZC,cACIhC,KAAKuB,cAAcU,QAAQC,IACf,MAALA,IAAcA,EAAEC,QACnBD,EAAEE,aAAW,EAErB,CAACrC,SAAAC,KAAA,mBAAAC,iBAnBQmB,GAAQb,MAAAW,MAAA,EAAAnB,SAAAC,KAAA,UAAAqC,EAAAlC,IAAA,MAARiB,EAAQhB,UAAA,gBAAAC,YAAA,EAAAC,SAAA,CAAAC,OAAAC,MAAA,EAAAC,KAAA,EAAAE,SAAA,SAAAC,EAAAC,GAAA,EAAAyB,aAAA,CAJPtB,MAAYuB,cAAA,WAIbnB,CAAQ","names":["HomePageComponent","ContentPageComponent","static","this","__ngFactoryType__","_angular_core__WEBPACK_IMPORTED_MODULE_3__","VBU","selectors","standalone","features","i0","decls","vars","consts","template","rf","ctx","page","layout","CommonModule","ContentPageModule","i1","styles","PageBase","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/content-page/home-page.component.ts","./src/app/content-page/home-page.component.html","./src/core-lib/navigation/base-page.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { Component } from '@angular/core';\nimport { ContentPageComponent } from './content-page.component';\nimport { ContentPageModule } from './content-page.module';\n\n@Component({\n selector: 'app-home-page',\n standalone: true,\n imports: [\n CommonModule,\n ContentPageModule,\n ],\n templateUrl: './home-page.component.html',\n styleUrls: ['./content-page.component.scss']\n})\nexport class HomePageComponent extends ContentPageComponent {}\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":[]}