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

101 lines
3.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;
import org.threeten.bp.OffsetDateTime;
/* renamed from: o.xY, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C17529xY extends BaseAssetsDisplayMapper {
public final C16169lr d;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C17529xY(Resources resources, SharedPreferences sharedPreferences, C16169lr c16169lr, String str) {
super(resources, sharedPreferences, str);
C14957gcv.e(resources, "");
C14957gcv.e(sharedPreferences, "");
C14957gcv.e(c16169lr, "");
C14957gcv.e(str, "");
this.d = c16169lr;
}
public static SA k(String str) {
C14957gcv.e(str, "");
return new SA(str, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 8388606);
}
public static SG b(cUQ cuq) {
SG sg = new SG((byte) 0);
sg.e = cuq.e;
sg.a = cuq.a;
return sg;
}
/* renamed from: o.xY$HBt */
/* loaded from: classes3.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
public static SI c(C8640dRc c8640dRc) {
C14957gcv.e(c8640dRc, "");
MuM muM = c8640dRc.d;
C0981Sy c0981Sy = new C0981Sy(muM.i, muM.c, muM.j, muM.a, muM.g, muM.d, muM.f, muM.e, muM.h, muM.b);
List<C17526xWn> list = c8640dRc.c;
C14957gcv.e(list, "");
ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10);
for (C17526xWn c17526xWn : list) {
arrayList.add(new SH(c17526xWn.b, c17526xWn.c, c17526xWn.e));
}
return new SI(c0981Sy, arrayList);
}
public static C0979Sw c(C0767ObZ c0767ObZ) {
SG sg;
C14957gcv.e(c0767ObZ, "");
cUQ cuq = c0767ObZ.e;
if (cuq != null) {
sg = new SG((byte) 0);
sg.e = cuq.e;
sg.a = cuq.a;
} else {
sg = null;
}
OffsetDateTime offsetDateTime = c0767ObZ.b;
return new C0979Sw(sg, offsetDateTime != null ? Long.valueOf(C15519gso.between(OffsetDateTime.now(AbstractC15502gsH.of("Asia/Bangkok")), offsetDateTime).toMillis()) : null);
}
public static SA b(String str, SD sd) {
C14957gcv.e(str, "");
C14957gcv.e(sd, "");
String str2 = sd.d;
String str3 = sd.k;
String str4 = sd.a;
String str5 = sd.p;
List<String> list = sd.l;
Boolean bool = sd.e;
boolean booleanValue = bool != null ? bool.booleanValue() : true;
Boolean bool2 = sd.r;
boolean booleanValue2 = bool2 != null ? bool2.booleanValue() : true;
List<String> list2 = sd.g;
List<String> list3 = sd.s;
String str6 = sd.i;
Boolean bool3 = sd.c;
return new SA(str, str2, str3, str4, str5, list, Boolean.valueOf(booleanValue), Boolean.valueOf(booleanValue2), null, null, list2, list3, str6, sd.f, sd.h, sd.n, sd.b, Boolean.valueOf(bool3 != null ? bool3.booleanValue() : false), sd.f8356o, sd.m, null, sd.j, null, 5243648);
}
static {
new HBt((byte) 0);
}
}