233 lines
7.3 KiB
Java
233 lines
7.3 KiB
Java
package o;
|
|
|
|
import com.scb.phone.domain.errors.RetrofitException;
|
|
import o.AbstractC15351go;
|
|
import o.C0690Mh;
|
|
import o.C15715hv;
|
|
import o.InterfaceC9426djX;
|
|
import o.ZI;
|
|
|
|
/* renamed from: o.bYm, reason: case insensitive filesystem */
|
|
/* loaded from: classes4.dex */
|
|
public final class C4386bYm extends ZI<InterfaceC9426djX.HBt> implements InterfaceC9426djX.LWm {
|
|
private String c;
|
|
private final C15849jC d;
|
|
|
|
public static final /* synthetic */ void b(C4386bYm c4386bYm, Throwable th, String str) {
|
|
VCl vCl;
|
|
ggV ggv;
|
|
c4386bYm.c = str;
|
|
String str2 = null;
|
|
RetrofitException retrofitException = th instanceof RetrofitException ? (RetrofitException) th : null;
|
|
if (retrofitException != null && (vCl = retrofitException.e) != null && (ggv = vCl.c) != null) {
|
|
str2 = ggv.e;
|
|
}
|
|
if (C14957gcv.b((Object) str2, (Object) "3034")) {
|
|
C0690Mh.IeS ieS = C0690Mh.IeS.NAVIGATE_BACK;
|
|
if (c4386bYm.b(th)) {
|
|
c4386bYm.d(c4386bYm.j.d(th, ieS));
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
if (C14957gcv.b((Object) str2, (Object) "3063")) {
|
|
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bYl
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC9426djX.HBt) obj).d();
|
|
}
|
|
};
|
|
if (c4386bYm.f != 0) {
|
|
ieS2.e(c4386bYm.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
c4386bYm.c(C15715hv.tOB.error_generic_resource, C0690Mh.IeS.NAVIGATE_BACK);
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C4386bYm(C15849jC c15849jC, C16903sI c16903sI) {
|
|
super(c16903sI);
|
|
C14957gcv.e(c15849jC, "");
|
|
C14957gcv.e(c16903sI, "");
|
|
this.d = c15849jC;
|
|
this.c = "Unregistered";
|
|
}
|
|
|
|
/* renamed from: o.bYm$IeS */
|
|
/* loaded from: classes4.dex */
|
|
public static final class IeS {
|
|
private IeS() {
|
|
}
|
|
|
|
public /* synthetic */ IeS(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* renamed from: o.bYm$LWm */
|
|
/* loaded from: classes4.dex */
|
|
public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
|
|
private C4386bYm a;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ C14866gag invoke(Throwable th) {
|
|
Throwable th2 = th;
|
|
C14957gcv.e(th2, "");
|
|
C4386bYm.b(this.a, th2, "Registered");
|
|
return C14866gag.c;
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
LWm(C4386bYm c4386bYm) {
|
|
super(1);
|
|
this.a = c4386bYm;
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* renamed from: o.bYm$RVV */
|
|
/* loaded from: classes4.dex */
|
|
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<TFl, C14866gag> {
|
|
private C4386bYm a;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ C14866gag invoke(TFl tFl) {
|
|
TFl tFl2 = tFl;
|
|
C14957gcv.e(tFl2, "");
|
|
C4386bYm.b(this.a, tFl2.c, "Registered");
|
|
return C14866gag.c;
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
RVV(C4386bYm c4386bYm) {
|
|
super(1);
|
|
this.a = c4386bYm;
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* renamed from: o.bYm$HBt */
|
|
/* loaded from: classes4.dex */
|
|
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<TFl, C14866gag> {
|
|
private C4386bYm c;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ C14866gag invoke(TFl tFl) {
|
|
TFl tFl2 = tFl;
|
|
C14957gcv.e(tFl2, "");
|
|
C4386bYm.b(this.c, tFl2.c, "Unregistered");
|
|
return C14866gag.c;
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
HBt(C4386bYm c4386bYm) {
|
|
super(1);
|
|
this.c = c4386bYm;
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* renamed from: o.bYm$Sts */
|
|
/* loaded from: classes4.dex */
|
|
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
|
|
private C4386bYm a;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ C14866gag invoke(Throwable th) {
|
|
Throwable th2 = th;
|
|
C14957gcv.e(th2, "");
|
|
C4386bYm.b(this.a, th2, "Unregistered");
|
|
return C14866gag.c;
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
Sts(C4386bYm c4386bYm) {
|
|
super(1);
|
|
this.a = c4386bYm;
|
|
}
|
|
}
|
|
|
|
@Override // o.ZI
|
|
public final void w_() {
|
|
this.d.a();
|
|
super.w_();
|
|
}
|
|
|
|
public static /* synthetic */ void b(String str, InterfaceC9426djX.HBt hBt) {
|
|
C14957gcv.e(str, "");
|
|
if (gdZ.a("Enrolled", str, true)) {
|
|
hBt.a();
|
|
} else {
|
|
hBt.c();
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void d(String str, InterfaceC9426djX.HBt hBt) {
|
|
C14957gcv.e(str, "");
|
|
hBt.e(C14957gcv.b((Object) "th", (Object) str) ? "https://info.scb.co.th/scbeasy/NDID/NDID_TC_thai.html" : "https://info.scb.co.th/scbeasy/NDID/NDID_TC_eng.html");
|
|
}
|
|
|
|
public static /* synthetic */ void c(String str, String str2, InterfaceC9426djX.HBt hBt) {
|
|
C14957gcv.e(str, "");
|
|
C14957gcv.e(str2, "");
|
|
hBt.b(str, str2);
|
|
}
|
|
|
|
public static final /* synthetic */ void b(C4386bYm c4386bYm, final String str, final String str2) {
|
|
if (c4386bYm.f != 0) {
|
|
c4386bYm.f.ar_();
|
|
}
|
|
ZI.IeS ieS = new ZI.IeS(str, str2) { // from class: o.bYq
|
|
private String d;
|
|
private String e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C4386bYm.c(this.d, this.e, (InterfaceC9426djX.HBt) obj);
|
|
}
|
|
|
|
{
|
|
this.d = str;
|
|
this.e = str2;
|
|
}
|
|
};
|
|
if (c4386bYm.f != 0) {
|
|
ieS.e(c4386bYm.f);
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC9426djX.LWm
|
|
public final void d(String str) {
|
|
if (this.f != 0) {
|
|
this.f.y();
|
|
}
|
|
if (str == null) {
|
|
str = this.c;
|
|
}
|
|
this.c = str;
|
|
if (gdZ.a("Registered", str, true)) {
|
|
C15849jC c15849jC = this.d;
|
|
RVV rvv = new RVV(this);
|
|
LWm lWm = new LWm(this);
|
|
C14957gcv.e(rvv, "");
|
|
C14957gcv.e(lWm, "");
|
|
c15849jC.b(c15849jC.h, rvv, lWm, new AbstractC15351go.LWm());
|
|
return;
|
|
}
|
|
C15849jC c15849jC2 = this.d;
|
|
HBt hBt = new HBt(this);
|
|
Sts sts = new Sts(this);
|
|
C14957gcv.e(hBt, "");
|
|
C14957gcv.e(sts, "");
|
|
c15849jC2.b(c15849jC2.f9180o, hBt, sts, new AbstractC15351go.LWm());
|
|
}
|
|
|
|
static {
|
|
new IeS((byte) 0);
|
|
}
|
|
}
|