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

221 lines
7.5 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.prepaid.PrepaidService;
import java.util.List;
/* renamed from: o.SMe, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0945SMe implements sKX {
final RsS a;
private final String b;
private final String c;
final SIz d;
final GOB e;
private final PrepaidService f;
private final String h;
private final List<YNb> i;
private final String j;
@InterfaceC13391fZD
public C0945SMe(String str, PrepaidService prepaidService, GOB gob, RsS rsS, SIz sIz) {
C14957gcv.e(str, "");
C14957gcv.e(prepaidService, "");
C14957gcv.e(gob, "");
C14957gcv.e(rsS, "");
C14957gcv.e(sIz, "");
this.j = str;
this.f = prepaidService;
this.e = gob;
this.a = rsS;
this.d = sIz;
this.b = "";
this.c = "";
this.h = "";
this.i = C14851gaI.c;
}
/* renamed from: o.SMe$HBt */
/* loaded from: classes3.dex */
static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<cXQ>, InterfaceC13169fSq<? extends isg>> {
private List<idH> b;
private C0945SMe e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ InterfaceC13169fSq<? extends isg> invoke(SingleDataEntity<cXQ> singleDataEntity) {
GOB gob = this.e.e;
cXQ data = singleDataEntity.getData();
C14957gcv.c(data, "");
return AbstractC13163fSk.just(GOB.e(data, this.b));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(C0945SMe c0945SMe, List<idH> list) {
super(1);
this.e = c0945SMe;
this.b = list;
}
}
/* renamed from: o.SMe$Sts */
/* loaded from: classes3.dex */
static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<C0867QhA>, C16765qzi> {
private C0945SMe e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C16765qzi invoke(SingleDataEntity<C0867QhA> singleDataEntity) {
RsS rsS = this.e.a;
return RsS.c(singleDataEntity.getData());
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
Sts(C0945SMe c0945SMe) {
super(1);
this.e = c0945SMe;
}
}
@Override // o.sKX
public final AbstractC13163fSk<C16765qzi> d(C9191df c9191df) {
C14957gcv.e(c9191df, "");
AbstractC13163fSk<SingleDataEntity<C0867QhA>> reward = this.f.getReward(c9191df);
final Sts sts = new Sts(this);
AbstractC13163fSk map = reward.map(new fSS(sts) { // from class: o.dAq
private InterfaceC14894gbR c;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.c;
C14957gcv.e(interfaceC14894gbR, "");
return (C16765qzi) interfaceC14894gbR.invoke(obj);
}
{
this.c = sts;
}
});
C14957gcv.c(map, "");
return map;
}
/* renamed from: o.SMe$RVV */
/* loaded from: classes3.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<NFW>, C15816ioh> {
private C0945SMe a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C15816ioh invoke(SingleDataEntity<NFW> singleDataEntity) {
SIz sIz = this.a.d;
NFW data = singleDataEntity.getData();
C14957gcv.c(data, "");
return SIz.a(data);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(C0945SMe c0945SMe) {
super(1);
this.a = c0945SMe;
}
}
@Override // o.sKX
public final AbstractC13163fSk<C15816ioh> c(C9244dg c9244dg) {
C14957gcv.e(c9244dg, "");
AbstractC13163fSk<SingleDataEntity<NFW>> prepaidTransactions = this.f.getPrepaidTransactions(c9244dg);
final RVV rvv = new RVV(this);
AbstractC13163fSk map = prepaidTransactions.map(new fSS(rvv) { // from class: o.DHm
private InterfaceC14894gbR d;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.d;
C14957gcv.e(interfaceC14894gbR, "");
return (C15816ioh) interfaceC14894gbR.invoke(obj);
}
{
this.d = rvv;
}
});
C14957gcv.c(map, "");
return map;
}
/* renamed from: o.SMe$LWm */
/* loaded from: classes3.dex */
static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<C16562pOe, Pag> {
private C0945SMe e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ Pag invoke(C16562pOe c16562pOe) {
return this.e.e.d(c16562pOe);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
LWm(C0945SMe c0945SMe) {
super(1);
this.e = c0945SMe;
}
}
@Override // o.sKX
public final AbstractC13175fSw<Pag> d(C9614dn c9614dn, String str, String str2) {
C14957gcv.e(c9614dn, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
AbstractC13175fSw<C16562pOe> prepaidResetOtpConfirm = this.f.getPrepaidResetOtpConfirm(c9614dn, str, str2, this.j);
final LWm lWm = new LWm(this);
C13372fYk c13372fYk = new C13372fYk(prepaidResetOtpConfirm, new fSS(lWm) { // from class: o.LVj
private InterfaceC14894gbR c;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.c;
C14957gcv.e(interfaceC14894gbR, "");
return (Pag) interfaceC14894gbR.invoke(obj);
}
{
this.c = lWm;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
@Override // o.sKX
public final AbstractC13163fSk<isg> a(C6615cY c6615cY, List<idH> list) {
C14957gcv.e(list, "");
if ((c6615cY != null ? c6615cY.e : null) != null && c6615cY.e.isEmpty()) {
AbstractC13163fSk<isg> just = AbstractC13163fSk.just(new isg(this.b, this.c, this.h, this.i));
C14957gcv.c(just, "");
return just;
}
PrepaidService prepaidService = this.f;
C14957gcv.e(c6615cY);
AbstractC13163fSk<SingleDataEntity<cXQ>> prePaidCardSummary = prepaidService.getPrePaidCardSummary(c6615cY);
final HBt hBt = new HBt(this, list);
AbstractC13163fSk flatMap = prePaidCardSummary.flatMap(new fSS(hBt) { // from class: o.IEA
private InterfaceC14894gbR d;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.d;
C14957gcv.e(interfaceC14894gbR, "");
return (InterfaceC13169fSq) interfaceC14894gbR.invoke(obj);
}
{
this.d = hBt;
}
});
C14957gcv.c(flatMap, "");
return flatMap;
}
@Override // o.sKX
public final String a() {
return this.j;
}
}