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

233 lines
9.6 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.text.TextUtils;
import o.C15715hv;
/* loaded from: classes3.dex */
public final class BS extends AbstractC16173lt<C16736qoQ, VY> {
private final Context d;
@Override // o.AbstractC16173lt
public final /* synthetic */ VY d(C16736qoQ c16736qoQ) {
String string;
String string2;
int i;
C1129Wf c1129Wf;
C16736qoQ c16736qoQ2 = c16736qoQ;
C14957gcv.e(c16736qoQ2, "");
int c = c16736qoQ2.c();
switch (c) {
case 0:
string = this.e.getString(C15715hv.tOB.manage_email);
C14957gcv.c((Object) string, "");
break;
case 1:
string = this.e.getString(C15715hv.tOB.settings_language);
C14957gcv.c((Object) string, "");
break;
case 2:
string = this.e.getString(C15715hv.tOB.settings_change_pin);
C14957gcv.c((Object) string, "");
break;
case 3:
string = this.e.getString(C15715hv.tOB.settings_account_settings);
C14957gcv.c((Object) string, "");
break;
case 4:
string = this.e.getString(C15715hv.tOB.settings_manage_account);
C14957gcv.c((Object) string, "");
break;
case 5:
string = this.e.getString(C15715hv.tOB.settings_prompt_pay);
C14957gcv.c((Object) string, "");
break;
case 6:
string = this.e.getString(C15715hv.tOB.settings_e_bill);
C14957gcv.c((Object) string, "");
break;
case 7:
string = this.e.getString(C15715hv.tOB.settings_personal_limit);
C14957gcv.c((Object) string, "");
break;
case 8:
string = this.e.getString(C15715hv.tOB.settings_mask_account_no);
C14957gcv.c((Object) string, "");
break;
case 9:
string = this.e.getString(C15715hv.tOB.settings_app_settings);
C14957gcv.c((Object) string, "");
break;
case 10:
string = this.e.getString(C15715hv.tOB.settings_auto_save_slip);
C14957gcv.c((Object) string, "");
break;
case 11:
string = this.e.getString(C15715hv.tOB.settings_active_fingerprint);
C14957gcv.c((Object) string, "");
break;
case 12:
string = this.e.getString(C15715hv.tOB.settings_manage_notification);
C14957gcv.c((Object) string, "");
break;
case 13:
string = this.e.getString(C15715hv.tOB.settings_manage_devices);
C14957gcv.c((Object) string, "");
break;
case 14:
string = this.e.getString(C15715hv.tOB.settings_manage_your_pages);
C14957gcv.c((Object) string, "");
break;
case 15:
string = this.e.getString(C15715hv.tOB.settings_account_deletion);
C14957gcv.c((Object) string, "");
break;
case 16:
string = this.e.getString(C15715hv.tOB.settings_favorite_label);
C14957gcv.c((Object) string, "");
break;
case 17:
string = this.e.getString(C15715hv.tOB.settings_label_top_up);
C14957gcv.c((Object) string, "");
break;
case 18:
string = this.e.getString(C15715hv.tOB.settings_label_payment);
C14957gcv.c((Object) string, "");
break;
case 19:
string = this.e.getString(C15715hv.tOB.settings_label_transfer);
C14957gcv.c((Object) string, "");
break;
case 20:
string = this.e.getString(C15715hv.tOB.settings_manage_qr_scan_title);
C14957gcv.c((Object) string, "");
break;
case 21:
string = this.e.getString(C15715hv.tOB.settings_qr_settings);
C14957gcv.c((Object) string, "");
break;
case 22:
string = this.e.getString(C15715hv.tOB.settings_manage_qr_payment_title);
C14957gcv.c((Object) string, "");
break;
case 23:
string = this.e.getString(C15715hv.tOB.settings_label_scb_connect);
C14957gcv.c((Object) string, "");
break;
case 24:
string = this.e.getString(C15715hv.tOB.settings_label_remittance);
C14957gcv.c((Object) string, "");
break;
case 25:
string = this.e.getString(C15715hv.tOB.settings_friends_get_friends);
C14957gcv.c((Object) string, "");
break;
case 26:
string = this.e.getString(C15715hv.tOB.auto_settings_menu_manage_mailling_address);
C14957gcv.c((Object) string, "");
break;
case 27:
string = this.e.getString(C15715hv.tOB.settings_manage_account_inbound);
C14957gcv.c((Object) string, "");
break;
case 28:
string = this.e.getString(C15715hv.tOB.settings_allow_advertisement_on_first_page);
C14957gcv.c((Object) string, "");
break;
case 29:
string = this.e.getString(C15715hv.tOB.ndid_menu_title);
C14957gcv.c((Object) string, "");
break;
case 30:
string = this.e.getString(C15715hv.tOB.settings_manage_verification);
C14957gcv.c((Object) string, "");
break;
default:
string = "";
break;
}
int c2 = c16736qoQ2.c();
if (c2 != 0) {
if (c2 == 1) {
string2 = this.e.getString(C15715hv.tOB.settings_active_language_label);
C14957gcv.c((Object) string2, "");
} else if (c2 == 7) {
string2 = this.e.getString(C15715hv.tOB.settings_personal_limit_description);
C14957gcv.c((Object) string2, "");
} else if (c2 != 8) {
if (c2 == 11) {
string2 = this.e.getString(C15715hv.tOB.settings_active_fingerprint_message);
C14957gcv.c((Object) string2, "");
} else if (c2 != 20) {
string2 = "";
} else if (c16736qoQ2.a()) {
string2 = this.e.getString(C15715hv.tOB.settings_manage_qr_scan_fastpay);
C14957gcv.c((Object) string2, "");
} else {
string2 = this.e.getString(C15715hv.tOB.settings_manage_qr_scan_standard);
C14957gcv.c((Object) string2, "");
}
} else if (c16736qoQ2.b()) {
String string3 = this.e.getString(C15715hv.tOB.settings_mask_on_sample);
String string4 = this.e.getString(C15715hv.tOB.settings_mask_on_description);
StringBuilder sb = new StringBuilder();
sb.append(string3);
sb.append("\n");
sb.append(string4);
string2 = sb.toString();
} else {
String string5 = this.e.getString(C15715hv.tOB.settings_mask_off_sample);
String string6 = this.e.getString(C15715hv.tOB.settings_mask_off_description);
StringBuilder sb2 = new StringBuilder();
sb2.append(string5);
sb2.append("\n");
sb2.append(string6);
string2 = sb2.toString();
}
} else if (c16736qoQ2.e()) {
string2 = this.e.getString(C15715hv.tOB.settings_email_status_verified);
C14957gcv.c((Object) string2, "");
} else if (!c16736qoQ2.e() && !TextUtils.isEmpty(c16736qoQ2.d())) {
string2 = this.e.getString(C15715hv.tOB.settings_email_status_not_verified);
C14957gcv.c((Object) string2, "");
} else {
string2 = this.e.getString(C15715hv.tOB.settings_email_status_none);
C14957gcv.c((Object) string2, "");
}
if (!c16736qoQ2.i()) {
i = 0;
} else if (c16736qoQ2.e()) {
i = nMh.getColor(this.d, C15715hv.LWm.light_green);
} else if (!c16736qoQ2.e() && !TextUtils.isEmpty(c16736qoQ2.d())) {
i = nMh.getColor(this.d, C15715hv.LWm.dark_red);
} else {
i = nMh.getColor(this.d, C15715hv.LWm.light_gray);
}
if (8 == c || 11 == c || 10 == c || 28 == c) {
c1129Wf = new C1129Wf(c, c16736qoQ2.b());
} else if (c == 0) {
c1129Wf = new C1122Wb(c, c16736qoQ2.d());
} else {
c1129Wf = new VY(c);
}
c1129Wf.g = string;
C14957gcv.e(string2, "");
C14957gcv.e(string2, "");
c1129Wf.c = string2;
c1129Wf.a = i;
return c1129Wf;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public BS(Resources resources, SharedPreferences sharedPreferences, Context context) {
super(resources, sharedPreferences);
C14957gcv.e(resources, "");
C14957gcv.e(sharedPreferences, "");
C14957gcv.e(context, "");
this.d = context;
}
}