1"use strict";(self.webpackChunkangular17project=self.webpackChunkangular17project||[]).push([[915],{8915:(v,d,e)=>{e.r(d),e.d(d,{OfflineModule:()=>I});var l=e(177),p=e(9729),t=e(4438),u=e(3154),P=e(3452),g=e(635),f=e(345),O=e(1713);function c(a,i){if(1&a&&(t.j41(0,"div",3),t.nrm(1,"img",4),t.j41(2,"p",5),t.EFF(3,"This academy is offline "),t.k0s()()),2&a){const A=t.XpG();t.R7$(),t.Y8G("src",A.companyProfile.applicationLogo,t.B4B)}}function o(a,i){1&a&&t.nrm(0,"app-poweredby")}const s=[{path:"",component:(()=>{var a;class i{constructor(r,n,h,B,y,L,U){this.domainManagerService=r,this.platformLocation=n,this.customBrandingService=h,this.titleService=B,this._document=y,this.request=L,this.platformId=U,this.showPoweredBy=!0,this.isPlatformServer=!1,this.isPlatformBrowser=!1,this.isPlatformServer=(0,l.Vy)(this.platformId),this.isPlatformServer&&(this.url=this.request.get("referer")||void 0),this.isPlatformBrowser=(0,l.UE)(this.platformId)}ngOnInit(){this.url||(this.url=this.platformLocation.hostname),this.whiteUrl={url:this.url},this.companyProfile={applicationLogo:"",customScriptBody:"",customScriptHead:"",description:"",domainId:0,faviconLogo:"",id:0,landingPageCustomScriptBody:"",landingPageCustomScriptHead:"",paymentPageCustomScriptBody:"",paymentPageCustomScriptHead:"",showCustomScriptCode:!1,showLandingPageScriptCode:!1,showPaymentPageScriptCode:!1,title:""};var r=this;this.isPlatformBrowser&&(this.favIcon=document.querySelector("#freshlmsFavicon"),this.domainManagerService.getPublicDomainUrlDetails(r.whiteUrl,function(n){null==n||0==n.status||n.status>=400||(r.domainUrlDetails=n,r.customBrandingService.getCompanyProfile(n.domainName,function(h){null==h||0==h.status||h.status>=400||(r.companyProfile=h,r.favIcon.href=r.companyProfile.faviconLogo)}))}))}openLogin(){window.open("https://"+this.domainUrlDetails.whiteLabelUrl+"/member/#/login","_blank")}static#t=a=()=>(this.\u0275fac=function(n){return new(n||i)(t.rXU(P.Z),t.rXU(l.Vw),t.rXU(g.m),t.rXU(f.hE),t.rXU(l.qQ),t.rXU(u.S,8),t.rXU(t.Agw))},this.\u0275cmp=t.VBU({type:i,selectors:[["app-offline"]],decls:3,vars:2,consts:[[1,"",2,"background-color","#f1f5f9!important","height","100vh"],["class","col-md-12 mx-auto text-center p-5 align-self-center",4,"ngIf"],[4,"ngIf"],[1,"col-md-12","mx-auto","text-center","p-5","align-self-center"],[1,"mt-5","checkout-banner-logo",3,"src"],[1,"col-md-7","mx-auto","my-5",2,"font-size","40px","line-height","69px","color","#000","font-weight","700"]],template:function(n,h){1&n&&(t.j41(0,"div",0),t.DNE(1,c,4,1,"div",1)(2,o,1,0,"app-poweredby",2),t.k0s()),2&n&&(t.R7$(),t.Y8G("ngIf",null!=h.domainUrlDetails),t.R7$(),t.Y8G("ngIf",h.showPoweredBy))},dependencies:[l.bT,O.B],styles:[".checkout-banner-logo[_ngcontent-%COMP%]{max-width:200px;max-height:100px!important;width:auto!important}"]}))}return a(),i})()}];let C=(()=>{var a;class i{static#t=a=()=>(this.\u0275fac=function(n){return new(n||i)},this.\u0275mod=t.$C({type:i}),this.\u0275inj=t.G2t({imports:[p.iI.forChild(s),p.iI]}))}return a(),i})();var E=e(9832);let I=(()=>{var a;class i{static#t=a=()=>(this.\u0275fac=function(n){return new(n||i)},this.\u0275mod=t.$C({type:i}),this.\u0275inj=t.G2t({imports:[l.MD,C,E.p]}))}return a(),i})()},635:(v,d,e)=>{e.d(d,{m:()=>P});var l=e(1626),p=e(7468),t=e(8784),u=e(4438);let P=(()=>{var g;class f{constructor(c){this.httpClient=c,this.PUBLIC_BASE_URL=t.R.SERVER_URL+"/public/custombranding",this.COMPANY_PROFILE_API=this.PUBLIC_BASE_URL+"/company-profile",this.THEME_API=this.PUBLIC_BASE_URL+"/theme",this.FOOTER_API=this.PUBLIC_BASE_URL+"/footer"}getThemeColorsData(c,o){let m=(new l.Lr).set("Access-Control-Allow-Origin","*").set("domain",c);this.httpClient.get(this.THEME_API,{headers:m}).subscribe({next:s=>{o(s)},error:s=>{o(s)}})}getCompanyProfile(c,o){let m=(new l.Lr).set("Access-Control-Allow-Origin","*").set("domain",c);this.httpClient.get(this.COMPANY_PROFILE_API,{headers:m}).subscribe({next:s=>{o(s)},error:s=>{o(s)}})}getFooterData(c,o){let m=(new l.Lr).set("Access-Control-Allow-Origin","*").set("domain",c);this.httpClient.get(this.FOOTER_API,{headers:m}).subscribe({next:s=>{o(s)},error:s=>{o(s)}})}getAllFooterData(c){let o=(new l.Lr).set("Access-Control-Allow-Origin","*").set("domain",c),m=this.httpClient.get(this.THEME_API,{headers:o}),s=this.httpClient.get(this.COMPANY_PROFILE_API,{headers:o}),C=this.httpClient.get(this.FOOTER_API,{headers:o});return(0,p.p)([m,s,C])}static#t=g=()=>(this.\u0275fac=function(o){return new(o||f)(u.KVO(l.Qq))},this.\u0275prov=u.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}))}return g(),f})()}}]);
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.