!function(e,n){"object"===typeof exports&&"object"===typeof module?module.exports=n():"function"===typeof define&&define.amd?define("ban",[],n):"object"===typeof exports?exports.ban=n():e.ban=n()}("undefined"!==typeof self?self:this,(function(){return function(){"use strict";var e={d:function(n,t){for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r:function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},n={};e.r(n),e.d(n,{default:function(){return o}});const t={diff:200,message:"Ban debugger;",delay:50,debug:!1};function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{diff:n,message:o,delay:r,debug:u}=Object.assign(t,e);(()=>{let e=null,t="";console.oldDebug=console.debug,console.debug=function(e){console.oldDebug(e),t=e};try{(window.outerHeight-window.innerHeight>n||window.outerWidth-window.innerWidth>n)&&(document.body.innerHTML=o),e=setInterval((()=>{(function(){return!1}).constructor("debugger").call(),t===u&&(clearInterval(e),e=null)}),r)}catch(d){}})()}return n}()}));