127 lines
4.3 KiB
Java
127 lines
4.3 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.content.SharedPreferences;
|
||
|
import android.content.res.Resources;
|
||
|
import com.scb.phone.presentation.mapper.transferandpay.BaseAssetsDisplayMapper;
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.List;
|
||
|
import java.util.NoSuchElementException;
|
||
|
import o.C15715hv;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class BN extends BaseAssetsDisplayMapper {
|
||
|
public boolean a;
|
||
|
public C16163lm b;
|
||
|
public final Context d;
|
||
|
public boolean h;
|
||
|
public boolean i;
|
||
|
public boolean j;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public BN(Context context, Resources resources, SharedPreferences sharedPreferences, C16163lm c16163lm, String str) {
|
||
|
super(resources, sharedPreferences, str);
|
||
|
this.j = false;
|
||
|
this.h = false;
|
||
|
this.a = false;
|
||
|
this.i = false;
|
||
|
this.d = context;
|
||
|
this.b = c16163lm;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
public final List<FX> a(List<VR> list, List<VQ> list2, List<LEE> list3, boolean z) {
|
||
|
String str;
|
||
|
zEQ d;
|
||
|
String str2;
|
||
|
ArrayList arrayList = new ArrayList();
|
||
|
for (int i = 0; i < list.size(); i++) {
|
||
|
if (list2.get(i).a.equals("OWN")) {
|
||
|
str = c(list2.get(i).e, z);
|
||
|
} else if (list2.get(i).a.equals("SCB")) {
|
||
|
str = c(list2.get(i).e, false);
|
||
|
} else {
|
||
|
str = list2.get(i).e;
|
||
|
}
|
||
|
FX fx = new FX();
|
||
|
fx.h = list.get(i).c;
|
||
|
final VQ vq = list2.get(i);
|
||
|
YKU yku = new YKU(list3);
|
||
|
YKU yku2 = new YKU(yku.a, new GEP(yku.b, new Jel(vq) { // from class: o.BP
|
||
|
private VQ a;
|
||
|
|
||
|
@Override // o.Jel
|
||
|
public final boolean e(Object obj) {
|
||
|
boolean equals;
|
||
|
equals = ((LEE) obj).c.equals(this.a.b);
|
||
|
return equals;
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = vq;
|
||
|
}
|
||
|
}));
|
||
|
if (yku2.b.hasNext()) {
|
||
|
d = zEQ.a(yku2.b.next());
|
||
|
} else {
|
||
|
d = zEQ.d();
|
||
|
}
|
||
|
if (d.d != 0) {
|
||
|
T t = d.d;
|
||
|
if (t == 0) {
|
||
|
throw new NoSuchElementException("No value present");
|
||
|
}
|
||
|
str2 = ((LEE) t).a;
|
||
|
} else {
|
||
|
str2 = vq.b;
|
||
|
}
|
||
|
fx.c = b_(str2);
|
||
|
fx.f = list2.get(i).c;
|
||
|
fx.a = str;
|
||
|
fx.i = list2.get(i).d;
|
||
|
fx.b = (String) C6583cXR.c(new Object[]{Double.valueOf(Double.valueOf(list.get(i).d).doubleValue())}, -150997759, 150997764, (int) System.currentTimeMillis());
|
||
|
fx.j = (String) C6583cXR.c(new Object[]{Double.valueOf(Double.valueOf(list2.get(i).g).doubleValue())}, -150997759, 150997764, (int) System.currentTimeMillis());
|
||
|
fx.l = list2.get(i).a;
|
||
|
fx.d = list2.get(i).e;
|
||
|
fx.g = true;
|
||
|
arrayList.add(fx);
|
||
|
}
|
||
|
return arrayList;
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.BN$3, reason: invalid class name */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public static /* synthetic */ class AnonymousClass3 {
|
||
|
public static final int[] c;
|
||
|
|
||
|
static {
|
||
|
int[] iArr = new int[paz.values().length];
|
||
|
c = iArr;
|
||
|
try {
|
||
|
iArr[paz.NORMALL_BILLER.ordinal()] = 1;
|
||
|
} catch (NoSuchFieldError unused) {
|
||
|
}
|
||
|
try {
|
||
|
c[paz.ONUS_BILLER.ordinal()] = 2;
|
||
|
} catch (NoSuchFieldError unused2) {
|
||
|
}
|
||
|
try {
|
||
|
c[paz.OFFUS_BILLER.ordinal()] = 3;
|
||
|
} catch (NoSuchFieldError unused3) {
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public String c(String str, String str2) {
|
||
|
return (C2974aoj.c(str2) || C2974aoj.c(str)) ? "" : c(C15715hv.tOB.ebill_selected_reference, str2, str);
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ VR c(YYM yym) {
|
||
|
return new VR(yym.c, yym.b);
|
||
|
}
|
||
|
|
||
|
public static VQ a(C16890sBt c16890sBt) {
|
||
|
return new VQ(c16890sBt.i, c16890sBt.h, c16890sBt.m.intValue(), c16890sBt.f9262o.longValue(), c16890sBt.p, c16890sBt.n, c16890sBt.j, c16890sBt.g, c16890sBt.e, c16890sBt.d, c16890sBt.b, c16890sBt.k, c16890sBt.q, c16890sBt.f, c16890sBt.a, c16890sBt.l);
|
||
|
}
|
||
|
}
|