1"use strict"; 2 3(function ($) { 4 'use strict'; 5 6 document.addEventListener('DOMContentLoaded', () => { 7 const observer = new IntersectionObserver( 8 (entries) => { 9 entries.forEach(entry => { 10 if (entry.isIntersecting) { 11 entry.target.classList.add('ms-active-animation'); // Resume animation 12 entry.target.classList.remove('ms-scroll-animation'); 13 14 } 15 }); 16 }, 17 { threshold: 0.1 } // Adjust visibility threshold as needed 18 ); 19 20 21 document.querySelectorAll('body:not(.editor-styles-wrapper):not(.block-editor-page):not(.disable-ms-animations):not(.elementor-editor-active) .ms-scroll-animation > *').forEach(el => { 22 observer.observe(el); 23 }); 24 25 document.querySelectorAll('body:not(.editor-styles-wrapper):not(.block-editor-page):not(.disable-ms-animations):not(.elementor-editor-active):not(.elementor-editor-active) .ms-scroll-animation').forEach(el => { 26 observer.observe(el); 27 }); 28 29 }); 30 31} 32 33)(jQuery);
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.