var scrollToFirstInvalidField=function(a){var l=a.selector||".bal-field--invalid";var d=a.formEl.querySelectorAll(l);var i=Array.from(d);if(i.length>0){var r=i[0];if(r){var e=r.closest("bal-field");if(e&&e.scrollIntoView){e.scrollIntoView()}}}};var defaultBalAriaForm={controlId:undefined,labelId:undefined,messageId:undefined};export{defaultBalAriaForm as d,scrollToFirstInvalidField as s};