/*!
 * KoliBri - The accessible HTML-Standard
 */
"use strict";const index=require("./index-7215e5f8.js"),controller=require("./controller-35af34ae.js");class InputTextEmailController extends controller.InputPasswordController{constructor(t,e,n){super(t,e,n),this.component=t}validateSuggestions(t){index.validateSuggestions(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions)}}class InputTextController extends InputTextEmailController{constructor(t,e,n){super(t,e,n),this.hasError=!1,this.component=t}validateType(t){index.watchValidator(this.component,"_type",(t=>"string"==typeof t&&index.inputTextTypeOptions.includes(t)),new Set([`String {${index.inputTextTypeOptions.join(", ")}`]),t)}validateHasCounter(t){index.validateHasCounter(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateType(this.component._type),this.validateHasCounter(this.component._hasCounter)}}exports.InputTextController=InputTextController,exports.InputTextEmailController=InputTextEmailController;