­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ !function(e,t){let _="ABDetector";"function"==typeof define&&define.amd?define([],t(_)):"object"==typeof exports?module.exports=t(_):e[_]=t(_)}(this,function(){"use strict";let e=e=>{let t=document.body;t.setAttribute("oncontextmenu",e?null:"return false;");let _=(e,t)=>e.ctrlKey&&e.shiftKey&&e.keyCode===t.charCodeAt(0);document.onkeydown=t=>{if(123===t.key||_(t,"I")||_(t,"J")||_(t,"C")||t.ctrlKey&&85===t.key)return e}},t=t=>{let _=t.screenTwoSteps.reduce((e,t)=>e.concat(`
  • ${t}
  • `),"");var o=`
    ${t.showCloseIcon?closeIcon:""}
    ${handIcon}
    ${t.titleText}

    ${t.descText}

    ${t.screenTwoTitle}
      ${_}
    `;let $=document.createElement("div");$.setAttribute("id","abDetectorModal"),$.classList.add("ab-detector-wrap"),$.innerHTML=o;let s=$;s.style.setProperty("--popup-background",t.popupBackgroundColor),s.style.setProperty("--popup-backdrop-color",t.popupBackdropColor),s.style.setProperty("--icon-color",t.iconColor),s.style.setProperty("--btn-color",t.btnColor),s.style.setProperty("--btn-background-color",t.btnBackgroundColor),s.style.setProperty("--title-color",t.titleColor),s.style.setProperty("--desc-color",t.descColor),s.style.setProperty("--help-text-color",t.helpTextColor),s.style.setProperty("--steps-color",t.screenTwoStepsColor);let l=$.querySelector(".abdmodal"),r=$.querySelector(".abdmodal .abdmodal-content");document.body.appendChild($),t.secureMode&&e(!1),setTimeout(()=>{l.style.cssText=`z-index: ${t.zIndex};opacity: 1;visibility: visible;`,r.style.cssText=`transform: scale(1);max-width:${t.popupMaxWidth}px`,document.body.style.overflowY="hidden",t.onDetected()},500),$.addEventListener("click",function(_){_.target.classList.contains("help-text")&&$.classList.toggle("screen-two-active"),_.target.classList.contains("btn")&&(t.onDisabledAdblockBtnClick(),location.reload()),(_.target.classList.contains("close-icon")||_.target.closest("div").classList.contains("close-icon"))&&(l.style.cssText="opacity: 0;visibility: hidden;",r.style.cssText=`transform: scale(0);max-width:${t.popupMaxWidth}px`,document.body.style.overflowY="initial",e(!0),t.onCloseIconClick())})},_=()=>{let e=document.createElement("div");for(let t of(e.setAttribute("id","adDetectorElm"),["ad","ads","adsbox","doubleclick","ad-placement","ad-placeholder","adbadge","BannerAd"]))e.classList.add(t);document.body.appendChild(e);let _=window.getComputedStyle(e).getPropertyValue("display");return"none"===_},o=()=>new Promise(e=>{var t=new XMLHttpRequest;t.open("HEAD","/adex.js",!0),t.onreadystatechange=function(){4===t.readyState&&0===t.status?e(!0):e(!1)},t.send()}),$=()=>{let e="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js";return new Promise(t=>{var _=new XMLHttpRequest;_.open("HEAD",e,!0),_.onreadystatechange=function(){_.responseURL!==e?t(!0):4===_.readyState&&0===_.status?t(!0):4===_.readyState&&404===_.status&&t(!1)},_.send()})},s=()=>{let e=document.querySelector("#adDetectorElm");e.remove()};return class e{constructor(e){this.options=((e,t)=>{let _,o={};for(_ in e)Object.prototype.hasOwnProperty.call(e,_)&&(o[_]=e[_]);for(_ in t)Object.prototype.hasOwnProperty.call(t,_)&&(o[_]=t[_]);return o})({zIndex:99999,popupBorderRadius:24,popupMaxWidth:500,secureMode:!0,showCloseIcon:!0,popupBackgroundColor:"#ffffff",popupBackdropColor:"rgba(0, 0, 0, 0.6)",iconColor:"#E2535C",btnBackgroundColor:"#E2535C",btnColor:"#ffffff",titleColor:"#000000",descColor:"#000000",helpTextColor:"#000000",screenTwoStepsColor:"#000000",titleText:"AdBlock Detected!",descText:"It looks like you have an adblocker enabled. In order to support our website and continue accessing our content, please disable your ad blocker for this site.",btnText:"I've disabled AdBlock",screenOneHelpText:"How do I disable my adblocker?",screenTwoHelpText:"Okay, I understand!",screenTwoTitle:"To disable adblocker on this site:",screenTwoSteps:["Click on the adblocker extension icon located at the top right corner of your browser",'From the menu choose "Disable on this site" or "Pause on this site"',"Refresh the page if not automatically refreshed"],onDetected:function(){},onDisabledAdblockBtnClick:function(){},onCloseIconClick:function(){}},e)}async init(){let e=_();if(e){t(this.options);return}let l=await o();if(l){t(this.options),s();return}let r=await $();r&&t(this.options),s()}}});const abDetectorPro=new ABDetector,faceIcon='',handIcon='AdBlock icon',adIcon='',closeIcon='';