1(function($) { 2 $(document).ready(function($) { 3 "use strict"; 4 5 const $grid = $(".dnxte-msnary-grid"); 6 7 if ($grid.length) { 8 $(".dnxte-grid").imagesLoaded(() => { 9 $grid.masonry({ 10 itemSelector: ".dnxte-msnary-item", 11 percentPosition: true, 12 columnWidth:".grid-sizer", 13 gutter:".gutter-sizer", 14 stagger: 0, 15 transitionDuration: 90, 16 percentPosition: true, 17 }); 18 }); 19 } 20 21 const img = $(".image-link"); 22 23 if (img.length > 0) { 24 $(".image-link").each(function (e) { 25 const msData = $(this).data(); 26 $(this).magnificPopup({ 27 removalDelay: 500, 28 type: "image", 29 gallery: { 30 enabled: true, 31 navigateByImgClick: true, 32 tPrev: 'Previous (Left arrow key)', // Alt text on left arrow 33 tNext: 'Next (Right arrow key)', // Alt text on right arrow 34 tCounter: '%curr% of %total%' // Markup for "1 of 7" counter 35 }, 36 image: { 37 titleSrc: function (item) { 38 return item.el.attr('data-title') + msData.caption; 39 } 40 }, 41 zoom: { 42 enabled: true, 43 duration: 500, 44 opener: function(element) { 45 return element.find('img'); 46 } 47 }, 48 mainClass: 'mfp-fade', 49 autoFocusLast: false, 50 }); 51 }) 52 } 53 54 $('.dnxte-magnifier img').each(function() { 55 const magnifyData = $(this).data(); 56 $(this).magnify({ 57 speed: +magnifyData.speed, 58 limitBounds: magnifyData.boundary === "on" 59 }) 60 }) 61 }); 62 63 // WOW ANIMATION 64 wow = new WOW({ 65 animateClass: "animated", 66 offset: 50, 67 }); 68 wow.init(); 69})(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.