1var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.createTemplateTagFirstArg=function(b){return b.raw=b};$jscomp.createTemplateTagFirstArgWithRaw=function(b,d){b.raw=d;return b};$jscomp.arrayIteratorImpl=function(b){var d=0;return function(){return d<b.length?{done:!1,value:b[d++]}:{done:!0}}};$jscomp.arrayIterator=function(b){return{next:$jscomp.arrayIteratorImpl(b)}};$jscomp.makeIterator=function(b){var d="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];return d?d.call(b):$jscomp.arrayIterator(b)}; 2$jscomp.arrayFromIterator=function(b){for(var d,f=[];!(d=b.next()).done;)f.push(d.value);return f};$jscomp.arrayFromIterable=function(b){return b instanceof Array?b:$jscomp.arrayFromIterator($jscomp.makeIterator(b))};var $jscomp$compprop0={}; 3(self.heliuxModules=self.heliuxModules||[]).push([[14],($jscomp$compprop0[44208]=function(b,d,f){function m(){try{var g=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(l){}return(m=function(){return!!g})()}var p=f(23029),q=f(49530),r=f(50388),n=f(53954),t=f(85501),e=(f(74423),f(31526)),u={selectors:{heliuxHeader:"heliux-header",headerBase:".header__base",carousel:'.carousel section[data-components\x3d"Carousel"]',carouselSlides:".carousel__slider \x3e *",dynamicVariationElements:".header__base;.header__logo;.header__navigation;.header__ctas;.header__controls;.header__metaNav;heliux-stageheader .carousel__arrow".split(";"), 4skipBgTransparentClassElements:[".header__base"]},elements:{stage:"heliux-stage"},publishes:{carouselPause:function(g){return"carousel:"+g+":pause"},carouselPlay:function(g){return"carousel:"+g+":play"}},subscribes:{carouselSlideChanged:function(g){return"carousel:"+g+":slideChanged"},headerMenuExpanded:"header:menu:expanded",headerMenuCollapsed:"header:menu:collapsed",headerSticky:"header:sticky",headerNotSticky:"header:notSticky",headerNotAtTop:"header:sticky:notAtTop",headerAtTop:"header:sticky:atTop"}, 5variants:["default","primary","secondary"],defaultVariant:"default",modifiers:{stickyHeader:"header__base--isSticky",stickyHeaderAtTop:"header__base--isStickyAtTop",bgTransparent:"bg-transparent"}};b=function(g){function l(){(0,p.A)(this,l);var a=l,c=arguments;return a=(0,n.A)(a),(0,r.A)(this,m()?Reflect.construct(a,c||[],(0,n.A)(this).constructor):a.apply(this,c))}return(0,t.A)(l,g),(0,q.A)(l,[{key:"init",value:function(){this.config=Object.assign({},u,this.config);this.getElements();this.dynamicVariationElements= 6document.querySelectorAll(this.config.selectors.dynamicVariationElements);this.skipBgTransparentClassElements=document.querySelectorAll(this.config.selectors.skipBgTransparentClassElements);this.setHeaderAtTop();this.checkAndSetColorVariant(!0);this.setListeners()}},{key:"setListeners",value:function(){var a=this,c=this.config,h=c.publishes;c=c.subscribes;this.carousel&&(0,e.B1)(c.carouselSlideChanged(this.carousel.id),function(k){a.currentSlideIndex=k;a.isHeaderSticky||a.checkAndSetColorVariant()}); 7(0,e.B1)(c.headerMenuExpanded,function(){(0,e.publish)(h.carouselPause(a.carousel.id));a.setColorVariant(a.headerColorVariant)});(0,e.B1)(c.headerMenuCollapsed,function(){(0,e.publish)(h.carouselPlay(a.carousel.id));a.checkAndSetColorVariant()});(0,e.B1)(c.headerSticky,function(){a.isHeaderSticky=!0;a.setColorVariant(a.headerColorVariant)});(0,e.B1)(c.headerNotSticky,function(){a.isHeaderSticky=!1;a.checkAndSetColorVariant()});(0,e.B1)(c.headerNotAtTop,function(){a.headerAtTop=!1;a.isHeaderSticky|| 8a.setColorVariant(a.headerColorVariant)});(0,e.B1)(c.headerAtTop,function(){a.headerAtTop=!0;a.isHeaderSticky||a.checkAndSetColorVariant()})}},{key:"setHeaderAtTop",value:function(){var a=document.querySelector(this.config.selectors.headerBase);if(a){var c=[].concat($jscomp.arrayFromIterable(a.classList)).includes(this.config.modifiers.stickyHeader);a=[].concat($jscomp.arrayFromIterable(a.classList)).includes(this.config.modifiers.stickyHeaderAtTop);this.headerAtTop=!c||c&&a}}},{key:"colorVariants", 9get:function(){return this.config.variants}},{key:"defaultColorVariant",get:function(){return this.config.defaultVariant}},{key:"headerColorVariant",get:function(){var a=this;return[].concat($jscomp.arrayFromIterable(document.querySelector(this.config.selectors.heliuxHeader).
9classList)).filter(function(c){return a.colorVariants.includes(c)})[0]||this.defaultColorVariant}},{key:"firstStage",get:function(){return this.el.querySelector(this.config.elements.stage)}},{key:"currentSlide",get:function(){return this.carouselSlides? 10this.carouselSlides[this.currentSlideIndex||0]:null}},{key:"setColorVariant",value:function(a){var c=this,h=a||this.defaultColorVariant;this.dynamicVariationElements.forEach(function(k){[].concat($jscomp.arrayFromIterable(k.classList)).includes(h)||(c.colorVariants.forEach(function(v){return k.classList.remove(v)}),[].concat($jscomp.arrayFromIterable(c.skipBgTransparentClassElements)).includes(k)?k.classList.add(h):k.classList.add(h,c.config.modifiers.bgTransparent))})}},{key:"checkAndSetColorVariant", 11value:function(a){var c=this;if(a=a||!this.carousel?this.firstStage:this.currentSlide)a=[].concat($jscomp.arrayFromIterable(a.classList)).filter(function(h){return c.colorVariants.includes(h)})[0],this.isHeaderSticky||this.setColorVariant(a)}}])}(e.xu);(0,e.kz)({StageHeader:b},0)},$jscomp$compprop0),function(b){b.O(0,[750],function(){return b(44208)});b.O()}]);
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.