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

358 lines
13 KiB
Java

package o;
import com.scb.phone.data.entity.transfer.SingleDataEntity;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
import o.C14863gad;
import o.DiG;
import o.PfQ;
import o.SGk;
import o.gaG;
import o.gdL;
/* renamed from: o.goc, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C15363goc implements InterfaceC17815zxP {
private final String b;
private final QSW d;
final C14863gad e;
@InterfaceC13391fZD
public C15363goc(QSW qsw, C14863gad c14863gad, String str) {
C14957gcv.e(qsw, "");
C14957gcv.e(c14863gad, "");
C14957gcv.e(str, "");
this.d = qsw;
this.e = c14863gad;
this.b = str;
}
/* renamed from: o.goc$Sts */
/* loaded from: classes3.dex */
static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<SGk>, IwN> {
public static final Sts a = new Sts();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ IwN invoke(SingleDataEntity<SGk> singleDataEntity) {
List list;
SGk data = singleDataEntity.getData();
String str = data.g;
List<Ylx> list2 = data.e;
C14957gcv.e(list2, "");
gaG.IeS ieS = new gaG.IeS(list2);
SGk.RVV rvv = new SGk.RVV();
C14957gcv.e(ieS, "");
C14957gcv.e(rvv, "");
gdL.IeS ieS2 = new gdL.IeS(ieS, rvv);
SGk.LWm lWm = SGk.LWm.c;
C14957gcv.e(ieS2, "");
C14957gcv.e(lWm, "");
gdO gdo = new gdO(ieS2, lWm);
C14957gcv.e(gdo, "");
C14957gcv.e(gdo, "");
List a2 = C14881gav.a((List) C14964gdG.e(gdo, new ArrayList()));
RRf rRf = data.c;
C17092tpC c17092tpC = new C17092tpC(rRf.e, rRf.b);
List<Ylx> list3 = data.b;
if (list3 != null) {
List<Ylx> list4 = list3;
C14957gcv.e(list4, "");
gaG.IeS ieS3 = new gaG.IeS(list4);
SGk.Sts sts = new SGk.Sts();
C14957gcv.e(ieS3, "");
C14957gcv.e(sts, "");
gdL.IeS ieS4 = new gdL.IeS(ieS3, sts);
SGk.IeS ieS5 = SGk.IeS.d;
C14957gcv.e(ieS4, "");
C14957gcv.e(ieS5, "");
gdO gdo2 = new gdO(ieS4, ieS5);
C14957gcv.e(gdo2, "");
C14957gcv.e(gdo2, "");
list = C14881gav.a((List) C14964gdG.e(gdo2, new ArrayList()));
} else {
list = null;
}
return new IwN(str, a2, c17092tpC, list, data.a, data.d);
}
Sts() {
super(1);
}
}
/* renamed from: o.goc$RVV */
/* loaded from: classes3.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<FLz>, C13928fja> {
private C15363goc c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C13928fja invoke(SingleDataEntity<FLz> singleDataEntity) {
C13928fja e;
C14863gad c14863gad = this.c.e;
FLz data = singleDataEntity.getData();
C14957gcv.c(data, "");
e = C14863gad.e(data, null);
return e;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(C15363goc c15363goc) {
super(1);
this.c = c15363goc;
}
}
/* renamed from: o.goc$IeS */
/* loaded from: classes3.dex */
static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<KIY>, Tir> {
private C15363goc e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ Tir invoke(SingleDataEntity<KIY> singleDataEntity) {
C14863gad c14863gad = this.e.e;
KIY data = singleDataEntity.getData();
C14957gcv.c(data, "");
return C14863gad.a(data);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(C15363goc c15363goc) {
super(1);
this.e = c15363goc;
}
}
/* renamed from: o.goc$LWm */
/* loaded from: classes3.dex */
static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<LhA>, C6482cUZ> {
private C15363goc a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C6482cUZ invoke(SingleDataEntity<LhA> singleDataEntity) {
C10220dyf c10220dyf;
List list;
List a;
SingleDataEntity<LhA> singleDataEntity2 = singleDataEntity;
C14863gad c14863gad = this.a.e;
C14957gcv.c(singleDataEntity2, "");
C14957gcv.e(singleDataEntity2, "");
String str = singleDataEntity2.getStatus().h;
String str2 = singleDataEntity2.getStatus().e;
String str3 = singleDataEntity2.getStatus().c;
String str4 = singleDataEntity2.getData().d;
taK tak = singleDataEntity2.getData().c;
if (tak != null) {
String str5 = tak.c;
Boolean bool = tak.j;
String str6 = tak.d;
String str7 = tak.a;
String str8 = tak.b;
List<ONI> list2 = tak.e;
if (list2 != null && (a = C14881gav.a((Iterable) list2, (Comparator) new C14863gad.LWm())) != null) {
List list3 = a;
C14957gcv.e(list3, "");
List arrayList = new ArrayList(list3 instanceof Collection ? list3.size() : 10);
for (Iterator it = list3.iterator(); it.hasNext(); it = it) {
ONI oni = (ONI) it.next();
arrayList.add(new bBY(oni.c, oni.a, oni.b, oni.d));
}
list = arrayList;
} else {
list = C14851gaI.c;
}
c10220dyf = new C10220dyf(str5, bool, str6, str7, str8, list);
} else {
c10220dyf = null;
}
return new C6482cUZ(str, str2, str3, str4, c10220dyf);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
LWm(C15363goc c15363goc) {
super(1);
this.a = c15363goc;
}
}
/* renamed from: o.goc$HBt */
/* loaded from: classes3.dex */
static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<FLz>, C13928fja> {
private C15363goc c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C13928fja invoke(SingleDataEntity<FLz> singleDataEntity) {
SingleDataEntity<FLz> singleDataEntity2 = singleDataEntity;
C14863gad c14863gad = this.c.e;
C14957gcv.c(singleDataEntity2, "");
C14957gcv.e(singleDataEntity2, "");
FLz data = singleDataEntity2.getData();
C14957gcv.c(data, "");
return C14863gad.e(data, (iJI) ZTC.e(new Object[]{singleDataEntity2}, 321450472, -321450471, (int) System.currentTimeMillis()));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(C15363goc c15363goc) {
super(1);
this.c = c15363goc;
}
}
@Override // o.InterfaceC17815zxP
public final AbstractC13175fSw<IwN> c(String str) {
C14957gcv.e(str, "");
QSW qsw = this.d;
String str2 = PfQ.Sts.valueOf(str).apiPath;
String str3 = this.b;
C14957gcv.e(str2, "");
C14957gcv.e(str, "");
C14957gcv.e(str3, "");
AbstractC13175fSw<SingleDataEntity<SGk>> summary = qsw.b.getSummary(str2, str, str3);
final Sts sts = Sts.a;
C13372fYk c13372fYk = new C13372fYk(summary, new fSS(sts) { // from class: o.UWJ
private InterfaceC14894gbR e;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.e;
C14957gcv.e(interfaceC14894gbR, "");
return (IwN) interfaceC14894gbR.invoke(obj);
}
{
this.e = sts;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
@Override // o.InterfaceC17815zxP
public final AbstractC13175fSw<C6482cUZ> a(C8006cz c8006cz) {
C14957gcv.e(c8006cz, "");
c8006cz.d = this.b;
QSW qsw = this.d;
C14957gcv.e(c8006cz, "");
DiG.Sts sts = DiG.a;
DiG.Sts.d("3006");
DiG.Sts sts2 = DiG.a;
DiG.Sts.d("9000");
AbstractC13175fSw<SingleDataEntity<LhA>> postAutoConfirmation = qsw.a.postAutoConfirmation(c8006cz);
final LWm lWm = new LWm(this);
C13325fXX c13325fXX = new C13325fXX(new C13372fYk(postAutoConfirmation, new fSS(lWm) { // from class: o.FVR
private InterfaceC14894gbR c;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.c;
C14957gcv.e(interfaceC14894gbR, "");
return (C6482cUZ) interfaceC14894gbR.invoke(obj);
}
{
this.c = lWm;
}
}), new IpU(DiG.a));
C14957gcv.c(c13325fXX, "");
return c13325fXX;
}
@Override // o.InterfaceC17815zxP
public final AbstractC13175fSw<Tir> e(ZRn zRn) {
C14957gcv.e(zRn, "");
String str = this.b;
C14957gcv.e(str, "");
zRn.b = str;
QSW qsw = this.d;
C14957gcv.e(zRn, "");
AbstractC13175fSw<SingleDataEntity<KIY>> postAutoSummary = qsw.b.postAutoSummary(zRn);
final IeS ieS = new IeS(this);
C13372fYk c13372fYk = new C13372fYk(postAutoSummary, new fSS(ieS) { // from class: o.KEu
private InterfaceC14894gbR c;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.c;
C14957gcv.e(interfaceC14894gbR, "");
return (Tir) interfaceC14894gbR.invoke(obj);
}
{
this.c = ieS;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
@Override // o.InterfaceC17815zxP
public final AbstractC13175fSw<C13928fja> d(Ujn ujn) {
C14957gcv.e(ujn, "");
QSW qsw = this.d;
String str = PfQ.Sts.valueOf(ujn.b).apiPath;
String str2 = this.b;
C14957gcv.e(str2, "");
ujn.d = str2;
C14866gag c14866gag = C14866gag.c;
C14957gcv.e(str, "");
C14957gcv.e(ujn, "");
DiG.Sts sts = DiG.a;
DiG.Sts.d("3006");
DiG.Sts sts2 = DiG.a;
DiG.Sts.d("9200");
DiG.Sts sts3 = DiG.a;
DiG.Sts.d("9204");
AbstractC13175fSw<SingleDataEntity<FLz>> postConfirmation = qsw.b.postConfirmation(str, ujn);
final HBt hBt = new HBt(this);
C13325fXX c13325fXX = new C13325fXX(new C13372fYk(postConfirmation, new fSS(hBt) { // from class: o.GuN
private InterfaceC14894gbR e;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.e;
C14957gcv.e(interfaceC14894gbR, "");
return (C13928fja) interfaceC14894gbR.invoke(obj);
}
{
this.e = hBt;
}
}), new IpU(DiG.a));
C14957gcv.c(c13325fXX, "");
return c13325fXX;
}
@Override // o.InterfaceC17815zxP
public final AbstractC13175fSw<C13928fja> b(Ujn ujn) {
C14957gcv.e(ujn, "");
QSW qsw = this.d;
String str = PfQ.Sts.valueOf(ujn.b).apiPath;
String str2 = this.b;
C14957gcv.e(str2, "");
ujn.d = str2;
C14866gag c14866gag = C14866gag.c;
C14957gcv.e(str, "");
C14957gcv.e(ujn, "");
AbstractC13175fSw<SingleDataEntity<FLz>> postConfirmation = qsw.b.postConfirmation(str, ujn);
final RVV rvv = new RVV(this);
C13372fYk c13372fYk = new C13372fYk(postConfirmation, new fSS(rvv) { // from class: o.FYy
private InterfaceC14894gbR b;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.b;
C14957gcv.e(interfaceC14894gbR, "");
return (C13928fja) interfaceC14894gbR.invoke(obj);
}
{
this.b = rvv;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
}