package o; import android.content.SharedPreferences; import android.content.res.Resources; import o.C15715hv; import org.threeten.bp.OffsetDateTime; /* loaded from: classes3.dex */ public final class AI extends C16157lj { @InterfaceC13391fZD public AI(Resources resources, SharedPreferences sharedPreferences) { super(resources, sharedPreferences); } public final UQ b(UP up, OffsetDateTime offsetDateTime, boolean z) { String e; String e2 = e(z ? C15715hv.tOB.manage_promptpay_success_link_title : C15715hv.tOB.manage_promptpay_success_unlink_title); String d = d(offsetDateTime); int i = up.h; if (i == 0) { e = e(z ? C15715hv.tOB.manage_promptpay_success_link_mob_info : C15715hv.tOB.manage_promptpay_success_unlink_mob_info); } else if (i != 1) { e = ""; } else { e = e(z ? C15715hv.tOB.manage_promptpay_success_link_cid_info : C15715hv.tOB.manage_promptpay_success_unlink_cid_info); } return new UQ(e2, d, e, up.i, up.b.c, up.b.a, up.b.d, !z ? 1 : 0, up.h); } }