130 lines
4.9 KiB
Java
130 lines
4.9 KiB
Java
package o;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.Arrays;
|
|
import java.util.Collection;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
|
|
/* renamed from: o.th, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C17073th {
|
|
private final C17071tg e;
|
|
|
|
@InterfaceC13391fZD
|
|
public C17073th(C17071tg c17071tg) {
|
|
C14957gcv.e(c17071tg, "");
|
|
this.e = c17071tg;
|
|
}
|
|
|
|
public final MI d(C15683hjH c15683hjH) {
|
|
C14851gaI c14851gaI;
|
|
Iterator it;
|
|
C17071tg c17071tg;
|
|
ArrayList arrayList;
|
|
String str;
|
|
String str2;
|
|
int i;
|
|
List list;
|
|
List<QSB> list2;
|
|
List<QSB> list3;
|
|
if (c15683hjH == null) {
|
|
return new MI(C14851gaI.c);
|
|
}
|
|
List<jph> list4 = c15683hjH.a;
|
|
if (list4 != null) {
|
|
List<jph> list5 = list4;
|
|
C17071tg c17071tg2 = this.e;
|
|
String str3 = "";
|
|
C14957gcv.e(list5, "");
|
|
ArrayList arrayList2 = new ArrayList(list5 instanceof Collection ? list5.size() : 10);
|
|
Iterator it2 = list5.iterator();
|
|
while (it2.hasNext()) {
|
|
jph jphVar = (jph) it2.next();
|
|
C14957gcv.e(jphVar, str3);
|
|
String str4 = jphVar.c;
|
|
String str5 = jphVar.e;
|
|
gcH gch = gcH.d;
|
|
Object[] objArr = new Object[2];
|
|
objArr[0] = jphVar.e;
|
|
CgE cgE = jphVar.a;
|
|
objArr[1] = Integer.valueOf((cgE == null || (list3 = cgE.d) == null) ? 0 : list3.size());
|
|
String format = String.format("%s (%d)", Arrays.copyOf(objArr, 2));
|
|
C14957gcv.c((Object) format, str3);
|
|
CgE cgE2 = jphVar.a;
|
|
int size = (cgE2 == null || (list2 = cgE2.d) == null) ? 0 : list2.size();
|
|
C17077ti c17077ti = c17071tg2.a;
|
|
CgE cgE3 = jphVar.a;
|
|
List<QSB> list6 = cgE3 != null ? cgE3.d : null;
|
|
if (list6 != null) {
|
|
List<QSB> list7 = list6;
|
|
C14957gcv.e(list7, str3);
|
|
List arrayList3 = new ArrayList(list7 instanceof Collection ? list7.size() : 10);
|
|
Iterator it3 = list7.iterator();
|
|
while (it3.hasNext()) {
|
|
QSB qsb = (QSB) it3.next();
|
|
String str6 = qsb.h;
|
|
int i2 = qsb.j;
|
|
String str7 = qsb.f8328o;
|
|
Iterator it4 = it2;
|
|
String str8 = qsb.m;
|
|
String str9 = qsb.n;
|
|
C17071tg c17071tg3 = c17071tg2;
|
|
String b_ = c17077ti.b_(qsb.e);
|
|
String str10 = qsb.g;
|
|
String str11 = str3;
|
|
Boolean bool = qsb.d;
|
|
boolean booleanValue = bool != null ? bool.booleanValue() : false;
|
|
String str12 = qsb.f;
|
|
Iterator it5 = it3;
|
|
String str13 = qsb.i;
|
|
C17077ti c17077ti2 = c17077ti;
|
|
String str14 = qsb.c;
|
|
ArrayList arrayList4 = arrayList2;
|
|
String str15 = qsb.a;
|
|
int i3 = size;
|
|
String str16 = qsb.l;
|
|
String str17 = format;
|
|
Sgj sgj = qsb.b;
|
|
String str18 = sgj != null ? sgj.b : null;
|
|
Sgj sgj2 = qsb.b;
|
|
arrayList3.add(new MM(str6, i2, str7, str8, str9, b_, str10, booleanValue, str12, str13, str14, str15, str16, str18, sgj2 != null ? sgj2.a : null));
|
|
it2 = it4;
|
|
c17071tg2 = c17071tg3;
|
|
str3 = str11;
|
|
it3 = it5;
|
|
c17077ti = c17077ti2;
|
|
arrayList2 = arrayList4;
|
|
size = i3;
|
|
format = str17;
|
|
}
|
|
it = it2;
|
|
c17071tg = c17071tg2;
|
|
arrayList = arrayList2;
|
|
str = str3;
|
|
str2 = format;
|
|
i = size;
|
|
list = arrayList3;
|
|
} else {
|
|
it = it2;
|
|
c17071tg = c17071tg2;
|
|
arrayList = arrayList2;
|
|
str = str3;
|
|
str2 = format;
|
|
i = size;
|
|
list = C14851gaI.c;
|
|
}
|
|
arrayList2 = arrayList;
|
|
arrayList2.add(new MN(str4, str5, str2, i, list));
|
|
it2 = it;
|
|
c17071tg2 = c17071tg;
|
|
str3 = str;
|
|
}
|
|
c14851gaI = arrayList2;
|
|
} else {
|
|
c14851gaI = C14851gaI.c;
|
|
}
|
|
return new MI(c14851gaI);
|
|
}
|
|
}
|