package o; import java.util.ArrayList; import java.util.Collection; import java.util.List; /* loaded from: classes3.dex */ public final class LsC extends ZTC { private final Dsq a; private final C16972sou b; private final tJi d; private final FlT e; @InterfaceC13391fZD public LsC(FlT flT, tJi tji, Dsq dsq, C16972sou c16972sou) { C14957gcv.e(flT, ""); C14957gcv.e(tji, ""); C14957gcv.e(dsq, ""); C14957gcv.e(c16972sou, ""); this.e = flT; this.d = tji; this.a = dsq; this.b = c16972sou; } public final jFB d(Kpz kpz) { C11634eiz c11634eiz; C8111dBf c8111dBf; ArrayList arrayList; C14957gcv.e(kpz, ""); String str = kpz.d; OoC ooC = kpz.a; if (ooC != null) { C14957gcv.e(ooC, ""); String str2 = ooC.a; String str3 = str2 == null ? "" : str2; String str4 = ooC.b; String str5 = str4 == null ? "" : str4; String str6 = ooC.c; String str7 = str6 == null ? "" : str6; String str8 = ooC.d; String str9 = str8 == null ? "" : str8; String str10 = ooC.e; c11634eiz = new C11634eiz(str3, str5, str7, str9, str10 == null ? "" : str10); } else { c11634eiz = null; } jcH jch = kpz.e; if (jch != null) { C14957gcv.e(jch, ""); c8111dBf = new C8111dBf(jch.e, jch.a, jch.d, jch.b, jch.h, jch.c); } else { c8111dBf = null; } List list = kpz.b; if (list != null) { List list2 = list; C14957gcv.e(list2, ""); ArrayList arrayList2 = new ArrayList(list2 instanceof Collection ? list2.size() : 10); for (C17318vkd c17318vkd : list2) { C14957gcv.e(c17318vkd, ""); arrayList2.add(new TyG(c17318vkd.i, c17318vkd.d, c17318vkd.b, c17318vkd.e, c17318vkd.a, c17318vkd.c)); } arrayList = arrayList2; } else { arrayList = null; } QrS qrS = kpz.c; nae naeVar = qrS != null ? qrS.d : null; return new jFB(str, c11634eiz, c8111dBf, arrayList, new FCD(new iTC(naeVar != null ? naeVar.b : null, naeVar != null ? Integer.valueOf(naeVar.d) : null, naeVar != null ? naeVar.e : null))); } }