package o; import o.C0690Mh; import o.C2730akC; import o.InterfaceC6636cYn; import o.ZI; import o.wRi; /* renamed from: o.akC, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public class C2730akC extends ZI { private final C16276mt c; public boolean d; public final iNh e; @InterfaceC13391fZD public C2730akC(C16903sI c16903sI, iNh inh, C16276mt c16276mt) { super(c16903sI); this.e = inh; this.c = c16276mt; } public final void b() { ZI.IeS ieS = new ZI.IeS() { // from class: o.akG @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6636cYn.HBt) obj).y(); } }; if (this.f != 0) { ieS.e(this.f); } this.e.e(); iNh inh = this.e; inh.d(inh.i, new HBt(this, (byte) 0)); } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.akC$HBt */ /* loaded from: classes3.dex */ public final class HBt extends wRi.LWm { private C2730akC c; private HBt(C2730akC c2730akC) { this.c = c2730akC; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final yCP ycp = (yCP) obj; C2730akC.c(this.c); if (this.c.f != 0) { C2730akC c2730akC = this.c; ZI.IeS ieS = new ZI.IeS(this, ycp) { // from class: o.akI private yCP a; private C2730akC.HBt e; @Override // o.ZI.IeS public final void e(Object obj2) { C2730akC.HBt.c(this.e, this.a, (InterfaceC6636cYn.HBt) obj2); } { this.e = this; this.a = ycp; } }; if (c2730akC.f != 0) { ieS.e(c2730akC.f); } } } public static /* synthetic */ void c(HBt hBt, yCP ycp, InterfaceC6636cYn.HBt hBt2) { if (ycp.a == null || ycp.a.isEmpty()) { hBt2.b(!hBt.c.d); } else { hBt2.d(hBt.c.c.d(ycp)); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { if (this.c.f == 0 || this.c.i(th)) { return; } C2730akC.b(this.c, th, C0690Mh.IeS.NAVIGATE_BACK); } /* synthetic */ HBt(C2730akC c2730akC, byte b) { this(c2730akC); } } static /* synthetic */ void b(C2730akC c2730akC, Throwable th, C0690Mh.IeS ieS) { if (c2730akC.b(th)) { c2730akC.d(c2730akC.j.d(th, ieS)); } } static /* synthetic */ void c(C2730akC c2730akC) { if (c2730akC.f != 0) { c2730akC.f.ar_(); } } }