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

284 lines
9.2 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.InterfaceC9464dkI;
import o.ZI;
/* renamed from: o.chR */
/* loaded from: classes4.dex */
public final class C7073chR extends ZI<InterfaceC9464dkI.Sts> {
public final C3447axi a;
public final fSC b;
public final InterfaceC3521azC c;
public final WHF d;
public final C0898RCr e;
private final C17765zb g;
private final C16903sI h;
public final C0221Br i;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C7073chR(C16903sI c16903sI, C3447axi c3447axi, WHF whf, C17765zb c17765zb, InterfaceC3521azC interfaceC3521azC, C0221Br c0221Br, C0898RCr c0898RCr) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c3447axi, "");
C14957gcv.e(whf, "");
C14957gcv.e(c17765zb, "");
C14957gcv.e(interfaceC3521azC, "");
C14957gcv.e(c0221Br, "");
C14957gcv.e(c0898RCr, "");
this.h = c16903sI;
this.a = c3447axi;
this.d = whf;
this.g = c17765zb;
this.c = interfaceC3521azC;
this.i = c0221Br;
this.e = c0898RCr;
this.b = new fSC();
}
/* renamed from: o.chR$HBt */
/* loaded from: classes4.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
/* renamed from: o.chR$LWm */
/* loaded from: classes4.dex */
public static final class LWm implements InterfaceC13176fSx<Kco> {
private C7073chR a;
private String b;
private C1203Xy c;
private HR d;
private String e;
public LWm(C7073chR c7073chR, C1203Xy c1203Xy, HR hr, String str, String str2) {
this.a = c7073chR;
this.c = c1203Xy;
this.d = hr;
this.b = str;
this.e = str2;
}
@Override // o.InterfaceC13176fSx
public final /* synthetic */ void e(Kco kco) {
Kco kco2 = kco;
C14957gcv.e(kco2, "");
C7073chR.d(this.a);
C7073chR c7073chR = this.a;
C7073chR.e(c7073chR, c7073chR.g.d(kco2), this.c, this.d, this.b, this.e);
}
@Override // o.InterfaceC13176fSx
public final void onError(Throwable th) {
C14957gcv.e(th, "");
C7073chR.d(this.a);
C7073chR.a(this.a, (th instanceof IllegalStateException) || (th instanceof EntityMappingException) || (th instanceof NullPointerException), this.c, this.d, this.b, this.e);
}
@Override // o.InterfaceC13176fSx
public final void onSubscribe(fSJ fsj) {
C14957gcv.e(fsj, "");
}
}
@Override // o.ZI
public final void w_() {
this.b.dispose();
super.w_();
}
public static /* synthetic */ void a(C7073chR c7073chR, HR hr, C1203Xy c1203Xy, TS ts, String str, String str2, InterfaceC9464dkI.Sts sts) {
List<XW> list;
List<XW> list2;
HM hm;
HS hs;
C14957gcv.e(c7073chR, "");
C14957gcv.e(hr, "");
C14957gcv.e(c1203Xy, "");
C14957gcv.e(ts, "");
C14957gcv.e(str, "");
HN hn = hr.f;
C14851gaI c14851gaI = null;
String str3 = (hn == null || (hm = hn.a) == null || (hs = hm.a) == null) ? null : hs.e;
Boolean q = c7073chR.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;
}
sts.d(c1203Xy, ts, str, false, (String[]) c14851gaI.toArray(new String[0]), str2, hr);
sts.d();
sts.aG_();
return;
}
}
sts.e(hr, str2);
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;
}
sts.d(c1203Xy, ts, str, false, (String[]) c14851gaI.toArray(new String[0]), str2, hr);
sts.e();
sts.aG_();
Boolean r = c7073chR.a.b.r();
C14957gcv.c(r, "");
if (r.booleanValue()) {
C7080chY c7080chY = new C7080chY();
if (c7073chR.f != 0) {
c7080chY.e(c7073chR.f);
}
}
}
public static /* synthetic */ void b(C7073chR c7073chR, HR hr, C1203Xy c1203Xy, String str, boolean z, String str2, boolean z2, InterfaceC9464dkI.Sts sts) {
List<XW> list;
List<XW> list2;
HM hm;
HS hs;
C14957gcv.e(c7073chR, "");
C14957gcv.e(hr, "");
C14957gcv.e(c1203Xy, "");
C14957gcv.e(str, "");
HN hn = hr.f;
C14851gaI c14851gaI = null;
String str3 = (hn == null || (hm = hn.a) == null || (hs = hm.a) == null) ? null : hs.e;
Boolean q = c7073chR.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;
}
sts.d(c1203Xy, null, str, z, (String[]) c14851gaI.toArray(new String[0]), str2, hr);
sts.d();
sts.aG_();
return;
}
}
sts.e(hr, str2);
if (z2) {
sts.a();
sts.aG_();
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;
}
sts.d(c1203Xy, null, str, z, (String[]) c14851gaI.toArray(new String[0]), str2, hr);
sts.e();
sts.aG_();
Boolean r = c7073chR.a.b.r();
C14957gcv.c(r, "");
if (r.booleanValue()) {
C7080chY c7080chY = new C7080chY();
if (c7073chR.f != 0) {
c7080chY.e(c7073chR.f);
}
}
}
public static final /* synthetic */ void d(C7073chR c7073chR) {
if (c7073chR.f != 0) {
c7073chR.f.ar_();
}
}
public static final /* synthetic */ void e(C7073chR c7073chR, TS ts, C1203Xy c1203Xy, HR hr, String str, String str2) {
ZI.IeS ieS = new ZI.IeS(c7073chR, hr, c1203Xy, ts, str2, str) { // from class: o.chS
private C7073chR a;
private HR b;
private TS c;
private String d;
private C1203Xy e;
private String i;
@Override // o.ZI.IeS
public final void e(Object obj) {
C7073chR.a(this.a, this.b, this.e, this.c, this.d, this.i, (InterfaceC9464dkI.Sts) obj);
}
{
this.a = c7073chR;
this.b = hr;
this.e = c1203Xy;
this.c = ts;
this.d = str2;
this.i = str;
}
};
if (c7073chR.f != 0) {
ieS.e(c7073chR.f);
}
}
public static final /* synthetic */ void a(C7073chR c7073chR, boolean z, C1203Xy c1203Xy, HR hr, String str, String str2) {
C7076chU c7076chU = new C7076chU(c7073chR, hr, c1203Xy, str2, true, str, z);
if (c7073chR.f != 0) {
c7076chU.e(c7073chR.f);
}
}
static {
new HBt((byte) 0);
}
}