!function(){"use strict";window.addEventListener("load",(function(){var t=document.getElementsByClassName("needs-validation");t&&Array.prototype.filter.call(t,(function(t){t.addEventListener("submit",(function(e){!1===t.checkValidity()&&(e.preventDefault(),e.stopPropagation()),t.classList.add("was-validated")}),!1)}))}),!1)}();