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

73 lines
2.2 KiB
Java

package o;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import org.threeten.bp.OffsetDateTime;
/* loaded from: classes3.dex */
public final class QMd extends ZTC {
public final C9920dsw e;
@InterfaceC13391fZD
public QMd(C9920dsw c9920dsw) {
C14957gcv.e(c9920dsw, "");
this.e = c9920dsw;
}
public static kkD b(C16902sHd c16902sHd) {
C14957gcv.e(c16902sHd, "");
kkD kkd = new kkD();
String str = c16902sHd.n;
if (str == null) {
str = "";
}
kkd.s = str;
kkd.q = ZTC.b(c16902sHd.l, OffsetDateTime.now());
kkd.i = c16902sHd.j;
String str2 = c16902sHd.i;
kkd.g = str2 != null ? str2 : "";
kkd.c = d(c16902sHd.a);
List<YJc> list = c16902sHd.e;
ArrayList arrayList = null;
if (list != null) {
ArrayList arrayList2 = new ArrayList();
for (YJc yJc : list) {
JAH jah = (yJc.e == null || yJc.c == null) ? null : new JAH(yJc.e, yJc.c);
if (jah != null) {
arrayList2.add(jah);
}
}
arrayList = arrayList2;
}
kkd.b = arrayList;
return kkd;
}
public static Jky d(TIx tIx) {
C14851gaI c14851gaI;
List<jwX> list;
if (tIx != null && (list = tIx.e) != null) {
List<jwX> list2 = list;
C14957gcv.e(list2, "");
ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
for (jwX jwx : list2) {
String str = null;
String str2 = jwx != null ? jwx.d : null;
String str3 = jwx != null ? jwx.c : null;
String str4 = jwx != null ? jwx.b : null;
String str5 = jwx != null ? jwx.g : null;
String str6 = jwx != null ? jwx.h : null;
if (jwx != null) {
str = jwx.a;
}
arrayList.add(new jSX(str2, str3, str4, str5, str6, str, 64));
}
c14851gaI = arrayList;
} else {
c14851gaI = C14851gaI.c;
}
return new Jky(c14851gaI);
}
}