package o; import android.content.SharedPreferences; import android.content.res.Resources; import android.text.TextUtils; import o.AbstractC0577Jw; import o.C15715hv; import o.vxH; /* renamed from: o.pD, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C16538pD extends AbstractC16173lt { /* JADX INFO: Access modifiers changed from: package-private */ @InterfaceC13391fZD public C16538pD(Resources resources, SharedPreferences sharedPreferences) { super(resources, sharedPreferences); } /* renamed from: o.pD$Sts */ /* loaded from: classes3.dex */ public static class Sts { int b; C17040tTe e; public Sts(C17040tTe c17040tTe, int i) { this.e = c17040tTe; this.b = i; } } @Override // o.AbstractC16173lt /* renamed from: b, reason: merged with bridge method [inline-methods] */ public final AbstractC0577Jw d(Sts sts) { C17040tTe c17040tTe = sts.e; int i = sts.b; String format = String.format(e(C15715hv.tOB.two_words_with_separator), c17040tTe.j, c17040tTe.f); String str = c17040tTe.n; String format2 = FGY.CREDIT == c17040tTe.d ? String.format(e(C15715hv.tOB.credit_value), c(Double.valueOf(c17040tTe.c))) : String.format(e(C15715hv.tOB.debit_value), c(Double.valueOf(c17040tTe.c))); C0568Jr b = C0568Jr.b(); b.b = str; b.j = i << 1; b.i = format; b.h = FGY.CREDIT == c17040tTe.d ? C15715hv.LWm.light_green : C15715hv.LWm.light_red; b.a = format2; b.c = c17040tTe.b; b.d = TextUtils.isEmpty(c17040tTe.b) ? AbstractC0577Jw.Sts.NO_ANNOTATION : AbstractC0577Jw.Sts.HAVE_ANNOTATION; b.g = c17040tTe.h == null ? "" : b(c17040tTe.h); return b; } public static vxH a(tUu tuu, int i, String str, String str2, int i2) { C17040tTe c17040tTe = tuu.i != null ? tuu.i.get(i) : null; if (c17040tTe == null) { return null; } vxH.RVV rvv = new vxH.RVV(); rvv.e = str; rvv.d = tuu.c; rvv.f = c17040tTe.f9279o; rvv.i = c17040tTe.k; rvv.g = c17040tTe.m; rvv.h = c17040tTe.g; rvv.j = c17040tTe.d.type; rvv.c = c17040tTe.c; if (i2 == 3) { str2 = c17040tTe.b; } rvv.b = str2; rvv.a = c17040tTe.a; return new vxH(rvv, (byte) 0); } }