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

72 lines
2.4 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.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import o.C15715hv;
import o.JO;
/* renamed from: o.qs, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C16746qs extends BaseAssetsDisplayMapper {
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C16746qs(Resources resources, SharedPreferences sharedPreferences, String str) {
super(resources, sharedPreferences, str);
C14957gcv.e(resources, "");
C14957gcv.e(sharedPreferences, "");
C14957gcv.e(str, "");
}
public final IR e(String str, List<ZRx> list) {
String str2;
C14957gcv.e(str, "");
C14957gcv.e(list, "");
List<ZRx> list2 = list;
C14957gcv.e(list2, "");
ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
for (ZRx zRx : list2) {
JO.Sts d = JO.d();
if (zRx.a.length() > 0) {
str2 = zRx.a;
} else {
str2 = zRx.e;
}
arrayList.add(d.b(str2).d(C6583cXR.f(zRx.d)).e(b_(zRx.b)).d().a());
}
return new IR(str, arrayList);
}
public final IR d(List<? extends JS> list) {
C14957gcv.e(list, "");
String e = e(C15715hv.tOB.select_card_title);
C14957gcv.c((Object) e, "");
List<? extends JS> 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((JS) it.next());
}
return new IR(e, arrayList);
}
public final IR c(List<? extends JS> list) {
C14957gcv.e(list, "");
String e = e(C15715hv.tOB.select_speedy_card_title);
C14957gcv.c((Object) e, "");
List<? extends JS> 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((JS) it.next());
}
return new IR(e, arrayList);
}
}