package o; import android.content.SharedPreferences; import android.content.res.Resources; import java.util.ArrayList; import java.util.List; import o.C15715hv; import o.PRA; /* loaded from: classes3.dex */ public final class BB extends C16157lj { @InterfaceC13391fZD public BB(Resources resources, SharedPreferences sharedPreferences) { super(resources, sharedPreferences); } public final List b(List list, final boolean z) { if (list == null) { list = new ArrayList<>(); } YKU yku = new YKU(list); return (List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(this, z) { // from class: o.BA private boolean c; private BB d; @Override // o.InterfaceC1244Ytw public final Object d(Object obj) { return BB.d(this.d, this.c, (kVY) obj); } { this.d = this; this.c = z; } })).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())); } public static /* synthetic */ VF d(BB bb, boolean z, kVY kvy) { String string = bb.e.getString(C15715hv.tOB.request_money_incoming_due); Object[] objArr = new Object[1]; String str = ""; objArr[0] = kvy.c == null ? "" : bb.e(kvy.c); String format = String.format(string, objArr); VF vf = new VF(); vf.h = kvy.j; vf.i = kvy.m; vf.j = b(kvy.m, kvy.i, z); vf.b = kvy.h; vf.f = kvy.g; vf.g = b(kvy.g, kvy.f, z); vf.d = c(Double.valueOf(kvy.b)); if (kvy.n != null) { str = bb.d(kvy.n); } vf.f8406o = str; vf.c = format; vf.k = kvy.l; vf.m = kvy.k; vf.e = kvy.a; vf.l = kvy.f9191o; vf.a = kvy; return vf; } }