package o; import java.util.List; import o.AbstractC15351go; import o.C15815io; import o.ZI; import o.bBR; /* loaded from: classes4.dex */ public final class bBR extends ZI { private C0837Po a; public final C15815io d; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public bBR(C16903sI c16903sI, C15815io c15815io) { super(c16903sI); C14957gcv.e(c16903sI, ""); C14957gcv.e(c15815io, ""); this.d = c15815io; } /* loaded from: classes4.dex */ public static final class LWm { private LWm() { } public /* synthetic */ LWm(byte b) { this(); } } /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes4.dex */ public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR { private bBR c; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { final Throwable th2 = th; C14957gcv.e(th2, ""); bBR.c(this.c); final bBR bbr = this.c; ZI.IeS ieS = new ZI.IeS(bbr, th2) { // from class: o.bCe private Throwable a; private bBR c; @Override // o.ZI.IeS public final void e(Object obj) { bBR.RVV.a(this.c, this.a, (InterfaceC9399dix) obj); } { this.c = bbr; this.a = th2; } }; if (bbr.f != 0) { ieS.e(bbr.f); } guQ.e(th2); return C14866gag.c; } public static /* synthetic */ void a(bBR bbr, Throwable th, InterfaceC9399dix interfaceC9399dix) { C14957gcv.e(bbr, ""); C14957gcv.e(th, ""); if (bbr.i(th)) { interfaceC9399dix.e(bbr.j.e(th)); } else { interfaceC9399dix.c(); } interfaceC9399dix.d(); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ RVV(bBR bbr) { super(1); this.c = bbr; } } /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes4.dex */ public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR { private bBR e; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(C0837Po c0837Po) { C0837Po c0837Po2 = c0837Po; C14957gcv.e(c0837Po2, ""); bBR.c(this.e); bBR bbr = this.e; ZI.IeS ieS = new ZI.IeS() { // from class: o.bCb @Override // o.ZI.IeS public final void e(Object obj) { bBR.Sts.c((InterfaceC9399dix) obj); } }; if (bbr.f != 0) { ieS.e(bbr.f); } this.e.a = c0837Po2; C0837Po c0837Po3 = this.e.a; C0837Po c0837Po4 = null; if (c0837Po3 == null) { C14957gcv.a(""); c0837Po3 = null; } final List list = c0837Po3.c; if (list != null) { bBR bbr2 = this.e; C14957gcv.e(list, ""); boolean z = !list.isEmpty(); ZI.IeS ieS2 = new ZI.IeS(list) { // from class: o.bBU private List a; @Override // o.ZI.IeS public final void e(Object obj) { bBR.c(this.a, (InterfaceC9399dix) obj); } { this.a = list; } }; if (z && bbr2.f != 0) { ieS2.e(bbr2.f); } } C0837Po c0837Po5 = this.e.a; if (c0837Po5 == null) { C14957gcv.a(""); c0837Po5 = null; } final List list2 = c0837Po5.g; if (list2 != null) { bBR bbr3 = this.e; C14957gcv.e(list2, ""); boolean z2 = !list2.isEmpty(); ZI.IeS ieS3 = new ZI.IeS(list2) { // from class: o.bBW private List e; @Override // o.ZI.IeS public final void e(Object obj) { bBR.a(this.e, (InterfaceC9399dix) obj); } { this.e = list2; } }; if (z2 && bbr3.f != 0) { ieS3.e(bbr3.f); } } C0837Po c0837Po6 = this.e.a; if (c0837Po6 == null) { C14957gcv.a(""); c0837Po6 = null; } final String str = c0837Po6.a; if (str != null) { bBR bbr4 = this.e; C14957gcv.e(str, ""); ZI.IeS ieS4 = new ZI.IeS(str) { // from class: o.bBZ private String a; @Override // o.ZI.IeS public final void e(Object obj) { bBR.c(this.a, (InterfaceC9399dix) obj); } { this.a = str; } }; if (bbr4.f != 0) { ieS4.e(bbr4.f); } } C0837Po c0837Po7 = this.e.a; if (c0837Po7 == null) { C14957gcv.a(""); } else { c0837Po4 = c0837Po7; } final List list3 = c0837Po4.f; if (list3 != null) { final bBR bbr5 = this.e; boolean z3 = !list3.isEmpty(); ZI.IeS ieS5 = new ZI.IeS(bbr5, list3) { // from class: o.bCg private List d; private bBR e; @Override // o.ZI.IeS public final void e(Object obj) { bBR.Sts.c(this.e, this.d, (InterfaceC9399dix) obj); } { this.e = bbr5; this.d = list3; } }; if (z3 && bbr5.f != 0) { ieS5.e(bbr5.f); } } return C14866gag.c; } public static /* synthetic */ void c(bBR bbr, List list, InterfaceC9399dix interfaceC9399dix) { C14957gcv.e(bbr, ""); C14957gcv.e(list, ""); C0837Po c0837Po = bbr.a; C0837Po c0837Po2 = null; if (c0837Po == null) { C14957gcv.a(""); c0837Po = null; } String str = c0837Po.i; if (str == null) { str = ""; } C0837Po c0837Po3 = bbr.a; if (c0837Po3 == null) { C14957gcv.a(""); } else { c0837Po2 = c0837Po3; } interfaceC9399dix.d(str, list, c0837Po2.d, bbr.d.c.b.b() != null); } public static /* synthetic */ void c(InterfaceC9399dix interfaceC9399dix) { interfaceC9399dix.j(); interfaceC9399dix.d(); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ Sts(bBR bbr) { super(1); this.e = bbr; } } @Override // o.ZI public final void w_() { super.w_(); this.d.a(); } public static /* synthetic */ void a(List list, InterfaceC9399dix interfaceC9399dix) { C14957gcv.e(list, ""); interfaceC9399dix.a((List) list); } public static /* synthetic */ void c(String str, InterfaceC9399dix interfaceC9399dix) { C14957gcv.e(str, ""); interfaceC9399dix.b(str); } public static /* synthetic */ void c(List list, InterfaceC9399dix interfaceC9399dix) { C14957gcv.e(list, ""); interfaceC9399dix.e((List) list); } public static /* synthetic */ void d(bBR bbr, C0839Pq c0839Pq, InterfaceC9399dix interfaceC9399dix) { C14957gcv.e(bbr, ""); C14957gcv.e(c0839Pq, ""); if (bbr.d.c.b.b() != null) { interfaceC9399dix.b(); return; } C0837Po c0837Po = bbr.a; if (c0837Po == null) { C14957gcv.a(""); c0837Po = null; } interfaceC9399dix.b(c0837Po.d, c0839Pq.c, c0839Pq.b); } public static /* synthetic */ void d(String str, C0840Pr c0840Pr, String str2, InterfaceC9399dix interfaceC9399dix) { C14957gcv.e(str, ""); C14957gcv.e(c0840Pr, ""); C14957gcv.e(str2, ""); interfaceC9399dix.c(str); interfaceC9399dix.a(c0840Pr.d); if (gdZ.e(str2, "http", false)) { interfaceC9399dix.c(str2, c0840Pr.d); } else { interfaceC9399dix.e(str2); } } public static /* synthetic */ void e(bBR bbr, C0839Pq c0839Pq, InterfaceC9399dix interfaceC9399dix) { C14957gcv.e(bbr, ""); C14957gcv.e(c0839Pq, ""); if (bbr.d.c.b.b() != null) { interfaceC9399dix.b(); return; } C0837Po c0837Po = bbr.a; if (c0837Po == null) { C14957gcv.a(""); c0837Po = null; } interfaceC9399dix.b(c0837Po.d, c0839Pq.c, c0839Pq.b); } public static /* synthetic */ void c(bBR bbr, InterfaceC9399dix interfaceC9399dix) { C14957gcv.e(bbr, ""); if (bbr.d.c.b.b() != null) { interfaceC9399dix.a(); } else { interfaceC9399dix.e(); } } public static final /* synthetic */ void c(bBR bbr) { if (bbr.f != 0) { bbr.f.ar_(); } } public final void b() { if (this.f != 0) { this.f.y(); } C15815io c15815io = this.d; Sts sts = new Sts(this); RVV rvv = new RVV(this); C14957gcv.e(sts, ""); C14957gcv.e(rvv, ""); c15815io.b(c15815io.d, sts, rvv, new AbstractC15351go.LWm(), new C15815io.IeS(c15815io)); } static { new LWm((byte) 0); } }