98 lines
3.2 KiB
Java
98 lines
3.2 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.SharedPreferences;
|
||
|
import android.content.res.Resources;
|
||
|
import com.google.gson.Gson;
|
||
|
import com.google.gson.reflect.TypeToken;
|
||
|
import java.util.List;
|
||
|
import java.util.Map;
|
||
|
|
||
|
/* renamed from: o.uB, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class C17121uB extends AbstractC16173lt<IJP, OK> {
|
||
|
private final String b;
|
||
|
private final C17118uA d;
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
@InterfaceC13391fZD
|
||
|
public C17121uB(Resources resources, SharedPreferences sharedPreferences, C17118uA c17118uA, String str) {
|
||
|
super(resources, sharedPreferences);
|
||
|
C14957gcv.e(resources, "");
|
||
|
C14957gcv.e(sharedPreferences, "");
|
||
|
C14957gcv.e(c17118uA, "");
|
||
|
C14957gcv.e(str, "");
|
||
|
this.d = c17118uA;
|
||
|
this.b = str;
|
||
|
}
|
||
|
|
||
|
public final P m(String str) {
|
||
|
C14957gcv.e(str, "");
|
||
|
Map<String, Object> k = k(str);
|
||
|
Object orDefault = k.getOrDefault("fundCode", "");
|
||
|
C14957gcv.d(orDefault, "");
|
||
|
String str2 = (String) orDefault;
|
||
|
Object orDefault2 = k.getOrDefault("isIpo", Boolean.FALSE);
|
||
|
C14957gcv.d(orDefault2, "");
|
||
|
return new P(str2, ((Boolean) orDefault2).booleanValue(), this.b, (String) k.getOrDefault("ipoStartDate", null), (String) k.getOrDefault("ipoEndDate", null));
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.uB$Sts */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public static final class Sts extends TypeToken<Map<String, ? extends Object>> {
|
||
|
Sts() {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
private static Map<String, Object> k(String str) {
|
||
|
try {
|
||
|
Object fromJson = new Gson().fromJson(str, new Sts().getType());
|
||
|
C14957gcv.c(fromJson, "");
|
||
|
return (Map) fromJson;
|
||
|
} catch (Exception unused) {
|
||
|
C14854gaM c14854gaM = C14854gaM.c;
|
||
|
C14957gcv.d(c14854gaM, "");
|
||
|
return c14854gaM;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.uB$LWm */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public static final class LWm {
|
||
|
private LWm() {
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ LWm(byte b) {
|
||
|
this();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.AbstractC16173lt
|
||
|
/* renamed from: e, reason: merged with bridge method [inline-methods] */
|
||
|
public final OK d(IJP ijp) {
|
||
|
C14957gcv.e(ijp, "");
|
||
|
int i = ijp.n;
|
||
|
String str = ijp.d;
|
||
|
String str2 = (String) C6583cXR.c(new Object[]{ijp.d}, -1613428710, 1613428726, (int) System.currentTimeMillis());
|
||
|
String c = c(Double.valueOf(ijp.h));
|
||
|
String c2 = c(Double.valueOf(ijp.i));
|
||
|
String str3 = ijp.j;
|
||
|
String str4 = ijp.m;
|
||
|
String d = d(ijp.l);
|
||
|
String a = a(ijp.k);
|
||
|
String c3 = c(Double.valueOf(ijp.s));
|
||
|
String str5 = ijp.b;
|
||
|
String str6 = ijp.c;
|
||
|
String str7 = ijp.a;
|
||
|
List<OJ> d2 = this.d.d((List) ijp.e);
|
||
|
boolean z = ijp.f;
|
||
|
String str8 = ijp.f8207o;
|
||
|
boolean z2 = ijp.g;
|
||
|
C14957gcv.c(d2, "");
|
||
|
return new OK(i, str, str4, d, a, c3, c, c2, str3, str5, str6, str7, d2, str2, z, str8, z2);
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
new LWm((byte) 0);
|
||
|
}
|
||
|
}
|