/*!
 * KoliBri - The accessible HTML-Standard
 */
import{w as s,ab as t,ac as e,a4 as a}from"./index-c3ae175d.js";import{I as i}from"./controller-1dd244e1.js";class o extends i{constructor(t,o,s){super(t,o,s),this.component=t}validateSuggestions(t){a(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions)}}class r extends o{constructor(t,o,s){super(t,o,s),this.hasError=!1,this.component=t}validateType(o){s(this.component,"_type",(o=>"string"==typeof o&&t.includes(o)),new Set([`String {${t.join(", ")}`]),o)}validateHasCounter(t){e(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateType(this.component._type),this.validateHasCounter(this.component._hasCounter)}}export{o as I,r as a};