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

137 lines
3.6 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.scb.phone.domain.errors.RetrofitException;
import com.scb.phone.domain.interactor.FatcaQuestionnaireCase;
import java.util.List;
import o.C0690Mh;
import o.cYP;
import o.wRi;
/* loaded from: classes4.dex */
public class aOA extends ZI<cYP.HBt> {
public zMZ a;
public List<MF> b;
public int c;
public C16552pK d;
public FatcaQuestionnaireCase e;
public Mjl g;
public C16071kt i;
@InterfaceC13391fZD
public aOA(C16903sI c16903sI, FatcaQuestionnaireCase fatcaQuestionnaireCase, C16552pK c16552pK, Mjl mjl, zMZ zmz, C16071kt c16071kt) {
super(c16903sI);
this.e = fatcaQuestionnaireCase;
this.d = c16552pK;
this.g = mjl;
this.a = zmz;
this.i = c16071kt;
}
/* loaded from: classes4.dex */
public class Sts<T> extends wRi.LWm<T> {
private aOA c;
private Sts(aOA aoa) {
this.c = aoa;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onNext(T t) {
super.onNext(t);
aOA.a(this.c);
aOA aoa = this.c;
C1807aOx c1807aOx = new C1807aOx();
if (aoa.f != 0) {
c1807aOx.e(aoa.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
super.onError(th);
if (th instanceof FatcaQuestionnaireCase.FatcaVerificationCodeException) {
aOA.e(this.c);
aOA aoa = this.c;
C1808aOy c1808aOy = new C1808aOy();
if (aoa.f != 0) {
c1808aOy.e(aoa.f);
return;
}
return;
}
aOA.d(this.c, th, C0690Mh.IeS.JUST_DISMISS);
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
super.onComplete();
aOA.c(this.c);
}
public /* synthetic */ Sts(aOA aoa, byte b) {
this(aoa);
}
}
public static /* synthetic */ C14866gag c(aOA aoa, Throwable th) {
if (!(th instanceof RetrofitException)) {
C0690Mh.IeS ieS = C0690Mh.IeS.JUST_DISMISS;
if (aoa.b(th)) {
aoa.d(aoa.j.d(th, ieS));
}
} else {
ggV ggv = ((RetrofitException) th).e.c;
if (ggv == null || !"3015".equals(ggv.e)) {
C0690Mh.IeS ieS2 = C0690Mh.IeS.JUST_DISMISS;
if (aoa.b(th)) {
aoa.d(aoa.j.d(th, ieS2));
}
} else {
if (aoa.f != 0) {
aoa.f.ar_();
}
C1808aOy c1808aOy = new C1808aOy();
if (aoa.f != 0) {
c1808aOy.e(aoa.f);
}
}
}
return C14866gag.c;
}
public static /* synthetic */ C14866gag d(aOA aoa) {
if (aoa.f != 0) {
aoa.f.ar_();
}
C1807aOx c1807aOx = new C1807aOx();
if (aoa.f != 0) {
c1807aOx.e(aoa.f);
}
return C14866gag.c;
}
static /* synthetic */ void a(aOA aoa) {
if (aoa.f != 0) {
aoa.f.ar_();
}
}
static /* synthetic */ void e(aOA aoa) {
if (aoa.f != 0) {
aoa.f.ar_();
}
}
static /* synthetic */ void d(aOA aoa, Throwable th, C0690Mh.IeS ieS) {
if (aoa.b(th)) {
aoa.d(aoa.j.d(th, ieS));
}
}
static /* synthetic */ void c(aOA aoa) {
if (aoa.f != 0) {
aoa.f.ar_();
}
}
}