365 lines
11 KiB
Java
365 lines
11 KiB
Java
package o;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import o.C0690Mh;
|
|
import o.C15715hv;
|
|
import o.C6372cQs;
|
|
import o.InterfaceC9010dbe;
|
|
import o.PRA;
|
|
import o.ZI;
|
|
import o.wRi;
|
|
|
|
/* renamed from: o.cQs, reason: case insensitive filesystem */
|
|
/* loaded from: classes4.dex */
|
|
public class C6372cQs extends ZI<InterfaceC9010dbe.NHB> {
|
|
public final REU a;
|
|
public C17671ymh b;
|
|
public final C0297Dm c;
|
|
public boolean d;
|
|
public yPn e;
|
|
private C1019Twi g;
|
|
private IeS h;
|
|
private RVV i;
|
|
private List<C1193Xr> k;
|
|
private List<C1193Xr> m;
|
|
private List<C1193Xr> n;
|
|
|
|
@InterfaceC13391fZD
|
|
public C6372cQs(C0297Dm c0297Dm, REU reu, C16903sI c16903sI) {
|
|
super(c16903sI);
|
|
this.d = false;
|
|
this.c = c0297Dm;
|
|
this.a = reu;
|
|
this.g = reu.c.n();
|
|
}
|
|
|
|
public final void a(String str, String str2, boolean z) {
|
|
if (this.m == null) {
|
|
this.m = new ArrayList();
|
|
}
|
|
if (this.f != 0) {
|
|
this.f.v();
|
|
}
|
|
if (this.d) {
|
|
return;
|
|
}
|
|
IeS ieS = this.h;
|
|
if (ieS != null) {
|
|
ieS.dispose();
|
|
}
|
|
RVV rvv = this.i;
|
|
if (rvv != null) {
|
|
rvv.dispose();
|
|
}
|
|
this.d = true;
|
|
this.a.d(str, str2, z);
|
|
IeS ieS2 = new IeS(this);
|
|
this.h = ieS2;
|
|
REU reu = this.a;
|
|
reu.d(reu.i, ieS2);
|
|
}
|
|
|
|
@Override // o.ZI
|
|
public final void w_() {
|
|
super.w_();
|
|
this.a.c.e();
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* renamed from: o.cQs$IeS */
|
|
/* loaded from: classes4.dex */
|
|
public final class IeS extends wRi.LWm<pmX> {
|
|
private C6372cQs d;
|
|
private boolean e = false;
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
pmX pmx = (pmX) obj;
|
|
C6372cQs.g(this.d);
|
|
C6372cQs c6372cQs = this.d;
|
|
c6372cQs.b = c6372cQs.b;
|
|
if (this.d.f != 0) {
|
|
if (this.d.g != null) {
|
|
final C1193Xr b = this.d.c.b(pmx.a, this.d.g, this.d.a.d.M());
|
|
if (b != null) {
|
|
C6372cQs c6372cQs2 = this.d;
|
|
ZI.IeS ieS = new ZI.IeS(b) { // from class: o.cQw
|
|
private C1193Xr b;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((InterfaceC9010dbe.NHB) obj2).c(this.b);
|
|
}
|
|
|
|
{
|
|
this.b = b;
|
|
}
|
|
};
|
|
if (c6372cQs2.f != 0) {
|
|
ieS.e(c6372cQs2.f);
|
|
}
|
|
} else {
|
|
C6372cQs c6372cQs3 = this.d;
|
|
int i = C15715hv.tOB.biller_not_found;
|
|
C0690Mh.IeS ieS2 = C0690Mh.IeS.NAVIGATE_BACK;
|
|
C16903sI c16903sI = c6372cQs3.j;
|
|
c6372cQs3.d(c16903sI.c((String) null, c16903sI.e(i), ieS2));
|
|
}
|
|
} else {
|
|
this.d.e = pmx.b;
|
|
pmx.a.isEmpty();
|
|
pmx.a.isEmpty();
|
|
if (!pmx.a.isEmpty()) {
|
|
C6372cQs c6372cQs4 = this.d;
|
|
c6372cQs4.k = c6372cQs4.c.c(pmx.a, this.d.a.d.M());
|
|
C6372cQs c6372cQs5 = this.d;
|
|
ZI.IeS ieS3 = new ZI.IeS(this) { // from class: o.cQx
|
|
private C6372cQs.IeS b;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((InterfaceC9010dbe.NHB) obj2).d((List<AbstractC1181Xh>) new YKU(this.b.d.k).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())));
|
|
}
|
|
|
|
{
|
|
this.b = this;
|
|
}
|
|
};
|
|
if (c6372cQs5.f != 0) {
|
|
ieS3.e(c6372cQs5.f);
|
|
}
|
|
}
|
|
}
|
|
this.d.d = false;
|
|
C6372cQs.o(this.d);
|
|
}
|
|
}
|
|
|
|
public IeS(C6372cQs c6372cQs) {
|
|
this.d = c6372cQs;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onComplete() {
|
|
C6372cQs.f(this.d);
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
this.d.d = false;
|
|
if (this.d.f == 0 || this.d.i(th)) {
|
|
return;
|
|
}
|
|
C6372cQs.j(this.d);
|
|
C6372cQs c6372cQs = this.d;
|
|
C6374cQu c6374cQu = new C6374cQu();
|
|
if (c6372cQs.f != 0) {
|
|
c6374cQu.e(c6372cQs.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* renamed from: o.cQs$RVV */
|
|
/* loaded from: classes4.dex */
|
|
public final class RVV extends wRi.LWm<C17671ymh> {
|
|
private boolean b;
|
|
private C6372cQs d;
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
ArrayList arrayList;
|
|
C17671ymh c17671ymh = (C17671ymh) obj;
|
|
this.d.b = c17671ymh;
|
|
if (this.d.f != 0) {
|
|
if (this.d.g != null) {
|
|
final C1193Xr b = this.d.c.b(c17671ymh.c, this.d.g, this.d.a.d.M());
|
|
if (b != null) {
|
|
C6372cQs c6372cQs = this.d;
|
|
ZI.IeS ieS = new ZI.IeS(b) { // from class: o.cQr
|
|
private C1193Xr b;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((InterfaceC9010dbe.NHB) obj2).c(this.b);
|
|
}
|
|
|
|
{
|
|
this.b = b;
|
|
}
|
|
};
|
|
if (c6372cQs.f != 0) {
|
|
ieS.e(c6372cQs.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
C6372cQs c6372cQs2 = this.d;
|
|
int i = C15715hv.tOB.biller_not_found;
|
|
C0690Mh.IeS ieS2 = C0690Mh.IeS.NAVIGATE_BACK;
|
|
C16903sI c16903sI = c6372cQs2.j;
|
|
c6372cQs2.d(c16903sI.c((String) null, c16903sI.e(i), ieS2));
|
|
return;
|
|
}
|
|
C6372cQs c6372cQs3 = this.d;
|
|
c6372cQs3.k = c6372cQs3.c.c(c17671ymh.c, this.d.a.d.M());
|
|
if (this.b) {
|
|
C6372cQs c6372cQs4 = this.d;
|
|
C0297Dm unused = c6372cQs4.c;
|
|
c6372cQs4.k = C0297Dm.c((List<C1193Xr>) this.d.k);
|
|
}
|
|
C6372cQs c6372cQs5 = this.d;
|
|
if (c6372cQs5.k != null) {
|
|
arrayList = new ArrayList(this.d.k);
|
|
} else {
|
|
arrayList = new ArrayList();
|
|
}
|
|
c6372cQs5.n = arrayList;
|
|
C6372cQs c6372cQs6 = this.d;
|
|
ZI.IeS ieS3 = new ZI.IeS(this) { // from class: o.cQp
|
|
private C6372cQs.RVV b;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
C6372cQs.RVV.e(this.b, (InterfaceC9010dbe.NHB) obj2);
|
|
}
|
|
|
|
{
|
|
this.b = this;
|
|
}
|
|
};
|
|
if (c6372cQs6.f != 0) {
|
|
ieS3.e(c6372cQs6.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
public RVV(C6372cQs c6372cQs, boolean z) {
|
|
this.d = c6372cQs;
|
|
this.b = z;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onComplete() {
|
|
C6372cQs.l(this.d);
|
|
}
|
|
|
|
public static /* synthetic */ void e(RVV rvv, InterfaceC9010dbe.NHB nhb) {
|
|
nhb.d(rvv.b);
|
|
nhb.c((List<AbstractC1181Xh>) new YKU(rvv.d.n).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())));
|
|
nhb.b();
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
if (this.d.f == 0 || this.d.i(th)) {
|
|
return;
|
|
}
|
|
C6372cQs.n(this.d);
|
|
C6372cQs c6372cQs = this.d;
|
|
C6374cQu c6374cQu = new C6374cQu();
|
|
if (c6372cQs.f != 0) {
|
|
c6374cQu.e(c6372cQs.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void f(C6372cQs c6372cQs) {
|
|
if (c6372cQs.f != 0) {
|
|
c6372cQs.f.aq_();
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void j(C6372cQs c6372cQs) {
|
|
if (c6372cQs.f != 0) {
|
|
c6372cQs.f.aq_();
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void g(C6372cQs c6372cQs) {
|
|
if (c6372cQs.f != 0) {
|
|
c6372cQs.f.aq_();
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void o(C6372cQs c6372cQs) {
|
|
if (c6372cQs.f != 0) {
|
|
c6372cQs.f.aq_();
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void l(C6372cQs c6372cQs) {
|
|
if (c6372cQs.f != 0) {
|
|
c6372cQs.f.aq_();
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void n(C6372cQs c6372cQs) {
|
|
if (c6372cQs.f != 0) {
|
|
c6372cQs.f.aq_();
|
|
}
|
|
}
|
|
|
|
public final void c(boolean z) {
|
|
String str;
|
|
if (this.f != 0) {
|
|
this.f.v();
|
|
}
|
|
IeS ieS = this.h;
|
|
if (ieS != null) {
|
|
ieS.dispose();
|
|
}
|
|
RVV rvv = this.i;
|
|
if (rvv != null) {
|
|
rvv.dispose();
|
|
}
|
|
C1019Twi c1019Twi = this.g;
|
|
if (c1019Twi == null) {
|
|
this.e = null;
|
|
this.a.e();
|
|
} else if (c1019Twi.p != null) {
|
|
this.a.d(this.g.p.c);
|
|
} else if (this.g.m != null) {
|
|
this.a.c(this.g.m.d);
|
|
} else {
|
|
REU reu = this.a;
|
|
if (this.g.y != null) {
|
|
str = this.g.y.c;
|
|
} else {
|
|
str = this.g.x;
|
|
}
|
|
reu.c(str, this.g.A);
|
|
}
|
|
RVV rvv2 = new RVV(this, z);
|
|
this.i = rvv2;
|
|
REU reu2 = this.a;
|
|
reu2.d(reu2.i, rvv2);
|
|
}
|
|
|
|
public final void d() {
|
|
if (this.f != 0) {
|
|
this.f.v();
|
|
}
|
|
IeS ieS = this.h;
|
|
if (ieS != null) {
|
|
ieS.dispose();
|
|
}
|
|
RVV rvv = this.i;
|
|
if (rvv != null) {
|
|
rvv.dispose();
|
|
}
|
|
C1019Twi c1019Twi = this.g;
|
|
if (c1019Twi != null) {
|
|
this.a.c(c1019Twi.x, this.g.A);
|
|
} else {
|
|
this.e = null;
|
|
this.a.f();
|
|
}
|
|
RVV rvv2 = new RVV(this, false);
|
|
this.i = rvv2;
|
|
REU reu = this.a;
|
|
reu.d(reu.i, rvv2);
|
|
}
|
|
}
|