package o; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.List; import o.C0690Mh; import o.C7585crB; import o.InterfaceC9516dlH; import o.ZI; /* renamed from: o.crB, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C7585crB extends ZI { public String a; public final C15885jQ b; public C1049Un c; public double d; public boolean e; public boolean g; public UA h; public UE i; public C17480xBa k; private List l; private final C0141Aa m; private boolean n; /* renamed from: o, reason: collision with root package name */ private final FHl f8660o; public static final /* synthetic */ void d(final C7585crB c7585crB, List list) { c7585crB.l = list; if (!list.isEmpty()) { C15885jQ c15885jQ = c7585crB.b; final HBt hBt = new HBt(c7585crB); final IeS ieS = new IeS(c7585crB); String str = c7585crB.a; if (str == null) { C14957gcv.a(""); str = null; } C14957gcv.e(hBt, ""); C14957gcv.e(ieS, ""); C14957gcv.e(str, ""); NWq nWq = c15885jQ.e; C14957gcv.e(str, ""); AbstractC13163fSk> b = nWq.a.b(str); C14957gcv.c(b, ""); nWq.d(b, new fSQ(hBt) { // from class: o.jS private InterfaceC14894gbR d; @Override // o.fSQ public final void c(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.d; C14957gcv.e(interfaceC14894gbR, ""); interfaceC14894gbR.invoke((List) obj); } { this.d = hBt; } }, new fSQ(ieS) { // from class: o.jU private InterfaceC14894gbR e; @Override // o.fSQ public final void c(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.e; C14957gcv.e(interfaceC14894gbR, ""); interfaceC14894gbR.invoke((Throwable) obj); } { this.e = ieS; } }); return; } if (c7585crB.f != 0) { c7585crB.f.ar_(); } ZI.IeS ieS2 = new ZI.IeS(c7585crB) { // from class: o.crC private C7585crB c; @Override // o.ZI.IeS public final void e(Object obj) { C7585crB.c(this.c, (InterfaceC9516dlH.HBt) obj); } { this.c = c7585crB; } }; if (c7585crB.f != 0) { ieS2.e(c7585crB.f); } ZI.IeS ieS3 = new ZI.IeS() { // from class: o.crz @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9516dlH.HBt) obj).b(); } }; if (c7585crB.f != 0) { ieS3.e(c7585crB.f); } } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C7585crB(C16903sI c16903sI, C0141Aa c0141Aa, C15885jQ c15885jQ, FHl fHl) { super(c16903sI); C14957gcv.e(c16903sI, ""); C14957gcv.e(c0141Aa, ""); C14957gcv.e(c15885jQ, ""); C14957gcv.e(fHl, ""); this.m = c0141Aa; this.b = c15885jQ; this.f8660o = fHl; this.g = true; } /* renamed from: o.crB$RVV */ /* loaded from: classes4.dex */ public static final class RVV { private RVV() { } public /* synthetic */ RVV(byte b) { this(); } } /* renamed from: o.crB$jbe */ /* loaded from: classes4.dex */ public static final class jbe extends AbstractC14961gcz implements InterfaceC14894gbR { private C7585crB e; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { final Throwable th2 = th; C14957gcv.e(th2, ""); C7585crB.b(this.e); final C7585crB c7585crB = this.e; ZI.IeS ieS = new ZI.IeS(c7585crB, th2) { // from class: o.crN private C7585crB c; private Throwable d; @Override // o.ZI.IeS public final void e(Object obj) { C7585crB.jbe.c(this.c, this.d, (InterfaceC9516dlH.HBt) obj); } { this.c = c7585crB; this.d = th2; } }; if (c7585crB.f != 0) { ieS.e(c7585crB.f); } return C14866gag.c; } public static /* synthetic */ void c(C7585crB c7585crB, Throwable th, InterfaceC9516dlH.HBt hBt) { C14957gcv.e(c7585crB, ""); C14957gcv.e(th, ""); hBt.e(c7585crB.j.d(th, C0690Mh.IeS.NAVIGATE_BACK)); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public jbe(C7585crB c7585crB) { super(1); this.e = c7585crB; } } /* renamed from: o.crB$ojQ */ /* loaded from: classes4.dex */ public static final class ojQ extends AbstractC14961gcz implements InterfaceC14894gbR, C14866gag> { private C7585crB b; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(List list) { List list2 = list; C14957gcv.e(list2, ""); C7585crB.d(this.b, list2); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public ojQ(C7585crB c7585crB) { super(1); this.b = c7585crB; } } /* renamed from: o.crB$LWm */ /* loaded from: classes4.dex */ public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR { private String a; private C7585crB b; private String e; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(WAu wAu) { final WAu wAu2 = wAu; C14957gcv.e(wAu2, ""); C7585crB.b(this.b); final C7585crB c7585crB = this.b; final String str = this.a; final String str2 = this.e; ZI.IeS ieS = new ZI.IeS(c7585crB, wAu2, str, str2) { // from class: o.crO private String a; private WAu b; private C7585crB d; private String e; @Override // o.ZI.IeS public final void e(Object obj) { C7585crB.LWm.e(this.d, this.b, this.a, this.e, (InterfaceC9516dlH.HBt) obj); } { this.d = c7585crB; this.b = wAu2; this.a = str; this.e = str2; } }; if (c7585crB.f != 0) { ieS.e(c7585crB.f); } return C14866gag.c; } public static /* synthetic */ void e(C7585crB c7585crB, WAu wAu, String str, String str2, InterfaceC9516dlH.HBt hBt) { C1049Un c1049Un; C14957gcv.e(c7585crB, ""); C14957gcv.e(wAu, ""); C14957gcv.e(str, ""); C14957gcv.e(str2, ""); C1049Un c1049Un2 = c7585crB.c; C17480xBa c17480xBa = null; if (c1049Un2 == null) { C14957gcv.a(""); c1049Un = null; } else { c1049Un = c1049Un2; } C17480xBa c17480xBa2 = c7585crB.k; if (c17480xBa2 == null) { C14957gcv.a(""); } else { c17480xBa = c17480xBa2; } String str3 = c17480xBa.b; C14957gcv.c((Object) str3, ""); hBt.d(new C1071Uz(c1049Un, wAu, str3, str, str2, c7585crB.n)); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public LWm(C7585crB c7585crB, String str, String str2) { super(1); this.b = c7585crB; this.a = str; this.e = str2; } } /* renamed from: o.crB$Sts */ /* loaded from: classes4.dex */ public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR { private C7585crB a; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { Throwable th2 = th; C14957gcv.e(th2, ""); C7585crB.e(this.a, th2); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public Sts(C7585crB c7585crB) { super(1); this.a = c7585crB; } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.crB$HBt */ /* loaded from: classes4.dex */ public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR, C14866gag> { private C7585crB c; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(List list) { List list2 = list; C14957gcv.e(list2, ""); C7585crB.b(this.c); C7585crB c7585crB = this.c; List list3 = list2; boolean z = false; if (!(list3 instanceof Collection) || !list3.isEmpty()) { Iterator it = list3.iterator(); while (true) { if (!it.hasNext()) { break; } if (C14957gcv.b((Object) ((LEE) it.next()).c, (Object) "014")) { z = true; break; } } } c7585crB.n = z; C7585crB.f(this.c); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ HBt(C7585crB c7585crB) { super(1); this.c = c7585crB; } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.crB$IeS */ /* loaded from: classes4.dex */ public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR { private C7585crB e; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { C14957gcv.e(th, ""); C7585crB.b(this.e); C7585crB.f(this.e); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ IeS(C7585crB c7585crB) { super(1); this.e = c7585crB; } } @Override // o.ZI public final void w_() { this.b.a(); super.w_(); } public static /* synthetic */ void b(C7585crB c7585crB, InterfaceC9516dlH.HBt hBt) { C14957gcv.e(c7585crB, ""); hBt.d(c7585crB.d > 0.0d && c7585crB.g); } public static /* synthetic */ void c(C7585crB c7585crB, InterfaceC9516dlH.HBt hBt) { C14957gcv.e(c7585crB, ""); UA ua = c7585crB.h; if (ua == null) { C14957gcv.a(""); ua = null; } hBt.b(ua); } public static /* synthetic */ void d(C7585crB c7585crB, C1066Uw c1066Uw, InterfaceC9516dlH.HBt hBt) { C14957gcv.e(c7585crB, ""); C14957gcv.e(c1066Uw, ""); boolean z = c7585crB.f8660o.a.K().m > 0; List list = c7585crB.l; Object obj = null; if (list == null) { C14957gcv.a(""); list = null; } Iterator it = list.iterator(); while (true) { if (!it.hasNext()) { break; } Object next = it.next(); if (C14957gcv.b((Object) C6583cXR.b(((C17480xBa) next).b, z), (Object) c1066Uw.d)) { obj = next; break; } } C17480xBa c17480xBa = (C17480xBa) obj; C14957gcv.e(c17480xBa); c7585crB.k = c17480xBa; hBt.a(c7585crB.e); C0141Aa c0141Aa = c7585crB.m; List singletonList = Collections.singletonList(c17480xBa); C14957gcv.c(singletonList, ""); hBt.c(C0141Aa.a(singletonList, z, c7585crB.n, true)); } public static /* synthetic */ void a(C7585crB c7585crB, InterfaceC9516dlH.HBt hBt) { C14957gcv.e(c7585crB, ""); hBt.d(c7585crB.d > 0.0d && c7585crB.g); } public static /* synthetic */ void d(C7585crB c7585crB, InterfaceC9516dlH.HBt hBt) { C14957gcv.e(c7585crB, ""); hBt.a(c7585crB.e); C0141Aa c0141Aa = c7585crB.m; List list = c7585crB.l; if (list == null) { C14957gcv.a(""); list = null; } hBt.c(C0141Aa.a(list, c7585crB.f8660o.a.K().m > 0, c7585crB.n, false)); } public static /* synthetic */ void e(C7585crB c7585crB, InterfaceC9516dlH.HBt hBt) { C14957gcv.e(c7585crB, ""); UA ua = c7585crB.h; List list = null; if (ua == null) { C14957gcv.a(""); ua = null; } hBt.b(ua); C0141Aa c0141Aa = c7585crB.m; List list2 = c7585crB.l; if (list2 == null) { C14957gcv.a(""); } else { list = list2; } hBt.c(C0141Aa.a(list, c7585crB.f8660o.a.K().m > 0, c7585crB.n, false)); } public static final /* synthetic */ void b(C7585crB c7585crB) { if (c7585crB.f != 0) { c7585crB.f.ar_(); } } public static final /* synthetic */ void e(C7585crB c7585crB, Throwable th) { if (c7585crB.b(th)) { c7585crB.d(c7585crB.j.e(th)); } } public static final /* synthetic */ void f(final C7585crB c7585crB) { ZI.IeS ieS = new ZI.IeS(c7585crB) { // from class: o.crE private C7585crB c; @Override // o.ZI.IeS public final void e(Object obj) { C7585crB.e(this.c, (InterfaceC9516dlH.HBt) obj); } { this.c = c7585crB; } }; if (c7585crB.f != 0) { ieS.e(c7585crB.f); } } static { new RVV((byte) 0); } }