1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6119],{6119:(R,g,n)=>{n.r(g),n.d(g,{IframePageModule:()=>U});var l=n(177),m=n(9417),h=n(4742),c=n(8121),v=n(1413),f=n(6977),u=n(8141),p=n(7507),t=n(4438),S=n(1626),d=n(345),T=n(9667),I=n(9381),y=n(1765);function $(r,x){if(1&r&&t.nrm(0,"iframe",3),2&r){const i=t.XpG();t.xc7("height",i.getIframeHeight()),t.Y8G("src",i.urlSanitize,t.f$h)}}const W=[{path:"",component:(()=>{class r{http;tenantService;route;sanitizer;scrollEventsService;metaTagService;content;destroy$=new v.B;iframe$;urlSanitize;language;tenant;heights={mobile:0,tablet:0,desktop:0};innerWidth;onResize(i){this.innerWidth=i.target.innerWidth}constructor(i,e,s,a,o,b){this.http=i,this.tenantService=e,this.route=s,this.sanitizer=a,this.scrollEventsService=o,this.metaTagService=b,this.language=this.tenantService.getLanguage(),this.tenant=this.tenantService.getTenantFromUrl()}ngOnInit(){this.innerWidth=window.innerWidth}ionViewWillEnter(){this.route.params.subscribe(i=>{i.slugPreview?this.iframe$=this.http.get(`/iframe/${i.slugPreview}/preview?language=${this.language}`).pipe((0,f.Q)(this.destroy$),(0,u.M)(e=>{this.heights=e.heights,this.urlSanitize=this.sanitizer.bypassSecurityTrustResourceUrl(e.data[this.language].url),e.indexable||this.metaTagService.addTag({name:"robots",content:"noindex"})})):i.slug&&(this.iframe$=this.http.get(`/iframe/${i.slug}?language=${this.language}`).pipe((0,f.Q)(this.destroy$),(0,u.M)(e=>{this.heights=e.heights,this.urlSanitize=this.sanitizer.bypassSecurityTrustResourceUrl(e.data[this.language].url),e.indexable||this.metaTagService.addTag({name:"robots",content:"noindex"})})))})}ionViewWillLeave(){this.destroy$.next(),this.metaTagService.removeTag("name='robots'")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}getIframeHeight(){return this.innerWidth<=768?this.heights.mobile+"px":this.innerWidth>769&&this.innerWidth<991?this.heights.tablet+"px":this.innerWidth>=992?this.heights.desktop+"px":"100%"}scrollTop(){this.scrollEventsService.scrollTop(this.content)}scrollHeader(i){this.scrollEventsService.scrollHeader(i,this.content)}static \u0275fac=function(e){return new(e||r)(t.rXU(S.Qq),t.rXU(p.K),t.rXU(c.nX),t.rXU(d.up),t.rXU(T.W),t.rXU(d.W8))};static \u0275cmp=t.VBU({type:r,selectors:[["app-landing"]],viewQuery:function(e,s){if(1&e&&t.GBs(h.W9,7),2&e){let a;t.mGM(a=t.lsd())&&(s.content=a.first)}},hostBindings:function(e,s){1&e&&t.bIt("resize",function(o){return s.onResize(o)},!1,t.tSv)},decls:6,vars:6,consts:[["scroll-events","true",3,"ionScroll"],["width","100%","frameborder","0",3,"height","src",4,"ngIf"],[3,"scrollToTop","iframeURL"],["width","100%","frameborder","0",3,"src"]],template:function(e,s){1&e&&(t.qex(0),t.j41(1,"ion-content",0),t.bIt("ionScroll",function(o){return s.scrollHeader(o)}),t.nrm(2,"app-header"),t.DNE(3,$,1,3,"iframe",1),t.nI1(4,"async"),t.j41(5,"app-footer",2),t.bIt("scrollToTop",function(){return s.scrollTop()}),t.k0s()(),t.bVm()),2&e&&(t.R7$(2),t.AVh("scrolling",!0===s.scrollEventsService.headerVisible),t.R7$(),t.Y8G("ngIf",t.bMT(4,4,s.iframe$)),t.R7$(2),t.Y8G("iframeURL",s.urlSanitize))},dependencies:[l.bT,h.W9,I.l,y.n,l.Jj]})}return r})()}];let P=(()=>{class r{static \u0275fac=function(e){return new(e||r)};static \u0275mod=t.$C({type:r});static \u0275inj=t.G2t({imports:[c.iI.forChild(W),c.iI]})}return r})();var z=n(3887);let U=(()=>{class r{static \u0275fac=function(e){return new(e||r)};static \u0275mod=t.$C({type:r});static \u0275inj=t.G2t({imports:[l.MD,m.YN,h.bv,P,z.G]})}return r})()}}]);
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.