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

277 lines
9.0 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.scb.phone.domain.entity.mwpartner.EntityMappingException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import o.InterfaceC9116dde;
import o.ZI;
/* renamed from: o.awx */
/* loaded from: classes4.dex */
public final class C3409awx extends ZI<InterfaceC9116dde.RVV> {
public final C3447axi a;
public final C0898RCr b;
public final fSC c;
public final WHF d;
public final InterfaceC3521azC e;
private final C17765zb h;
public final C0221Br i;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C3409awx(C16903sI c16903sI, C3447axi c3447axi, WHF whf, InterfaceC3521azC interfaceC3521azC, C0221Br c0221Br, C17765zb c17765zb, C0898RCr c0898RCr) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c3447axi, "");
C14957gcv.e(whf, "");
C14957gcv.e(interfaceC3521azC, "");
C14957gcv.e(c0221Br, "");
C14957gcv.e(c17765zb, "");
C14957gcv.e(c0898RCr, "");
this.a = c3447axi;
this.d = whf;
this.e = interfaceC3521azC;
this.i = c0221Br;
this.h = c17765zb;
this.b = c0898RCr;
this.c = new fSC();
}
/* renamed from: o.awx$IeS */
/* loaded from: classes4.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
/* renamed from: o.awx$RVV */
/* loaded from: classes4.dex */
public static final class RVV implements InterfaceC13176fSx<Kco> {
private String a;
private HR b;
private C1203Xy c;
private String d;
private YY e;
private C3409awx i;
public RVV(C3409awx c3409awx, C1203Xy c1203Xy, HR hr, String str, YY yy, String str2) {
this.i = c3409awx;
this.c = c1203Xy;
this.b = hr;
this.a = str;
this.e = yy;
this.d = str2;
}
@Override // o.InterfaceC13176fSx
public final /* synthetic */ void e(Kco kco) {
Kco kco2 = kco;
C14957gcv.e(kco2, "");
C3409awx.b(this.i);
C3409awx c3409awx = this.i;
C3409awx.e(c3409awx, c3409awx.h.d(kco2), this.c, this.b, this.a, this.e, this.d);
}
@Override // o.InterfaceC13176fSx
public final void onError(Throwable th) {
C14957gcv.e(th, "");
C3409awx.b(this.i);
C3409awx.e(this.i, (th instanceof IllegalStateException) || (th instanceof EntityMappingException) || (th instanceof NullPointerException), this.c, this.b, this.a, this.e, this.d);
}
@Override // o.InterfaceC13176fSx
public final void onSubscribe(fSJ fsj) {
C14957gcv.e(fsj, "");
}
}
@Override // o.ZI
public final void w_() {
this.c.dispose();
super.w_();
}
public static /* synthetic */ void c(C3409awx c3409awx, HR hr, C1203Xy c1203Xy, String str, boolean z, String str2, YY yy, boolean z2, InterfaceC9116dde.RVV rvv) {
List<XW> list;
List<XW> list2;
HM hm;
HS hs;
C14957gcv.e(c3409awx, "");
C14957gcv.e(hr, "");
C14957gcv.e(c1203Xy, "");
C14957gcv.e(str, "");
C14957gcv.e(yy, "");
HN hn = hr.f;
C14851gaI c14851gaI = null;
String str3 = (hn == null || (hm = hn.a) == null || (hs = hm.a) == null) ? null : hs.e;
Boolean q = c3409awx.a.b.q();
C14957gcv.c(q, "");
if (q.booleanValue()) {
String str4 = str3;
if (!(str4 == null || gdZ.d((CharSequence) str4))) {
C1202Xx c1202Xx = c1203Xy.f;
if (c1202Xx != null && (list2 = c1202Xx.c) != null) {
ArrayList arrayList = new ArrayList();
Iterator<T> it = list2.iterator();
while (it.hasNext()) {
String str5 = ((XW) it.next()).e;
if (str5 != null) {
arrayList.add(str5);
}
}
c14851gaI = arrayList;
}
if (c14851gaI == null) {
c14851gaI = C14851gaI.c;
}
rvv.a(c1203Xy, null, str, z, (String[]) c14851gaI.toArray(new String[0]), str2, hr);
rvv.b();
rvv.aG_();
return;
}
}
rvv.e(hr, str2, yy);
rvv.a(hr, str2, yy);
if (z2) {
rvv.e();
rvv.aG_();
rvv.b(1);
return;
}
C1202Xx c1202Xx2 = c1203Xy.f;
if (c1202Xx2 != null && (list = c1202Xx2.c) != null) {
ArrayList arrayList2 = new ArrayList();
Iterator<T> it2 = list.iterator();
while (it2.hasNext()) {
String str6 = ((XW) it2.next()).e;
if (str6 != null) {
arrayList2.add(str6);
}
}
c14851gaI = arrayList2;
}
if (c14851gaI == null) {
c14851gaI = C14851gaI.c;
}
rvv.a(c1203Xy, null, str, z, (String[]) c14851gaI.toArray(new String[0]), str2, hr);
rvv.e();
rvv.aG_();
rvv.b(1);
}
public static /* synthetic */ void a(C3409awx c3409awx, HR hr, C1203Xy c1203Xy, TS ts, String str, String str2, YY yy, InterfaceC9116dde.RVV rvv) {
List<XW> list;
List<XW> list2;
HM hm;
HS hs;
C14957gcv.e(c3409awx, "");
C14957gcv.e(hr, "");
C14957gcv.e(c1203Xy, "");
C14957gcv.e(ts, "");
C14957gcv.e(str, "");
C14957gcv.e(yy, "");
HN hn = hr.f;
C14851gaI c14851gaI = null;
String str3 = (hn == null || (hm = hn.a) == null || (hs = hm.a) == null) ? null : hs.e;
Boolean q = c3409awx.a.b.q();
C14957gcv.c(q, "");
if (q.booleanValue()) {
String str4 = str3;
if (!(str4 == null || gdZ.d((CharSequence) str4))) {
C1202Xx c1202Xx = c1203Xy.f;
if (c1202Xx != null && (list2 = c1202Xx.c) != null) {
ArrayList arrayList = new ArrayList();
Iterator<T> it = list2.iterator();
while (it.hasNext()) {
String str5 = ((XW) it.next()).e;
if (str5 != null) {
arrayList.add(str5);
}
}
c14851gaI = arrayList;
}
if (c14851gaI == null) {
c14851gaI = C14851gaI.c;
}
rvv.a(c1203Xy, ts, str, false, (String[]) c14851gaI.toArray(new String[0]), str2, hr);
rvv.b();
rvv.aG_();
return;
}
}
rvv.e(hr, str2, yy);
rvv.a(hr, str2, yy);
C1202Xx c1202Xx2 = c1203Xy.f;
if (c1202Xx2 != null && (list = c1202Xx2.c) != null) {
ArrayList arrayList2 = new ArrayList();
Iterator<T> it2 = list.iterator();
while (it2.hasNext()) {
String str6 = ((XW) it2.next()).e;
if (str6 != null) {
arrayList2.add(str6);
}
}
c14851gaI = arrayList2;
}
if (c14851gaI == null) {
c14851gaI = C14851gaI.c;
}
rvv.a(c1203Xy, ts, str, false, (String[]) c14851gaI.toArray(new String[0]), str2, hr);
rvv.e();
rvv.aG_();
rvv.b(1);
}
public static final /* synthetic */ void b(C3409awx c3409awx) {
if (c3409awx.f != 0) {
c3409awx.f.ar_();
}
}
public static final /* synthetic */ void e(C3409awx c3409awx, TS ts, C1203Xy c1203Xy, HR hr, String str, YY yy, String str2) {
ZI.IeS ieS = new ZI.IeS(c3409awx, hr, c1203Xy, ts, str2, str, yy) { // from class: o.awz
private C3409awx a;
private TS b;
private HR c;
private C1203Xy d;
private String e;
private String h;
private YY j;
@Override // o.ZI.IeS
public final void e(Object obj) {
C3409awx.a(this.a, this.c, this.d, this.b, this.e, this.h, this.j, (InterfaceC9116dde.RVV) obj);
}
{
this.a = c3409awx;
this.c = hr;
this.d = c1203Xy;
this.b = ts;
this.e = str2;
this.h = str;
this.j = yy;
}
};
if (c3409awx.f != 0) {
ieS.e(c3409awx.f);
}
}
public static final /* synthetic */ void e(C3409awx c3409awx, boolean z, C1203Xy c1203Xy, HR hr, String str, YY yy, String str2) {
C3408aww c3408aww = new C3408aww(c3409awx, hr, c1203Xy, str2, true, str, yy, z);
if (c3409awx.f != 0) {
c3408aww.e(c3409awx.f);
}
}
static {
new IeS((byte) 0);
}
}