jQuery(function(r){({init:function(){r(document.body).on("click","a.help_tip, a.woocommerce-help-tip, woocommerce-product-type-tip",this.preventTipTipClick).on("click","a.debug-report",this.generateReport).on("click","#copy-for-support",this.copyReport).on("aftercopy","#copy-for-support",this.copySuccess).on("aftercopyfailure","#copy-for-support",this.copyFail).on("click","#download-for-support",this.downloadReport)},preventTipTipClick:function(){return!1},generateReport:function(){var n="";r(".wc_status_table thead, .wc_status_table tbody").each(function(){var t;r(this).is("thead")?(t=r(this).find("th:eq(0)").data("exportLabel")||r(this).text(),n=n+"\n### "+t.trim()+" ###\n\n"):r("tr",r(this)).each(function(){var o,t=(r(this).find("td:eq(0)").data("exportLabel")||r(this).find("td:eq(0)").text()).trim().replace(/(<([^>]+)>)/gi,""),e=r(this).find("td:eq(2)").clone(),e=(e.find(".private").remove(),e.find(".dashicons-yes").replaceWith("✔"),e.find(".dashicons-no-alt, .dashicons-warning").replaceWith("❌"),e.text().trim()),i=e.split(", ");1