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

238 lines
7.5 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.scb.phone.domain.errors.RetrofitException;
import java.util.Arrays;
import java.util.List;
import o.C0690Mh;
import o.C15715hv;
import o.ZI;
/* loaded from: classes4.dex */
public final class bRR extends ZI<InterfaceC9449dju> {
public final C15968jy a;
public String e;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public bRR(C16903sI c16903sI, C15968jy c15968jy) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c15968jy, "");
this.a = c15968jy;
}
/* loaded from: classes4.dex */
public static final class RVV {
private RVV() {
}
public /* synthetic */ RVV(byte b) {
this();
}
}
@Override // o.ZI
public final void w_() {
super.w_();
this.a.a();
}
/* loaded from: classes4.dex */
public final /* synthetic */ class HBt extends C14954gcs implements InterfaceC14894gbR<C0942Rz, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(C0942Rz c0942Rz) {
C0942Rz c0942Rz2 = c0942Rz;
C14957gcv.e(c0942Rz2, "");
bRR.e((bRR) this.f, c0942Rz2);
return C14866gag.c;
}
public HBt(Object obj) {
super(1, obj, bRR.class, "getAddressConfirmationSuccess", "getAddressConfirmationSuccess(Lcom/scb/phone/presentation/model/display/mailingaddress/MailingAddressConfirmationDetailsDisplay;)V");
}
}
/* loaded from: classes4.dex */
public final /* synthetic */ class Sts extends C14954gcs implements InterfaceC14894gbR<Throwable, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
bRR.d((bRR) this.f, th2);
return C14866gag.c;
}
public Sts(Object obj) {
super(1, obj, bRR.class, "getAddressConfirmationError", "getAddressConfirmationError(Ljava/lang/Throwable;)V");
}
}
/* loaded from: classes4.dex */
public final /* synthetic */ class IeS extends C14954gcs implements InterfaceC14894gbR<Throwable, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
bRR.e((bRR) this.f, th2);
return C14866gag.c;
}
public IeS(Object obj) {
super(1, obj, bRR.class, "postAddressConfirmationError", "postAddressConfirmationError(Ljava/lang/Throwable;)V");
}
}
/* loaded from: classes4.dex */
public final /* synthetic */ class LWm extends C14954gcs implements InterfaceC14894gbR<C0938Ry, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(C0938Ry c0938Ry) {
C0938Ry c0938Ry2 = c0938Ry;
C14957gcv.e(c0938Ry2, "");
bRR.a((bRR) this.f, c0938Ry2);
return C14866gag.c;
}
public LWm(Object obj) {
super(1, obj, bRR.class, "postAddressConfirmationSuccess", "postAddressConfirmationSuccess(Lcom/scb/phone/presentation/model/display/mailingaddress/MailingAddressConfirmationDisplay;)V");
}
}
public static /* synthetic */ void e(bRR brr, InterfaceC9449dju interfaceC9449dju) {
C14957gcv.e(brr, "");
C17398wS c17398wS = brr.a.b;
String string = c17398wS.e.getString(C15715hv.tOB.auto_change_mailing_address_review_content_1);
C14957gcv.c((Object) string, "");
String string2 = c17398wS.e.getString(C15715hv.tOB.auto_change_mailing_address_review_content_2);
C14957gcv.c((Object) string2, "");
String[] strArr = {string, string2};
C14957gcv.e(strArr, "");
C14957gcv.e(strArr, "");
List<String> asList = Arrays.asList(strArr);
C14957gcv.c(asList, "");
interfaceC9449dju.a(asList);
}
public static /* synthetic */ void c(C0942Rz c0942Rz, InterfaceC9449dju interfaceC9449dju) {
C14957gcv.e(c0942Rz, "");
interfaceC9449dju.c(c0942Rz);
}
public static /* synthetic */ void d(bRR brr, InterfaceC9449dju interfaceC9449dju) {
C14957gcv.e(brr, "");
String str = brr.e;
if (str != null) {
interfaceC9449dju.c(str);
}
}
public static /* synthetic */ void e(C0938Ry c0938Ry, InterfaceC9449dju interfaceC9449dju) {
C14957gcv.e(c0938Ry, "");
interfaceC9449dju.a(c0938Ry);
}
public static final /* synthetic */ void d(bRR brr, Throwable th) {
ggV ggv;
if (th instanceof RetrofitException) {
VCl vCl = ((RetrofitException) th).e;
if (gdZ.a("1002", (vCl == null || (ggv = vCl.c) == null) ? null : ggv.e, true)) {
if (brr.b(th)) {
brr.d(brr.j.e(th));
return;
}
return;
}
}
C0690Mh.IeS ieS = C0690Mh.IeS.NAVIGATE_BACK;
if (brr.b(th)) {
brr.d(brr.j.d(th, ieS));
}
}
public static final /* synthetic */ void e(bRR brr, final C0942Rz c0942Rz) {
if (brr.f != 0) {
brr.f.ar_();
}
ZI.IeS ieS = new ZI.IeS(c0942Rz) { // from class: o.bRT
private C0942Rz a;
@Override // o.ZI.IeS
public final void e(Object obj) {
bRR.c(this.a, (InterfaceC9449dju) obj);
}
{
this.a = c0942Rz;
}
};
if (brr.f != 0) {
ieS.e(brr.f);
}
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bRV
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9449dju) obj).b();
}
};
if (brr.f != 0) {
ieS2.e(brr.f);
}
}
public static final /* synthetic */ void e(final bRR brr, Throwable th) {
ggV ggv;
if (th instanceof RetrofitException) {
VCl vCl = ((RetrofitException) th).e;
if (gdZ.a("901", (vCl == null || (ggv = vCl.c) == null) ? null : ggv.e, true)) {
if (brr.f != 0) {
brr.f.ar_();
}
ZI.IeS ieS = new ZI.IeS(brr) { // from class: o.bRS
private bRR e;
@Override // o.ZI.IeS
public final void e(Object obj) {
bRR.d(this.e, (InterfaceC9449dju) obj);
}
{
this.e = brr;
}
};
if (brr.f != 0) {
ieS.e(brr.f);
return;
}
return;
}
}
if (brr.b(th)) {
brr.d(brr.j.e(th));
}
}
public static final /* synthetic */ void a(bRR brr, final C0938Ry c0938Ry) {
if (brr.f != 0) {
brr.f.ar_();
}
ZI.IeS ieS = new ZI.IeS(c0938Ry) { // from class: o.bRX
private C0938Ry a;
@Override // o.ZI.IeS
public final void e(Object obj) {
bRR.e(this.a, (InterfaceC9449dju) obj);
}
{
this.a = c0938Ry;
}
};
if (brr.f != 0) {
ieS.e(brr.f);
}
}
static {
new RVV((byte) 0);
}
}