import{H as s,y as a,x as t,M as i,N as e,O as o}from"./p-DGWPFpP6.js";import{s as r}from"./p-FCLKfv6B.js";const c=class{constructor(a){s(this,a),this.native=!1,this.novalidate=!1,this.formClass=""}async scrollToFirstInvalidField(){await a(),await t(),r({formEl:this.el})}render(){let s={};return this.native&&(s={novalidate:this.novalidate}),i(e,{key:"1598e29d7763c06aeebe9ae70e4ad27695c9796d"},i(this.native?"form":"div",Object.assign({key:"140fa29ca7900623d52da99ffc5f9bd6db72cd97"},s,{class:this.formClass}),i("slot",{key:"1797bdbc8f4f70b50c5d193acea0569e977d8a81"})))}get el(){return o(this)}};c.style=".bal-form{display:block;position:static}";export{c as bal_form}