189 lines
6.2 KiB
Java
189 lines
6.2 KiB
Java
|
package o;
|
||
|
|
||
|
import com.scb.phone.domain.errors.RetrofitException;
|
||
|
import java.util.List;
|
||
|
import o.C0690Mh;
|
||
|
import o.C15715hv;
|
||
|
import o.ES;
|
||
|
import o.InterfaceC9420djR;
|
||
|
import o.QK;
|
||
|
import o.QO;
|
||
|
import o.QR;
|
||
|
import o.ZI;
|
||
|
import o.bXI;
|
||
|
|
||
|
/* loaded from: classes4.dex */
|
||
|
public final class bXI extends ZI<InterfaceC9420djR.LWm> {
|
||
|
public final C15849jC a;
|
||
|
private final C17509xP c;
|
||
|
private final jwh e;
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
@InterfaceC13391fZD
|
||
|
public bXI(C15849jC c15849jC, C17509xP c17509xP, jwh jwhVar, C16903sI c16903sI) {
|
||
|
super(c16903sI);
|
||
|
C14957gcv.e(c15849jC, "");
|
||
|
C14957gcv.e(c17509xP, "");
|
||
|
C14957gcv.e(jwhVar, "");
|
||
|
C14957gcv.e(c16903sI, "");
|
||
|
this.a = c15849jC;
|
||
|
this.c = c17509xP;
|
||
|
this.e = jwhVar;
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes4.dex */
|
||
|
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<C6275cOA, C14866gag> {
|
||
|
private bXI d;
|
||
|
|
||
|
@Override // o.InterfaceC14894gbR
|
||
|
public final /* synthetic */ C14866gag invoke(C6275cOA c6275cOA) {
|
||
|
final C6275cOA c6275cOA2 = c6275cOA;
|
||
|
C14957gcv.e(c6275cOA2, "");
|
||
|
bXI.d(this.d);
|
||
|
C17509xP c17509xP = this.d.c;
|
||
|
boolean T = this.d.e.d.T();
|
||
|
C14957gcv.e(c6275cOA2, "");
|
||
|
ES.IeS a = ES.a();
|
||
|
c17509xP.a.clear();
|
||
|
String str = c6275cOA2.e;
|
||
|
String str2 = c6275cOA2.b;
|
||
|
QK.LWm e = QK.e();
|
||
|
e.g = c17509xP.e(C15715hv.tOB.from);
|
||
|
e.h = str;
|
||
|
e.a = (String) C16157lj.c(new Object[]{str2, Boolean.valueOf(T)}, 1230925834, -1230925834, (int) System.currentTimeMillis());
|
||
|
e.c = C6583cXR.VR_(C15715hv.IeS.bankicon_scb).toString();
|
||
|
e.d = C15715hv.IeS.bankicon_scb;
|
||
|
c17509xP.a.add(new QK(e, (byte) 0));
|
||
|
c17509xP.a.add(new QQ());
|
||
|
double d = c6275cOA2.d;
|
||
|
QO.IeS a2 = QO.a();
|
||
|
String e2 = c17509xP.e(C15715hv.tOB.review_fees);
|
||
|
C14957gcv.c((Object) e2, "");
|
||
|
a2.g = C2974aoj.b(e2);
|
||
|
a2.h = C15602gz.e(d);
|
||
|
c17509xP.a.add(a2.d());
|
||
|
c17509xP.a.add(new QQ());
|
||
|
List<fQW> list = c6275cOA2.a;
|
||
|
QO.IeS a3 = QO.a();
|
||
|
a3.g = c17509xP.e(C15715hv.tOB.idp_sharing_biller_notes_title);
|
||
|
a3.l = true;
|
||
|
c17509xP.a.add(a3.d());
|
||
|
C14957gcv.e(list, "");
|
||
|
int size = list.size() - 1;
|
||
|
if (size >= 0) {
|
||
|
int i = 0;
|
||
|
while (true) {
|
||
|
C14957gcv.e(list, "");
|
||
|
if (i == list.size() - 1) {
|
||
|
QR.LWm b = QR.b();
|
||
|
b.e = list.get(i).b;
|
||
|
b.h = true;
|
||
|
c17509xP.a.add(new QR(b, (byte) 0));
|
||
|
c17509xP.a.add(new QQ());
|
||
|
} else {
|
||
|
QR.LWm b2 = QR.b();
|
||
|
b2.e = list.get(i).b;
|
||
|
b2.h = true;
|
||
|
b2.j = true;
|
||
|
c17509xP.a.add(new QR(b2, (byte) 0));
|
||
|
}
|
||
|
if (i == size) {
|
||
|
break;
|
||
|
}
|
||
|
i++;
|
||
|
}
|
||
|
}
|
||
|
String str3 = c6275cOA2.c;
|
||
|
QR.LWm b3 = QR.b();
|
||
|
b3.g = c17509xP.e(C15715hv.tOB.purchase_remark);
|
||
|
b3.e = str3;
|
||
|
c17509xP.a.add(new QR(b3, (byte) 0));
|
||
|
List<EM> list2 = c17509xP.a;
|
||
|
C14957gcv.c(list2, "");
|
||
|
a.c = list2;
|
||
|
final ES es = new ES(a, (byte) 0);
|
||
|
C14957gcv.c(es, "");
|
||
|
bXI bxi = this.d;
|
||
|
ZI.IeS ieS = new ZI.IeS(es, c6275cOA2) { // from class: o.bXK
|
||
|
private ES a;
|
||
|
private C6275cOA c;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
bXI.HBt.e(this.a, this.c, (InterfaceC9420djR.LWm) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = es;
|
||
|
this.c = c6275cOA2;
|
||
|
}
|
||
|
};
|
||
|
if (bxi.f != 0) {
|
||
|
ieS.e(bxi.f);
|
||
|
}
|
||
|
return C14866gag.c;
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void e(ES es, C6275cOA c6275cOA, InterfaceC9420djR.LWm lWm) {
|
||
|
C14957gcv.e(es, "");
|
||
|
C14957gcv.e(c6275cOA, "");
|
||
|
lWm.a(es, c6275cOA.j);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
public HBt(bXI bxi) {
|
||
|
super(1);
|
||
|
this.d = bxi;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes4.dex */
|
||
|
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
|
||
|
private bXI a;
|
||
|
|
||
|
@Override // o.InterfaceC14894gbR
|
||
|
public final /* synthetic */ C14866gag invoke(Throwable th) {
|
||
|
ggV ggv;
|
||
|
Throwable th2 = th;
|
||
|
C14957gcv.e(th2, "");
|
||
|
if (th2 instanceof RetrofitException) {
|
||
|
VCl vCl = ((RetrofitException) th2).e;
|
||
|
if (C14957gcv.b((Object) "7001", (Object) ((vCl == null || (ggv = vCl.c) == null) ? null : ggv.e))) {
|
||
|
bXI.e(this.a, th2);
|
||
|
return C14866gag.c;
|
||
|
}
|
||
|
}
|
||
|
bXI bxi = this.a;
|
||
|
int i = C15715hv.tOB.error_generic_resource;
|
||
|
C0690Mh.IeS ieS = C0690Mh.IeS.JUST_DISMISS;
|
||
|
C16903sI c16903sI = bxi.j;
|
||
|
bxi.d(c16903sI.c((String) null, c16903sI.e(i), ieS));
|
||
|
return C14866gag.c;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
public Sts(bXI bxi) {
|
||
|
super(1);
|
||
|
this.a = bxi;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.ZI
|
||
|
public final void w_() {
|
||
|
this.a.a();
|
||
|
super.w_();
|
||
|
}
|
||
|
|
||
|
public static final /* synthetic */ void d(bXI bxi) {
|
||
|
if (bxi.f != 0) {
|
||
|
bxi.f.ar_();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static final /* synthetic */ void e(bXI bxi, Throwable th) {
|
||
|
if (bxi.b(th)) {
|
||
|
bxi.d(bxi.j.e(th));
|
||
|
}
|
||
|
}
|
||
|
}
|