1(function($) { 2 $(document).ready(function() { 3 window.Shout.initializeSlider = function(selector, configuration) { 4 var element = $(selector); 5 6 if (!element.length) 7 { 8 return; 9 } 10 11 if (!element.is(':visible')) 12 { 13 function onIntersection(entities) { 14 entities.forEach(entity => { 15 if (entity.isIntersecting) { 16 observer.unobserve(entity.target); 17 18 $(entity.target).slick(configuration); 19 } 20 }); 21 } 22 23 var observer = new IntersectionObserver(onIntersection, {}); 24 25 setTimeout(function() { 26 observer.observe(element.get(0)); 27 }, 100); 28 } 29 else 30 { 31 element.slick(configuration); 32 } 33 }; 34 }); 35})(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.