package o; import java.util.ArrayList; import java.util.Collection; import java.util.List; /* renamed from: o.nj, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C16363nj { private final String d; @InterfaceC13391fZD public C16363nj(String str) { C14957gcv.e(str, ""); this.d = str; } public final C0279DJg b(C0367Fb c0367Fb, C0433Gl c0433Gl) { String str; C16363nj c16363nj; ArrayList arrayList; C14957gcv.e(c0367Fb, ""); C14957gcv.e(c0433Gl, ""); String str2 = c0433Gl.d; if (!(str2 == null || gdZ.d((CharSequence) str2))) { str = c0433Gl.d; } else { str = c0433Gl.p; } String str3 = str; String str4 = c0367Fb.g; C14957gcv.c((Object) str4, ""); String str5 = c0433Gl.i; String str6 = c0433Gl.a; List list = c0433Gl.t; if (list != null) { List list2 = list; C14957gcv.e(list2, ""); ArrayList arrayList2 = new ArrayList(list2 instanceof Collection ? list2.size() : 10); for (GH gh : list2) { C0421Gf c0421Gf = gh.c; QhH qhH = c0421Gf != null ? new QhH(c0421Gf.e, c0421Gf.i, c0421Gf.h, c0421Gf.b, c0421Gf.d, c0421Gf.a, c0421Gf.c) : null; C0448Gt c0448Gt = gh.d; arrayList2.add(new C17352vyp(qhH, c0448Gt != null ? new YOF(Double.valueOf(c0448Gt.d), Double.valueOf(c0448Gt.c), Double.valueOf(c0448Gt.a)) : null)); } c16363nj = this; arrayList = arrayList2; } else { c16363nj = this; arrayList = null; } return new C0279DJg(str4, str3, str5, str6, arrayList, c16363nj.d); } }