1"use strict";(self.webpackChunkrecipient_portal=self.webpackChunkrecipient_portal||[]).push([[12374],{12374:(p,i,t)=>{t.r(i),t.d(i,{HeaderComponent:()=>C});var c=t(70262),_=t(9344),d=t(44317),e=t(54438),h=t(12766),l=t(60177),m=t(85013),g=t(53354),f=t(46941);function E(r,s){if(1&r&&e.nrm(0,"rp-header-menu",5),2&r){const n=e.XpG(2);e.Y8G("extraDynamicMenuItems",n.extraHeaderLinks)}}function b(r,s){if(1&r&&(e.j41(0,"accredible-base-header")(1,"div",1),e.nrm(2,"img",2),e.k0s(),e.j41(3,"div",3),e.DNE(4,E,1,1,"rp-header-menu",4),e.k0s()()),2&r){const n=s.$implicit,a=e.XpG();e.R7$(2),e.Y8G("alt",n("issuer_logo")),e.R7$(2),e.Y8G("ngIf",a.extraLinksLoaded)}}const o="themeHeaderConfig";let C=(()=>{class r{constructor(n,a){this._browserStorage=n,this._themeGeneratorService=a,this.extraLinksLoaded=!1,this._themeName=d.a.getTheme()}ngOnInit(){c.c.theming?(this._themeHeaderConfig=this._browserStorage.get(o)?JSON.parse(this._browserStorage.get(o)):null,this._themeHeaderConfig&&(this.extraHeaderLinks=this._themeGeneratorService.createCustomHeaderLinks(this._themeHeaderConfig.customHeaderLinks)),this.extraLinksLoaded=!0):this._themeGeneratorService.getThemeHeaderLinks(this._themeName).subscribe({next:n=>{this.extraHeaderLinks=this._themeGeneratorService.createCustomHeaderLinks(n.customHeaderLinks),this.extraLinksLoaded=!0},error:n=>{console.error(n),this.extraLinksLoaded=!0}})}static{this.\u0275fac=function(a){return new(a||r)(e.rXU(h.x),e.rXU(_.e))}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["ng-component"]],decls:1,vars:2,consts:[[4,"transloco","translocoLang","translocoPrefix"],["identitySection","",1,"header-logo-container"],["src","/assets/themes/certificates.wsetglobal.com/images/header_logo.png",1,"branding-logo",3,"alt"],["navigationSection",""],[3,"extraDynamicMenuItems",4,"ngIf"],[3,"extraDynamicMenuItems"]],template:function(a,M){1&a&&e.DNE(0,b,5,2,"accredible-base-header",0),2&a&&e.Y8G("translocoLang","en|static")("translocoPrefix","certificates_wsetglobal_com.header")},dependencies:[l.bT,m.g,g.i,f.bA],styles:["[identitySection][_ngcontent-%COMP%]{display:flex;align-items:center;flex-shrink:0;height:var(--theme-header-height)}[identitySection][_ngcontent-%COMP%] .branding-logo[_ngcontent-%COMP%]{max-width:140px;max-height:calc(100% - var(--theme-slight-margin));object-fit:contain}[identitySection][_ngcontent-%COMP%] .default-logo[_ngcontent-%COMP%]{display:flex}[identitySection][_ngcontent-%COMP%] .default-logo[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{height:38px} body[dir=ltr] accredible-base-header [identitySection] .branding-logo{object-position:left center} body[dir=rtl] accredible-base-header [identitySection] .branding-logo{object-position:right center}"]})}}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.