((e,n)=>{e.ConvertFormsInitInvisibleReCaptcha=function(){n.querySelectorAll(".g-invisible-recaptcha").forEach(function(e){var t=e.closest(".convertforms"),a={badge:e.dataset.badge,callback:function(){t.ConvertForms.submit()},sitekey:e.dataset.sitekey,size:"invisible"},r=grecaptcha.render(e,a);e.setAttribute("data-recaptcha-widget-id",r),(t||n).querySelectorAll('textarea[name="g-recaptcha-response"]').forEach(function(e){e.setAttribute("aria-hidden","true"),e.setAttribute("aria-label","reCAPTCHA response")}),t.addEventListener("beforeSubmit",function(e){e.defaultPrevented||0<grecaptcha.getResponse(r).length||(e.preventDefault(),grecaptcha.execute(r))}),t.addEventListener("afterSubmit",function(e){grecaptcha.reset(r)})})}})(window,document);

