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

310 lines
11 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 o.LaL;
import org.threeten.bp.OffsetDateTime;
/* loaded from: classes3.dex */
public final class Dmf implements KyK {
private final LaL b;
final C16152lhh c;
final pgk e;
@InterfaceC13391fZD
public Dmf(LaL laL, pgk pgkVar, C16152lhh c16152lhh) {
C14957gcv.e(laL, "");
C14957gcv.e(pgkVar, "");
C14957gcv.e(c16152lhh, "");
this.b = laL;
this.e = pgkVar;
this.c = c16152lhh;
}
/* loaded from: classes3.dex */
static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<List<? extends C17358wBB>, List<? extends QiA>> {
public static final IeS d = new IeS();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ List<? extends QiA> invoke(List<? extends C17358wBB> list) {
List<? extends C17358wBB> list2 = list;
C14957gcv.c(list2, "");
List<? extends C17358wBB> list3 = list2;
C14957gcv.e(list3, "");
ArrayList arrayList = new ArrayList(list3 instanceof Collection ? list3.size() : 10);
for (C17358wBB c17358wBB : list3) {
arrayList.add(new QiA(c17358wBB.b, c17358wBB.d, c17358wBB.c, c17358wBB.a, Double.parseDouble(c17358wBB.i), Double.parseDouble(c17358wBB.j), Double.parseDouble(c17358wBB.h), Integer.parseInt(c17358wBB.g), c17358wBB.e));
}
return arrayList;
}
IeS() {
super(1);
}
}
/* loaded from: classes3.dex */
static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<List<? extends QiA>, C14866gag> {
private Dmf d;
/* JADX WARN: Multi-variable type inference failed */
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(List<? extends QiA> list) {
List<? extends QiA> list2 = list;
C16152lhh c16152lhh = this.d.c;
C14957gcv.c(list2, "");
C14957gcv.e(list2, "");
c16152lhh.a = list2;
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(Dmf dmf) {
super(1);
this.d = dmf;
}
}
/* loaded from: classes3.dex */
static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<C0991TdT>, C0820Pdc> {
public static final Sts d = new Sts();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C0820Pdc invoke(SingleDataEntity<C0991TdT> singleDataEntity) {
return singleDataEntity.getData().b();
}
Sts() {
super(1);
}
}
@Override // o.KyK
public final AbstractC13175fSw<C0820Pdc> a() {
AbstractC13175fSw<SingleDataEntity<C0991TdT>> tcVersion = this.b.e.getTcVersion();
final Sts sts = Sts.d;
C13372fYk c13372fYk = new C13372fYk(tcVersion, new fSS(sts) { // from class: o.yol
private InterfaceC14894gbR d;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.d;
C14957gcv.e(interfaceC14894gbR, "");
return (C0820Pdc) interfaceC14894gbR.invoke(obj);
}
{
this.d = sts;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
/* loaded from: classes3.dex */
static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<C15648hTl>, rBq> {
private Dmf c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ rBq invoke(SingleDataEntity<C15648hTl> singleDataEntity) {
pgk pgkVar = this.c.e;
C15648hTl data = singleDataEntity.getData();
C14957gcv.c(data, "");
C15648hTl c15648hTl = data;
C14957gcv.e(c15648hTl, "");
return new rBq((OffsetDateTime) ZTC.e(new Object[]{c15648hTl.a, null}, 267499366, -267499366, (int) System.currentTimeMillis()), Integer.parseInt(c15648hTl.d), c15648hTl.e, c15648hTl.b);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
LWm(Dmf dmf) {
super(1);
this.c = dmf;
}
}
@Override // o.KyK
public final AbstractC13175fSw<rBq> e(nar narVar) {
C14957gcv.e(narVar, "");
LaL laL = this.b;
C14957gcv.e(narVar, "");
AbstractC13175fSw<SingleDataEntity<C15648hTl>> generateQRBarcode = laL.e.generateQRBarcode(narVar);
final LWm lWm = new LWm(this);
C13372fYk c13372fYk = new C13372fYk(generateQRBarcode, new fSS(lWm) { // from class: o.PYZ
private InterfaceC14894gbR a;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.a;
C14957gcv.e(interfaceC14894gbR, "");
return (rBq) interfaceC14894gbR.invoke(obj);
}
{
this.a = lWm;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
@Override // o.KyK
public final AbstractC13175fSw<C15632hKR> d(String str, String str2, String str3, String str4, String str5, String str6) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
C14957gcv.e(str4, "");
C14957gcv.e(str5, "");
C14957gcv.e(str6, "");
LaL laL = this.b;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
C14957gcv.e(str4, "");
C14957gcv.e(str5, "");
C14957gcv.e(str6, "");
AbstractC13175fSw<SingleDataEntity<ooa>> validateBankingAgent = laL.e.validateBankingAgent(new jNX(str, str2, str3, str4, str5, str6));
final saX sax = saX.a;
C13372fYk c13372fYk = new C13372fYk(validateBankingAgent, new fSS(sax) { // from class: o.dJh
private InterfaceC14894gbR e;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.e;
C14957gcv.e(interfaceC14894gbR, "");
return (C15632hKR) interfaceC14894gbR.invoke(obj);
}
{
this.e = sax;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
/* loaded from: classes3.dex */
static final class saX extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<ooa>, C15632hKR> {
public static final saX a = new saX();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C15632hKR invoke(SingleDataEntity<ooa> singleDataEntity) {
ooa data = singleDataEntity.getData();
return new C15632hKR(data.b, data.d, data.e, data.c, data.a);
}
saX() {
super(1);
}
}
/* loaded from: classes3.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<C16562pOe, Boolean> {
private Dmf e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ Boolean invoke(C16562pOe c16562pOe) {
pgk pgkVar = this.e.e;
return Boolean.valueOf(pgk.a(c16562pOe));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(Dmf dmf) {
super(1);
this.e = dmf;
}
}
@Override // o.KyK
public final AbstractC13175fSw<Boolean> b(SFx sFx) {
C14957gcv.e(sFx, "");
LaL laL = this.b;
C14957gcv.e(sFx, "");
AbstractC13175fSw<C16562pOe> acceptTc = laL.e.acceptTc(sFx);
final RVV rvv = new RVV(this);
C13372fYk c13372fYk = new C13372fYk(acceptTc, new fSS(rvv) { // from class: o.kbv
private InterfaceC14894gbR d;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.d;
C14957gcv.e(interfaceC14894gbR, "");
return (Boolean) interfaceC14894gbR.invoke(obj);
}
{
this.d = rvv;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
@Override // o.KyK
public final void c() {
this.c.a = C14851gaI.c;
}
@Override // o.KyK
public final AbstractC13175fSw<List<QiA>> b(String str) {
C14957gcv.e(str, "");
if (this.c.a.isEmpty()) {
LaL laL = this.b;
C14957gcv.e(str, "");
AbstractC13175fSw<SingleDataEntity<C6545cWH>> agents = laL.e.getAgents(str);
final LaL.IeS ieS = LaL.IeS.e;
C13372fYk c13372fYk = new C13372fYk(agents, new fSS(ieS) { // from class: o.lcZ
private InterfaceC14894gbR c;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.c;
C14957gcv.e(interfaceC14894gbR, "");
return (List) interfaceC14894gbR.invoke(obj);
}
{
this.c = ieS;
}
});
C14957gcv.c(c13372fYk, "");
final IeS ieS2 = IeS.d;
C13372fYk c13372fYk2 = new C13372fYk(c13372fYk, new fSS(ieS2) { // from class: o.NDh
private InterfaceC14894gbR d;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.d;
C14957gcv.e(interfaceC14894gbR, "");
return (List) interfaceC14894gbR.invoke(obj);
}
{
this.d = ieS2;
}
});
final HBt hBt = new HBt(this);
C13369fYh c13369fYh = new C13369fYh(c13372fYk2, new fSQ(hBt) { // from class: o.IcW
private InterfaceC14894gbR b;
@Override // o.fSQ
public final void c(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.b;
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
}
{
this.b = hBt;
}
});
C14957gcv.c(c13369fYh, "");
return c13369fYh;
}
AbstractC13175fSw<List<QiA>> d = AbstractC13175fSw.d(this.c.a);
C14957gcv.c(d, "");
return d;
}
}