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

63 lines
2.0 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Set;
import o.HhQ;
/* loaded from: classes3.dex */
public final class HRZ {
@InterfaceC13391fZD
public HRZ() {
}
public static dRS e(HhQ hhQ) {
C14957gcv.e(hhQ, "");
String str = hhQ.c;
String str2 = hhQ.a;
Integer valueOf = str2 != null ? Integer.valueOf(Integer.parseInt(str2)) : null;
String str3 = hhQ.d;
Integer valueOf2 = str3 != null ? Integer.valueOf(Integer.parseInt(str3)) : null;
int parseInt = Integer.parseInt(hhQ.h);
List<HhQ.IeS> list = hhQ.f;
C14957gcv.e(list, "");
List<HhQ.IeS> list2 = list;
C14957gcv.e(list2, "");
ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
for (HhQ.IeS ieS : list2) {
C14957gcv.e(ieS, "");
arrayList.add(new Vkb(ieS.c, ieS.b));
}
ArrayList arrayList2 = arrayList;
C9343dhu c9343dhu = C9343dhu.b;
Iiy b = C9343dhu.b(hhQ.b);
HhQ.HBt hBt = hhQ.j;
Hzp[] hzpArr = new Hzp[3];
Hzp hzp = Hzp.CAMERA;
String str4 = hBt.a;
C14957gcv.e(str4, "");
if (Integer.parseInt(str4) != 1) {
hzp = null;
}
hzpArr[0] = hzp;
Hzp hzp2 = Hzp.GALLERY;
String str5 = hBt.e;
C14957gcv.e(str5, "");
if (Integer.parseInt(str5) != 1) {
hzp2 = null;
}
hzpArr[1] = hzp2;
Hzp hzp3 = Hzp.FILE_STORAGE;
String str6 = hBt.c;
C14957gcv.e(str6, "");
hzpArr[2] = Integer.parseInt(str6) == 1 ? hzp3 : null;
C14957gcv.e(hzpArr, "");
C14957gcv.e(hzpArr, "");
Set h = C14881gav.h((List) C14875gap.d((Object[]) hzpArr, new ArrayList()));
String str7 = hhQ.e;
C14957gcv.e(str7, "");
return new dRS(str, valueOf, valueOf2, parseInt, arrayList2, b, h, Integer.parseInt(str7) == 1);
}
}