var options = {"debug":false,"popupUrl":"https:\/\/popupv2.adproresults.com","authToken":"fd50877dc7e756ddcd513dde945f39f50d6f055e508eccc7a4ab2874c38a1392","env":"production"}; AdProLoader=function(options){this.options=options;this.initialize()};AdProLoader.prototype={options:null,initialize:function(){this.debug("Loader init.");this.getLoaderData()},getLoaderData:function(){var url=this.options.popupUrl+"/api/loader-data";url+="?url="+encodeURIComponent(window.location.href);var xhttp=new XMLHttpRequest();xhttp.onreadystatechange=function(){if(xhttp.readyState==4&&xhttp.status==200){var response=JSON.parse(xhttp.responseText);if(xhttp.responseText)this.startApps(response.dataSet)}else if(xhttp.readyState==4&&xhttp.status!==200){var response=JSON.parse(xhttp.responseText);this.debug(response.errors?response.errors[0]:"Invalid loader options.")}}.bind(this);xhttp.open("GET",url,!0);xhttp.send()},startApps:function(settings){var debug=this.options.debug;for(var key in settings)this.options[key]=settings[key];this.options.debug=settings.debug||debug;this.debug("Starting AdPro apps");this.loadResources();this.waitForResources()},loadResources:function(){this.addScript(this.options.popupUrl+"/js-libs?mtime="+(new Date().getTime()));if(window.google_trackConversion===undefined||!window.google_trackConversion){this.addScript("//www.googleadservices.com/pagead/conversion_async.js",{charset:"utf-8"})}},libGreaterThanEqual:function(version,test){version=version.split(".");test=test.split(".");for(var i=0;i