1"use strict";(self.webpackChunksethub_template=self.webpackChunksethub_template||[]).push([[8837],{8837:(M,d,a)=>{a.r(d),a.d(d,{Pageheader1Module:()=>s});var n=a(3546),h=a(6123),u=a(4978),l=a(1135);const f={text:n.TkZ},v={static:n.YVv};var e=a(4650),C=a(6895);function b(p,t){}class i{constructor(t,o){this.route=t,this.webPagesService=o,this.pageId=new l.X("page-undefined"),this.pageId$=this.pageId.asObservable()}ngOnInit(){this.routeSub=this.route.params.subscribe(()=>{this.loadComponents(this.route.snapshot.data.pageId,this.route.snapshot.data.appId,this.route.snapshot.paramMap.get("id"))})}ngOnDestroy(){this.routeSub?.unsubscribe()}loadComponents(t,o,c){const g=this.adHost.viewContainerRef;g.clear(),this.webPagesService.findOne(o,t,c).subscribe(m=>{this.pageId.next(m.dataSource?._id??"page-undefined");const r=g.createComponent(n.X_d);r.instance.areas=m.areas,r.instance.areaMapping=v,r.instance.compMapping=f,r.changeDetectorRef.detectChanges()})}}i.\u0275fac=function(t){return new(t||i)(e.Y36(h.gz),e.Y36(u.tB))},i.\u0275cmp=e.Xpm({type:i,selectors:[["app-pageheader1"]],viewQuery:function(t,o){if(1&t&&e.Gf(n.pr,7),2&t){let c;e.iGM(c=e.CRH())&&(o.adHost=c.first)}},decls:3,vars:4,consts:[["adHost",""]],template:function(t,o){1&t&&(e.TgZ(0,"div"),e.ALo(1,"async"),e.YNc(2,b,0,0,"ng-template",0),e.qZA()),2&t&&e.Tol(e.lcZ(1,2,o.pageId$))},dependencies:[n.pr,C.Ov],encapsulation:2,changeDetection:0});class s{}s.\u0275fac=function(t){return new(t||s)},s.\u0275mod=e.oAB({type:s}),s.\u0275inj=e.cJS({imports:[u.m8,h.Bz.forChild([{path:"",component:i}]),n.Nu1,n.YsK]})}}]);
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.