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

95 lines
2.8 KiB
Java

package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import java.util.List;
import o.C15715hv;
import o.PRA;
/* renamed from: o.sa, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C16937sa extends C16157lj {
@InterfaceC13391fZD
public C16937sa(Resources resources, SharedPreferences sharedPreferences) {
super(resources, sharedPreferences);
}
public static /* synthetic */ LS c(jAf jaf) {
String str;
String str2 = "";
if (jaf.b == null) {
str = "";
} else {
str = jaf.b;
}
if (jaf.c != null) {
str2 = jaf.c;
}
return new LS(str, str2);
}
public static /* synthetic */ LZ c(final C16937sa c16937sa, pXT pxt) {
String e;
int intValue = pxt.b != null ? pxt.b.intValue() : 0;
if (pxt.d == null) {
e = c16937sa.e(C15715hv.tOB.easycash_choose_salesheet_text);
} else {
e = pxt.d;
}
YKU yku = new YKU(pxt.e);
return new LZ(intValue, e, (List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(c16937sa) { // from class: o.sb
private C16937sa c;
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
return C16937sa.c((jAf) obj);
}
{
this.c = c16937sa;
}
})).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())));
}
public final LX e(Wqe wqe) {
List list;
String str;
if (wqe.e) {
String str2 = "";
if (wqe.d == null) {
str = "";
} else {
str = wqe.d.d;
}
if (wqe.d != null) {
str2 = wqe.d.c;
}
return new LX(true, new C0680Mb(str, str2), null);
}
if (wqe.a != null) {
YKU yku = new YKU(wqe.a);
YKU yku2 = new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(this) { // from class: o.rX
private C16937sa a;
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
return C16937sa.c(this.a, (pXT) obj);
}
{
this.a = this;
}
}));
list = (List) new YKU(yku2.a, new C17745zRk(yku2.b, xNZ.a(new InterfaceC1244Ytw() { // from class: o.rZ
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
return Integer.valueOf(((LZ) obj).b);
}
}))).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
} else {
list = null;
}
return new LX(false, null, list);
}
}