1/* ========================================================= 2 XAP TEAM 3========================================================= */ 4 5(function () { 6 var section = document.querySelector('.xap-team'); 7 if (!section) return; 8 9 var cards = section.querySelectorAll('.xap-team__card'); 10 if (!cards.length) return; 11 12 var revealCards = function () { 13 cards.forEach(function (card, index) { 14 setTimeout(function () { 15 card.classList.add('is-visible'); 16 }, index * 140); 17 }); 18 }; 19 20 if ('IntersectionObserver' in window) { 21 var observer = new IntersectionObserver(function (entries) { 22 entries.forEach(function (entry) { 23 if (entry.isIntersecting) { 24 revealCards(); 25 observer.unobserve(entry.target); 26 } 27 }); 28 }, { 29 threshold: 0.18 30 }); 31 32 observer.observe(section); 33 } else { 34 revealCards(); 35 } 36})();
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.