55 lines
1.6 KiB
Java
55 lines
1.6 KiB
Java
package o;
|
|
|
|
import android.content.SharedPreferences;
|
|
import android.content.res.Resources;
|
|
import android.text.TextUtils;
|
|
import o.C15715hv;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class EL extends C16157lj {
|
|
@InterfaceC13391fZD
|
|
public EL(Resources resources, SharedPreferences sharedPreferences) {
|
|
super(resources, sharedPreferences);
|
|
}
|
|
|
|
public static AbstractC1237Yr b(C0531Iw c0531Iw, PWw pWw) {
|
|
int i;
|
|
String str;
|
|
String str2;
|
|
String str3 = "";
|
|
if (!(c0531Iw instanceof C1238Ys)) {
|
|
if (c0531Iw instanceof C1245Yu) {
|
|
C1245Yu c1245Yu = (C1245Yu) c0531Iw;
|
|
String str4 = c1245Yu.d;
|
|
str = c1245Yu.b;
|
|
String replaceAll = str != null ? str.replaceAll("[()+\\-\\s]", "") : null;
|
|
if (!TextUtils.isEmpty(str4)) {
|
|
str3 = str;
|
|
str = str4;
|
|
}
|
|
String str5 = replaceAll;
|
|
i = C15715hv.IeS.icon_prompt_pay_mobile;
|
|
str2 = str5;
|
|
} else {
|
|
i = 0;
|
|
str = null;
|
|
str2 = null;
|
|
str3 = null;
|
|
}
|
|
} else {
|
|
str = ((C1238Ys) c0531Iw).b;
|
|
str2 = C6583cXR.v(str);
|
|
i = C15715hv.IeS.icon_prompt_pay_cid;
|
|
}
|
|
String obj = C6583cXR.VS_(null, i).toString();
|
|
YF yf = new YF();
|
|
yf.d = str2;
|
|
yf.j = pWw;
|
|
yf.h = qhK.PROMPTPAY;
|
|
yf.i = str;
|
|
yf.b = str3;
|
|
yf.e = obj;
|
|
return yf;
|
|
}
|
|
}
|