!function(){"use strict";!function(t,e){var n="data-submit-task",a=function(){[].slice.call(t.querySelectorAll("[data-submit-task]")).forEach((function(a){a.addEventListener("click",(function(a){a.preventDefault(),function(n,a){("modules.cancel"===n||t.formvalidator.isValid(a))&&e(n,a)}(a.currentTarget.getAttribute(n),a.currentTarget.form)}))}))};t.addEventListener("DOMContentLoaded",(function(){a()}))}(document,Joomla.submitform)}();