Array.prototype.forEach.call(document.querySelectorAll("form[data-members-form]"),function(a){var c=a.querySelector("[data-members-error]");a.addEventListener("submit",function r(e){a.removeEventListener("submit",r),e.preventDefault(),c&&(c.innerText=""),a.classList.remove("success","invalid","error");for(var t=e.target.querySelector("input[data-members-email]").value,n=void 0,o=[],s=e.target.querySelectorAll("input[data-members-label]")||[],i=0;i