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

84 lines
2.5 KiB
Java

package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import com.scb.phone.presentation.mapper.transferandpay.BaseAssetsDisplayMapper;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
/* renamed from: o.oG, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C16418oG extends BaseAssetsDisplayMapper {
private final String d;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C16418oG(Resources resources, SharedPreferences sharedPreferences, String str, String str2) {
super(resources, sharedPreferences, str);
C14957gcv.e(resources, "");
C14957gcv.e(sharedPreferences, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
this.d = str2;
}
public final List<QU> c(List<nGL> list, boolean z) {
if (list == null) {
return null;
}
List<nGL> list2 = list;
C14957gcv.e(list2, "");
ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
for (nGL ngl : list2) {
int i = ngl.g;
int i2 = ngl.e;
String str = ngl.d;
String j = j(ngl.f, ngl.i, this.d);
if (!z) {
j = null;
}
if (j == null) {
j = j(ngl.j, ngl.i, this.d);
}
String str2 = j;
int o2 = o(ngl.h);
String str3 = ngl.a;
if (!z) {
str3 = null;
}
if (str3 == null) {
str3 = ngl.c;
}
String str4 = str3;
C15369goi c15369goi = ngl.b;
String str5 = c15369goi.g;
if (!z) {
str5 = null;
}
if (str5 == null) {
str5 = c15369goi.h;
}
String str6 = c15369goi.b;
if (!z) {
str6 = null;
}
if (str6 == null) {
str6 = c15369goi.a;
}
String str7 = c15369goi.c;
if (!z) {
str7 = null;
}
if (str7 == null) {
str7 = c15369goi.d;
}
QZ qz = new QZ(str5, str6, str7, c15369goi.e);
String str8 = ngl.i;
C14957gcv.c((Object) str2, "");
arrayList.add(new QU(i2, str, i, str2, o2, str4, qz, str8));
}
return arrayList;
}
}