1;(function($){ 2 3 var $win = $(window); 4 5$win.on('lm:middle.lm-component-209', function(event, lm){ 6 7lm.item.find('.lm-component-209').each(function(){ 8 9var $component = $(this); 10 11/* 12 * $component 13 * component element 14 * 15 * lm 16 * global lemons object 17 */ 18 19var $scrollMore = $component.find(".scroll-more"); 20var $hero = $component.find(".banner"); 21 22$(window).on("scroll", function() { 23 var heroBottom = $hero.offset().top + $hero.outerHeight(); 24 var windowBottom = $(window).scrollTop() + $(window).height(); 25 26 if (windowBottom < heroBottom) { 27 $scrollMore.css({ 28 position: "fixed" 29 }); 30 } else { 31 $scrollMore.css({ 32 position: "absolute" 33 }); 34 } 35}); 36 37$scrollMore.on("click", function() { 38 39 window.scrollBy({ 40 top: $(window).outerHeight(), 41 behavior: "smooth" 42 }); 43 44 45}); 46 47}); 48 49}); 50 51}(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.