!function(e,t){e.ConvertFormsInitHCaptcha=function(){t.querySelectorAll(".h-captcha").forEach(function(t){var e=t.closest(".convertforms"),n=hcaptcha.render(t,{callback:function(){"invisible"==t.dataset.size&&e.ConvertForms.submit()}});e.addEventListener("beforeSubmit",function(e){e.defaultPrevented||"false"===t.closest(".cf-control-group").dataset.requiredOverride||0<hcaptcha.getResponse(n).length||(e.preventDefault(),hcaptcha.execute(n))}),e.addEventListener("afterSubmit",function(e){hcaptcha.reset(n)})})}}(window,document);

