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

100 lines
3.4 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.Iterator;
import java.util.List;
/* renamed from: o.Ap, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0167Ap extends BaseAssetsDisplayMapper {
private final InterfaceC3521azC a;
private final String b;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C0167Ap(Resources resources, SharedPreferences sharedPreferences, String str, InterfaceC3521azC interfaceC3521azC) {
super(resources, sharedPreferences, str);
C14957gcv.e(resources, "");
C14957gcv.e(sharedPreferences, "");
C14957gcv.e(str, "");
C14957gcv.e(interfaceC3521azC, "");
this.b = str;
this.a = interfaceC3521azC;
}
/* renamed from: o.Ap$Sts */
/* loaded from: classes3.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
public final UJ d(MBF mbf) {
String e;
C14957gcv.e(mbf, "");
if (!this.a.c()) {
e = C6583cXR.e(mbf.x, "v1/staticcontents/");
} else {
e = C6583cXR.e(mbf.x, this.baseAzureURL);
}
String str = e;
C12053equ c12053equ = mbf.k;
C14957gcv.c(c12053equ, "");
UK e2 = e(c12053equ);
C12053equ c12053equ2 = mbf.g;
C14957gcv.c(c12053equ2, "");
UK e3 = e(c12053equ2);
C12053equ c12053equ3 = mbf.n;
C14957gcv.c(c12053equ3, "");
UK e4 = e(c12053equ3);
C12053equ c12053equ4 = mbf.m;
C14957gcv.c(c12053equ4, "");
UK e5 = e(c12053equ4);
C12053equ c12053equ5 = mbf.r;
C14957gcv.c(c12053equ5, "");
UK e6 = e(c12053equ5);
C12053equ c12053equ6 = mbf.l;
C14957gcv.c(c12053equ6, "");
UK e7 = e(c12053equ6);
C12053equ c12053equ7 = mbf.s;
C14957gcv.c(c12053equ7, "");
UK e8 = e(c12053equ7);
C12053equ c12053equ8 = mbf.q;
C14957gcv.c(c12053equ8, "");
UK e9 = e(c12053equ8);
C12053equ c12053equ9 = mbf.f8258o;
C14957gcv.c(c12053equ9, "");
UK e10 = e(c12053equ9);
C10544eHc c10544eHc = mbf.p;
C14957gcv.c(c10544eHc, "");
return new UJ(e2, e3, e4, e5, e6, e7, e8, e9, e10, new UF(c10544eHc.d, c10544eHc.e), mbf.v, mbf.e, mbf.d, mbf.c, mbf.j, mbf.b, mbf.a, mbf.f, mbf.i, mbf.h, mbf.t, str);
}
public static UK e(C12053equ c12053equ) {
String str = c12053equ.a;
List<Uyw> list = c12053equ.c;
C14957gcv.e(list, "");
ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10);
for (Iterator it = list.iterator(); it.hasNext(); it = it) {
Uyw uyw = (Uyw) it.next();
ArrayList arrayList2 = arrayList;
arrayList2.add(new UG(uyw.m, uyw.a, uyw.l, uyw.b, uyw.c, uyw.n, uyw.e, Boolean.valueOf(uyw.f8401o), uyw.f, uyw.d, uyw.g, uyw.j, uyw.k, uyw.h, uyw.i));
arrayList = arrayList2;
str = str;
}
return new UK(str, arrayList);
}
static {
new Sts((byte) 0);
}
}