package o; import o.C0690Mh; import o.C17491xGR; import o.C2483afU; import o.ZI; import o.wRi; /* renamed from: o.afU, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public class C2483afU extends ZI { public boolean a; public boolean b; public String c; public String d; public String e; public String g; public boolean h; public String i; private final YeV k; private final C1100VpK l; private final C16903sI m; public String n; /* renamed from: o, reason: collision with root package name */ public int f8518o; public static final /* synthetic */ boolean b(C2483afU c2483afU) { String str = c2483afU.d; if (str == null) { C14957gcv.a(""); str = null; } return gdZ.a("hml", str, true); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C2483afU(C1100VpK c1100VpK, C16903sI c16903sI, YeV yeV) { super(c16903sI); C14957gcv.e(c1100VpK, ""); C14957gcv.e(c16903sI, ""); C14957gcv.e(yeV, ""); this.l = c1100VpK; this.m = c16903sI; this.k = yeV; } /* renamed from: o.afU$RVV */ /* loaded from: classes3.dex */ public static final class RVV { private RVV() { } public /* synthetic */ RVV(byte b) { this(); } } public final void d() { if (this.b) { ZI.IeS ieS = new ZI.IeS() { // from class: o.age @Override // o.ZI.IeS public final void e(Object obj) { C2483afU.b((InterfaceC9024dbs) obj); } }; if (this.f != 0) { ieS.e(this.f); return; } return; } String str = this.d; String str2 = null; if (str == null) { C14957gcv.a(""); str = null; } if (gdZ.a("hml", str, true)) { String str3 = this.e; if (str3 == null) { C14957gcv.a(""); } else { str2 = str3; } if (gdZ.a("SALARY", str2, true)) { ZI.IeS ieS2 = new ZI.IeS() { // from class: o.aga @Override // o.ZI.IeS public final void e(Object obj) { C2483afU.a((InterfaceC9024dbs) obj); } }; if (this.f != 0) { ieS2.e(this.f); return; } return; } } ZI.IeS ieS3 = new ZI.IeS() { // from class: o.afZ @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9024dbs) obj).b(); } }; if (this.f != 0) { ieS3.e(this.f); } } /* renamed from: o.afU$HBt */ /* loaded from: classes3.dex */ public static final class HBt extends wRi.LWm { private C2483afU d; @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final C17491xGR c17491xGR = (C17491xGR) obj; C14957gcv.e(c17491xGR, ""); C2483afU.c(this.d); C17491xGR.HBt hBt = c17491xGR.i; int i = hBt == null ? -1 : LWm.b[hBt.ordinal()]; if (i == 1) { final C2483afU c2483afU = this.d; ZI.IeS ieS = new ZI.IeS(c17491xGR, c2483afU) { // from class: o.agk private C2483afU a; private C17491xGR e; @Override // o.ZI.IeS public final void e(Object obj2) { C2483afU.HBt.c(this.e, this.a, (InterfaceC9024dbs) obj2); } { this.e = c17491xGR; this.a = c2483afU; } }; if (c2483afU.f != 0) { ieS.e(c2483afU.f); return; } return; } if (i != 2) { if (C2483afU.b(this.d)) { String str = this.d.e; if (str == null) { C14957gcv.a(""); str = null; } if (gdZ.a("SALARY", str, true)) { C2483afU c2483afU2 = this.d; ZI.IeS ieS2 = new ZI.IeS() { // from class: o.agj @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC9024dbs) obj2).e(); } }; if (c2483afU2.f != 0) { ieS2.e(c2483afU2.f); } } } C2483afU c2483afU3 = this.d; ZI.IeS ieS3 = new ZI.IeS() { // from class: o.agm @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC9024dbs) obj2).b(true); } }; if (c2483afU3.f != 0) { ieS3.e(c2483afU3.f); return; } return; } final C2483afU c2483afU4 = this.d; ZI.IeS ieS4 = new ZI.IeS(c17491xGR, c2483afU4) { // from class: o.agl private C17491xGR a; private C2483afU e; @Override // o.ZI.IeS public final void e(Object obj2) { C2483afU.HBt.b(this.a, this.e, (InterfaceC9024dbs) obj2); } { this.a = c17491xGR; this.e = c2483afU4; } }; if (c2483afU4.f != 0) { ieS4.e(c2483afU4.f); } } HBt(C2483afU c2483afU) { this.d = c2483afU; } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.afU$HBt$HBt, reason: collision with other inner class name */ /* loaded from: classes3.dex */ public static final class C0099HBt extends AbstractC14961gcz implements InterfaceC14890gbN { private C2483afU b; private C17491xGR e; @Override // o.InterfaceC14890gbN public final /* synthetic */ C14866gag invoke() { C2483afU c2483afU = this.b; String str = this.e.b; C14957gcv.c((Object) str, ""); c2483afU.d(str); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ C0099HBt(C2483afU c2483afU, C17491xGR c17491xGR) { super(0); this.b = c2483afU; this.e = c17491xGR; } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.afU$HBt$RVV */ /* loaded from: classes3.dex */ public static final class RVV extends AbstractC14961gcz implements InterfaceC14890gbN { private C2483afU a; private C17491xGR e; @Override // o.InterfaceC14890gbN public final /* synthetic */ C14866gag invoke() { C2483afU c2483afU = this.a; String str = this.e.b; C14957gcv.c((Object) str, ""); c2483afU.d(str); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ RVV(C2483afU c2483afU, C17491xGR c17491xGR) { super(0); this.a = c2483afU; this.e = c17491xGR; } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.afU$HBt$Sts */ /* loaded from: classes3.dex */ public static final class Sts extends AbstractC14961gcz implements InterfaceC14890gbN { private InterfaceC9024dbs d; @Override // o.InterfaceC14890gbN public final /* synthetic */ C14866gag invoke() { this.d.e(); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ Sts(InterfaceC9024dbs interfaceC9024dbs) { super(0); this.d = interfaceC9024dbs; } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C14957gcv.e(th, ""); C2483afU.b(this.d, th, C0690Mh.IeS.JUST_DISMISS); } public static /* synthetic */ void b(C17491xGR c17491xGR, C2483afU c2483afU, InterfaceC9024dbs interfaceC9024dbs) { C14957gcv.e(c17491xGR, ""); C14957gcv.e(c2483afU, ""); String str = c17491xGR.f; C14957gcv.c((Object) str, ""); String str2 = c17491xGR.d; C14957gcv.c((Object) str2, ""); interfaceC9024dbs.e(str, str2, new RVV(c2483afU, c17491xGR), new Sts(interfaceC9024dbs)); } public static /* synthetic */ void c(C17491xGR c17491xGR, C2483afU c2483afU, InterfaceC9024dbs interfaceC9024dbs) { C14957gcv.e(c17491xGR, ""); C14957gcv.e(c2483afU, ""); String str = c17491xGR.f; C14957gcv.c((Object) str, ""); String str2 = c17491xGR.d; C14957gcv.c((Object) str2, ""); interfaceC9024dbs.a(str, str2, new C0099HBt(c2483afU, c17491xGR)); } /* renamed from: o.afU$HBt$LWm */ /* loaded from: classes3.dex */ public final /* synthetic */ class LWm { public static final int[] b; static { int[] iArr = new int[C17491xGR.HBt.values().length]; try { iArr[C17491xGR.HBt.FIRST_TIME.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { iArr[C17491xGR.HBt.MULTIPLE_TIMES.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } b = iArr; } } } /* renamed from: o.afU$IeS */ /* loaded from: classes3.dex */ public static final class IeS extends wRi.LWm { private C2483afU e; IeS(C2483afU c2483afU) { this.e = c2483afU; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { C2483afU.c(this.e); } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C14957gcv.e(th, ""); C2483afU.b(this.e, th, C0690Mh.IeS.NAVIGATE_BACK); } } public final void g(Throwable th) { C14957gcv.e(th, ""); if (!this.h) { if (b(th)) { d(this.j.e(th)); } } else { String str = this.i; if (str == null) { C14957gcv.a(""); str = null; } b(str); } } @Override // o.ZI public final void w_() { C1100VpK c1100VpK = this.l; if (!c1100VpK.h.isDisposed()) { c1100VpK.h.dispose(); } super.w_(); } public static /* synthetic */ void e(C2483afU c2483afU, InterfaceC9024dbs interfaceC9024dbs) { C14957gcv.e(c2483afU, ""); String str = c2483afU.i; if (str == null) { C14957gcv.a(""); str = null; } interfaceC9024dbs.a(str, c2483afU.f8518o); } public static /* synthetic */ void e(C2483afU c2483afU) { C14957gcv.e(c2483afU, ""); c2483afU.d(); } public static /* synthetic */ void c(C2483afU c2483afU, InterfaceC9024dbs interfaceC9024dbs) { C14957gcv.e(c2483afU, ""); String str = c2483afU.g; if (str == null) { C14957gcv.a(""); str = null; } int i = c2483afU.f8518o; interfaceC9024dbs.d(str); } public static /* synthetic */ void a(C2483afU c2483afU, InterfaceC9024dbs interfaceC9024dbs) { C14957gcv.e(c2483afU, ""); String str = c2483afU.g; if (str == null) { C14957gcv.a(""); str = null; } interfaceC9024dbs.b(str, c2483afU.f8518o); } public static /* synthetic */ void a(InterfaceC9024dbs interfaceC9024dbs) { C14957gcv.c(interfaceC9024dbs, ""); interfaceC9024dbs.b(false); } public static /* synthetic */ void d(C2483afU c2483afU, InterfaceC9024dbs interfaceC9024dbs) { C14957gcv.e(c2483afU, ""); String str = c2483afU.g; if (str == null) { C14957gcv.a(""); str = null; } interfaceC9024dbs.b(str, c2483afU.f8518o); } public static /* synthetic */ void b(InterfaceC9024dbs interfaceC9024dbs) { C14957gcv.c(interfaceC9024dbs, ""); interfaceC9024dbs.b(false); } public static /* synthetic */ void b(C2483afU c2483afU, InterfaceC9024dbs interfaceC9024dbs) { C14957gcv.e(c2483afU, ""); String str = c2483afU.g; if (str == null) { C14957gcv.a(""); str = null; } interfaceC9024dbs.b(str, c2483afU.f8518o); } public static /* synthetic */ void d(String str, InterfaceC9024dbs interfaceC9024dbs) { C14957gcv.e(str, ""); interfaceC9024dbs.c(str); } public static final /* synthetic */ void c(C2483afU c2483afU) { if (c2483afU.f != 0) { c2483afU.f.ar_(); } } public static final /* synthetic */ void b(C2483afU c2483afU, Throwable th, C0690Mh.IeS ieS) { if (c2483afU.b(th)) { c2483afU.d(c2483afU.j.d(th, ieS)); } } public final void d(String str) { C14957gcv.e(str, ""); if (this.f != 0) { this.f.y(); } this.k.c(str); YeV yeV = this.k; yeV.d(yeV.i, new IeS(this)); } public final void b(String str) { String str2; String str3; String str4; String str5; C14957gcv.e(str, ""); if (this.f != 0) { this.f.y(); } C1100VpK c1100VpK = this.l; String str6 = this.e; if (str6 == null) { C14957gcv.a(""); str2 = null; } else { str2 = str6; } String str7 = this.c; if (str7 == null) { C14957gcv.a(""); str3 = null; } else { str3 = str7; } String str8 = this.n; if (str8 == null) { C14957gcv.a(""); str4 = null; } else { str4 = str8; } String str9 = this.d; if (str9 == null) { C14957gcv.a(""); str5 = null; } else { str5 = str9; } c1100VpK.e("documentFile", str, str2, str3, str4, str5); C1100VpK c1100VpK2 = this.l; c1100VpK2.d(c1100VpK2.i, new HBt(this)); } static { new RVV((byte) 0); } }