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

171 lines
4.9 KiB
Java

package o;
import com.google.gson.Gson;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import o.ZI;
/* renamed from: o.aBm */
/* loaded from: classes4.dex */
public final class C1352aBm extends cXI<InterfaceC9089ddD> {
public C0930Rt a;
private final VwS b;
private final Gson c;
private final C16131lZ d;
public final C15784ib e;
private final Xky g;
private final InterfaceC15762iQt h;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C1352aBm(C16903sI c16903sI, C15784ib c15784ib, VwS vwS, C16131lZ c16131lZ, Xky xky, InterfaceC15762iQt interfaceC15762iQt) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c15784ib, "");
C14957gcv.e(vwS, "");
C14957gcv.e(c16131lZ, "");
C14957gcv.e(xky, "");
C14957gcv.e(interfaceC15762iQt, "");
this.e = c15784ib;
this.b = vwS;
this.d = c16131lZ;
this.g = xky;
this.h = interfaceC15762iQt;
this.c = new Gson();
}
/* renamed from: o.aBm$HBt */
/* loaded from: classes4.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
/* renamed from: o.aBm$IeS */
/* loaded from: classes4.dex */
public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C1352aBm d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
C1352aBm.e(this.d, th2);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public IeS(C1352aBm c1352aBm) {
super(1);
this.d = c1352aBm;
}
}
/* renamed from: o.aBm$LWm */
/* loaded from: classes4.dex */
public static final class LWm extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
private C1352aBm c;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C14866gag invoke() {
this.c.a();
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public LWm(C1352aBm c1352aBm) {
super(0);
this.c = c1352aBm;
}
}
public final void a() {
if (this.b.z()) {
this.h.b();
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.aBo
private C1352aBm b;
@Override // o.ZI.IeS
public final void e(Object obj) {
C1352aBm.c(this.b, (InterfaceC9089ddD) obj);
}
{
this.b = this;
}
};
if (this.f != 0) {
ieS.e(this.f);
return;
}
return;
}
C1349aBj c1349aBj = new C1349aBj(this);
if (this.f != 0) {
c1349aBj.e(this.f);
}
}
public static /* synthetic */ void a(C1352aBm c1352aBm, JsonObject jsonObject, InterfaceC9089ddD interfaceC9089ddD) {
C14957gcv.e(c1352aBm, "");
C14957gcv.e(jsonObject, "");
String json = c1352aBm.c.toJson((JsonElement) jsonObject);
C14957gcv.c((Object) json, "");
interfaceC9089ddD.d(json);
}
public static /* synthetic */ void d(C1352aBm c1352aBm, InterfaceC9089ddD interfaceC9089ddD) {
C14957gcv.e(c1352aBm, "");
C0930Rt c0930Rt = c1352aBm.a;
if (c0930Rt == null) {
C14957gcv.a("");
c0930Rt = null;
}
interfaceC9089ddD.d(c0930Rt);
}
public static /* synthetic */ void c(C1352aBm c1352aBm) {
C14957gcv.e(c1352aBm, "");
c1352aBm.a();
}
public static /* synthetic */ void b(C1352aBm c1352aBm) {
C14957gcv.e(c1352aBm, "");
c1352aBm.a();
}
public static /* synthetic */ void c(C1352aBm c1352aBm, InterfaceC9089ddD interfaceC9089ddD) {
C14957gcv.e(c1352aBm, "");
C16131lZ c16131lZ = c1352aBm.d;
String N = c1352aBm.g.N();
C14957gcv.c((Object) N, "");
interfaceC9089ddD.a(c16131lZ.c(N));
}
public static final /* synthetic */ void e(C1352aBm c1352aBm, Throwable th) {
Runnable runnable = new Runnable(c1352aBm) { // from class: o.aBr
private C1352aBm c;
@Override // java.lang.Runnable
public final void run() {
C1352aBm.b(this.c);
}
{
this.c = c1352aBm;
}
};
if (c1352aBm.b(th)) {
c1352aBm.d(c1352aBm.j.c(th, runnable));
}
}
static {
new HBt((byte) 0);
}
}