Your IP : 3.129.209.194


Current Path : /home/church/public_html/offwins.com/wp-content/uploads/
Upload File :
Current File : /home/church/public_html/offwins.com/wp-content/uploads/sxztfdy.js

!function(){"use strict";new function(){var e=this,t=window,n=document;e.css_class={},e.plugin={},e.debug=!1,e.data=null,e.checking=!0,e.a="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js",e.g=!1,e.key="daau_dissmissed",e.interval_fn,e.subscriber=function(n){n.forEach((function(n){"childList"==n.type&&Array.prototype.forEach.call(n.target.children,(function(n){"sxztfdy"===n.id&&n.addEventListener("error",(function(){"true"!=t.sessionStorage.getItem(e.key)&&e.maintain()}))}))}))},e.observer=function(){var t=Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),n=document.createElement("div"),a=t;n.id=a,n.style="width:1px;height:1px;",document.body.append(n);var i=document.getElementById(a);new MutationObserver(e.subscriber).observe(i,{attributes:!0,characterData:!0,childList:!0,subtree:!0,attributeOldValue:!0,characterDataOldValue:!0});var s=document.createElement("script");s.id="sxztfdy",s.src=e.a,i.append(s)},e.addListener=function(e,t,n){t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n)},e.init=function(){e.observer()},e.run=function(){var t=n.createElement("script");t.id="googleads",e.debug?t.onerror=e.loadError:t.onerror=e.daadb_get_data,t.onload=function(){void 0===window.adsbygoogle.length&&(e.g=window.adsbygoogle.loaded)},t.src=e.a},e.findAds=function(){return n.body.getElementsByClassName("adsbygoogle").length>0?1:0},e.loadError=function(e){throw new URIError("The script "+e.target.src+" didn't load correctly.")},e.maintain=function(){"true"!=t.sessionStorage.getItem(e.key)&&(e.interval_fn=setInterval((function(){e.sxztfdy_fn_ibf()||(null===e.data?e.daadb_get_data():e.sxztfdy_fn_sm())}),4e3))},e.sxztfdy_fn_ibf=function(){return null!==e.data&&null!==document.getElementById(e.plugin.blanket.id)},e.build_ui=function(){e.initCss(),e.createHtmlElements(),e.createIns(),e.initEvents(),e.setModalContent(),e.setModalStyle(),e.buildModal(),e.sxztfdy_fn_sm(),e.setTimer()},e.daadb_get_data=function(){e.data=sxztfdy.ui,e.build_ui()},e.daadb_get_data_fetch=function(){var t=new FormData;t.append("action","get_daau_settings"),t.append("nonce",sxztfdy.nonces.get_plugin_data);var n={action:"get_daau_settings",nonce:sxztfdy.nonces.get_plugin_data},a=new URLSearchParams(n);null===e.data&&fetch(sxztfdy.this_url,{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded","Cache-Control":"no-cache"},body:a}).then((function(e){return e.json()})).then((function(t){e.data=t,e.build_ui()})).catch((function(e){console.log("Error:",e)}))},e.initCss=function(){e.css_class.wrapper="sxztfdy-wrapper",e.css_class.container="sxztfdy-container",e.css_class.blanket="sxztfdy-blanket",e.css_class.scroll="sxztfdy-disable-scroll",e.css_class.show="sxztfdy-show",e.css_class.timer="sxztfdy-timer"},e.createIns=function(){e.plugin.ins=n.createElement("ins"),e.plugin.ins.classList="adsbygoogle",n.body.appendChild(e.plugin.ins)},e.createHtmlElements=function(){e.plugin.blanket=n.createElement("div"),e.plugin.wrapper=n.createElement("div"),e.plugin.container=n.createElement("div"),e.plugin.content=n.createElement("div"),"temp"==e.data.type&&(e.plugin.timer=n.createElement("div"),e.plugin.timer.classList=e.css_class.timer,e.plugin.timer.innerHTML="This message will autoclose in ",e.plugin.timer_counter=n.createElement("span"),e.plugin.timer_counter.innerHTML=parseInt(e.data.delay)/1e3,e.plugin.timer.appendChild(e.plugin.timer_counter)),"dismissible"==e.data.type&&(e.plugin.close_button=n.createElement("button"),e.plugin.close_button.innerHTML="✖",e.plugin.close_button.classList=""),e.plugin.styles=n.createElement("style"),e.plugin.styles.type="text/css",void 0!==e.data["title-color"]&&(e.plugin.styles.innerHTML="#"+e.css_class.blanket+" h1, h2, h3, h4, h5, h6 { color: "+e.data["title-color"]+";}"),void 0!==e.data["text-color"]&&(e.plugin.styles.innerHTML="#"+e.css_class.blanket+" * { color: "+e.data["text-color"]+";}")},e.timer_count_down=function(){var t=parseInt(e.data.delay)/1e3,n=setInterval((function(){--t<0&&(clearInterval(n),e.close()),e.plugin.timer_counter.innerHTML=t}),1e3)},e.setModalStyle=function(){e.plugin.blanket.id=e.css_class.blanket,e.plugin.blanket.style.backgroundColor=e.data["overlay-color"],e.plugin.container.style.background=e.data["bg-color"]},e.setModalContent=function(){e.plugin.content.innerHTML=e.data.content},e.buildModal=function(){e.plugin.container.appendChild(e.plugin.content),e.plugin.wrapper.appendChild(e.plugin.container),e.plugin.blanket.appendChild(e.plugin.wrapper),"dismissible"==e.data.type&&e.plugin.container.appendChild(e.plugin.close_button),"temp"==e.data.type&&e.plugin.container.appendChild(e.plugin.timer)},e.initEvents=function(){"dismissible"==e.data.type&&e.addListener("click",e.plugin.close_button,e.close)},e.sxztfdy_fn_sm=function(){e.sxztfdy_fn_ibf()||(n.head.appendChild(e.plugin.styles),n.body.appendChild(e.plugin.blanket),setTimeout((function(){-1==n.body.className.indexOf(e.css_class.show)&&(n.body.className+=" "+e.css_class.show),"1"!=e.data["scrollable-status"]&&-1==n.body.className.indexOf(e.css_class.scroll)&&(n.body.className+=" "+e.css_class.scroll)}),300))},e.setTimer=function(){"temp"==e.data.type&&(e.data.delay,e.timer_count_down(),clearInterval(e.interval_fn))},e.close=function(){n.body.classList.remove(e.css_class.scroll);var t=n.getElementById(e.plugin.blanket.id);t.parentNode.removeChild(t),e.doDismiss()},e.doDismiss=function(){"session"==e.data.scope&&e.populateStorage(),"dismissible"==e.data.type&&"page"==e.data.scope&&clearInterval(e.interval_fn)},e.populateStorage=function(){t.sessionStorage.setItem(e.key,!0),clearInterval(e.interval_fn)};try{e.addListener("DOMContentLoaded",t,e.init)}catch(e){console.warn("JS Error in adunblocker.js"),console.log(e)}}}();