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

890 lines
28 KiB
Java

package o;
import android.content.res.Resources;
import com.scb.phone.domain.errors.RetrofitException;
import java.util.List;
import o.C0690Mh;
import o.C14930gcM;
import o.C15715hv;
import o.C15791ie;
import o.C3079aqj;
import o.WzL;
import o.ZI;
import o.wRi;
/* renamed from: o.aqj */
/* loaded from: classes4.dex */
public final class C3079aqj extends ZI<InterfaceC9080dcv> {
public String a;
public GN b;
public C0367Fb c;
public final xZj d;
public boolean e;
private final C15791ie g;
private final C16402ny h;
public String i;
private final C16293nE k;
private final C16289nB l;
private String m;
private String n;
/* renamed from: o */
private final C16290nC f8525o;
private final Resources p;
private final String s;
public static final /* synthetic */ void g(C3079aqj c3079aqj) {
c3079aqj.e = false;
ZI.IeS ieS = new ZI.IeS() { // from class: o.aqA
@Override // o.ZI.IeS
public final void e(Object obj) {
C3079aqj.d((InterfaceC9080dcv) obj);
}
};
if (c3079aqj.f != 0) {
ieS.e(c3079aqj.f);
}
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C3079aqj(C16903sI c16903sI, xZj xzj, C16289nB c16289nB, C16402ny c16402ny, C16293nE c16293nE, C16290nC c16290nC, C15791ie c15791ie, Resources resources, String str) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(xzj, "");
C14957gcv.e(c16289nB, "");
C14957gcv.e(c16402ny, "");
C14957gcv.e(c16293nE, "");
C14957gcv.e(c16290nC, "");
C14957gcv.e(c15791ie, "");
C14957gcv.e(resources, "");
C14957gcv.e(str, "");
this.d = xzj;
this.l = c16289nB;
this.h = c16402ny;
this.k = c16293nE;
this.f8525o = c16290nC;
this.g = c15791ie;
this.p = resources;
this.s = str;
this.a = "";
this.n = "";
}
/* renamed from: o.aqj$IeS */
/* loaded from: classes4.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
public static boolean b(String str, double d, double d2) {
C14957gcv.e(str, "");
long j = (long) d;
long j2 = (long) d2;
long parseLong = Long.parseLong(gdZ.a(str, ",", ""));
return parseLong >= j && parseLong <= j2;
}
/* renamed from: o.aqj$LWm */
/* loaded from: classes4.dex */
public final class LWm extends wRi.LWm<aQE> {
private C3079aqj c;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
aQE aqe = (aQE) obj;
C14957gcv.e(aqe, "");
this.c.i = aqe.d;
C3079aqj c3079aqj = this.c;
c3079aqj.a(c3079aqj.i);
if (!aqe.b.isEmpty()) {
List<C0433Gl> d = this.c.l.d((List) aqe.b);
C3079aqj c3079aqj2 = this.c;
ZI.IeS ieS = new ZI.IeS(d) { // from class: o.aqJ
private List b;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C3079aqj.LWm.e(this.b, (InterfaceC9080dcv) obj2);
}
{
this.b = d;
}
};
if (c3079aqj2.f != 0) {
ieS.e(c3079aqj2.f);
}
}
}
public LWm(C3079aqj c3079aqj) {
this.c = c3079aqj;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C14957gcv.e(th, "");
C3079aqj c3079aqj = this.c;
ZI.IeS ieS = new ZI.IeS(c3079aqj, th, this) { // from class: o.aqE
private C3079aqj.LWm a;
private C3079aqj b;
private Throwable d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C3079aqj.LWm.e(this.b, this.d, this.a, (InterfaceC9080dcv) obj);
}
{
this.b = c3079aqj;
this.d = th;
this.a = this;
}
};
if (c3079aqj.f != 0) {
ieS.e(c3079aqj.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
C3079aqj.g(this.c);
}
public static /* synthetic */ void e(C3079aqj c3079aqj, Throwable th, LWm lWm, InterfaceC9080dcv interfaceC9080dcv) {
C14957gcv.e(c3079aqj, "");
C14957gcv.e(th, "");
C14957gcv.e(lWm, "");
interfaceC9080dcv.m();
interfaceC9080dcv.c();
interfaceC9080dcv.H();
interfaceC9080dcv.r();
C0693Mj d = c3079aqj.j.d(th, C0690Mh.IeS.JUST_DISMISS);
ggV g = C3079aqj.g(th);
if (g == null || (!gdZ.a("3014", g.e, true) && !gdZ.a("3018", g.e, true) && !gdZ.a("3001", g.e, true))) {
if (!c3079aqj.i(th)) {
interfaceC9080dcv.G();
interfaceC9080dcv.e(d);
}
} else {
C14957gcv.c(d, "");
interfaceC9080dcv.d(d);
}
c3079aqj.e = false;
c3079aqj.a = "";
}
public static /* synthetic */ void e(List list, InterfaceC9080dcv interfaceC9080dcv) {
C14957gcv.e(list, "");
interfaceC9080dcv.a((List<C0433Gl>) list);
}
}
/* renamed from: o.aqj$RVV */
/* loaded from: classes4.dex */
public final class RVV extends wRi.LWm<KNG> {
private C3079aqj c;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
KNG kng = (KNG) obj;
C14957gcv.e(kng, "");
C3079aqj c3079aqj = this.c;
ZI.IeS ieS = new ZI.IeS(c3079aqj, kng) { // from class: o.aqG
private KNG b;
private C3079aqj d;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C3079aqj.RVV.d(this.d, this.b, (InterfaceC9080dcv) obj2);
}
{
this.d = c3079aqj;
this.b = kng;
}
};
if (c3079aqj.f != 0) {
ieS.e(c3079aqj.f);
}
}
public RVV(C3079aqj c3079aqj) {
this.c = c3079aqj;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C14957gcv.e(th, "");
C3079aqj c3079aqj = this.c;
ZI.IeS ieS = new ZI.IeS(c3079aqj, th) { // from class: o.aqL
private C3079aqj c;
private Throwable e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C3079aqj.RVV.b(this.c, this.e, (InterfaceC9080dcv) obj);
}
{
this.c = c3079aqj;
this.e = th;
}
};
if (c3079aqj.f != 0) {
ieS.e(c3079aqj.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
C3079aqj.g(this.c);
}
public static /* synthetic */ void b(C3079aqj c3079aqj, Throwable th, InterfaceC9080dcv interfaceC9080dcv) {
C14957gcv.e(c3079aqj, "");
C14957gcv.e(th, "");
interfaceC9080dcv.m();
interfaceC9080dcv.c();
interfaceC9080dcv.G();
interfaceC9080dcv.H();
interfaceC9080dcv.r();
if (!c3079aqj.i(th)) {
interfaceC9080dcv.e(c3079aqj.j.d(th, C0690Mh.IeS.JUST_DISMISS));
}
c3079aqj.e = false;
c3079aqj.n = "";
}
public static /* synthetic */ void d(C3079aqj c3079aqj, KNG kng, InterfaceC9080dcv interfaceC9080dcv) {
C14957gcv.e(c3079aqj, "");
C14957gcv.e(kng, "");
c3079aqj.m = kng.b;
c3079aqj.d();
interfaceC9080dcv.z();
if (!kng.a.isEmpty()) {
interfaceC9080dcv.a((C2417aeH) C14881gav.e((List) kng.a));
}
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.aqj$Sts */
/* loaded from: classes4.dex */
public final class Sts extends wRi.LWm<CGj> {
private C3079aqj a;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
CGj cGj = (CGj) obj;
C14957gcv.e(cGj, "");
C3079aqj c3079aqj = this.a;
ZI.IeS ieS = new ZI.IeS(c3079aqj, cGj) { // from class: o.aqI
private CGj a;
private C3079aqj c;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C3079aqj.Sts.e(this.c, this.a, (InterfaceC9080dcv) obj2);
}
{
this.c = c3079aqj;
this.a = cGj;
}
};
if (c3079aqj.f != 0) {
ieS.e(c3079aqj.f);
}
}
public Sts(C3079aqj c3079aqj) {
this.a = c3079aqj;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C14957gcv.e(th, "");
C3079aqj c3079aqj = this.a;
gnT gnt = gnT.MIN_OR_FULL_NEWTENOR;
C14957gcv.e(th, "");
C14957gcv.e(gnt, "");
C3090aqu c3090aqu = new C3090aqu(c3079aqj, th, gnt);
if (c3079aqj.f != 0) {
c3090aqu.e(c3079aqj.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
C3079aqj.f(this.a);
}
public static /* synthetic */ void e(C3079aqj c3079aqj, CGj cGj, InterfaceC9080dcv interfaceC9080dcv) {
C14957gcv.e(c3079aqj, "");
C14957gcv.e(cGj, "");
C16293nE c16293nE = c3079aqj.k;
String str = cGj.a;
C2417aeH g = interfaceC9080dcv.g();
C0367Fb f = interfaceC9080dcv.f();
String h = interfaceC9080dcv.h();
String c = c3079aqj.c(cGj);
String str2 = cGj.d;
String j = interfaceC9080dcv.j();
String str3 = cGj.c;
C14957gcv.e(g, "");
C14957gcv.e(f, "");
GP gp = new GP((byte) 0);
String string = c16293nE.e.getString(C15715hv.tOB.up_to_interest_rate, Integer.valueOf((int) g.a));
StringBuilder sb = new StringBuilder();
sb.append(string);
sb.append("%");
gp.b = sb.toString();
gp.a = (String) C6583cXR.c(new Object[]{Double.valueOf(g.d)}, -150997759, 150997764, (int) System.currentTimeMillis());
int i = (int) g.e;
StringBuilder sb2 = new StringBuilder();
sb2.append(i);
sb2.append("%");
gp.d = sb2.toString();
int i2 = (int) g.b;
StringBuilder sb3 = new StringBuilder();
sb3.append(i2);
sb3.append("%");
gp.p = sb3.toString();
gp.k = (String) C6583cXR.c(new Object[]{Double.valueOf(g.c)}, -150997759, 150997764, (int) System.currentTimeMillis());
gp.f8180o = str;
gp.h = f.S;
gp.c = f.q;
gp.m = c;
gp.n = h;
gp.l = (String) C16157lj.c(new Object[]{h, false}, 1230925834, -1230925834, (int) System.currentTimeMillis());
gp.q = str2;
gp.g = f.V;
gp.i = j;
gp.e = f.A;
gp.j = f.J;
gp.f = str3;
interfaceC9080dcv.a(gp);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.aqj$HBt */
/* loaded from: classes4.dex */
public final class HBt extends wRi.LWm<CGj> {
private C3079aqj d;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
CGj cGj = (CGj) obj;
C14957gcv.e(cGj, "");
C3079aqj c3079aqj = this.d;
ZI.IeS ieS = new ZI.IeS(c3079aqj, cGj) { // from class: o.aqH
private CGj c;
private C3079aqj d;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C3079aqj.HBt.b(this.d, this.c, (InterfaceC9080dcv) obj2);
}
{
this.d = c3079aqj;
this.c = cGj;
}
};
if (c3079aqj.f != 0) {
ieS.e(c3079aqj.f);
}
}
public HBt(C3079aqj c3079aqj) {
this.d = c3079aqj;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C14957gcv.e(th, "");
C3079aqj c3079aqj = this.d;
gnT gnt = gnT.DEEJUNG;
C14957gcv.e(th, "");
C14957gcv.e(gnt, "");
C3090aqu c3090aqu = new C3090aqu(c3079aqj, th, gnt);
if (c3079aqj.f != 0) {
c3090aqu.e(c3079aqj.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
C3079aqj.f(this.d);
super.onComplete();
}
public static /* synthetic */ void b(C3079aqj c3079aqj, CGj cGj, InterfaceC9080dcv interfaceC9080dcv) {
C14957gcv.e(c3079aqj, "");
C14957gcv.e(cGj, "");
C16402ny c16402ny = c3079aqj.h;
C0367Fb f = interfaceC9080dcv.f();
C0433Gl i = interfaceC9080dcv.i();
String k = interfaceC9080dcv.k();
String h = interfaceC9080dcv.h();
String c = c3079aqj.c(cGj);
String j = interfaceC9080dcv.j();
C14957gcv.e(cGj, "");
C14957gcv.e(f, "");
C14957gcv.e(i, "");
C14957gcv.e(k, "");
interfaceC9080dcv.a(c16402ny.b(cGj, f.S, f.q, i, k, h, c, f.V, j, f.A, f.J, f.T));
}
}
/* renamed from: o.aqj$jbe */
/* loaded from: classes4.dex */
public static final class jbe extends AbstractC14961gcz implements InterfaceC14894gbR<GI, C14866gag> {
private C0433Gl a;
private InterfaceC9080dcv b;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(GI gi) {
GI gi2 = gi;
C14957gcv.e(gi2, "");
this.b.ar_();
this.b.e(gi2, this.a);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
jbe(InterfaceC9080dcv interfaceC9080dcv, C0433Gl c0433Gl) {
super(1);
this.b = interfaceC9080dcv;
this.a = c0433Gl;
}
}
/* renamed from: o.aqj$saX */
/* loaded from: classes4.dex */
public static final class saX extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private InterfaceC9080dcv b;
private C3079aqj c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
this.b.ar_();
C3079aqj c3079aqj = this.c;
gnT gnt = gnT.DEEJUNG;
C14957gcv.e(th2, "");
C14957gcv.e(gnt, "");
C3090aqu c3090aqu = new C3090aqu(c3079aqj, th2, gnt);
if (c3079aqj.f != 0) {
c3090aqu.e(c3079aqj.f);
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
saX(InterfaceC9080dcv interfaceC9080dcv, C3079aqj c3079aqj) {
super(1);
this.b = interfaceC9080dcv;
this.c = c3079aqj;
}
}
/* JADX WARN: Multi-variable type inference failed */
public final String c(CGj cGj) {
C14957gcv.e(cGj, "");
C14930gcM.RVV rvv = new C14930gcM.RVV();
rvv.d = "";
ZI.IeS ieS = new ZI.IeS(rvv, cGj) { // from class: o.aqq
private CGj d;
private C14930gcM.RVV e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C3079aqj.b(this.e, this.d, (InterfaceC9080dcv) obj);
}
{
this.e = rvv;
this.d = cGj;
}
};
if (this.f != 0) {
ieS.e(this.f);
}
return (String) rvv.d;
}
public final void a(String str) {
if (!this.d.d()) {
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.aqz
private C3079aqj d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C3079aqj.b(this.d, (InterfaceC9080dcv) obj);
}
{
this.d = this;
}
};
if (this.f != 0) {
ieS.e(this.f);
return;
}
return;
}
C3093aqx c3093aqx = new C3093aqx(str);
if (this.f != 0) {
c3093aqx.e(this.f);
}
}
@Override // o.ZI
public final void w_() {
xZj xzj = this.d;
if (!xzj.h.isDisposed()) {
xzj.h.dispose();
}
this.g.a();
super.w_();
}
public final void d() {
if (!this.d.d()) {
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.aqF
private C3079aqj e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C3079aqj.e(this.e, (InterfaceC9080dcv) obj);
}
{
this.e = this;
}
};
if (this.f != 0) {
ieS.e(this.f);
return;
}
return;
}
C3093aqx c3093aqx = new C3093aqx(this.m);
if (this.f != 0) {
c3093aqx.e(this.f);
}
}
public static /* synthetic */ void d(InterfaceC9080dcv interfaceC9080dcv) {
interfaceC9080dcv.m();
interfaceC9080dcv.c();
}
public static /* synthetic */ void b(C3079aqj c3079aqj, InterfaceC9080dcv interfaceC9080dcv) {
C14957gcv.e(c3079aqj, "");
C0367Fb c0367Fb = c3079aqj.c;
GN gn = null;
if (c0367Fb == null) {
C14957gcv.a("");
c0367Fb = null;
}
String str = c0367Fb.V;
if (str != null && gdZ.d(str, "SPD", false)) {
Resources resources = c3079aqj.p;
int i = C15715hv.tOB.installment_plans_general_terms_for_speedy_cash;
Object[] objArr = new Object[1];
GN gn2 = c3079aqj.b;
if (gn2 == null) {
C14957gcv.a("");
} else {
gn = gn2;
}
objArr[0] = gn.h;
String string = resources.getString(i, objArr);
C14957gcv.c((Object) string, "");
interfaceC9080dcv.b(string);
return;
}
GN gn3 = c3079aqj.b;
if (gn3 == null) {
C14957gcv.a("");
} else {
gn = gn3;
}
interfaceC9080dcv.b(gn.a, gn.j, gn.e, gn.c, gn.d);
}
public static /* synthetic */ void c(C3079aqj c3079aqj, Throwable th, gnT gnt, InterfaceC9080dcv interfaceC9080dcv) {
C14957gcv.e(c3079aqj, "");
C14957gcv.e(th, "");
C14957gcv.e(gnt, "");
if (c3079aqj.f != 0) {
c3079aqj.f.ar_();
}
C0693Mj d = c3079aqj.j.d(th, C0690Mh.IeS.JUST_DISMISS);
if (c3079aqj.b(th, "9003")) {
C14957gcv.c(d, "");
interfaceC9080dcv.c(d, gnt);
} else {
if (c3079aqj.i(th)) {
return;
}
interfaceC9080dcv.e(d);
}
}
public static /* synthetic */ void a(String str, InterfaceC9080dcv interfaceC9080dcv) {
String str2 = str;
if (str2 == null || gdZ.d((CharSequence) str2)) {
interfaceC9080dcv.l();
} else {
interfaceC9080dcv.b(str);
}
}
public static /* synthetic */ void b(String str, GN gn, C3079aqj c3079aqj, InterfaceC9080dcv interfaceC9080dcv) {
C14957gcv.e(gn, "");
C14957gcv.e(c3079aqj, "");
C14957gcv.c((Object) str, "");
interfaceC9080dcv.c(str);
String str2 = gn.m;
String str3 = str2;
if (!(str3 == null || gdZ.d((CharSequence) str3))) {
interfaceC9080dcv.d(str2);
} else {
c3079aqj.c(C15715hv.tOB.error_generic_resource, C0690Mh.IeS.NAVIGATE_BACK);
}
}
/* JADX WARN: Multi-variable type inference failed */
public static /* synthetic */ void b(C14930gcM.RVV rvv, CGj cGj, InterfaceC9080dcv interfaceC9080dcv) {
T t;
String str = "";
C14957gcv.e(rvv, "");
C14957gcv.e(cGj, "");
String n = interfaceC9080dcv.n();
if (!(n == null || gdZ.d((CharSequence) n))) {
t = interfaceC9080dcv.n();
} else {
String str2 = cGj.e;
if (!(!(str2 == null || gdZ.d((CharSequence) str2)))) {
t = interfaceC9080dcv.b();
} else {
String str3 = cGj.e;
t = str;
if (str3 != null) {
t = str3;
}
}
}
rvv.d = t;
}
public static /* synthetic */ void e(C3079aqj c3079aqj, InterfaceC9080dcv interfaceC9080dcv) {
C14957gcv.e(c3079aqj, "");
Resources resources = c3079aqj.p;
int i = C15715hv.tOB.min_max_general_terms;
Object[] objArr = new Object[2];
GN gn = c3079aqj.b;
GN gn2 = null;
if (gn == null) {
C14957gcv.a("");
gn = null;
}
objArr[0] = gn.g;
GN gn3 = c3079aqj.b;
if (gn3 == null) {
C14957gcv.a("");
} else {
gn2 = gn3;
}
objArr[1] = gn2.k;
String string = resources.getString(i, objArr);
C14957gcv.c((Object) string, "");
interfaceC9080dcv.b(string);
}
public static /* synthetic */ void c(C3079aqj c3079aqj, String str, String str2, InterfaceC9080dcv interfaceC9080dcv) {
C14957gcv.e(c3079aqj, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
interfaceC9080dcv.G();
interfaceC9080dcv.A();
interfaceC9080dcv.r();
interfaceC9080dcv.s();
if (!gdZ.a(c3079aqj.n, str, true)) {
c3079aqj.n = str;
c3079aqj.e = true;
ZI.IeS ieS = new ZI.IeS() { // from class: o.aqy
@Override // o.ZI.IeS
public final void e(Object obj) {
C3079aqj.a((InterfaceC9080dcv) obj);
}
};
if (c3079aqj.f != 0) {
ieS.e(c3079aqj.f);
}
c3079aqj.d.d(new yDO(Double.parseDouble(gdZ.a(str, ",", "")), gnT.MIN_OR_FULL_NEWTENOR, str2));
xZj xzj = c3079aqj.d;
xzj.d(xzj.i, new RVV(c3079aqj));
return;
}
c3079aqj.d();
interfaceC9080dcv.m();
interfaceC9080dcv.z();
}
public static /* synthetic */ void e(double d, C3079aqj c3079aqj, long j, double d2, InterfaceC9080dcv interfaceC9080dcv) {
C14957gcv.e(c3079aqj, "");
long j2 = (long) d;
interfaceC9080dcv.w();
interfaceC9080dcv.s();
c3079aqj.a = "";
c3079aqj.n = "";
if (j > d2) {
interfaceC9080dcv.B();
interfaceC9080dcv.d();
} else if (j < j2) {
interfaceC9080dcv.I();
interfaceC9080dcv.d();
} else {
interfaceC9080dcv.o();
interfaceC9080dcv.H();
interfaceC9080dcv.G();
interfaceC9080dcv.e();
}
}
public static /* synthetic */ void e(InterfaceC9080dcv interfaceC9080dcv) {
interfaceC9080dcv.w();
interfaceC9080dcv.C();
interfaceC9080dcv.a();
}
public static /* synthetic */ void e(String str, C3079aqj c3079aqj, String str2, String str3, String str4, boolean z, C0433Gl c0433Gl, String str5, InterfaceC9080dcv interfaceC9080dcv) {
C14957gcv.e(str, "");
C14957gcv.e(c3079aqj, "");
C14957gcv.e(str4, "");
C14957gcv.e(c0433Gl, "");
C14957gcv.e(str5, "");
String i = C6583cXR.i(str);
C14957gcv.c((Object) i, "");
String a = gdZ.a(i, ",", "");
if (c3079aqj.f != 0) {
c3079aqj.f.y();
}
C15791ie c15791ie = c3079aqj.g;
C0367Fb c0367Fb = c3079aqj.c;
String str6 = null;
if (c0367Fb == null) {
C14957gcv.a("");
c0367Fb = null;
}
String str7 = (C14957gcv.b((Object) c0367Fb.T, (Object) "CDX") && c3079aqj.d.d()) ? null : c0433Gl.a;
String str8 = c0433Gl.i;
String str9 = str8 == null ? "" : str8;
String str10 = c0433Gl.p;
String str11 = str10 == null ? "" : str10;
C0367Fb c0367Fb2 = c3079aqj.c;
if (c0367Fb2 == null) {
C14957gcv.a("");
c0367Fb2 = null;
}
if (C14957gcv.b((Object) c0367Fb2.T, (Object) "CDX") && c3079aqj.d.d()) {
str6 = c0433Gl.e;
}
cNC cnc = new cNC(str7, a, str9, str11, str5, str6);
jbe jbeVar = new jbe(interfaceC9080dcv, c0433Gl);
saX sax = new saX(interfaceC9080dcv, c3079aqj);
C14957gcv.e(a, "");
C14957gcv.e(str4, "");
C14957gcv.e(cnc, "");
C14957gcv.e(jbeVar, "");
C14957gcv.e(sax, "");
c15791ie.e.e(jbeVar, sax, new WzL.IeS(cnc), new C15791ie.LWm(c15791ie, cnc, str2, str3, a, str4, z), c15791ie.a);
}
public static final /* synthetic */ void f(C3079aqj c3079aqj) {
if (c3079aqj.f != 0) {
c3079aqj.f.ar_();
}
}
public final void a(C0433Gl c0433Gl, String str, String str2, String str3, boolean z) {
C14957gcv.e(c0433Gl, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
if (this.f != 0) {
this.f.y();
}
C16290nC c16290nC = this.f8525o;
String str4 = this.s;
C0367Fb c0367Fb = this.c;
if (c0367Fb == null) {
C14957gcv.a("");
c0367Fb = null;
}
String str5 = c0367Fb.T;
C14957gcv.e(c0433Gl, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
C14957gcv.e(str4, "");
this.d.a(new C17005tCW(c16290nC.b(c0433Gl, str2, str, false, str5), z, str3, str4));
xZj xzj = this.d;
xzj.d(xzj.i, new HBt(this));
}
public final void c(String str, String str2, String str3, boolean z) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
if (this.f != 0) {
this.f.y();
}
gnT gnt = gnT.MIN_OR_FULL_NEWTENOR;
Double c = C6583cXR.c(gdZ.a(str, ",", ""));
C14957gcv.c(c, "");
this.d.a(new C17005tCW(new rTB(gnt, str2, Double.valueOf(c.doubleValue()), null, null, null, 96), z, str3, this.s));
xZj xzj = this.d;
xzj.d(xzj.i, new Sts(this));
}
public static /* synthetic */ void b(InterfaceC9080dcv interfaceC9080dcv) {
interfaceC9080dcv.s();
interfaceC9080dcv.H();
interfaceC9080dcv.D();
}
public static /* synthetic */ void a(InterfaceC9080dcv interfaceC9080dcv) {
interfaceC9080dcv.C();
interfaceC9080dcv.a();
}
public static final /* synthetic */ ggV g(Throwable th) {
if (!(th instanceof RetrofitException)) {
return null;
}
RetrofitException retrofitException = (RetrofitException) th;
if (retrofitException.e != null) {
return retrofitException.e.c;
}
return null;
}
static {
new IeS((byte) 0);
}
}