import{w as i}from"./index-DscFWUNz.js";import{v as p}from"./spell-check-DIsLAYgk-Gl3GQAJe.js";import{v as a}from"./suggestions-DfF4lcNG-oXYEJ9Q5.js";import{I as l}from"./controller-CBa44cbK-CNF745q7.js";/*!
 * KoliBri - The accessible HTML-Standard
 */const n=["text","search","url","tel"],r=e=>typeof e=="string"&&n.includes(e),c=(e,t)=>{i(e,"_type",r,new Set(n),t)};class h extends l{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 v extends h{constructor(t,o,s){super(t,o,s),this.hasError=!1,this.component=t}validateSpellCheck(t){p(this.component,t)}validateType(t){c(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSpellCheck(this.component._spellCheck),this.validateType(this.component._type)}}export{h as I,v as a};
//# sourceMappingURL=controller-BdRR-y_g-CmsXASTa.js.map
