package o; import com.scb.phone.data.entity.transfer.SingleDataEntity; import com.scb.phone.data.network.service.debitcarddbenefit.DebitCardBenefitService; import java.util.ArrayList; import java.util.Collection; import java.util.List; /* loaded from: classes3.dex */ public final class rHv implements RuJ { private final String b; private final DebitCardBenefitService d; final nIC e; @InterfaceC13391fZD public rHv(String str, DebitCardBenefitService debitCardBenefitService, nIC nic) { C14957gcv.e(str, ""); C14957gcv.e(debitCardBenefitService, ""); C14957gcv.e(nic, ""); this.b = str; this.d = debitCardBenefitService; this.e = nic; } /* loaded from: classes3.dex */ static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR, C14866gag> { private InterfaceC13213fU a; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(SingleDataEntity singleDataEntity) { this.a.e(singleDataEntity.getData(), "com.scb.phone.data"); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ IeS(InterfaceC13213fU interfaceC13213fU) { super(1); this.a = interfaceC13213fU; } } @Override // o.RuJ public final AbstractC13175fSw d(UjQ ujQ, InterfaceC13213fU interfaceC13213fU) { C14957gcv.e(ujQ, ""); C14957gcv.e(interfaceC13213fU, ""); AbstractC13175fSw> validationDebitCardBenefit = this.d.validationDebitCardBenefit(ujQ); final IeS ieS = new IeS(interfaceC13213fU); C13369fYh c13369fYh = new C13369fYh(validationDebitCardBenefit, new fSQ(ieS) { // from class: o.CHy private InterfaceC14894gbR a; @Override // o.fSQ public final void c(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.a; C14957gcv.e(interfaceC14894gbR, ""); interfaceC14894gbR.invoke(obj); } { this.a = ieS; } }); final RVV rvv = new RVV(this); C13372fYk c13372fYk = new C13372fYk(c13369fYh, new fSS(rvv) { // from class: o.Nua private InterfaceC14894gbR e; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.e; C14957gcv.e(interfaceC14894gbR, ""); return (EoY) interfaceC14894gbR.invoke(obj); } { this.e = rvv; } }); C14957gcv.c(c13372fYk, ""); return c13372fYk; } /* loaded from: classes3.dex */ static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR, EoY> { private rHv e; @Override // o.InterfaceC14894gbR public final /* synthetic */ EoY invoke(SingleDataEntity singleDataEntity) { nIC nic = this.e.e; Zie data = singleDataEntity.getData(); C14957gcv.c(data, ""); return nIC.b(data); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ RVV(rHv rhv) { super(1); this.e = rhv; } } /* loaded from: classes3.dex */ static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR, GMz> { private rHv b; @Override // o.InterfaceC14894gbR public final /* synthetic */ GMz invoke(SingleDataEntity singleDataEntity) { nIC nic = this.b.e; UaP data = singleDataEntity.getData(); C14957gcv.c(data, ""); UaP uaP = data; C14957gcv.e(uaP, ""); String str = uaP.d; List list = uaP.e; C14957gcv.e(list, ""); ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10); for (Eqg eqg : list) { arrayList.add(new NgZ(eqg.f, eqg.b, eqg.d, eqg.a, eqg.c, eqg.e)); } return new GMz(str, arrayList); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ Sts(rHv rhv) { super(1); this.b = rhv; } } @Override // o.RuJ public final AbstractC13175fSw e(String str) { AbstractC13175fSw> debitCardBenefitInfo = this.d.getDebitCardBenefitInfo(this.b, str); final Sts sts = new Sts(this); C13372fYk c13372fYk = new C13372fYk(debitCardBenefitInfo, new fSS(sts) { // from class: o.tRE private InterfaceC14894gbR a; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.a; C14957gcv.e(interfaceC14894gbR, ""); return (GMz) interfaceC14894gbR.invoke(obj); } { this.a = sts; } }); C14957gcv.c(c13372fYk, ""); return c13372fYk; } }