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

140 lines
4.8 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.scb.phone.data.entity.transfer.SingleDataEntity;
import com.scb.phone.data.network.service.easycash.EasycashLoanTrackService;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
import o.ROl;
import o.Vfs;
/* loaded from: classes3.dex */
public final class Lqq implements Qyp {
private final EasycashLoanTrackService b;
private final String c;
@InterfaceC13391fZD
public Lqq(EasycashLoanTrackService easycashLoanTrackService, String str) {
C14957gcv.e(easycashLoanTrackService, "");
C14957gcv.e(str, "");
this.b = easycashLoanTrackService;
this.c = str;
}
/* loaded from: classes3.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<Vfs>, Vfs> {
public static final RVV a = new RVV();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ Vfs invoke(SingleDataEntity<Vfs> singleDataEntity) {
return singleDataEntity.getData();
}
RVV() {
super(1);
}
}
@Override // o.Qyp
public final AbstractC13175fSw<GRw> d() {
AbstractC13175fSw<SingleDataEntity<Vfs>> inquiryLoanInfo = this.b.inquiryLoanInfo(this.c);
final RVV rvv = RVV.a;
C13372fYk c13372fYk = new C13372fYk(inquiryLoanInfo, new fSS(rvv) { // from class: o.ILj
private InterfaceC14894gbR c;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.c;
C14957gcv.e(interfaceC14894gbR, "");
return (Vfs) interfaceC14894gbR.invoke(obj);
}
{
this.c = rvv;
}
});
final IeS ieS = IeS.d;
C13372fYk c13372fYk2 = new C13372fYk(c13372fYk, new fSS(ieS) { // from class: o.TXc
private InterfaceC14894gbR a;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.a;
C14957gcv.e(interfaceC14894gbR, "");
return (GRw) interfaceC14894gbR.invoke(obj);
}
{
this.a = ieS;
}
});
C14957gcv.c(c13372fYk2, "");
return c13372fYk2;
}
/* loaded from: classes3.dex */
static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<Vfs, GRw> {
public static final IeS d = new IeS();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ GRw invoke(Vfs vfs) {
C14851gaI c14851gaI;
List a;
Iterator it;
String str;
ArrayList arrayList;
List a2;
Vfs vfs2 = vfs;
String str2 = vfs2.d;
String str3 = vfs2.a;
String str4 = "";
if (str3 == null) {
str3 = "";
}
List<ROl> list = vfs2.c;
if (list != null && (a = C14881gav.a((Iterable) list, (Comparator) new Vfs.Sts())) != null) {
List list2 = a;
C14957gcv.e(list2, "");
ArrayList arrayList2 = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
Iterator it2 = list2.iterator();
while (it2.hasNext()) {
ROl rOl = (ROl) it2.next();
Integer num = rOl.a;
String str5 = rOl.d;
String str6 = rOl.b;
List<qpF> list3 = rOl.e;
if (list3 != null && (a2 = C14881gav.a((Iterable) list3, (Comparator) new ROl.IeS())) != null) {
List<qpF> list4 = a2;
C14957gcv.e(list4, str4);
arrayList = new ArrayList(list4 instanceof Collection ? list4.size() : 10);
for (qpF qpf : list4) {
arrayList.add(new C15834ivf(qpf.e, qpf.h, qpf.d, qpf.c, qpf.b, qpf.a));
it2 = it2;
str4 = str4;
}
it = it2;
str = str4;
} else {
it = it2;
str = str4;
arrayList = C14851gaI.c;
}
arrayList2.add(new obE(num, str5, str6, (List) arrayList));
it2 = it;
str4 = str;
}
c14851gaI = arrayList2;
} else {
c14851gaI = C14851gaI.c;
}
return new GRw(str2, str3, c14851gaI);
}
IeS() {
super(1);
}
}
}