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

90 lines
2.8 KiB
Java

package o;
import java.util.HashMap;
import java.util.List;
/* renamed from: o.gT, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C14832gT {
public String a;
private final String b;
private final String c;
public List<? extends HashMap<String, Object>> d;
public String e;
private final String f;
private final KTN g;
private final C0368FbW h;
private final Xky j;
@InterfaceC13391fZD
public C14832gT(KTN ktn, C0368FbW c0368FbW, String str, String str2, String str3, Xky xky) {
C14957gcv.e(ktn, "");
C14957gcv.e(c0368FbW, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
C14957gcv.e(xky, "");
this.g = ktn;
this.h = c0368FbW;
this.b = str;
this.c = str2;
this.f = str3;
this.j = xky;
this.e = "";
this.d = C14851gaI.c;
this.a = "";
}
public final HashMap<String, Object> d() {
HashMap<String, Object> hashMap = new HashMap<>();
String str = this.h.d.x;
if (str == null) {
str = "";
}
String str2 = this.h.d.p;
if (str2 == null) {
str2 = "";
}
String str3 = this.h.d.f9170o;
if (str3 == null) {
str3 = "";
}
HashMap<String, Object> hashMap2 = hashMap;
String str4 = this.g.c;
C14957gcv.c((Object) str4, "");
hashMap2.put("apiAuth", str4);
String str5 = this.h.d.L;
C14957gcv.c((Object) str5, "");
hashMap2.put("userId", str5);
hashMap2.put("tilesVersion", this.f);
hashMap2.put("apiBaseURL", this.b);
hashMap2.put("assetsBaseURL", this.c);
hashMap2.put("deepLinkURL", this.e);
hashMap2.put("casaAccounts", this.d);
hashMap2.put("deviceId", this.a);
String str6 = this.h.d.i;
C14957gcv.c((Object) str6, "");
hashMap2.put("emailVerification", str6);
String str7 = this.h.d.D;
if (str7 == null) {
str7 = "";
}
hashMap2.put("profileImage", str7);
hashMap2.put("accountMasking", Boolean.valueOf(this.h.d.m > 0));
hashMap2.put("autoSaveSlip", Boolean.valueOf(this.j.V()));
String str8 = this.h.d.h;
hashMap2.put("verifiedEmail", str8 != null ? str8 : "");
StringBuilder sb = new StringBuilder();
sb.append(str);
sb.append(" ");
sb.append(str2);
sb.append(" ");
sb.append(str3);
hashMap2.put("profileName", new gdW("\\s+").a(gdZ.b((CharSequence) sb.toString()).toString(), " "));
hashMap2.put("Easy_ENV", C2974aoj.d("prod"));
hashMap2.put("firstNameTh", str);
hashMap2.put("lastNameTh", str3);
return hashMap;
}
}