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

118 lines
3.6 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import com.scb.phone.presentation.mapper.transferandpay.BaseAssetsDisplayMapper;
import java.util.List;
import o.PRA;
/* renamed from: o.mx, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C16282mx extends BaseAssetsDisplayMapper {
@InterfaceC13391fZD
public C16282mx(Resources resources, SharedPreferences sharedPreferences, String str) {
super(resources, sharedPreferences, str);
}
public static String e(double d) {
return c(Double.valueOf(d));
}
public static /* synthetic */ FV e(C16282mx c16282mx, boolean z, C17728zKJ c17728zKJ) {
String c;
String str;
if (!c17728zKJ.i.equals("OTHER")) {
c = c(c17728zKJ.b, z);
} else {
c = c17728zKJ.b;
}
String str2 = c;
long j = c17728zKJ.h;
String str3 = c17728zKJ.i;
String str4 = c17728zKJ.j;
if (c17728zKJ.c == null) {
str = "";
} else {
str = c17728zKJ.c;
}
return new FV(j, str3, str4, str, c16282mx.b_(c17728zKJ.e), str2, c(Double.valueOf(c17728zKJ.a)), "");
}
public static /* synthetic */ void a(final C16282mx c16282mx, List list, final FV fv) {
zEQ d;
YKU yku = new YKU(list);
YKU yku2 = new YKU(yku.a, new GEP(yku.b, new Jel(fv) { // from class: o.mC
private FV e;
@Override // o.Jel
public final boolean e(Object obj) {
return C16282mx.e(this.e, (C16890sBt) obj);
}
{
this.e = fv;
}
}));
if (yku2.b.hasNext()) {
d = zEQ.a(yku2.b.next());
} else {
d = zEQ.d();
}
Object obj = d.b(new InterfaceC1244Ytw(c16282mx, fv) { // from class: o.mz
private FV b;
private C16282mx c;
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj2) {
return C16282mx.a(this.b, (C16890sBt) obj2);
}
{
this.c = c16282mx;
this.b = fv;
}
}).d;
if (obj == null) {
obj = null;
}
}
public static /* synthetic */ FV a(FV fv, C16890sBt c16890sBt) {
if (!"1000".equals(c16890sBt.i)) {
fv.h = c16890sBt.h;
}
return fv;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ boolean e(FV fv, C16890sBt c16890sBt) {
return c16890sBt.f9262o.longValue() == fv.f;
}
public final List<FV> b(List<C17728zKJ> list, final boolean z) {
YKU yku = new YKU(list);
YKU yku2 = new YKU(yku.a, new C17745zRk(yku.b, xNZ.a(new InterfaceC1244Ytw() { // from class: o.mA
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
int i;
i = ((C17728zKJ) obj).f;
return Integer.valueOf(i);
}
})));
return (List) new YKU(yku2.a, new wxK(yku2.b, new InterfaceC1244Ytw(this, z) { // from class: o.mB
private boolean c;
private C16282mx d;
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
return C16282mx.e(this.d, this.c, (C17728zKJ) obj);
}
{
this.d = this;
this.c = z;
}
})).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
}
}