430 lines
14 KiB
Java
430 lines
14 KiB
Java
package o;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import java.util.NoSuchElementException;
|
|
import java.util.Objects;
|
|
import o.InterfaceC9010dbe;
|
|
import o.PRA;
|
|
import o.ZI;
|
|
|
|
/* renamed from: o.cXk, reason: case insensitive filesystem */
|
|
/* loaded from: classes4.dex */
|
|
public class C6599cXk extends ZI<InterfaceC9010dbe.jzh> {
|
|
private final C0281Da a;
|
|
public final yGw b;
|
|
public List<C1236Yq> c;
|
|
public final EH d;
|
|
private final C0345Eo e;
|
|
private final Lqn g;
|
|
private final C1019Twi i;
|
|
|
|
@InterfaceC13391fZD
|
|
public C6599cXk(C0345Eo c0345Eo, EH eh, C16903sI c16903sI, yGw ygw, C0281Da c0281Da) {
|
|
super(c16903sI);
|
|
this.c = new ArrayList();
|
|
this.e = c0345Eo;
|
|
this.d = eh;
|
|
this.b = ygw;
|
|
this.i = ygw.a.n();
|
|
this.g = ygw.b.H();
|
|
this.a = c0281Da;
|
|
}
|
|
|
|
@Override // o.ZI
|
|
public final void w_() {
|
|
super.w_();
|
|
yGw ygw = this.b;
|
|
if (ygw.h.isDisposed()) {
|
|
return;
|
|
}
|
|
ygw.h.dispose();
|
|
}
|
|
|
|
public final void a(String str, final boolean z, boolean z2) {
|
|
InterfaceC13169fSq map;
|
|
if (z2) {
|
|
map = this.b.e(str).map(new fSS(this) { // from class: o.cXs
|
|
private C6599cXk d;
|
|
|
|
@Override // o.fSS
|
|
public final Object a(Object obj) {
|
|
return C6599cXk.d(this.d, (List) obj);
|
|
}
|
|
|
|
{
|
|
this.d = this;
|
|
}
|
|
});
|
|
} else {
|
|
map = this.b.a.j(str).map(new fSS(this, z) { // from class: o.cXu
|
|
private C6599cXk b;
|
|
private boolean d;
|
|
|
|
@Override // o.fSS
|
|
public final Object a(Object obj) {
|
|
return C6599cXk.a(this.b, this.d, (List) obj);
|
|
}
|
|
|
|
{
|
|
this.b = this;
|
|
this.d = z;
|
|
}
|
|
});
|
|
}
|
|
this.b.d(map, new fSQ(this) { // from class: o.cXh
|
|
private C6599cXk b;
|
|
|
|
@Override // o.fSQ
|
|
public final void c(Object obj) {
|
|
C6599cXk.c(this.b, (List) obj);
|
|
}
|
|
|
|
{
|
|
this.b = this;
|
|
}
|
|
}, new fSQ(this) { // from class: o.cXA
|
|
private C6599cXk d;
|
|
|
|
@Override // o.fSQ
|
|
public final void c(Object obj) {
|
|
C6599cXk.a(this.d, (Throwable) obj);
|
|
}
|
|
|
|
{
|
|
this.d = this;
|
|
}
|
|
});
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public static /* synthetic */ boolean d(boolean z, LEE lee) {
|
|
return !z || "000".equalsIgnoreCase(lee.c) || "014".equalsIgnoreCase(lee.c);
|
|
}
|
|
|
|
private boolean d() {
|
|
return this.i != null && qhK.OWN.equals(C6583cXR.G(this.i.z));
|
|
}
|
|
|
|
private boolean c() {
|
|
return this.i != null ? qhK.OWN.equals(C6583cXR.G(this.i.z)) || qhK.SCB.equals(C6583cXR.G(this.i.z)) || qhK.OTHER.equals(C6583cXR.G(this.i.z)) : this.g != null;
|
|
}
|
|
|
|
public static /* synthetic */ void b(C6599cXk c6599cXk, Throwable th) {
|
|
if (c6599cXk.i(th)) {
|
|
return;
|
|
}
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.cXm
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC9010dbe.jzh) obj).b(new ArrayList());
|
|
}
|
|
};
|
|
if (c6599cXk.f != 0) {
|
|
ieS.e(c6599cXk.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ List a(C6599cXk c6599cXk, final boolean z, List list) {
|
|
YKU yku = new YKU(list);
|
|
YKU yku2 = new YKU(yku.a, new GEP(yku.b, new Jel(z) { // from class: o.cXi
|
|
private boolean e;
|
|
|
|
@Override // o.Jel
|
|
public final boolean e(Object obj) {
|
|
return C6599cXk.d(this.e, (LEE) obj);
|
|
}
|
|
|
|
{
|
|
this.e = z;
|
|
}
|
|
}));
|
|
C0345Eo c0345Eo = c6599cXk.e;
|
|
Objects.requireNonNull(c0345Eo);
|
|
return (List) new YKU(yku2.a, new wxK(yku2.b, new C2784alD(c0345Eo))).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public static /* synthetic */ void c(final C6599cXk c6599cXk, final List list) {
|
|
final String str;
|
|
String str2;
|
|
final zEQ d;
|
|
c6599cXk.c = list;
|
|
if (c6599cXk.f != 0) {
|
|
C1019Twi c1019Twi = c6599cXk.i;
|
|
if (c1019Twi == null && c6599cXk.g == null) {
|
|
ZI.IeS ieS = new ZI.IeS(list) { // from class: o.cXw
|
|
private List d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC9010dbe.jzh) obj).b(this.d);
|
|
}
|
|
|
|
{
|
|
this.d = list;
|
|
}
|
|
};
|
|
if (c6599cXk.f != 0) {
|
|
ieS.e(c6599cXk.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
if (c1019Twi != null) {
|
|
str = c1019Twi.x;
|
|
} else {
|
|
str = c6599cXk.g.d.b;
|
|
}
|
|
C1019Twi c1019Twi2 = c6599cXk.i;
|
|
if (c1019Twi2 == null) {
|
|
str2 = "";
|
|
} else {
|
|
str2 = c1019Twi2.a;
|
|
}
|
|
YKU yku = new YKU(list);
|
|
YKU yku2 = new YKU(yku.a, new GEP(yku.b, new Jel(str) { // from class: o.cXx
|
|
private String d;
|
|
|
|
@Override // o.Jel
|
|
public final boolean e(Object obj) {
|
|
boolean equals;
|
|
equals = this.d.equals(((C1236Yq) obj).d.c);
|
|
return equals;
|
|
}
|
|
|
|
{
|
|
this.d = str;
|
|
}
|
|
}));
|
|
if (yku2.b.hasNext()) {
|
|
d = zEQ.a(yku2.b.next());
|
|
} else {
|
|
d = zEQ.d();
|
|
}
|
|
if (d.d != 0 && c6599cXk.c()) {
|
|
if (!c6599cXk.d()) {
|
|
ZI.IeS ieS2 = new ZI.IeS(d) { // from class: o.cXz
|
|
private zEQ e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C6599cXk.c(this.e, (InterfaceC9010dbe.jzh) obj);
|
|
}
|
|
|
|
{
|
|
this.e = d;
|
|
}
|
|
};
|
|
if (c6599cXk.f != 0) {
|
|
ieS2.e(c6599cXk.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
T t = d.d;
|
|
if (t == 0) {
|
|
throw new NoSuchElementException("No value present");
|
|
}
|
|
final String str3 = ((C1236Yq) t).d.c;
|
|
c6599cXk.b.d(c6599cXk.b.a.c(str2).map(new fSS(c6599cXk) { // from class: o.cXo
|
|
private C6599cXk b;
|
|
|
|
@Override // o.fSS
|
|
public final Object a(Object obj) {
|
|
return C6599cXk.a(this.b, (List) obj);
|
|
}
|
|
|
|
{
|
|
this.b = c6599cXk;
|
|
}
|
|
}), new fSQ(c6599cXk, str3) { // from class: o.cXv
|
|
private C6599cXk a;
|
|
private String c;
|
|
|
|
@Override // o.fSQ
|
|
public final void c(Object obj) {
|
|
C6599cXk.e(this.a, this.c, (List) obj);
|
|
}
|
|
|
|
{
|
|
this.a = c6599cXk;
|
|
this.c = str3;
|
|
}
|
|
}, new fSQ(c6599cXk) { // from class: o.cXt
|
|
private C6599cXk b;
|
|
|
|
@Override // o.fSQ
|
|
public final void c(Object obj) {
|
|
C6599cXk.b(this.b, (Throwable) obj);
|
|
}
|
|
|
|
{
|
|
this.b = c6599cXk;
|
|
}
|
|
});
|
|
return;
|
|
}
|
|
if (c6599cXk.c()) {
|
|
ZI.IeS ieS3 = new ZI.IeS() { // from class: o.cXy
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC9010dbe.jzh) obj).e();
|
|
}
|
|
};
|
|
if (c6599cXk.f != 0) {
|
|
ieS3.e(c6599cXk.f);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ C1233Yp e(C6599cXk c6599cXk, USY usy) {
|
|
C0281Da c0281Da = c6599cXk.a;
|
|
return C0281Da.a(usy, c6599cXk.b.b.T());
|
|
}
|
|
|
|
public static /* synthetic */ void a(C6599cXk c6599cXk, Throwable th) {
|
|
if (c6599cXk.i(th)) {
|
|
return;
|
|
}
|
|
c6599cXk.c = new ArrayList();
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.cXn
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC9010dbe.jzh) obj).b(new ArrayList());
|
|
}
|
|
};
|
|
if (c6599cXk.f != 0) {
|
|
ieS.e(c6599cXk.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void e(final C6599cXk c6599cXk, final String str, List list) {
|
|
final zEQ d;
|
|
if (c6599cXk.f != 0) {
|
|
YKU yku = new YKU(list);
|
|
YKU yku2 = new YKU(yku.a, new GEP(yku.b, new Jel(c6599cXk) { // from class: o.cXE
|
|
private C6599cXk e;
|
|
|
|
@Override // o.Jel
|
|
public final boolean e(Object obj) {
|
|
boolean equals;
|
|
equals = ((C1233Yp) obj).d.equals(this.e.i.b);
|
|
return equals;
|
|
}
|
|
|
|
{
|
|
this.e = c6599cXk;
|
|
}
|
|
}));
|
|
if (yku2.b.hasNext()) {
|
|
d = zEQ.a(yku2.b.next());
|
|
} else {
|
|
d = zEQ.d();
|
|
}
|
|
if (d.d != 0 && c6599cXk.d()) {
|
|
ZI.IeS ieS = new ZI.IeS(d, str) { // from class: o.cXq
|
|
private zEQ a;
|
|
private String d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C6599cXk.c(this.a, this.d, (InterfaceC9010dbe.jzh) obj);
|
|
}
|
|
|
|
{
|
|
this.a = d;
|
|
this.d = str;
|
|
}
|
|
};
|
|
if (c6599cXk.f != 0) {
|
|
ieS.e(c6599cXk.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
if (c6599cXk.d()) {
|
|
USY usy = new USY();
|
|
usy.a = c6599cXk.i.b;
|
|
usy.d = c6599cXk.i.u;
|
|
C0281Da c0281Da = c6599cXk.a;
|
|
final C1233Yp a = C0281Da.a(usy, c6599cXk.b.b.T());
|
|
ZI.IeS ieS2 = new ZI.IeS(a, str) { // from class: o.cXp
|
|
private String a;
|
|
private C1233Yp d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC9010dbe.jzh) obj).a(this.d, this.a);
|
|
}
|
|
|
|
{
|
|
this.d = a;
|
|
this.a = str;
|
|
}
|
|
};
|
|
if (c6599cXk.f != 0) {
|
|
ieS2.e(c6599cXk.f);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ List d(C6599cXk c6599cXk, List list) {
|
|
YKU yku = new YKU(list);
|
|
C0345Eo c0345Eo = c6599cXk.e;
|
|
Objects.requireNonNull(c0345Eo);
|
|
return (List) new YKU(yku.a, new wxK(yku.b, new C2784alD(c0345Eo))).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
|
|
}
|
|
|
|
public static /* synthetic */ List a(final C6599cXk c6599cXk, List list) {
|
|
YKU yku = new YKU(list);
|
|
return (List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(c6599cXk) { // from class: o.cXr
|
|
private C6599cXk b;
|
|
|
|
@Override // o.InterfaceC1244Ytw
|
|
public final Object d(Object obj) {
|
|
return C6599cXk.e(this.b, (USY) obj);
|
|
}
|
|
|
|
{
|
|
this.b = c6599cXk;
|
|
}
|
|
})).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public static /* synthetic */ void c(zEQ zeq, String str, InterfaceC9010dbe.jzh jzhVar) {
|
|
T t = zeq.d;
|
|
if (t != 0) {
|
|
jzhVar.a((C1233Yp) t, str);
|
|
return;
|
|
}
|
|
throw new NoSuchElementException("No value present");
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public static /* synthetic */ void c(zEQ zeq, InterfaceC9010dbe.jzh jzhVar) {
|
|
T t = zeq.d;
|
|
if (t != 0) {
|
|
jzhVar.c((C1236Yq) t);
|
|
return;
|
|
}
|
|
throw new NoSuchElementException("No value present");
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public static /* synthetic */ void b(zEQ zeq, InterfaceC9010dbe.jzh jzhVar) {
|
|
T t = zeq.d;
|
|
if (t != 0) {
|
|
jzhVar.c((C1236Yq) t);
|
|
return;
|
|
}
|
|
throw new NoSuchElementException("No value present");
|
|
}
|
|
}
|