1!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){function i(){var b,c,d={height:f.innerHeight,width:f.innerWidth};return d.height||(b=e.compatMode,(b||!a.support.boxModel)&&(c="CSS1Compat"===b?g:e.body,d={height:c.clientHeight,width:c.clientWidth})),d}function j(){return{top:f.pageYOffset||g.scrollTop||e.body.scrollTop,left:f.pageXOffset||g.scrollLeft||e.body.scrollLeft}}function k(){if(b.length){var e=0,f=a.map(b,function(a){var b=a.data.selector,c=a.$element;return b?c.find(b):c});for(c=c||i(),d=d||j();e<b.length;e++)if(a.contains(g,f[e][0])){var h=a(f[e]),k={height:h[0].offsetHeight,width:h[0].offsetWidth},l=h.offset(),m=h.data("inview");if(!d||!c)return;l.top+k.height>d.top&&l.top<d.top+c.height&&l.left+k.width>d.left&&l.left<d.left+c.width?m||h.data("inview",!0).trigger("inview",[!0]):m&&h.data("inview",!1).trigger("inview",[!1])}}}var c,d,h,b=[],e=document,f=window,g=e.documentElement;a.event.special.inview={add:function(c){b.push({data:c,$element:a(this),element:this}),!h&&b.length&&(h=setInterval(k,250))},remove:function(a){for(var c=0;c<b.length;c++){var d=b[c];if(d.element===this&&d.data.guid===a.guid){b.splice(c,1);break}}b.length||(clearInterval(h),h=null)}},a(f).on("scroll resize scrollstop",function(){c=d=null}),!g.addEventListener&&g.attachEvent&&g.attachEvent("onfocusin",function(){d=null})}); 2!function(t){var i=t(window);t.fn.visible=function(t,e,o){if(!(this.length<1)){var r=this.length>1?this.eq(0):this,n=r.get(0),f=i.width(),h=i.height(),o=o?o:"both",l=e===!0?n.offsetWidth*n.offsetHeight:!0;if("function"==typeof n.getBoundingClientRect){var g=n.getBoundingClientRect(),u=g.top>=0&&g.top<h,s=g.bottom>0&&g.bottom<=h,c=g.left>=0&&g.left<f,a=g.right>0&&g.right<=f,v=t?u||s:u&&s,b=t?c||a:c&&a;if("both"===o)return l&&v&&b;if("vertical"===o)return l&&v;if("horizontal"===o)return l&&b}else{var d=i.scrollTop(),p=d+h,w=i.scrollLeft(),m=w+f,y=r.offset(),z=y.top,B=z+r.height(),C=y.left,R=C+r.width(),j=t===!0?B:z,q=t===!0?z:B,H=t===!0?R:C,L=t===!0?C:R;if("both"===o)return!!l&&p>=q&&j>=d&&m>=L&&H>=w;if("vertical"===o)return!!l&&p>=q&&j>=d;if("horizontal"===o)return!!l&&m>=L&&H>=w}}}}(jQuery); 3(function(root, factory) { 4 /* istanbul ignore next */ 5 if (typeof define === 'function' && define.amd) {define([], factory);} else if (typeof module === 'object' && module.exports) {module.exports = factory();} else {root.adblockDetect = factory();}}(this, function() { 6 function adblockDetect(callback, options) { 7 options = merge(adblockDetect.defaults, options || {}); 8 var testNode = createNode(options.testNodeClasses, options.testNodeStyle); 9 var runsCounter = 0; 10 var adblockDetected = false; 11 var testInterval = setInterval(function() { 12 runsCounter++; 13 adblockDetected = isNodeBlocked(testNode); 14 if (adblockDetected || runsCounter === options.testRuns) { 15 clearInterval(testInterval); 16 testNode.parentNode && testNode.parentNode.removeChild(testNode); 17 callback(adblockDetected); 18 } 19 }, options.testInterval); 20 } 21 function createNode(testNodeClasses, testNodeStyle) { 22 var document = window.document; 23 var testNode = document.createElement('div'); 24 testNode.innerHTML = ' '; 25 testNode.setAttribute('class', testNodeClasses); 26 testNode.setAttribute('style', testNodeStyle); 27 document.body.appendChild(testNode); 28 return testNode; 29 } 30 31 function isNodeBlocked(testNode) { 32 return testNode.offsetHeight === 0 || 33 !document.body.contains(testNode) || 34 testNode.style.display === 'none' || 35 testNode.style.visibility === 'hidden' 36 ; 37 } 38 39 function merge(defaults, options) { 40 var obj = {}; 41 for (var key in defaults) { 42 obj[key] = defaults[key]; 43 options.hasOwnProperty(key) && (obj[key] = options[key]); 44 } 45 return obj; 46 } 47 adblockDetect.defaults = { 48 testNodeClasses: 'div-gpt-ad-Box_Banner_01_Mobile_300x250 pub_300x250m pub_728x90 text-ad textAd text_ad text_ads text-ads text-ad-links', 49 testNodeStyle: 'height: 10px !important; font-size: 20px; color: transparent; position: absolute; bottom: 0; left: -10000px;', 50 testInterval: 51, 51 testRuns: 4 52 }; 53 return adblockDetect; 54 55}));
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.