File: C:/Apache24/htdocs/wp-content/plugins/echo-knowledge-base/js/error-handlers.min.js
function epkbShowErrorNotices(){if("undefined"==typeof jQuery||0==jQuery(".epkb-js-error-notice").length){if(setTimeout(epkbShowErrorNotices,1e3),jqueryChecked)return;return void(jqueryChecked=!0)}jQuery(".epkb-js-error-notice").hide("fast");let r;for(r of errorsList)jQuery(".epkb-js-error-notice").find(".epkb-js-error-msg").text(r.msg),jQuery(".epkb-js-error-notice").find(".epkb-js-error-url").text(r.url),jQuery(".epkb-js-error-notice").show("fast"),console.log();jQuery(".epkb-js-error-close").click(function(){jQuery(this).closest(".epkb-js-error-notice").hide("fast")})}var errorsList=[],showNoticeTimeout=!0,previousErrorHandler=window.onerror,jqueryChecked=!1;window.onerror=function(r,e,o,t,s){return errorsList.push({msg:r,url:e}),showNoticeTimeout&&(setTimeout(epkbShowErrorNotices,2e3),showNoticeTimeout=!1),!!previousErrorHandler&&previousErrorHandler(r,e,o,t,s)};