205 lines
6.0 KiB
Java
205 lines
6.0 KiB
Java
|
package o;
|
||
|
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.List;
|
||
|
import o.C0690Mh;
|
||
|
import o.C7439coM;
|
||
|
import o.InterfaceC8971das;
|
||
|
import o.InterfaceC8971das.IeS;
|
||
|
import o.ZI;
|
||
|
import o.wRi;
|
||
|
|
||
|
/* renamed from: o.coM, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public class C7439coM<T extends InterfaceC8971das.IeS> extends ZI<T> {
|
||
|
private final C16097lF b;
|
||
|
protected nOO c;
|
||
|
protected final gzM d;
|
||
|
|
||
|
public C7439coM(C16903sI c16903sI, C16097lF c16097lF, gzM gzm) {
|
||
|
super(c16903sI);
|
||
|
this.d = gzm;
|
||
|
this.b = c16097lF;
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.coM$LWm */
|
||
|
/* loaded from: classes4.dex */
|
||
|
final class LWm extends wRi.LWm<Boolean> {
|
||
|
private C7439coM d;
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final void onComplete() {
|
||
|
}
|
||
|
|
||
|
private LWm(C7439coM c7439coM) {
|
||
|
this.d = c7439coM;
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final /* synthetic */ void onNext(Object obj) {
|
||
|
C7439coM c7439coM = this.d;
|
||
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.coR
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj2) {
|
||
|
((InterfaceC8971das.IeS) obj2).b();
|
||
|
}
|
||
|
};
|
||
|
if (c7439coM.f != 0) {
|
||
|
ieS.e(c7439coM.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final void onError(Throwable th) {
|
||
|
C7439coM.e(this.d, th);
|
||
|
}
|
||
|
|
||
|
/* synthetic */ LWm(C7439coM c7439coM, byte b) {
|
||
|
this(c7439coM);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* renamed from: o.coM$IeS */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public final class IeS extends wRi.LWm<nOO> {
|
||
|
private C7439coM b;
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final void onComplete() {
|
||
|
}
|
||
|
|
||
|
private IeS(C7439coM c7439coM) {
|
||
|
this.b = c7439coM;
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final /* synthetic */ void onNext(Object obj) {
|
||
|
final nOO noo = (nOO) obj;
|
||
|
C7439coM.e(this.b);
|
||
|
if (this.b.f != 0) {
|
||
|
this.b.c = noo;
|
||
|
if (noo != null && noo.d.size() > 1) {
|
||
|
C7439coM c7439coM = this.b;
|
||
|
ZI.IeS ieS = new ZI.IeS(this, noo) { // from class: o.coL
|
||
|
private C7439coM.IeS b;
|
||
|
private nOO e;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj2) {
|
||
|
C7439coM.IeS.a(this.b, this.e, (InterfaceC8971das.IeS) obj2);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
this.e = noo;
|
||
|
}
|
||
|
};
|
||
|
if (c7439coM.f != 0) {
|
||
|
ieS.e(c7439coM.f);
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
if (noo == null || noo.d.size() != 1) {
|
||
|
return;
|
||
|
}
|
||
|
C7439coM c7439coM2 = this.b;
|
||
|
ZI.IeS ieS2 = new ZI.IeS(this, noo) { // from class: o.coK
|
||
|
private C7439coM.IeS a;
|
||
|
private nOO d;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj2) {
|
||
|
C7439coM.IeS.d(this.a, this.d, (InterfaceC8971das.IeS) obj2);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = this;
|
||
|
this.d = noo;
|
||
|
}
|
||
|
};
|
||
|
if (c7439coM2.f != 0) {
|
||
|
ieS2.e(c7439coM2.f);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final void onError(Throwable th) {
|
||
|
C7439coM.b(this.b, th, C0690Mh.IeS.NAVIGATE_BACK);
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void d(IeS ieS, nOO noo, InterfaceC8971das.IeS ieS2) {
|
||
|
List<JNE> arrayList;
|
||
|
C16097lF c16097lF = ieS.b.b;
|
||
|
C7968cyO p = ieS.b.d.e.p();
|
||
|
if (p == null) {
|
||
|
arrayList = new ArrayList<>();
|
||
|
} else {
|
||
|
arrayList = p.a;
|
||
|
}
|
||
|
ieS2.d(c16097lF.a(noo, arrayList, ieS.b.d.e.T()).c());
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void a(IeS ieS, nOO noo, InterfaceC8971das.IeS ieS2) {
|
||
|
List<JNE> arrayList;
|
||
|
C16097lF c16097lF = ieS.b.b;
|
||
|
C7968cyO p = ieS.b.d.e.p();
|
||
|
if (p == null) {
|
||
|
arrayList = new ArrayList<>();
|
||
|
} else {
|
||
|
arrayList = p.a;
|
||
|
}
|
||
|
ieS2.e(c16097lF.a(noo, arrayList, ieS.b.d.e.T()).c());
|
||
|
}
|
||
|
|
||
|
/* synthetic */ IeS(C7439coM c7439coM, byte b) {
|
||
|
this(c7439coM);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void e(C7439coM c7439coM, Throwable th) {
|
||
|
if (c7439coM.b(th)) {
|
||
|
c7439coM.d(c7439coM.j.e(th));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void b(C7439coM c7439coM, Throwable th, C0690Mh.IeS ieS) {
|
||
|
if (c7439coM.b(th)) {
|
||
|
c7439coM.d(c7439coM.j.d(th, ieS));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void e(C7439coM c7439coM) {
|
||
|
if (c7439coM.f != 0) {
|
||
|
c7439coM.f.aq_();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final void d() {
|
||
|
if (this.f != 0) {
|
||
|
this.f.v();
|
||
|
}
|
||
|
this.d.e();
|
||
|
gzM gzm = this.d;
|
||
|
gzm.d(gzm.i, new IeS(this, (byte) 0));
|
||
|
}
|
||
|
|
||
|
public final void c(String str) {
|
||
|
if (this.f != 0) {
|
||
|
this.f.v();
|
||
|
}
|
||
|
C6444cT b = C6444cT.b();
|
||
|
b.d = "1";
|
||
|
b.a = str;
|
||
|
ArrayList arrayList = new ArrayList();
|
||
|
arrayList.add(b);
|
||
|
C6649cZ c = C6649cZ.c();
|
||
|
c.d = arrayList;
|
||
|
this.d.b(c);
|
||
|
gzM gzm = this.d;
|
||
|
gzm.d(gzm.i, new LWm(this, (byte) 0));
|
||
|
}
|
||
|
}
|