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

190 lines
6.2 KiB
Java

package o;
import com.scb.phone.data.entity.transfer.SingleDataEntity;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import okhttp3.ResponseBody;
/* loaded from: classes3.dex */
public final class MrQ implements InterfaceC0504Icu {
final C1022Tyj a;
private final Vam b;
private final String c;
@InterfaceC13391fZD
public MrQ(Vam vam, String str, C1022Tyj c1022Tyj) {
C14957gcv.e(vam, "");
C14957gcv.e(str, "");
C14957gcv.e(c1022Tyj, "");
this.b = vam;
this.c = str;
this.a = c1022Tyj;
}
/* loaded from: classes3.dex */
static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<HbJ>, HbJ> {
public static final IeS d = new IeS();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ HbJ invoke(SingleDataEntity<HbJ> singleDataEntity) {
return singleDataEntity.getData();
}
IeS() {
super(1);
}
}
@Override // o.InterfaceC0504Icu
public final AbstractC13175fSw<zYj> d(String str, String str2) {
C14957gcv.e(str, "");
Vam vam = this.b;
String str3 = this.c;
C14957gcv.e(str, "");
C14957gcv.e(str3, "");
AbstractC13175fSw<SingleDataEntity<HbJ>> operativeAccount = vam.d.getOperativeAccount(str, str2, str3);
final IeS ieS = IeS.d;
C13372fYk c13372fYk = new C13372fYk(operativeAccount, new fSS(ieS) { // from class: o.lzQ
private InterfaceC14894gbR d;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.d;
C14957gcv.e(interfaceC14894gbR, "");
return (HbJ) interfaceC14894gbR.invoke(obj);
}
{
this.d = ieS;
}
});
final RVV rvv = RVV.a;
C13372fYk c13372fYk2 = new C13372fYk(c13372fYk, new fSS(rvv) { // from class: o.vcA
private InterfaceC14894gbR d;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.d;
C14957gcv.e(interfaceC14894gbR, "");
return (zYj) interfaceC14894gbR.invoke(obj);
}
{
this.d = rvv;
}
});
C14957gcv.c(c13372fYk2, "");
return c13372fYk2;
}
/* loaded from: classes3.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<HbJ, zYj> {
public static final RVV a = new RVV();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ zYj invoke(HbJ hbJ) {
HbJ hbJ2 = hbJ;
List<fDF> list = hbJ2.e;
C14957gcv.e(list, "");
ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10);
for (fDF fdf : list) {
arrayList.add(new C17332vqH(fdf.e, fdf.c, fdf.g, fdf.a, fdf.d, fdf.i, fdf.b, fdf.h));
}
return new zYj(arrayList, hbJ2.a, hbJ2.c, hbJ2.b);
}
RVV() {
super(1);
}
}
/* loaded from: classes3.dex */
static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<ResponseBody, Boolean> {
public static final LWm e = new LWm();
@Override // o.InterfaceC14894gbR
public final /* bridge */ /* synthetic */ Boolean invoke(ResponseBody responseBody) {
return Boolean.TRUE;
}
LWm() {
super(1);
}
}
/* loaded from: classes3.dex */
static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<zHo>, PAj> {
private MrQ b;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ PAj invoke(SingleDataEntity<zHo> singleDataEntity) {
C1022Tyj c1022Tyj = this.b.a;
zHo data = singleDataEntity.getData();
C14957gcv.c(data, "");
return c1022Tyj.e(data);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
Sts(MrQ mrQ) {
super(1);
this.b = mrQ;
}
}
@Override // o.InterfaceC0504Icu
public final AbstractC13175fSw<PAj> a(String str, String str2) {
C14957gcv.e(str, "");
Vam vam = this.b;
String str3 = this.c;
C14957gcv.e(str, "");
C14957gcv.e(str3, "");
AbstractC13175fSw<SingleDataEntity<zHo>> featureOperativeAccount = vam.d.getFeatureOperativeAccount(str, str2, str3);
final Sts sts = new Sts(this);
C13372fYk c13372fYk = new C13372fYk(featureOperativeAccount, new fSS(sts) { // from class: o.IGc
private InterfaceC14894gbR d;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.d;
C14957gcv.e(interfaceC14894gbR, "");
return (PAj) interfaceC14894gbR.invoke(obj);
}
{
this.d = sts;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
@Override // o.InterfaceC0504Icu
public final AbstractC13175fSw<Boolean> a(C16842rkt c16842rkt) {
C14957gcv.e(c16842rkt, "");
String str = this.c;
C14957gcv.e(str, "");
c16842rkt.e = str;
Vam vam = this.b;
C14957gcv.e(c16842rkt, "");
AbstractC13175fSw<ResponseBody> postOperativeAccount = vam.d.postOperativeAccount(c16842rkt);
final LWm lWm = LWm.e;
C13372fYk c13372fYk = new C13372fYk(postOperativeAccount, new fSS(lWm) { // from class: o.nPa
private InterfaceC14894gbR b;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.b;
C14957gcv.e(interfaceC14894gbR, "");
return (Boolean) interfaceC14894gbR.invoke(obj);
}
{
this.b = lWm;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
}