PageSourceSearch

https://shcach.org/linked_assets/_global/js/hero_gradient.js?v=1

js shcach.org collected 2026-09-25 11:50:59 UTC 872 bytes, 23 lines download raw bytes

1setTimeout(function() {
2  // Select all elements with the class 'hero_gradient'
3  var heroGradients = document.querySelectorAll('.hero_gradient');
4
5  heroGradients.forEach(function(heroGradient) {
6    // Create a new div element
7    var newDiv = document.createElement('div');
8    
9    // Add the class 'hero_gradient_container' to the new div
10    newDiv.className = 'hero_gradient_container';
11    
12    // Check if there is a <video> element inside heroGradient
13    var videoElement = heroGradient.querySelector('video');
14    
15    if (videoElement) {
16      // If a video element is found, insert the new div after it
17      videoElement.parentNode.insertBefore(newDiv, videoElement.nextSibling);
18    } else {
19      // If no video element is found, insert the new div as the first child
20      heroGradient.insertBefore(newDiv, heroGradient.firstChild);
21    }
22  });
23}, 1000);

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.