1(window.webpackJsonp=window.webpackJsonp||[]).push([[93],{187:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s,a=i(66),n=i(142),o=(s=n)&&s.__esModule?s:{default:s};var h=function(){function t(e){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.html=e,this.mainContent=(0,a.qs)(".main-content"),this.pageType=this.mainContent.dataset.pageType,this.pageTypeLower=this.pageType?this.pageType.toLowerCase():"",this.mainNav=(0,a.qs)(".mainNav"),this.skipContentBtn=(0,a.qs)(".button-skipContent"),this.close=(0,a.qs)(".alert--close",this.html),this.nameCookie="exxon-alert",this.dataCookie="true",this.calculateSpaces(),window.addEventListener("load",(function(){i.calculateSpaces()})),(0,a.$on)(window,"resize",this.calculateSpaces.bind(this)),(0,a.$on)(this.close,"click",this.resetItems.bind(this))}return t.prototype.calculateSpaces=function(){(0,a.getDataCookie)(this.nameCookie).data!==this.dataCookie&&((0,a.addClass)(this.html,"visible"),this.mainContent.style.marginTop="home"===this.pageTypeLower?this.html.offsetHeight-1+"px":0,this.mainNav&&(this.mainNav.style.marginTop=this.html.offsetHeight-1+"px"),this.skipContentBtn&&(this.skipContentBtn.style.marginTop=this.html.offsetHeight-1+"px"))},t.prototype.resetItems=function(){var t=(0,a.qs)(".searchBar--wrapper");this.mainContent.removeAttribute("style"),this.mainNav&&(this.mainNav.removeAttribute("style"),t.style.top=this.mainNav.offsetHeight-1+"px"),this.skipContentBtn&&this.skipContentBtn.removeAttribute("style"),(0,a.removeClass)(this.html,"visible"),((0,o.default)(["C0003"])||void 0===window.OptanonActiveGroups)&&(0,a.saveCookie)(this.nameCookie,this.dataCookie)},t}();e.default=h}}]);
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.