what-the-bank/sources/o/C7247ckg.java

244 lines
6.9 KiB
Java

package o;
import java.util.regex.Pattern;
import o.InterfaceC9537dlc;
import o.ZI;
/* renamed from: o.ckg, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C7247ckg<T extends InterfaceC9537dlc> extends ZI<T> {
private final C15596gvC b;
private final C0534Ixe d;
private THd e;
public final Ezz g;
boolean h;
public final qBc i;
boolean k;
boolean l;
boolean m;
boolean n;
/* renamed from: o, reason: collision with root package name */
boolean f8651o;
public C1102Vr p;
public C7247ckg(C16903sI c16903sI, Ezz ezz, qBc qbc, THd tHd, C0534Ixe c0534Ixe, C15596gvC c15596gvC) {
super(c16903sI);
this.g = ezz;
this.i = qbc;
this.e = tHd;
this.d = c0534Ixe;
this.b = c15596gvC;
}
public final void d(final String str, final boolean z) {
this.l = !gjJ.b((CharSequence) str) && str.length() == 17;
ZI.IeS ieS = new ZI.IeS(this, z, str) { // from class: o.ckr
private C7247ckg c;
private String d;
private boolean e;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9537dlc) obj).i((this.e || gjJ.b((CharSequence) this.d) || this.c.l) ? false : true);
}
{
this.c = this;
this.e = z;
this.d = str;
}
};
if (this.f != 0) {
ieS.e(this.f);
}
C7254ckn c7254ckn = new C7254ckn(this);
if (this.f != 0) {
c7254ckn.e(this.f);
}
}
public final void a(final String str, final boolean z) {
this.f8651o = b(str);
ZI.IeS ieS = new ZI.IeS(this, z, str) { // from class: o.ckp
private String a;
private boolean b;
private C7247ckg e;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9537dlc) obj).a((this.b || gjJ.b((CharSequence) this.a) || this.e.f8651o) ? false : true);
}
{
this.e = this;
this.b = z;
this.a = str;
}
};
if (this.f != 0) {
ieS.e(this.f);
}
C7254ckn c7254ckn = new C7254ckn(this);
if (this.f != 0) {
c7254ckn.e(this.f);
}
}
public final void b(final String str, final boolean z) {
this.m = b(str);
ZI.IeS ieS = new ZI.IeS(this, z, str) { // from class: o.ckq
private boolean a;
private String c;
private C7247ckg e;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9537dlc) obj).g((this.a || gjJ.b((CharSequence) this.c) || this.e.m) ? false : true);
}
{
this.e = this;
this.a = z;
this.c = str;
}
};
if (this.f != 0) {
ieS.e(this.f);
}
C7252ckl c7252ckl = new C7252ckl(this);
if (this.f != 0) {
c7252ckl.e(this.f);
}
}
public final void c(final String str, final boolean z) {
this.h = b(str);
ZI.IeS ieS = new ZI.IeS(this, z, str) { // from class: o.ckh
private String b;
private boolean c;
private C7247ckg e;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9537dlc) obj).e((this.c || gjJ.b((CharSequence) this.b) || this.e.h) ? false : true);
}
{
this.e = this;
this.c = z;
this.b = str;
}
};
if (this.f != 0) {
ieS.e(this.f);
}
C7259cks c7259cks = new C7259cks(this);
if (this.f != 0) {
c7259cks.e(this.f);
}
}
private boolean b(String str) {
return !gjJ.b((CharSequence) str) && str.length() == 10 && THd.b(str);
}
public final void c(final kdN kdn) {
if (kdn.c) {
ZI.IeS ieS = new ZI.IeS(kdn) { // from class: o.ckk
private kdN e;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9537dlc) obj).c(this.e.d);
}
{
this.e = kdn;
}
};
if (this.f != 0) {
ieS.e(this.f);
return;
}
return;
}
if (kdn.d) {
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.cko
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9537dlc) obj).b();
}
};
if (this.f != 0) {
ieS2.e(this.f);
return;
}
return;
}
ZI.IeS ieS3 = new ZI.IeS() { // from class: o.cki
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9537dlc) obj).d();
}
};
if (this.f != 0) {
ieS3.e(this.f);
}
}
public final void e(final String str, final boolean z) {
this.k = str != null && str.length() >= 5 && str.length() <= 20 && Pattern.compile("^[a-zA-Z0-9]+$").matcher(str).matches();
ZI.IeS ieS = new ZI.IeS(this, z, str) { // from class: o.ckv
private String a;
private boolean d;
private C7247ckg e;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9537dlc) obj).b((this.d || gjJ.b((CharSequence) this.a) || this.e.k) ? false : true);
}
{
this.e = this;
this.d = z;
this.a = str;
}
};
if (this.f != 0) {
ieS.e(this.f);
}
C7259cks c7259cks = new C7259cks(this);
if (this.f != 0) {
c7259cks.e(this.f);
}
}
public final void j(final String str, final boolean z) {
this.n = str != null && str.length() >= 3 && str.length() <= 23 && Pattern.compile("^[a-zA-Z0-9]+$").matcher(str).matches();
ZI.IeS ieS = new ZI.IeS(this, z, str) { // from class: o.cku
private boolean a;
private C7247ckg d;
private String e;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9537dlc) obj).f((this.a || gjJ.b((CharSequence) this.e) || this.d.n) ? false : true);
}
{
this.d = this;
this.a = z;
this.e = str;
}
};
if (this.f != 0) {
ieS.e(this.f);
}
C7252ckl c7252ckl = new C7252ckl(this);
if (this.f != 0) {
c7252ckl.e(this.f);
}
}
}