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

330 lines
11 KiB
Java

package o;
import java.util.List;
import o.C0690Mh;
import o.C2125aXx;
import o.InterfaceC6621cYR;
import o.InterfaceC6621cYR.RVV;
import o.PRA;
import o.ZI;
/* renamed from: o.aXx, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C2125aXx<T extends InterfaceC6621cYR.RVV> extends ZI<T> {
final RtP a;
List<C17332vqH> b;
public final C15625hH c;
public String d;
public WW e;
final C16965sn g;
public WW h;
public String i;
private final C16903sI m;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C2125aXx(C16903sI c16903sI, C16965sn c16965sn, RtP rtP, C15625hH c15625hH) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c16965sn, "");
C14957gcv.e(rtP, "");
C14957gcv.e(c15625hH, "");
this.m = c16903sI;
this.g = c16965sn;
this.a = rtP;
this.c = c15625hH;
this.i = "DIRECT_DEBIT";
}
/* renamed from: o.aXx$RVV */
/* loaded from: classes4.dex */
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<zYj, C14866gag> {
private C2125aXx<T> c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(zYj zyj) {
zYj zyj2 = zyj;
C14957gcv.e(zyj2, "");
this.c.c(zyj2);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public RVV(C2125aXx<T> c2125aXx) {
super(1);
this.c = c2125aXx;
}
}
/* renamed from: o.aXx$Sts */
/* loaded from: classes4.dex */
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C2125aXx<T> d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
C2125aXx<T> c2125aXx = this.d;
C0690Mh.IeS ieS = C0690Mh.IeS.NAVIGATE_BACK;
if (c2125aXx.b(th2)) {
c2125aXx.d(c2125aXx.j.d(th2, ieS));
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public Sts(C2125aXx<T> c2125aXx) {
super(1);
this.d = c2125aXx;
}
}
public void c(zYj zyj) {
C14957gcv.e(zyj, "");
ZI.IeS ieS = new ZI.IeS() { // from class: o.aXy
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6621cYR.RVV) obj).c();
}
};
if (this.f != 0) {
ieS.e(this.f);
}
if (this.f != 0) {
this.f.ar_();
}
this.b = b(zyj.e, "LENDING_REFERENCE");
final List<C17332vqH> b = b(zyj.e, "LENDING_SOURCE");
if (b.isEmpty()) {
ZI.IeS ieS2 = new ZI.IeS(this) { // from class: o.aXw
private C2125aXx e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2125aXx c2125aXx = this.e;
C14957gcv.e(c2125aXx, "");
((InterfaceC6621cYR.RVV) obj).d();
C14957gcv.e("CASH", "");
c2125aXx.i = "CASH";
}
{
this.e = this;
}
};
if (this.f != 0) {
ieS2.e(this.f);
return;
}
return;
}
ZI.IeS ieS3 = new ZI.IeS(this, b) { // from class: o.aXz
private List a;
private C2125aXx b;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2125aXx c2125aXx = this.b;
List list = this.a;
C14957gcv.e(c2125aXx, "");
C14957gcv.e(list, "");
C16965sn c16965sn = c2125aXx.g;
((InterfaceC6621cYR.RVV) obj).c((List) C16157lj.c(new Object[]{list, new InterfaceC1244Ytw(c2125aXx) { // from class: o.aXE
private C2125aXx b;
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj2) {
C2125aXx c2125aXx2 = this.b;
C14957gcv.e(c2125aXx2, "");
C16965sn c16965sn2 = c2125aXx2.g;
return C16965sn.b((C17332vqH) obj2, c2125aXx2.a.c.T());
}
{
this.b = c2125aXx;
}
}}, -1846295624, 1846295631, (int) System.currentTimeMillis()));
}
{
this.b = this;
this.a = b;
}
};
if (this.f != 0) {
ieS3.e(this.f);
}
}
/* renamed from: o.aXx$HBt */
/* loaded from: classes4.dex */
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<Boolean, C14866gag> {
private C2125aXx<T> c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Boolean bool) {
C2125aXx<T> c2125aXx = this.c;
if (c2125aXx.f != 0) {
c2125aXx.f.ar_();
}
final C2125aXx<T> c2125aXx2 = this.c;
ZI.IeS ieS = new ZI.IeS(c2125aXx2) { // from class: o.aXC
private C2125aXx b;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2125aXx.HBt.b(this.b, (InterfaceC6621cYR.RVV) obj);
}
{
this.b = c2125aXx2;
}
};
if (c2125aXx2.f != 0) {
ieS.e(c2125aXx2.f);
}
return C14866gag.c;
}
public static /* synthetic */ WW d(C2125aXx c2125aXx, C17332vqH c17332vqH) {
C14957gcv.e(c2125aXx, "");
C16965sn c16965sn = c2125aXx.g;
return C16965sn.b(c17332vqH, c2125aXx.a.c.T());
}
public static /* synthetic */ void b(final C2125aXx c2125aXx, InterfaceC6621cYR.RVV rvv) {
C14957gcv.e(c2125aXx, "");
C16965sn c16965sn = c2125aXx.g;
List<C17332vqH> list = c2125aXx.b;
if (list == null) {
C14957gcv.a("");
list = null;
}
rvv.b((List) C16157lj.c(new Object[]{list, new InterfaceC1244Ytw(c2125aXx) { // from class: o.aXA
private C2125aXx c;
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
return C2125aXx.HBt.d(this.c, (C17332vqH) obj);
}
{
this.c = c2125aXx;
}
}}, -1846295624, 1846295631, (int) System.currentTimeMillis()));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public HBt(C2125aXx<T> c2125aXx) {
super(1);
this.c = c2125aXx;
}
}
/* renamed from: o.aXx$LWm */
/* loaded from: classes4.dex */
public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C2125aXx<T> a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
C2125aXx<T> c2125aXx = this.a;
if (c2125aXx.b(th2)) {
c2125aXx.d(c2125aXx.j.e(th2));
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public LWm(C2125aXx<T> c2125aXx) {
super(1);
this.a = c2125aXx;
}
}
public C16842rkt d(String str) {
String str2;
String str3;
String str4;
String str5;
C14957gcv.e(str, "");
if (C14957gcv.b((Object) this.i, (Object) "DIRECT_DEBIT")) {
WW ww = this.h;
String str6 = ww != null ? ww.t : null;
WW ww2 = this.h;
String str7 = ww2 != null ? ww2.h : null;
WW ww3 = this.h;
str2 = str6;
str4 = str7;
str3 = ww3 != null ? ww3.i : null;
} else {
str2 = null;
str3 = null;
str4 = null;
}
String str8 = this.d;
if (str8 != null) {
str5 = str8;
} else {
C14957gcv.a("");
str5 = null;
}
WW ww4 = this.e;
String str9 = ww4 != null ? ww4.t : null;
WW ww5 = this.e;
String str10 = ww5 != null ? ww5.h : null;
WW ww6 = this.e;
return new C16842rkt(str5, str, str9, ww6 != null ? ww6.i : null, str10, str2, str3, str4, null, null, this.i, null, null, null, null, 31488);
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.aXx$IeS */
/* loaded from: classes4.dex */
public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<C17332vqH, Boolean> {
private String c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ Boolean invoke(C17332vqH c17332vqH) {
return Boolean.valueOf(c17332vqH.c.contains(this.c));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(String str) {
super(1);
this.c = str;
}
}
public static List<C17332vqH> b(List<C17332vqH> list, String str) {
C14957gcv.e(list, "");
C14957gcv.e(str, "");
YKU yku = new YKU(list);
final IeS ieS = new IeS(str);
Object a = new YKU(yku.a, new GEP(yku.b, new Jel(ieS) { // from class: o.aXv
private InterfaceC14894gbR d;
@Override // o.Jel
public final boolean e(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.d;
C14957gcv.e(interfaceC14894gbR, "");
return ((Boolean) interfaceC14894gbR.invoke(obj)).booleanValue();
}
{
this.d = ieS;
}
})).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
C14957gcv.c(a, "");
return (List) a;
}
@Override // o.ZI
public final void w_() {
this.c.a();
super.w_();
}
}