167 lines
5.5 KiB
Java
167 lines
5.5 KiB
Java
package o;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
import o.C15715hv;
|
|
import o.C2662aio;
|
|
import o.EW;
|
|
import o.ZI;
|
|
import o.cXH;
|
|
import o.wRi;
|
|
|
|
/* renamed from: o.aio, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public class C2662aio extends ZI<InterfaceC8984dbE> {
|
|
public cXH.IeS.EnumC0105IeS a;
|
|
public FI b;
|
|
public final C0173Aqp c;
|
|
public final FHl d;
|
|
public final XrW e;
|
|
private final C16260ml g;
|
|
private final C16264mn h;
|
|
|
|
@InterfaceC13391fZD
|
|
public C2662aio(C16260ml c16260ml, C0173Aqp c0173Aqp, C16264mn c16264mn, XrW xrW, FHl fHl, C16903sI c16903sI) {
|
|
super(c16903sI);
|
|
this.g = c16260ml;
|
|
this.c = c0173Aqp;
|
|
this.h = c16264mn;
|
|
this.e = xrW;
|
|
this.d = fHl;
|
|
}
|
|
|
|
/* renamed from: o.aio$LWm */
|
|
/* loaded from: classes3.dex */
|
|
public class LWm extends wRi.LWm<vAq> {
|
|
private C2662aio c;
|
|
|
|
private LWm(C2662aio c2662aio) {
|
|
this.c = c2662aio;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
final vAq vaq = (vAq) obj;
|
|
C2662aio.i(this.c);
|
|
final ES c = this.c.g.c(this.c.b, this.c.e.c.b(), true, this.c.a);
|
|
C2662aio c2662aio = this.c;
|
|
ZI.IeS ieS = new ZI.IeS(this, vaq, c) { // from class: o.ais
|
|
private C2662aio.LWm a;
|
|
private ES c;
|
|
private vAq e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
C2662aio.LWm.b(this.a, this.e, this.c, (InterfaceC8984dbE) obj2);
|
|
}
|
|
|
|
{
|
|
this.a = this;
|
|
this.e = vaq;
|
|
this.c = c;
|
|
}
|
|
};
|
|
if (c2662aio.f != 0) {
|
|
ieS.e(c2662aio.f);
|
|
}
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
final C2662aio c2662aio = this.c;
|
|
C2662aio.b(c2662aio, th, new Runnable(c2662aio) { // from class: o.ait
|
|
private C2662aio b;
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
final C2662aio c2662aio2 = this.b;
|
|
ZI.IeS ieS = new ZI.IeS(c2662aio2) { // from class: o.aiu
|
|
private C2662aio d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC8984dbE) obj).c(r0.b, this.d.a);
|
|
}
|
|
|
|
{
|
|
this.d = c2662aio2;
|
|
}
|
|
};
|
|
if (c2662aio2.f != 0) {
|
|
ieS.e(c2662aio2.f);
|
|
}
|
|
}
|
|
|
|
{
|
|
this.b = c2662aio;
|
|
}
|
|
});
|
|
}
|
|
|
|
public static /* synthetic */ void b(LWm lWm, vAq vaq, ES es, InterfaceC8984dbE interfaceC8984dbE) {
|
|
EW c;
|
|
C16264mn c16264mn = lWm.c.h;
|
|
cXH.IeS.EnumC0105IeS enumC0105IeS = lWm.c.a;
|
|
C14957gcv.e(vaq, "");
|
|
C14957gcv.e(es, "");
|
|
C14957gcv.e(enumC0105IeS, "");
|
|
c16264mn.a = new ArrayList();
|
|
String str = es.b;
|
|
C14957gcv.c((Object) str, "");
|
|
if (str.length() > 0) {
|
|
List<EM> list = es.a;
|
|
C14957gcv.c(list, "");
|
|
List<EM> e = c16264mn.e(vaq, list, enumC0105IeS);
|
|
String str2 = vaq.b;
|
|
C14957gcv.c((Object) str2, "");
|
|
EW.LWm b = EW.b(e, "purchaseBondSlip".concat(String.valueOf(str2)));
|
|
gcH gch = gcH.d;
|
|
String string = c16264mn.e.getString(C15715hv.tOB.bond_dlt_success_remaining_balance);
|
|
C14957gcv.c((Object) string, "");
|
|
String format = String.format(string, Arrays.copyOf(new Object[]{C16264mn.c(vaq.d)}, 1));
|
|
C14957gcv.c((Object) format, "");
|
|
b.f = format;
|
|
b.c = es.b;
|
|
b.a = true;
|
|
c = b.c();
|
|
C14957gcv.c(c, "");
|
|
} else {
|
|
List<EM> list2 = es.a;
|
|
C14957gcv.c(list2, "");
|
|
List<EM> e2 = c16264mn.e(vaq, list2, enumC0105IeS);
|
|
String str3 = vaq.b;
|
|
C14957gcv.c((Object) str3, "");
|
|
EW.LWm b2 = EW.b(e2, "purchaseBondSlip".concat(String.valueOf(str3)));
|
|
gcH gch2 = gcH.d;
|
|
String string2 = c16264mn.e.getString(C15715hv.tOB.bond_success_remaining_balance);
|
|
C14957gcv.c((Object) string2, "");
|
|
String format2 = String.format(string2, Arrays.copyOf(new Object[]{C16264mn.c(vaq.d)}, 1));
|
|
C14957gcv.c((Object) format2, "");
|
|
b2.f = format2;
|
|
b2.c = es.d;
|
|
b2.a = false;
|
|
c = b2.c();
|
|
C14957gcv.c(c, "");
|
|
}
|
|
interfaceC8984dbE.d(c);
|
|
}
|
|
|
|
public /* synthetic */ LWm(C2662aio c2662aio, byte b) {
|
|
this(c2662aio);
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void i(C2662aio c2662aio) {
|
|
if (c2662aio.f != 0) {
|
|
c2662aio.f.ar_();
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void b(C2662aio c2662aio, Throwable th, Runnable runnable) {
|
|
if (c2662aio.b(th)) {
|
|
c2662aio.d(c2662aio.j.c(th, runnable));
|
|
}
|
|
}
|
|
}
|