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

99 lines
2.8 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import o.C0690Mh;
import o.ZI;
import o.wRi;
/* loaded from: classes4.dex */
public class bZS extends ZI<InterfaceC9487dkf> {
public final yAM a;
public List<C7938cxl> b;
public C7938cxl c;
public boolean d;
public boolean e;
private final C17517xS g;
public final C14025flR h;
@InterfaceC13391fZD
public bZS(C16903sI c16903sI, yAM yam, C14025flR c14025flR, C17517xS c17517xS) {
super(c16903sI);
this.a = yam;
this.h = c14025flR;
this.g = c17517xS;
}
/* renamed from: o.bZS$1, reason: invalid class name */
/* loaded from: classes4.dex */
public class AnonymousClass1 extends wRi.LWm<List<String>> {
private bZS a;
public AnonymousClass1(bZS bzs) {
this.a = bzs;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
final List list = (List) obj;
bZS.d(this.a);
bZS bzs = this.a;
ZI.IeS ieS = new ZI.IeS(list) { // from class: o.cad
private List b;
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9487dkf) obj2).a((List<String>) this.b);
}
{
this.b = list;
}
};
if (bzs.f != 0) {
ieS.e(bzs.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
bZS.d(this.a, th, C0690Mh.IeS.JUST_DISMISS);
}
}
public static /* synthetic */ void a(bZS bzs, InterfaceC9487dkf interfaceC9487dkf) {
C17517xS c17517xS = bzs.g;
List<C7938cxl> list = bzs.b;
C14957gcv.e(list, "");
List<C7938cxl> list2 = list;
C14957gcv.e(list2, "");
ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
Iterator<T> it = list2.iterator();
while (it.hasNext()) {
arrayList.add(((C7938cxl) it.next()).b);
}
ArrayList<Urh> arrayList2 = arrayList;
C14957gcv.e(arrayList2, "");
ArrayList arrayList3 = new ArrayList(arrayList2.size());
for (Urh urh : arrayList2) {
arrayList3.add((String) (C14957gcv.b(new Locale("th"), bBI.qs_(c17517xS.d.c.getConfiguration()).c(0)) ? urh.d : urh.b));
}
interfaceC9487dkf.c(arrayList3);
}
static /* synthetic */ void d(bZS bzs, Throwable th, C0690Mh.IeS ieS) {
if (bzs.b(th)) {
bzs.d(bzs.j.d(th, ieS));
}
}
static /* synthetic */ void d(bZS bzs) {
if (bzs.f != 0) {
bzs.f.ar_();
}
}
}