import{w as i}from"./index-DCi8lcS0.js";import{v as p}from"./spell-check-CNVzo7wd-CalTpnCN.js";import{v as a}from"./suggestions-iUTn1W4N-CdlLLVL0.js";import{I as l}from"./controller-BUw2BLTQ-CFh4p6Se.js";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-83Aqh5q5-Cuf7mRP4.js.map
