119 lines
4.1 KiB
Java
119 lines
4.1 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.SharedPreferences;
|
||
|
import android.content.res.Resources;
|
||
|
import com.scb.phone.presentation.mapper.transferandpay.BaseAssetsDisplayMapper;
|
||
|
import java.util.Iterator;
|
||
|
import java.util.List;
|
||
|
|
||
|
/* renamed from: o.mb, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class C16237mb extends BaseAssetsDisplayMapper {
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
@InterfaceC13391fZD
|
||
|
public C16237mb(Resources resources, SharedPreferences sharedPreferences, String str) {
|
||
|
super(resources, sharedPreferences, str);
|
||
|
C14957gcv.e(resources, "");
|
||
|
C14957gcv.e(sharedPreferences, "");
|
||
|
C14957gcv.e(str, "");
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.mb$Sts */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<C5762bzF, Boolean> {
|
||
|
private String d;
|
||
|
|
||
|
@Override // o.InterfaceC14894gbR
|
||
|
public final /* synthetic */ Boolean invoke(C5762bzF c5762bzF) {
|
||
|
C5762bzF c5762bzF2 = c5762bzF;
|
||
|
C14957gcv.e(c5762bzF2, "");
|
||
|
return Boolean.valueOf(c5762bzF2.i.contains(gdZ.a(this.d, "D", true) ? "BANKING_AGENT_DEPOSIT" : "BANKING_AGENT_WITHDRAWAL"));
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
public Sts(String str) {
|
||
|
super(1);
|
||
|
this.d = str;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.mb$HBt */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<C5762bzF, FA> {
|
||
|
private boolean a;
|
||
|
private C16237mb c;
|
||
|
private List<JNE> d;
|
||
|
|
||
|
@Override // o.InterfaceC14894gbR
|
||
|
public final /* synthetic */ FA invoke(C5762bzF c5762bzF) {
|
||
|
C5762bzF c5762bzF2 = c5762bzF;
|
||
|
C14957gcv.e(c5762bzF2, "");
|
||
|
return C16237mb.c(c5762bzF2, this.d, this.a);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
public HBt(C16237mb c16237mb, List<? extends JNE> list, boolean z) {
|
||
|
super(1);
|
||
|
this.c = c16237mb;
|
||
|
this.d = list;
|
||
|
this.a = z;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
public static final /* synthetic */ FA c(C5762bzF c5762bzF, List list, boolean z) {
|
||
|
String c;
|
||
|
String str;
|
||
|
String str2 = c5762bzF.d;
|
||
|
JNE jne = null;
|
||
|
if (list != null && str2 != null) {
|
||
|
Iterator it = list.iterator();
|
||
|
while (true) {
|
||
|
if (!it.hasNext()) {
|
||
|
break;
|
||
|
}
|
||
|
Object next = it.next();
|
||
|
if (C14957gcv.b((Object) str2, (Object) ((JNE) next).a)) {
|
||
|
jne = next;
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
jne = jne;
|
||
|
}
|
||
|
if (jne == null || (str = jne.e) == null || str.length() == 0) {
|
||
|
c = c(c5762bzF.d, z);
|
||
|
} else {
|
||
|
c = jne.e;
|
||
|
}
|
||
|
String str3 = c;
|
||
|
C14957gcv.c((Object) str3, "");
|
||
|
String c2 = c(c5762bzF.g);
|
||
|
C14957gcv.c((Object) c2, "");
|
||
|
String str4 = c5762bzF.b;
|
||
|
C14957gcv.c((Object) str4, "");
|
||
|
String str5 = c5762bzF.d;
|
||
|
C14957gcv.c((Object) str5, "");
|
||
|
Double d = c5762bzF.g;
|
||
|
C14957gcv.c(d, "");
|
||
|
return new FA(str3, c2, str4, str5, d.doubleValue());
|
||
|
}
|
||
|
|
||
|
public static FB a(String str, FA fa, FE fe, double d, String str2, boolean z) {
|
||
|
C14957gcv.e(str, "");
|
||
|
C14957gcv.e(fa, "");
|
||
|
C14957gcv.e(fe, "");
|
||
|
C14957gcv.e(str2, "");
|
||
|
String str3 = fa.e;
|
||
|
String str4 = fa.b;
|
||
|
String c = c(fa.b, z);
|
||
|
C14957gcv.c((Object) c, "");
|
||
|
String str5 = fe.e;
|
||
|
String str6 = fe.b;
|
||
|
String str7 = fe.h;
|
||
|
String c2 = c(Double.valueOf(d));
|
||
|
C14957gcv.c((Object) c2, "");
|
||
|
return new FB(str, str3, str4, c, str5, str6, str7, d, c2, str2);
|
||
|
}
|
||
|
}
|