1"use strict";(self.webpackChunkrecipient_portal=self.webpackChunkrecipient_portal||[]).push([[13187],{13187:(v,a,o)=>{o.r(a),o.d(a,{HeaderComponent:()=>f});var _=o(70262),l=o(12766),h=o(87515),m=o(9344),s=o(6631),e=o(54438),g=o(44317),p=o(85013),b=o(53354),u=o(46941);function C(i,r){if(1&i&&(e.j41(0,"a",5),e.EFF(1),e.k0s(),e.nrm(2,"rp-header-menu",4)),2&i){const t=e.XpG().$implicit,n=e.XpG();e.R7$(),e.SpI(" ",t("cloud_onair_button")," "),e.R7$(),e.Y8G("extraDynamicMenuItems",n.extraHeaderLinks)}}function L(i,r){if(1&i&&e.nrm(0,"rp-header-menu",4),2&i){const t=e.XpG(2);e.Y8G("extraDynamicMenuItems",t.mobileHeaderLinks)}}function x(i,r){if(1&i&&(e.j41(0,"accredible-base-header")(1,"div",1),e.nrm(2,"img",2),e.k0s(),e.j41(3,"div",3),e.DNE(4,C,3,2)(5,L,1,1,"rp-header-menu",4),e.k0s()()),2&i){const t=r.$implicit,n=e.XpG();e.R7$(2),e.Y8G("alt",t("issuer_logo")),e.R7$(2),e.vxM(n.extraLinksLoaded&&n.desktopVersion?4:n.extraLinksLoaded&&!n.desktopVersion?5:-1)}}const c="themeHeaderConfig";let f=(()=>{class i{constructor(){this._browserStorage=(0,e.WQX)(l.x),this._themeGeneratorService=(0,e.WQX)(m.e),this._language=(0,e.WQX)(h.UG),this._themeName=g.a.getTheme(),this.mobileHeaderLinks=[],this.extraLinksLoaded=!1,this._cloudOnAirLink={link:"https://cloudonair.withgoogle.com/",label:this._language.translate("googlecloudapac_accredible_com.header.cloud_onair_button")}}onResize(){this._detectDesktopVersion()}ngOnInit(){if(this._detectDesktopVersion(),_.c.theming){if(this._themeHeaderConfig=this._browserStorage.get(c)?JSON.parse(this._browserStorage.get(c)):null,this._themeHeaderConfig){this.extraHeaderLinks=this._themeGeneratorService.createCustomHeaderLinks(this._themeHeaderConfig.customHeaderLinks);const t=[this._cloudOnAirLink,...this._themeHeaderConfig.customHeaderLinks];this.mobileHeaderLinks=this._themeGeneratorService.createCustomHeaderLinks(t)}else this.mobileHeaderLinks=this._themeGeneratorService.createCustomHeaderLinks([this._cloudOnAirLink]);this.extraLinksLoaded=!0}else this._themeGeneratorService.getThemeHeaderLinks(this._themeName).subscribe({next:t=>{this.extraHeaderLinks=this._themeGeneratorService.createCustomHeaderLinks(t.customHeaderLinks);const n=[this._cloudOnAirLink,...t.customHeaderLinks];this.mobileHeaderLinks=this._themeGeneratorService.createCustomHeaderLinks(n),this.extraLinksLoaded=!0},error:t=>{console.error(t),this.mobileHeaderLinks=this._themeGeneratorService.createCustomHeaderLinks([this._cloudOnAirLink]),this.extraLinksLoaded=!0}})}_detectDesktopVersion(){this.desktopVersion=s.L.isScreenGreaterThan(s._.LG)}static{this.\u0275fac=function(n){return new(n||i)}}static{this.\u0275cmp=e.VBU({type:i,selectors:[["ng-component"]],hostBindings:function(n,d){1&n&&e.bIt("resize",function(){return d.onResize()},!1,e.tSv)},decls:1,vars:2,consts:[[4,"transloco","translocoLang","translocoPrefix"],["identitySection","",1,"header-logo-container"],["src","/assets/themes/googlecloudapac.accredible.com/images/header_logo.svg",1,"branding-logo",3,"alt"],["navigationSection",""],[3,"extraDynamicMenuItems"],["href","https://cloudonair.withgoogle.com/","target","_blank",1,"btn-cloud-onair"]],template:function(n,d){1&n&&e.DNE(0,x,6,2,"accredible-base-header",0),2&n&&e.Y8G("translocoLang","en|static")("translocoPrefix","googlecloudapac_accredible_com.header")},dependencies:[p.g,b.i,u.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:160px;max-height:calc(100% - var(--theme-slight-margin));object-fit:contain}@media (min-width: 360px){[identitySection][_ngcontent-%COMP%] .branding-logo[_ngcontent-%COMP%]{max-width:calc(100vw - var(--theme-default-margin) * 2 - 154px)}}@media (min-width: 992px){[identitySection][_ngcontent-%COMP%] .branding-logo[_ngcontent-%COMP%]{max-width:806px}}@media (min-width: 1260px){[identitySection][_ngcontent-%COMP%] .branding-logo[_ngcontent-%COMP%]{max-width:1074px}}@media (min-width: 1440px){[identitySection][_ngcontent-%COMP%] .branding-logo[_ngcontent-%COMP%]{max-width:1146px}}[identitySection][_ngcontent-%COMP%] .default-logo[_ngcontent-%COMP%]{display:flex}[identitySection][_ngcontent-%COMP%] .default-logo[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{height:38px}[navigationSection][_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}
1[navigationSection][_ngcontent-%COMP%] .btn-cloud-onair[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:8px 16px;font-size:14px;font-weight:500;line-height:1.25;white-space:nowrap;text-decoration:none;color:#1a73e8;border:1px solid #1a73e8;border-radius:4px;cursor:pointer}[navigationSection][_ngcontent-%COMP%] rp-header-menu[_ngcontent-%COMP%]{width:unset;margin-left:var(--theme-slight-margin)} body[dir=ltr] accredible-base-header [identitySection] .branding-logo{object-position:left center} body[dir=ltr] accredible-base-header [navigationSection] .btn-cloud-onair{margin-left:var(--theme-slight-margin)} body[dir=rtl] accredible-base-header [identitySection] .branding-logo{object-position:right center} body[dir=rtl] accredible-base-header [navigationSection] .btn-cloud-onair{margin-right:var(--theme-slight-margin)}"]})}}return i})()}}]);
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.