255 lines
8.1 KiB
Java
255 lines
8.1 KiB
Java
package o;
|
|
|
|
import android.content.res.Resources;
|
|
import com.scb.phone.domain.entity.mwpartner.EntityMappingException;
|
|
import o.C15715hv;
|
|
import o.InterfaceC9456dkA;
|
|
import o.ZI;
|
|
|
|
/* renamed from: o.cgX */
|
|
/* loaded from: classes4.dex */
|
|
public final class C7026cgX extends ZI<InterfaceC9456dkA.LWm> {
|
|
public final C15628hJ a;
|
|
public final InterfaceC3521azC b;
|
|
public final C0310Dw c;
|
|
public final fSC d;
|
|
public final C0898RCr e;
|
|
public final C3447axi g;
|
|
public final WHF h;
|
|
private final C16903sI i;
|
|
private final Resources m;
|
|
private final C17765zb n;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C7026cgX(Resources resources, C16903sI c16903sI, C3447axi c3447axi, WHF whf, C17765zb c17765zb, InterfaceC3521azC interfaceC3521azC, C0310Dw c0310Dw, C15628hJ c15628hJ, C0898RCr c0898RCr) {
|
|
super(c16903sI);
|
|
C14957gcv.e(resources, "");
|
|
C14957gcv.e(c16903sI, "");
|
|
C14957gcv.e(c3447axi, "");
|
|
C14957gcv.e(whf, "");
|
|
C14957gcv.e(c17765zb, "");
|
|
C14957gcv.e(interfaceC3521azC, "");
|
|
C14957gcv.e(c0310Dw, "");
|
|
C14957gcv.e(c15628hJ, "");
|
|
C14957gcv.e(c0898RCr, "");
|
|
this.m = resources;
|
|
this.i = c16903sI;
|
|
this.g = c3447axi;
|
|
this.h = whf;
|
|
this.n = c17765zb;
|
|
this.b = interfaceC3521azC;
|
|
this.c = c0310Dw;
|
|
this.a = c15628hJ;
|
|
this.e = c0898RCr;
|
|
this.d = new fSC();
|
|
}
|
|
|
|
/* renamed from: o.cgX$LWm */
|
|
/* loaded from: classes4.dex */
|
|
public static final class LWm {
|
|
private LWm() {
|
|
}
|
|
|
|
public /* synthetic */ LWm(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.cgX$Sts */
|
|
/* loaded from: classes4.dex */
|
|
public static final class Sts implements InterfaceC13176fSx<Kco> {
|
|
private C1203Xy a;
|
|
private String b;
|
|
private C1194Xs c;
|
|
private String d;
|
|
private boolean e;
|
|
private C7026cgX j;
|
|
|
|
public Sts(C7026cgX c7026cgX, C1203Xy c1203Xy, C1194Xs c1194Xs, String str, boolean z, String str2) {
|
|
this.j = c7026cgX;
|
|
this.a = c1203Xy;
|
|
this.c = c1194Xs;
|
|
this.d = str;
|
|
this.e = z;
|
|
this.b = str2;
|
|
}
|
|
|
|
@Override // o.InterfaceC13176fSx
|
|
public final /* synthetic */ void e(Kco kco) {
|
|
Kco kco2 = kco;
|
|
C14957gcv.e(kco2, "");
|
|
C7026cgX.c(this.j);
|
|
C7026cgX c7026cgX = this.j;
|
|
C7026cgX.d(c7026cgX, c7026cgX.n.d(kco2), this.a, this.c, this.d, this.e, this.b);
|
|
}
|
|
|
|
@Override // o.InterfaceC13176fSx
|
|
public final void onError(Throwable th) {
|
|
C14957gcv.e(th, "");
|
|
C7026cgX.c(this.j);
|
|
C7026cgX.e(this.j, (th instanceof IllegalStateException) || (th instanceof EntityMappingException) || (th instanceof NullPointerException), this.a, this.c, this.d, this.e, this.b);
|
|
}
|
|
|
|
@Override // o.InterfaceC13176fSx
|
|
public final void onSubscribe(fSJ fsj) {
|
|
C14957gcv.e(fsj, "");
|
|
}
|
|
}
|
|
|
|
private String b() {
|
|
Boolean r = this.g.b.r();
|
|
C14957gcv.c(r, "");
|
|
if (r.booleanValue()) {
|
|
String string = this.m.getString(C15715hv.tOB.point_x_partner_payment_tab);
|
|
C14957gcv.c((Object) string, "");
|
|
return string;
|
|
}
|
|
String string2 = this.m.getString(C15715hv.tOB.bill_payment_tab);
|
|
C14957gcv.c((Object) string2, "");
|
|
return string2;
|
|
}
|
|
|
|
@Override // o.ZI
|
|
public final void w_() {
|
|
this.d.dispose();
|
|
super.w_();
|
|
}
|
|
|
|
public static /* synthetic */ void e(C7026cgX c7026cgX, C1194Xs c1194Xs, C1203Xy c1203Xy, TS ts, String str, String str2, boolean z, InterfaceC9456dkA.LWm lWm) {
|
|
HS hs;
|
|
C14957gcv.e(c7026cgX, "");
|
|
C14957gcv.e(c1194Xs, "");
|
|
C14957gcv.e(c1203Xy, "");
|
|
C14957gcv.e(ts, "");
|
|
C14957gcv.e(str, "");
|
|
lWm.a(c7026cgX.b());
|
|
HM hm = c1194Xs.ad;
|
|
String str3 = (hm == null || (hs = hm.a) == null) ? null : hs.e;
|
|
Boolean q = c7026cgX.g.b.q();
|
|
C14957gcv.c(q, "");
|
|
if (q.booleanValue()) {
|
|
String str4 = str3;
|
|
if (!(str4 == null || gdZ.d((CharSequence) str4))) {
|
|
lWm.b(c1203Xy, ts, str, false, new String[0], str2, c1194Xs);
|
|
lWm.b();
|
|
lWm.aG_();
|
|
return;
|
|
}
|
|
}
|
|
C14957gcv.c(c7026cgX.g.b.r(), "");
|
|
lWm.b(c1194Xs, str2, !r1.booleanValue());
|
|
if (z) {
|
|
lWm.c(c1203Xy, str2);
|
|
}
|
|
lWm.b(c1203Xy, ts, str, false, new String[0], str2, c1194Xs);
|
|
lWm.e();
|
|
lWm.aG_();
|
|
Boolean r = c7026cgX.g.b.r();
|
|
C14957gcv.c(r, "");
|
|
if (r.booleanValue()) {
|
|
C7085chd c7085chd = new C7085chd();
|
|
if (c7026cgX.f != 0) {
|
|
c7085chd.e(c7026cgX.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void a(C7026cgX c7026cgX, C1194Xs c1194Xs, C1203Xy c1203Xy, String str, boolean z, String str2, boolean z2, boolean z3, InterfaceC9456dkA.LWm lWm) {
|
|
HS hs;
|
|
C14957gcv.e(c7026cgX, "");
|
|
C14957gcv.e(c1194Xs, "");
|
|
C14957gcv.e(c1203Xy, "");
|
|
C14957gcv.e(str, "");
|
|
HM hm = c1194Xs.ad;
|
|
String str3 = (hm == null || (hs = hm.a) == null) ? null : hs.e;
|
|
Boolean q = c7026cgX.g.b.q();
|
|
C14957gcv.c(q, "");
|
|
if (q.booleanValue()) {
|
|
String str4 = str3;
|
|
if (!(str4 == null || gdZ.d((CharSequence) str4))) {
|
|
lWm.a(c7026cgX.b());
|
|
lWm.b(c1203Xy, null, str, z, new String[0], str2, c1194Xs);
|
|
lWm.b();
|
|
lWm.aG_();
|
|
return;
|
|
}
|
|
}
|
|
lWm.b(c1194Xs, str2, z2 && !z3);
|
|
if (z3) {
|
|
lWm.c(c1203Xy, str2);
|
|
}
|
|
if (z2 && z3) {
|
|
lWm.e();
|
|
} else if (z2) {
|
|
lWm.a();
|
|
}
|
|
if (z2) {
|
|
String string = c7026cgX.m.getString(C15715hv.tOB.bill_payment_tab);
|
|
C14957gcv.c((Object) string, "");
|
|
lWm.a(string);
|
|
lWm.aG_();
|
|
return;
|
|
}
|
|
lWm.a(c7026cgX.b());
|
|
lWm.b(c1203Xy, null, str, z, new String[0], str2, c1194Xs);
|
|
lWm.e();
|
|
lWm.aG_();
|
|
Boolean r = c7026cgX.g.b.r();
|
|
C14957gcv.c(r, "");
|
|
if (r.booleanValue()) {
|
|
C7085chd c7085chd = new C7085chd();
|
|
if (c7026cgX.f != 0) {
|
|
c7085chd.e(c7026cgX.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static final /* synthetic */ void c(C7026cgX c7026cgX) {
|
|
if (c7026cgX.f != 0) {
|
|
c7026cgX.f.ar_();
|
|
}
|
|
}
|
|
|
|
public static final /* synthetic */ void d(C7026cgX c7026cgX, TS ts, C1203Xy c1203Xy, C1194Xs c1194Xs, String str, boolean z, String str2) {
|
|
ZI.IeS ieS = new ZI.IeS(c7026cgX, c1194Xs, c1203Xy, ts, str2, str, z) { // from class: o.chf
|
|
private C1194Xs a;
|
|
private TS b;
|
|
private String c;
|
|
private C7026cgX d;
|
|
private C1203Xy e;
|
|
private String i;
|
|
private boolean j;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7026cgX.e(this.d, this.a, this.e, this.b, this.c, this.i, this.j, (InterfaceC9456dkA.LWm) obj);
|
|
}
|
|
|
|
{
|
|
this.d = c7026cgX;
|
|
this.a = c1194Xs;
|
|
this.e = c1203Xy;
|
|
this.b = ts;
|
|
this.c = str2;
|
|
this.i = str;
|
|
this.j = z;
|
|
}
|
|
};
|
|
if (c7026cgX.f != 0) {
|
|
ieS.e(c7026cgX.f);
|
|
}
|
|
}
|
|
|
|
public static final /* synthetic */ void e(C7026cgX c7026cgX, boolean z, C1203Xy c1203Xy, C1194Xs c1194Xs, String str, boolean z2, String str2) {
|
|
C7083chb c7083chb = new C7083chb(c7026cgX, c1194Xs, c1203Xy, str2, true, str, z, z2);
|
|
if (c7026cgX.f != 0) {
|
|
c7083chb.e(c7026cgX.f);
|
|
}
|
|
}
|
|
|
|
static {
|
|
new LWm((byte) 0);
|
|
}
|
|
}
|