import{w as i}from"./index-CJwtOLCA.js";import{I as l}from"./controller-8ace9659-k7blkktf.js";import{v as a}from"./spell-check-5b365d45-C7iJC8j9.js";import{v as p}from"./suggestions-7e70d4e3-DNj0P-Sg.js";/*!
 * KoliBri - The accessible HTML-Standard
 */const s=["text","search","url","tel"];class r extends l{constructor(t,e,o){super(t,e,o),this.component=t}validateSuggestions(t){p(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions)}}class u extends r{constructor(t,e,o){super(t,e,o),this.hasError=!1,this.component=t}validateSpellCheck(t){a(this.component,t)}validateType(t){i(this.component,"_type",e=>typeof e=="string"&&s.includes(e),new Set([`String {${s.join(", ")}`]),t)}componentWillLoad(){super.componentWillLoad(),this.validateSpellCheck(this.component._spellCheck),this.validateType(this.component._type)}}export{r as I,u as a};
//# sourceMappingURL=controller-cfa11279-CCbXuYkq.js.map
