var options = {"debug":false,"popupUrl":"https:\/\/popupv2.adproresults.com","authToken":"c3e8c2ff9773b908a4ba779f177b5d39400c34f6cc4391ead4d733d98ba4a7e9","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