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

67 lines
1.5 KiB
Java

package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import o.BHL;
import o.XA;
import o.XX;
/* loaded from: classes3.dex */
public final class DK extends AbstractC16173lt<BHL, XA> {
@Override // o.AbstractC16173lt
public final /* bridge */ /* synthetic */ XA d(BHL bhl) {
return d2(bhl);
}
@InterfaceC13391fZD
public DK(Resources resources, SharedPreferences sharedPreferences) {
super(resources, sharedPreferences);
}
/* renamed from: d, reason: avoid collision after fix types in other method */
public static XA d2(BHL bhl) {
String str;
if (bhl == null) {
return null;
}
XA.Sts d = XA.d();
d.e = bhl.c;
d.b = bhl.d;
d.a = bhl.a;
d.c = bhl.e;
d.d = bhl.b;
d.g = bhl.g;
d.i = bhl.j;
int i = bhl.h;
if (i != 0) {
str = i != 1 ? "" : "DEAL_OF_THE_DAY";
} else {
str = "SME_DEAL";
}
d.j = str;
d.f = bhl.i;
d.h = bhl.f;
d.k = bhl.m;
d.m = d(bhl.n);
d.l = bhl.k;
return new XA(d, (byte) 0);
}
private static XX d(BHL.RVV rvv) {
if (rvv == null) {
return null;
}
XX.HBt e = XX.e();
e.i = rvv.h;
e.c = rvv.d;
e.e = rvv.a;
e.d = rvv.b;
e.a = rvv.e;
e.b = rvv.c;
e.j = rvv.g;
e.h = rvv.j;
e.f = rvv.i;
return new XX(e, (byte) 0);
}
}