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

191 lines
5.5 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.ArrayList;
import java.util.List;
import o.C0690Mh;
import o.C6455cTf;
import o.ZI;
import o.wRi;
/* renamed from: o.cTf, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C6455cTf extends ZI<InterfaceC6643cYu> {
private final C0295Dk a;
public final mro b;
public final C16142lc c;
public XY d;
public boolean e;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C6455cTf(mro mroVar, C16903sI c16903sI, C0295Dk c0295Dk, C16142lc c16142lc) {
super(c16903sI);
C14957gcv.e(mroVar, "");
C14957gcv.e(c16903sI, "");
C14957gcv.e(c0295Dk, "");
C14957gcv.e(c16142lc, "");
this.b = mroVar;
this.a = c0295Dk;
this.c = c16142lc;
}
/* renamed from: o.cTf$HBt */
/* loaded from: classes4.dex */
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<zHg, C14866gag> {
private C6455cTf e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(zHg zhg) {
zHg zhg2 = zhg;
C14957gcv.e(zhg2, "");
final List a = C6455cTf.a(this.e.a.c(zhg2, true));
if (!a.isEmpty()) {
C6455cTf c6455cTf = this.e;
ZI.IeS ieS = new ZI.IeS(a) { // from class: o.cTg
private List a;
@Override // o.ZI.IeS
public final void e(Object obj) {
C6455cTf.HBt.d(this.a, (InterfaceC6643cYu) obj);
}
{
this.a = a;
}
};
if (c6455cTf.f != 0) {
ieS.e(c6455cTf.f);
}
}
return C14866gag.c;
}
public static /* synthetic */ void d(List list, InterfaceC6643cYu interfaceC6643cYu) {
C14957gcv.e(list, "");
interfaceC6643cYu.e((List<C0375Fe>) list);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public HBt(C6455cTf c6455cTf) {
super(1);
this.e = c6455cTf;
}
}
/* renamed from: o.cTf$IeS */
/* loaded from: classes4.dex */
public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
public static final IeS c = new IeS();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
C14957gcv.e(th, "");
return C14866gag.c;
}
IeS() {
super(1);
}
}
/* renamed from: o.cTf$LWm */
/* loaded from: classes4.dex */
public final class LWm extends wRi.LWm<Boolean> {
private C6455cTf d;
public LWm(C6455cTf c6455cTf) {
this.d = c6455cTf;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
boolean booleanValue = ((Boolean) obj).booleanValue();
C6455cTf c6455cTf = this.d;
if (booleanValue) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.cTh
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC6643cYu) obj2).b();
}
};
if (c6455cTf.f != 0) {
ieS.e(c6455cTf.f);
}
}
C6455cTf.d(this.d);
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C14957gcv.e(th, "");
C6455cTf.d(this.d, th, C0690Mh.IeS.JUST_DISMISS);
}
}
@Override // o.ZI
public final void w_() {
mro mroVar = this.b;
if (!mroVar.h.isDisposed()) {
mroVar.h.dispose();
}
super.w_();
}
/* renamed from: o.cTf$Sts */
/* loaded from: classes4.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
public static /* synthetic */ void b(XY xy, InterfaceC6643cYu interfaceC6643cYu) {
C14957gcv.e(xy, "");
interfaceC6643cYu.e(xy);
}
public static /* synthetic */ void c(C6455cTf c6455cTf, InterfaceC6643cYu interfaceC6643cYu) {
C14957gcv.e(c6455cTf, "");
if (c6455cTf.e) {
interfaceC6643cYu.a();
} else {
interfaceC6643cYu.c();
}
}
public static /* synthetic */ void d(XY xy, InterfaceC6643cYu interfaceC6643cYu) {
C14957gcv.e(xy, "");
interfaceC6643cYu.c(xy);
}
public static final /* synthetic */ List a(List list) {
ArrayList arrayList = new ArrayList();
for (Object obj : list) {
if (EnumC0378Fg.IMAGE == ((C0375Fe) obj).i) {
arrayList.add(obj);
}
}
List d = C14881gav.d((Iterable) arrayList);
return d.size() > 3 ? d.subList(0, 3) : d;
}
public static final /* synthetic */ void d(C6455cTf c6455cTf) {
if (c6455cTf.f != 0) {
c6455cTf.f.ar_();
}
}
public static final /* synthetic */ void d(C6455cTf c6455cTf, Throwable th, C0690Mh.IeS ieS) {
if (c6455cTf.b(th)) {
c6455cTf.d(c6455cTf.j.d(th, ieS));
}
}
static {
new Sts((byte) 0);
}
}