(()=>{var e={629:()=>{jQuery(document).ready((function(e){e("#health-check-file-integrity").on("submit",(function(t){const c={action:"health-check-files-integrity-check",_wpnonce:HealthCheck.nonce.files_integrity_check};t.preventDefault(),e("#tools-file-integrity-response-holder").html('<span class="spinner"></span>'),e("#tools-file-integrity-response-holder .spinner").addClass("is-active"),e.post(ajaxurl,c,(function(t){e("#tools-file-integrity-response-holder .spinner").removeClass("is-active"),e("#tools-file-integrity-response-holder").parent().css("height","auto"),e("#tools-file-integrity-response-holder").html(t.data.message)}))})),e("#tools-file-integrity-response-holder").on("click",'a[href="#health-check-diff"]',(function(t){const c=e(this).data("file");t.preventDefault(),e("#health-check-diff-modal").toggle(),e("#health-check-diff-modal #health-check-diff-modal-content .spinner").addClass("is-active");const l={action:"health-check-view-file-diff",file:c,_wpnonce:HealthCheck.nonce.view_file_diff};e.post(ajaxurl,l,(function(t){e("#health-check-diff-modal #health-check-diff-modal-diff").html(t.data.message),e("#health-check-diff-modal #health-check-diff-modal-content h3").html(c),e("#health-check-diff-modal #health-check-diff-modal-content .spinner").removeClass("is-active")}))}))}))},593:()=>{jQuery(document).ready((function(e){e("#health-check-diff-modal").on("click",'a[href="#health-check-diff-modal-close"]',(function(t){t.preventDefault(),e("#health-check-diff-modal").toggle(),e("#health-check-diff-modal #health-check-diff-modal-diff").html(""),e("#health-check-diff-modal #health-check-diff-modal-content h3").html("")})),e(document).on("keyup",(function(t){27===t.which&&(e("#health-check-diff-modal").css("display","none"),e("#health-check-diff-modal #health-check-diff-modal-diff").html(""),e("#health-check-diff-modal #health-check-diff-modal-content h3").html(""))}))}))},433:()=>{jQuery(document).ready((function(e){e("#health-check-mail-check").on("submit",(function(t){const c=e("#health-check-mail-check #email").val(),l=e("#health-check-mail-check #email_message").val();t.preventDefault(),e("#tools-mail-check-response-holder").html('<span class="spinner"></span>'),e("#tools-mail-check-response-holder .spinner").addClass("is-active");const a={action:"health-check-mail-check",email:c,email_message:l,_wpnonce:HealthCheck.nonce.mail_check};e.post(ajaxurl,a,(function(t){e("#tools-mail-check-response-holder .spinner").removeClass("is-active"),e("#tools-mail-check-response-holder").parent().css("height","auto"),e("#tools-mail-check-response-holder").html(t.data.message)}))}))}))},188:()=>{jQuery(document).ready((function(e){function t(){const c=e('[data-plugin-checked="false"]',"#health-check-tool-plugin-compat-list");if(c.length<=0)return;const l=e(c[0]);l.attr("data-plugin-checked","true");const a={slug:l.data("plugin-slug"),version:l.data("plugin-version"),_wpnonce:HealthCheck.nonce.rest_api};e.post(HealthCheck.rest_api.tools.plugin_compat,a,(function(c){e(".spinner",l).removeClass("is-active"),e(".supported-version",l).append(c.version),t()}))}e("#health-check-tool-plugin-compat").on("click",(function(){e("tr","#health-check-tool-plugin-compat-list").data("plugin-checked",!1),e(".spinner","#health-check-tool-plugin-compat-list").addClass("is-active"),e(this).attr("disabled",!0),t()}))}))}},t={};function c(l){var a=t[l];if(void 0!==a)return a.exports;var o=t[l]={exports:{}};return e[l](o,o.exports,c),o.exports}c.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return c.d(t,{a:t}),t},c.d=(e,t)=>{for(var l in t)c.o(t,l)&&!c.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";c(629),c(593),c(433),c(188)})()})();