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

326 lines
10 KiB
Java

package o;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import o.ZI;
import o.gdL;
/* renamed from: o.anz */
/* loaded from: classes3.dex */
public final class C2938anz extends ZI<InterfaceC9064dcf> {
public final Aet a;
public Integer b;
public String c;
public final uMu d;
public List<? extends kpv> e;
public final EDY g;
public List<String> h;
public kpv i;
private final C11332edO<DFF> k;
private List<DFF> n;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C2938anz(C16903sI c16903sI, C11332edO<DFF> c11332edO, uMu umu, Aet aet, EDY edy) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c11332edO, "");
C14957gcv.e(umu, "");
C14957gcv.e(aet, "");
C14957gcv.e(edy, "");
this.k = c11332edO;
this.d = umu;
this.a = aet;
this.g = edy;
this.n = C14851gaI.c;
this.h = C14851gaI.c;
}
/* renamed from: o.anz$Sts */
/* loaded from: classes3.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
/* renamed from: o.anz$jbe */
/* loaded from: classes3.dex */
public static final class jbe extends AbstractC14961gcz implements InterfaceC14894gbR<InterfaceC9064dcf, C14866gag> {
private C2938anz c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(InterfaceC9064dcf interfaceC9064dcf) {
InterfaceC9064dcf interfaceC9064dcf2 = interfaceC9064dcf;
C14957gcv.e(interfaceC9064dcf2, "");
interfaceC9064dcf2.d(this.c.h);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public jbe(C2938anz c2938anz) {
super(1);
this.c = c2938anz;
}
}
public final void e(String str) {
C14957gcv.e(str, "");
if (str.length() > 0) {
List<DFF> list = this.n;
ArrayList arrayList = new ArrayList();
for (Object obj : list) {
int i = ((DFF) obj).a;
Integer num = this.b;
if ((num != null && i == num.intValue()) || this.b == null) {
arrayList.add(obj);
}
}
gdE a = C11332edO.a(new C17232uzG(str, arrayList));
HBt hBt = HBt.e;
C14957gcv.e(a, "");
C14957gcv.e(hBt, "");
gdO gdo = new gdO(a, hBt);
C14957gcv.e(gdo, "");
gdL.RVV rvv = gdL.RVV.b;
C14957gcv.e(gdo, "");
C14957gcv.e(rvv, "");
gdE e = C14964gdG.e(new gdB(gdo, rvv), 20);
C14957gcv.e(e, "");
C14957gcv.e(e, "");
IeS ieS = new IeS(str, C14881gav.a((List) C14964gdG.e(e, new ArrayList())));
C14957gcv.e(ieS, "");
C2937any c2937any = new C2937any(ieS);
if (this.f != 0) {
c2937any.e(this.f);
return;
}
return;
}
LWm lWm = new LWm(this);
C14957gcv.e(lWm, "");
C2937any c2937any2 = new C2937any(lWm);
if (this.f != 0) {
c2937any2.e(this.f);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.anz$HBt */
/* loaded from: classes3.dex */
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<JvB<DFF>, String> {
public static final HBt e = new HBt();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ String invoke(JvB<DFF> jvB) {
JvB<DFF> jvB2 = jvB;
C14957gcv.e(jvB2, "");
return jvB2.c.c;
}
HBt() {
super(1);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.anz$IeS */
/* loaded from: classes3.dex */
public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<InterfaceC9064dcf, C14866gag> {
private String a;
private List<String> e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(InterfaceC9064dcf interfaceC9064dcf) {
InterfaceC9064dcf interfaceC9064dcf2 = interfaceC9064dcf;
C14957gcv.e(interfaceC9064dcf2, "");
interfaceC9064dcf2.a(this.a, this.e);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(String str, List<String> list) {
super(1);
this.a = str;
this.e = list;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.anz$LWm */
/* loaded from: classes3.dex */
public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<InterfaceC9064dcf, C14866gag> {
private C2938anz b;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(InterfaceC9064dcf interfaceC9064dcf) {
InterfaceC9064dcf interfaceC9064dcf2 = interfaceC9064dcf;
C14957gcv.e(interfaceC9064dcf2, "");
interfaceC9064dcf2.d(this.b.h);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
LWm(C2938anz c2938anz) {
super(1);
this.b = c2938anz;
}
}
public final void c(String str, boolean z) {
C14957gcv.e(str, "");
if (gdZ.b((CharSequence) str).toString().length() > 0) {
this.g.e(str);
this.h = this.a.a.b();
RVV rvv = new RVV(this, str, z);
C14957gcv.e(rvv, "");
C2937any c2937any = new C2937any(rvv);
if (this.f != 0) {
c2937any.e(this.f);
}
}
}
/* renamed from: o.anz$RVV */
/* loaded from: classes3.dex */
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<InterfaceC9064dcf, C14866gag> {
private C2938anz a;
private String d;
private boolean e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(InterfaceC9064dcf interfaceC9064dcf) {
InterfaceC9064dcf interfaceC9064dcf2 = interfaceC9064dcf;
C14957gcv.e(interfaceC9064dcf2, "");
interfaceC9064dcf2.b(this.a.h);
interfaceC9064dcf2.d(this.d, this.a.i, this.e ? "history" : "manual");
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(C2938anz c2938anz, String str, boolean z) {
super(1);
this.a = c2938anz;
this.d = str;
this.e = z;
}
}
/* renamed from: o.anz$ZqN */
/* loaded from: classes3.dex */
public static final class ZqN extends AbstractC14961gcz implements InterfaceC14894gbR<InterfaceC9064dcf, C14866gag> {
private C2938anz a;
private C3036apt d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(InterfaceC9064dcf interfaceC9064dcf) {
InterfaceC9064dcf interfaceC9064dcf2 = interfaceC9064dcf;
C14957gcv.e(interfaceC9064dcf2, "");
interfaceC9064dcf2.b(this.a.h);
interfaceC9064dcf2.d(this.d.d, this.a.i, "suggestion");
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public ZqN(C2938anz c2938anz, C3036apt c3036apt) {
super(1);
this.a = c2938anz;
this.d = c3036apt;
}
}
@Override // o.ZI
public final void w_() {
super.w_();
uMu umu = this.d;
if (umu.h.isDisposed()) {
return;
}
umu.h.dispose();
}
/* renamed from: o.anz$tOB */
/* loaded from: classes3.dex */
public static final class tOB extends AbstractC14961gcz implements InterfaceC14894gbR<InterfaceC9064dcf, C14866gag> {
public static final tOB d = new tOB();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(InterfaceC9064dcf interfaceC9064dcf) {
InterfaceC9064dcf interfaceC9064dcf2 = interfaceC9064dcf;
C14957gcv.e(interfaceC9064dcf2, "");
interfaceC9064dcf2.a();
return C14866gag.c;
}
tOB() {
super(1);
}
}
public static /* synthetic */ void c(C2938anz c2938anz, Throwable th) {
C14957gcv.e(c2938anz, "");
if (c2938anz.b(th)) {
c2938anz.d(c2938anz.j.e(th));
}
}
/* JADX WARN: Multi-variable type inference failed */
public static /* synthetic */ void a(C2938anz c2938anz, C13396fZU c13396fZU) {
C14957gcv.e(c2938anz, "");
c2938anz.n = (List) c13396fZU.e;
List<kpv> list = ((OQf) c13396fZU.d).d;
c2938anz.e = list;
int i = 0;
if (list != null) {
Iterator<kpv> it = list.iterator();
while (true) {
if (!it.hasNext()) {
i = -1;
break;
}
int i2 = it.next().b;
Integer num = c2938anz.b;
if (num != null && i2 == num.intValue()) {
break;
} else {
i++;
}
}
}
ZI.IeS ieS = new ZI.IeS(c13396fZU, i) { // from class: o.anx
private int b;
private C13396fZU d;
@Override // o.ZI.IeS
public final void e(Object obj) {
InterfaceC9064dcf interfaceC9064dcf = (InterfaceC9064dcf) obj;
interfaceC9064dcf.d((OQf) this.d.d, this.b);
}
{
this.d = c13396fZU;
this.b = i;
}
};
if (c2938anz.f != 0) {
ieS.e(c2938anz.f);
}
if (c2938anz.f != 0) {
c2938anz.f.ar_();
}
}
public static /* synthetic */ void a(InterfaceC14894gbR interfaceC14894gbR, InterfaceC9064dcf interfaceC9064dcf) {
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(interfaceC9064dcf);
}
static {
new Sts((byte) 0);
}
}