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