1class heroHeader404 { 2 constructor() { 3 this.init(); 4 this.animation = ""; 5 } 6 init() { 7 this.prepareAnimation(); 8 this.doAnimation(); 9 } 10 prepareAnimation() { 11 var textWrapper = document.querySelector('.hero-header-text-404'); 12 if (typeof textWrapper != 'undefined' && textWrapper != null) { 13 textWrapper.innerHTML = textWrapper.textContent.replace(/\S/g, "<span class='letter'>$&</span>"); 14 $('.hero-header-text-404').css("opacity", 1); 15 } 16 } 17 doAnimation() { 18 if (!$('.hero-header-text-404').hasClass('reveal')) { 19 const animation = anime({ 20 targets: '.hero-header-text-404 .letter', 21 opacity: [0, 1], 22 delay: (el, i) => 55 * (i + 1), 23 loop: false, 24 autoplay: false, 25 easing: "easeInOutQuad" 26 }); 27 animation.play(); 28 } 29 $('.hero-header-text-404').addClass('reveal'); 30 $('.background-gradient').addClass('reveal'); 31 } 32} 33new heroHeader404();
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.