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

237 lines
7.8 KiB
Java

package o;
import java.util.ArrayList;
import java.util.Collection;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import o.C0690Mh;
import o.C14930gcM;
import o.C15715hv;
import o.ZI;
import o.aNI;
/* loaded from: classes4.dex */
public final class aNI extends ZI<InterfaceC9226dfi> {
private final C16551pJ a;
public final C15800ij b;
public String d;
public String e;
public static final /* synthetic */ C0700Mo a(aNI ani, bVO bvo) {
C16551pJ c16551pJ = ani.a;
Object[] objArr = {bvo};
return (C0700Mo) C16551pJ.c(objArr);
}
public static final /* synthetic */ C0700Mo d(aNI ani, bVO bvo) {
return ani.a.e(bvo);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public aNI(C16903sI c16903sI, C15800ij c15800ij, C16551pJ c16551pJ) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c15800ij, "");
C14957gcv.e(c16551pJ, "");
this.b = c15800ij;
this.a = c16551pJ;
}
/* loaded from: classes4.dex */
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<bVO, C14866gag> {
private aNI b;
private C14930gcM.RVV<List<C0698Mn>> c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(bVO bvo) {
final bVO bvo2 = bvo;
C14957gcv.e(bvo2, "");
final aNI ani = this.b;
final C14930gcM.RVV<List<C0698Mn>> rvv = this.c;
ZI.IeS ieS = new ZI.IeS(ani, rvv, bvo2) { // from class: o.aNF
private bVO a;
private C14930gcM.RVV b;
private aNI e;
@Override // o.ZI.IeS
public final void e(Object obj) {
aNI.HBt.c(this.e, this.b, this.a, (InterfaceC9226dfi) obj);
}
{
this.e = ani;
this.b = rvv;
this.a = bvo2;
}
};
if (ani.f != 0) {
ieS.e(ani.f);
}
return C14866gag.c;
}
/* JADX WARN: Type inference failed for: r3v2, types: [java.util.List<o.Mn>, T] */
public static /* synthetic */ void c(aNI ani, C14930gcM.RVV rvv, bVO bvo, InterfaceC9226dfi interfaceC9226dfi) {
C14957gcv.e(ani, "");
C14957gcv.e(rvv, "");
C14957gcv.e(bvo, "");
aNI.b(ani);
rvv.d = aNI.d(ani, bvo).a;
Collection collection = (Collection) rvv.d;
if (collection == null || collection.isEmpty()) {
C16903sI c16903sI = ani.j;
ani.d(c16903sI.c((String) null, c16903sI.e(C15715hv.tOB.error_generic_resource), C0690Mh.IeS.JUST_DISMISS));
} else {
List<C0698Mn> list = (List) rvv.d;
if (list != null) {
interfaceC9226dfi.e(list);
}
}
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public HBt(aNI ani, C14930gcM.RVV<List<C0698Mn>> rvv) {
super(1);
this.b = ani;
this.c = rvv;
}
}
/* loaded from: classes4.dex */
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private aNI b;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
aNI.a(this.b, th2, C0690Mh.IeS.NAVIGATE_BACK);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public Sts(aNI ani) {
super(1);
this.b = ani;
}
}
/* loaded from: classes4.dex */
public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private aNI c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
aNI.e(this.c, th2);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public LWm(aNI ani) {
super(1);
this.c = ani;
}
}
/* loaded from: classes4.dex */
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<bVO, C14866gag> {
private aNI a;
private C14930gcM.RVV<List<C0715My>> d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(bVO bvo) {
final bVO bvo2 = bvo;
C14957gcv.e(bvo2, "");
final aNI ani = this.a;
final C14930gcM.RVV<List<C0715My>> rvv = this.d;
ZI.IeS ieS = new ZI.IeS(ani, rvv, bvo2) { // from class: o.aNJ
private C14930gcM.RVV a;
private bVO b;
private aNI d;
@Override // o.ZI.IeS
public final void e(Object obj) {
aNI.RVV.b(this.d, this.a, this.b, (InterfaceC9226dfi) obj);
}
{
this.d = ani;
this.a = rvv;
this.b = bvo2;
}
};
if (ani.f != 0) {
ieS.e(ani.f);
}
return C14866gag.c;
}
/* JADX WARN: Type inference failed for: r3v2, types: [T, java.util.List<o.My>] */
public static /* synthetic */ void b(aNI ani, C14930gcM.RVV rvv, bVO bvo, InterfaceC9226dfi interfaceC9226dfi) {
C14957gcv.e(ani, "");
C14957gcv.e(rvv, "");
C14957gcv.e(bvo, "");
aNI.b(ani);
rvv.d = aNI.a(ani, bvo).c;
Collection collection = (Collection) rvv.d;
if (collection == null || collection.isEmpty()) {
C16903sI c16903sI = ani.j;
ani.d(c16903sI.c((String) null, c16903sI.e(C15715hv.tOB.error_generic_resource), C0690Mh.IeS.JUST_DISMISS));
} else {
List<C0715My> list = (List) rvv.d;
if (list != null) {
interfaceC9226dfi.a(list);
}
}
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public RVV(aNI ani, C14930gcM.RVV<List<C0715My>> rvv) {
super(1);
this.a = ani;
this.d = rvv;
}
}
public static Map<String, List<C0698Mn>> e(List<C0698Mn> list) {
C14957gcv.e(list, "");
LinkedHashMap linkedHashMap = new LinkedHashMap();
for (Object obj : list) {
String str = ((C0698Mn) obj).c;
Object obj2 = linkedHashMap.get(str);
if (obj2 == null) {
obj2 = (List) new ArrayList();
linkedHashMap.put(str, obj2);
}
((List) obj2).add(obj);
}
LinkedHashMap linkedHashMap2 = new LinkedHashMap(C14856gaP.a(linkedHashMap.size()));
for (Map.Entry entry : linkedHashMap.entrySet()) {
linkedHashMap2.put(entry.getKey(), (List) entry.getValue());
}
return linkedHashMap2;
}
public static final /* synthetic */ void b(aNI ani) {
if (ani.f != 0) {
ani.f.ar_();
}
}
public static final /* synthetic */ void e(aNI ani, Throwable th) {
if (ani.b(th)) {
ani.d(ani.j.e(th));
}
}
public static final /* synthetic */ void a(aNI ani, Throwable th, C0690Mh.IeS ieS) {
if (ani.b(th)) {
ani.d(ani.j.d(th, ieS));
}
}
}