(function() { var preEngineFunc={ preEngineJS: function (loaderParams) {var element=document.querySelector('meta[property~="article:tag"]'),content=element&&element.getAttribute("content");if("/"===window.location.pathname||content&&content.includes("sponsored"))loaderParams.e.sc.ms=0,loaderParams.e.am=!0;else{var brandSafety,pathArray=window.location.pathname.split("/"),dfpTargeting=pathArray.length>=3&&pathArray[2];function getBrandSafety(){var e="http://pixel.adsafeprotected.com/services/pub?";e+="anId="+encodeURIComponent(window.__iasPET&&window.__iasPET.pubId),e+="&slot="+encodeURIComponent("{id:ad-browsi,ss:[300.250],p:/8422/Browsi/CollegeHumor_DSK/MultipleSizes}"),e+="&wr="+window.top.innerWidth,e+="&sr="+window.top.screen.width,e+="&sessionId="+encodeURIComponent(window.__iasPET&&window.__iasPET.sessionId);var t=new XMLHttpRequest;t.open("GET",e,!0),t.onreadystatechange=function(){if(t.readyState===XMLHttpRequest.DONE&&200===t.status){var e=JSON.parse(t.response);brandSafety=e.brandSafety}},t.send()}getBrandSafety(),loaderParams.externalFlowHandler={preFetch:function(e,t,a){if("dfp"===t.providerName){if(a.kv=[],brandSafety)for(var n in brandSafety)brandSafety.hasOwnProperty(n)&&a.kv.push({k:n,v:brandSafety[n]});dfpTargeting&&a.kv.push({k:"node_id",v:dfpTargeting})}}}}}}; window["__browsiLoadFunc"](window["__browsiLoadObject"], preEngineFunc); })();