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

429 lines
15 KiB
Java

package o;
import com.scb.phone.data.entity.transfer.SingleDataEntity;
import java.util.ArrayList;
import java.util.List;
/* renamed from: o.Hok, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0483Hok implements InterfaceC8861dYK {
private final qvQ a;
private final C16292nDH b;
private final C16144lca c;
private final SPt d;
private final wTm e;
private final C16717qeg i;
@InterfaceC13391fZD
public C0483Hok(C16292nDH c16292nDH, C16717qeg c16717qeg, SPt sPt, C16144lca c16144lca, qvQ qvq, wTm wtm) {
C14957gcv.e(c16292nDH, "");
C14957gcv.e(c16717qeg, "");
C14957gcv.e(sPt, "");
C14957gcv.e(c16144lca, "");
C14957gcv.e(qvq, "");
C14957gcv.e(wtm, "");
this.b = c16292nDH;
this.i = c16717qeg;
this.d = sPt;
this.c = c16144lca;
this.a = qvq;
this.e = wtm;
}
/* renamed from: o.Hok$jbe */
/* loaded from: classes3.dex */
static final class jbe extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<yGg>, yGg> {
public static final jbe b = new jbe();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ yGg invoke(SingleDataEntity<yGg> singleDataEntity) {
return singleDataEntity.getData();
}
jbe() {
super(1);
}
}
@Override // o.InterfaceC8861dYK
public final AbstractC13175fSw<Bct> e(C0719NOk c0719NOk) {
C14957gcv.e(c0719NOk, "");
C16292nDH c16292nDH = this.b;
C14957gcv.e(c0719NOk, "");
AbstractC13175fSw<SingleDataEntity<yGg>> eCouponTransaction = c16292nDH.a.getECouponTransaction(c0719NOk);
C14957gcv.c(eCouponTransaction, "");
final jbe jbeVar = jbe.b;
C13372fYk c13372fYk = new C13372fYk(eCouponTransaction, new fSS(jbeVar) { // from class: o.loT
private InterfaceC14894gbR d;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.d;
C14957gcv.e(interfaceC14894gbR, "");
return (yGg) interfaceC14894gbR.invoke(obj);
}
{
this.d = jbeVar;
}
});
final tOB tob = new tOB(this.a);
C13372fYk c13372fYk2 = new C13372fYk(c13372fYk, new fSS(tob) { // from class: o.Jlp
private InterfaceC14894gbR d;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.d;
C14957gcv.e(interfaceC14894gbR, "");
return (Bct) interfaceC14894gbR.invoke(obj);
}
{
this.d = tob;
}
});
C14957gcv.c(c13372fYk2, "");
return c13372fYk2;
}
/* renamed from: o.Hok$tOB */
/* loaded from: classes3.dex */
final /* synthetic */ class tOB extends C14954gcs implements InterfaceC14894gbR<yGg, Bct> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ Bct invoke(yGg ygg) {
Boolean bool;
Boolean bool2;
Integer num;
Integer num2;
yGg ygg2 = ygg;
C14957gcv.e(ygg2, "");
C14957gcv.e(ygg2, "");
Integer num3 = ygg2.a;
boolean z = false;
int intValue = num3 != null ? num3.intValue() : 0;
List<qMF> list = ygg2.b;
ArrayList arrayList = new ArrayList();
if (list != null) {
for (qMF qmf : list) {
ArrayList arrayList2 = arrayList;
String str = qmf.b;
String str2 = str == null ? "" : str;
Integer num4 = qmf.c;
int intValue2 = num4 != null ? num4.intValue() : 0;
String str3 = qmf.d;
String str4 = str3 == null ? "" : str3;
String str5 = qmf.e;
String str6 = str5 == null ? "" : str5;
String str7 = qmf.h;
String str8 = str7 == null ? "" : str7;
String str9 = qmf.j;
String str10 = str9 == null ? "" : str9;
String str11 = qmf.g;
String str12 = str11 == null ? "" : str11;
String str13 = qmf.i;
String str14 = str13 == null ? "" : str13;
String str15 = qmf.a;
arrayList2.add(new dBS(str2, intValue2, str4, str6, str8, str10, str12, str14, str15 == null ? "" : str15));
}
}
ArrayList arrayList3 = arrayList;
sNV snv = ygg2.e;
int intValue3 = (snv == null || (num2 = snv.c) == null) ? 0 : num2.intValue();
int intValue4 = (snv == null || (num = snv.e) == null) ? 0 : num.intValue();
boolean booleanValue = (snv == null || (bool2 = snv.d) == null) ? false : bool2.booleanValue();
if (snv != null && (bool = snv.a) != null) {
z = bool.booleanValue();
}
return new Bct(intValue, arrayList3, new tGN(intValue3, intValue4, booleanValue, z));
}
tOB(Object obj) {
super(1, obj, qvQ.class, "transform", "transform(Lcom/scb/phone/data/entity/ccrredemption/ecoupon/ECouponTransactionEntity;)Lcom/scb/phone/domain/entity/ccrredemption/ecoupon/ECouponTransaction;");
}
}
/* renamed from: o.Hok$ojQ */
/* loaded from: classes3.dex */
static final class ojQ extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<PWX>, PWX> {
public static final ojQ b = new ojQ();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ PWX invoke(SingleDataEntity<PWX> singleDataEntity) {
return singleDataEntity.getData();
}
ojQ() {
super(1);
}
}
@Override // o.InterfaceC8861dYK
public final AbstractC13175fSw<Yag> c(zEC zec) {
C14957gcv.e(zec, "");
C16292nDH c16292nDH = this.b;
C14957gcv.e(zec, "");
AbstractC13175fSw<SingleDataEntity<PWX>> quotaLimit = c16292nDH.a.getQuotaLimit(zec);
C14957gcv.c(quotaLimit, "");
final ojQ ojq = ojQ.b;
C13372fYk c13372fYk = new C13372fYk(quotaLimit, new fSS(ojq) { // from class: o.agN
private InterfaceC14894gbR c;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.c;
C14957gcv.e(interfaceC14894gbR, "");
return (PWX) interfaceC14894gbR.invoke(obj);
}
{
this.c = ojq;
}
});
final ZqN zqN = new ZqN(this.i);
C13372fYk c13372fYk2 = new C13372fYk(c13372fYk, new fSS(zqN) { // from class: o.PiX
private InterfaceC14894gbR c;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.c;
C14957gcv.e(interfaceC14894gbR, "");
return (Yag) interfaceC14894gbR.invoke(obj);
}
{
this.c = zqN;
}
});
C14957gcv.c(c13372fYk2, "");
return c13372fYk2;
}
/* renamed from: o.Hok$ZqN */
/* loaded from: classes3.dex */
final /* synthetic */ class ZqN extends C14954gcs implements InterfaceC14894gbR<PWX, Yag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ Yag invoke(PWX pwx) {
PWX pwx2 = pwx;
C14957gcv.e(pwx2, "");
return C16717qeg.d(pwx2);
}
ZqN(Object obj) {
super(1, obj, C16717qeg.class, "transform", "transform(Lcom/scb/phone/data/entity/ccrredemption/ecoupon/QuotaLimitEntity;)Lcom/scb/phone/domain/entity/ccrredemption/ecoupon/QuotaLimit;");
}
}
/* renamed from: o.Hok$RVV */
/* loaded from: classes3.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<Mtd>, Mtd> {
public static final RVV e = new RVV();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ Mtd invoke(SingleDataEntity<Mtd> singleDataEntity) {
return singleDataEntity.getData();
}
RVV() {
super(1);
}
}
@Override // o.InterfaceC8861dYK
public final AbstractC13175fSw<C11117eYu> d(bQQ bqq) {
C14957gcv.e(bqq, "");
C16292nDH c16292nDH = this.b;
C14957gcv.e(bqq, "");
AbstractC13175fSw<SingleDataEntity<Mtd>> deactivateECoupon = c16292nDH.a.deactivateECoupon(bqq);
C14957gcv.c(deactivateECoupon, "");
final RVV rvv = RVV.e;
C13372fYk c13372fYk = new C13372fYk(deactivateECoupon, new fSS(rvv) { // from class: o.Zlm
private InterfaceC14894gbR b;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.b;
C14957gcv.e(interfaceC14894gbR, "");
return (Mtd) interfaceC14894gbR.invoke(obj);
}
{
this.b = rvv;
}
});
final LWm lWm = new LWm(this.d);
C13372fYk c13372fYk2 = new C13372fYk(c13372fYk, new fSS(lWm) { // from class: o.Xwm
private InterfaceC14894gbR c;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.c;
C14957gcv.e(interfaceC14894gbR, "");
return (C11117eYu) interfaceC14894gbR.invoke(obj);
}
{
this.c = lWm;
}
});
C14957gcv.c(c13372fYk2, "");
return c13372fYk2;
}
/* renamed from: o.Hok$LWm */
/* loaded from: classes3.dex */
final /* synthetic */ class LWm extends C14954gcs implements InterfaceC14894gbR<Mtd, C11117eYu> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C11117eYu invoke(Mtd mtd) {
Mtd mtd2 = mtd;
C14957gcv.e(mtd2, "");
return SPt.e(mtd2);
}
LWm(Object obj) {
super(1, obj, SPt.class, "transform", "transform(Lcom/scb/phone/data/entity/ccrredemption/ecoupon/DeactivateEntity;)Lcom/scb/phone/domain/entity/ccrredemption/ecoupon/Deactivate;");
}
}
/* renamed from: o.Hok$Sts */
/* loaded from: classes3.dex */
static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<WhJ>, WhJ> {
public static final Sts c = new Sts();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ WhJ invoke(SingleDataEntity<WhJ> singleDataEntity) {
return singleDataEntity.getData();
}
Sts() {
super(1);
}
}
@Override // o.InterfaceC8861dYK
public final AbstractC13175fSw<Bhc> c(bQQ bqq) {
C14957gcv.e(bqq, "");
C16292nDH c16292nDH = this.b;
C14957gcv.e(bqq, "");
AbstractC13175fSw<SingleDataEntity<WhJ>> eCouponDetail = c16292nDH.a.getECouponDetail(bqq);
C14957gcv.c(eCouponDetail, "");
final Sts sts = Sts.c;
C13372fYk c13372fYk = new C13372fYk(eCouponDetail, new fSS(sts) { // from class: o.dOu
private InterfaceC14894gbR b;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.b;
C14957gcv.e(interfaceC14894gbR, "");
return (WhJ) interfaceC14894gbR.invoke(obj);
}
{
this.b = sts;
}
});
final saX sax = new saX(this.c);
C13372fYk c13372fYk2 = new C13372fYk(c13372fYk, new fSS(sax) { // from class: o.cPZ
private InterfaceC14894gbR b;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.b;
C14957gcv.e(interfaceC14894gbR, "");
return (Bhc) interfaceC14894gbR.invoke(obj);
}
{
this.b = sax;
}
});
C14957gcv.c(c13372fYk2, "");
return c13372fYk2;
}
/* renamed from: o.Hok$saX */
/* loaded from: classes3.dex */
final /* synthetic */ class saX extends C14954gcs implements InterfaceC14894gbR<WhJ, Bhc> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ Bhc invoke(WhJ whJ) {
WhJ whJ2 = whJ;
C14957gcv.e(whJ2, "");
return C16144lca.d(whJ2);
}
saX(Object obj) {
super(1, obj, C16144lca.class, "transform", "transform(Lcom/scb/phone/data/entity/ccrredemption/ecoupon/ECouponDetailEntity;)Lcom/scb/phone/domain/entity/ccrredemption/ecoupon/ECouponDetail;");
}
}
/* renamed from: o.Hok$HBt */
/* loaded from: classes3.dex */
static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<FyN>, FyN> {
public static final HBt a = new HBt();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ FyN invoke(SingleDataEntity<FyN> singleDataEntity) {
return singleDataEntity.getData();
}
HBt() {
super(1);
}
}
@Override // o.InterfaceC8861dYK
public final AbstractC13175fSw<NMw> a(String str) {
C14957gcv.e(str, "");
C16292nDH c16292nDH = this.b;
C14957gcv.e(str, "");
AbstractC13175fSw<SingleDataEntity<FyN>> cardRefFromDeepLinkId = c16292nDH.a.getCardRefFromDeepLinkId(str);
C14957gcv.c(cardRefFromDeepLinkId, "");
final HBt hBt = HBt.a;
C13372fYk c13372fYk = new C13372fYk(cardRefFromDeepLinkId, new fSS(hBt) { // from class: o.Qvb
private InterfaceC14894gbR b;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.b;
C14957gcv.e(interfaceC14894gbR, "");
return (FyN) interfaceC14894gbR.invoke(obj);
}
{
this.b = hBt;
}
});
final IeS ieS = new IeS(this.e);
C13372fYk c13372fYk2 = new C13372fYk(c13372fYk, new fSS(ieS) { // from class: o.tdl
private InterfaceC14894gbR a;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.a;
C14957gcv.e(interfaceC14894gbR, "");
return (NMw) interfaceC14894gbR.invoke(obj);
}
{
this.a = ieS;
}
});
C14957gcv.c(c13372fYk2, "");
return c13372fYk2;
}
/* renamed from: o.Hok$IeS */
/* loaded from: classes3.dex */
final /* synthetic */ class IeS extends C14954gcs implements InterfaceC14894gbR<FyN, NMw> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ NMw invoke(FyN fyN) {
FyN fyN2 = fyN;
C14957gcv.e(fyN2, "");
return wTm.c(fyN2);
}
IeS(Object obj) {
super(1, obj, wTm.class, "transform", "transform(Lcom/scb/phone/data/entity/ccrredemption/ECouponNotificationDeepLinkEntity;)Lcom/scb/phone/domain/entity/ccrredemption/ecoupon/MyECouponDeepLinkTransaction;");
}
}
}