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

63 lines
1.7 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.text.TextUtils;
/* renamed from: o.lS, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C16121lS extends AbstractC16173lt<EKc, C0391Fn> {
private final String b;
@InterfaceC13391fZD
public C16121lS(Resources resources, SharedPreferences sharedPreferences, String str) {
super(resources, sharedPreferences);
this.b = str;
}
public final C0391Fn a(KEo kEo) {
if (kEo == null) {
return C0391Fn.d();
}
C0391Fn d = C0391Fn.d();
d.d = kEo.c;
d.h = kEo.b;
d.c = d();
return d;
}
public static String c(EKc eKc) {
StringBuilder sb = new StringBuilder();
sb.append(eKc.e);
if (!TextUtils.isEmpty(eKc.d)) {
sb.append(" ");
sb.append(eKc.d);
}
sb.append(" ");
sb.append(eKc.a);
return sb.toString();
}
@Override // o.AbstractC16173lt
public final C0391Fn d(EKc eKc) {
StringBuilder sb = new StringBuilder();
sb.append(eKc.e);
if (!TextUtils.isEmpty(eKc.d)) {
sb.append(" ");
sb.append(eKc.d);
}
sb.append("\n");
if (!TextUtils.isEmpty(eKc.a)) {
sb.append(eKc.a);
}
String obj = sb.toString();
C0391Fn d = C0391Fn.d();
String str = eKc.c;
d.b = TextUtils.isEmpty(str) ? "" : this.c.getString("BASE_URL", this.b).concat("v1/").concat(str.substring(1));
d.h = eKc.e;
d.a = obj;
d.c = d();
return d;
}
}