function c(i,s){return t=>{let n=t.controls[i],r=t.controls[s];if(!n||!r)return null;n.value!==r.value?r.setErrors({inputMatchError:!0}):r.setErrors(null)}}var e=class{constructor(){this.inputTooShort=!0,this.numbersMissing=!0,this.specialCharactersMissing=!0,this.lowercaseCharactersMissing=!0,this.uppercaseCharactersMissing=!0}get isValid(){return!this.inputTooShort&&!this.numbersMissing&&!this.specialCharactersMissing&&!this.lowercaseCharactersMissing&&!this.uppercaseCharactersMissing}};var a=class{static validate(s){let t=new e;return t.inputTooShort=s.length<8,t.numbersMissing=!/\d/.test(s),t.specialCharactersMissing=!/[ !@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]/.test(s),t.lowercaseCharactersMissing=!/[abcdefghijklmnopqrstuvwxyzäöüß]/.test(s),t.uppercaseCharactersMissing=!/[ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÜ]/.test(s),t}};export{c as a,e as b,a as c};
