1!(function (a) { 2 "function" == typeof define && define.amd 3 ? define(["jquery"], a) 4 : "object" == typeof exports 5 ? (module.exports = a(require("jquery"))) 6 : a(jQuery); 7})(function (a) { 8 function i() { 9 var b, 10 c, 11 d = { height: f.innerHeight, width: f.innerWidth }; 12 return ( 13 d.height || 14 ((b = e.compatMode), 15 (b || !a.support.boxModel) && 16 ((c = "CSS1Compat" === b ? g : e.body), 17 (d = { height: c.clientHeight, width: c.clientWidth }))), 18 d 19 ); 20 } 21 function j() { 22 return { 23 top: f.pageYOffset || g.scrollTop || e.body.scrollTop, 24 left: f.pageXOffset || g.scrollLeft || e.body.scrollLeft, 25 }; 26 } 27 function k() { 28 if (b.length) { 29 var e = 0, 30 f = a.map(b, function (a) { 31 var b = a.data.selector, 32 c = a.$element; 33 return b ? c.find(b) : c; 34 }); 35 for (c = c || i(), d = d || j(); e < b.length; e++) 36 if (a.contains(g, f[e][0])) { 37 var h = a(f[e]), 38 k = { 39 height: h[0].offsetHeight, 40 width: h[0].offsetWidth, 41 }, 42 l = h.offset(), 43 m = h.data("inview"); 44 if (!d || !c) return; 45 l.top + k.height > d.top && 46 l.top < d.top + c.height && 47 l.left + k.width > d.left && 48 l.left < d.left + c.width 49 ? m || h.data("inview", !0).trigger("inview", [!0]) 50 : m && h.data("inview", !1).trigger("inview", [!1]); 51 } 52 } 53 } 54 var c, 55 d, 56 h, 57 b = [], 58 e = document, 59 f = window, 60 g = e.documentElement; 61 (a.event.special.inview = { 62 add: function (c) { 63 b.push({ data: c, $element: a(this), element: this }), 64 !h && b.length && (h = setInterval(k, 250)); 65 }, 66 remove: function (a) { 67 for (var c = 0; c < b.length; c++) { 68 var d = b[c]; 69 if (d.element === this && d.data.guid === a.guid) { 70 b.splice(c, 1); 71 break; 72 } 73 } 74 b.length || (clearInterval(h), (h = null)); 75 }, 76 }), 77 a(f).on("scroll resize scrollstop", function () { 78 c = d = null; 79 }), 80 !g.addEventListener && 81 g.attachEvent && 82 g.attachEvent("onfocusin", function () { 83 d = null; 84 }); 85});
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.