((e,r)=>{e.ConvertFormsInitHCaptcha=function(){r.querySelectorAll(".h-captcha").forEach(function(t){var e=t.closest(".convertforms"),a=hcaptcha.render(t,{callback:function(){"invisible"==t.dataset.size&&e.ConvertForms.submit()}});(e||r).querySelectorAll('textarea[name="h-captcha-response"]').forEach(function(e){e.setAttribute("aria-hidden","true"),e.setAttribute("aria-label","hCaptcha response")}),e.addEventListener("beforeSubmit",function(e){e.defaultPrevented||"false"===t.closest(".cf-control-group").dataset.requiredOverride||0<hcaptcha.getResponse(a).length||(e.preventDefault(),hcaptcha.execute(a))}),e.addEventListener("afterSubmit",function(e){hcaptcha.reset(a)})})}})(window,document);

