package o; import java.util.List; import o.C0690Mh; import o.C15715hv; import o.C2815ali; import o.InterfaceC6636cYn; import o.PRA; import o.ZI; import o.wRi; /* renamed from: o.ali, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public class C2815ali extends ZI { private String a; public boolean b; public final iNh c; private final C16197mF d; public String e; private boolean g; private int i; @InterfaceC13391fZD public C2815ali(C16903sI c16903sI, iNh inh, C16197mF c16197mF) { super(c16903sI); this.c = inh; this.d = c16197mF; this.b = false; } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.ali$HBt */ /* loaded from: classes3.dex */ public final class HBt extends wRi.LWm { private C2815ali b; private HBt(C2815ali c2815ali) { this.b = c2815ali; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { wzu wzuVar = (wzu) obj; this.b.e = wzuVar.d(); this.b.a = (String) wzu.a(new Object[]{wzuVar}, 1360568584, -1360568584, System.identityHashCode(wzuVar)); this.b.i = wzuVar.b(); this.b.b = false; if (this.b.f != 0) { C2815ali.c(this.b); final C16197mF c16197mF = this.b.d; final boolean T = this.b.c.c.T(); YKU yku = new YKU(wzuVar.g()); YKU yku2 = new YKU(yku.a, new C17745zRk(yku.b, xNZ.a(new InterfaceC1244Ytw() { // from class: o.mG @Override // o.InterfaceC1244Ytw public final Object d(Object obj2) { int i; i = ((C17728zKJ) obj2).f; return Integer.valueOf(i); } }))); YKU yku3 = new YKU(wzuVar.i()); YKU a = YKU.a(yku2, new YKU(yku3.a, new C17745zRk(yku3.b, xNZ.a(new InterfaceC1244Ytw() { // from class: o.mG @Override // o.InterfaceC1244Ytw public final Object d(Object obj2) { int i; i = ((C17728zKJ) obj2).f; return Integer.valueOf(i); } })))); YKU yku4 = new YKU((List) wzu.a(new Object[]{wzuVar}, 365568026, -365568025, System.identityHashCode(wzuVar))); YKU a2 = YKU.a(a, new YKU(yku4.a, new C17745zRk(yku4.b, xNZ.a(new InterfaceC1244Ytw() { // from class: o.mG @Override // o.InterfaceC1244Ytw public final Object d(Object obj2) { int i; i = ((C17728zKJ) obj2).f; return Integer.valueOf(i); } })))); List list = (List) new YKU(a2.a, new wxK(a2.b, new InterfaceC1244Ytw(c16197mF, T) { // from class: o.mM private C16197mF a; private boolean d; @Override // o.InterfaceC1244Ytw public final Object d(Object obj2) { return C16197mF.c(this.a, this.d, (C17728zKJ) obj2); } { this.a = c16197mF; this.d = T; } })).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())); final FP d = FP.d(); d.a = wzuVar.d(); d.d = (String) wzu.a(new Object[]{wzuVar}, 1360568584, -1360568584, System.identityHashCode(wzuVar)); d.b = wzuVar.a().intValue(); d.f = c16197mF.c(C15715hv.tOB.recipients_group_counter, C16197mF.d(wzuVar.a().intValue())); d.h = wzuVar.f(); d.i = wzuVar.b(); d.j = wzuVar.b() == 0 ? "" : c16197mF.c(C15715hv.tOB.recipients_number, C16197mF.d(wzuVar.b())); d.l = wzuVar.j(); d.g = list; d.c = wzuVar.h(); this.b.g = d.c; C2815ali c2815ali = this.b; ZI.IeS ieS = new ZI.IeS(d) { // from class: o.alt private FP b; @Override // o.ZI.IeS public final void e(Object obj2) { C2815ali.HBt.a(this.b, (InterfaceC6636cYn.ZqN) obj2); } { this.b = d; } }; if (c2815ali.f != 0) { ieS.e(c2815ali.f); } } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C2815ali c2815ali = this.b; c2815ali.d(c2815ali.j.e(th)); } /* JADX INFO: Access modifiers changed from: package-private */ public static /* synthetic */ void a(FP fp, InterfaceC6636cYn.ZqN zqN) { zqN.a(fp); zqN.c(fp); } /* synthetic */ HBt(C2815ali c2815ali, byte b) { this(c2815ali); } } /* renamed from: o.ali$IeS */ /* loaded from: classes3.dex */ public final class IeS extends wRi.LWm { private C2815ali b; private IeS(C2815ali c2815ali) { this.b = c2815ali; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { this.b.b = false; C2815ali.h(this.b); C2815ali c2815ali = this.b; ZI.IeS ieS = new ZI.IeS() { // from class: o.als @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC6636cYn.ZqN) obj2).a(); } }; if (c2815ali.f != 0) { ieS.e(c2815ali.f); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C2815ali c2815ali = this.b; C0690Mh.IeS ieS = C0690Mh.IeS.JUST_DISMISS; if (c2815ali.b(th)) { c2815ali.d(c2815ali.j.b(th, ieS)); } } public /* synthetic */ IeS(C2815ali c2815ali, byte b) { this(c2815ali); } } /* renamed from: o.ali$LWm */ /* loaded from: classes3.dex */ public final class LWm extends wRi.LWm { private C2815ali c; private String d; @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { C2815ali c2815ali = this.c; String str = this.d; if (str == null) { str = ""; } c2815ali.a = str; this.c.b = false; C2815ali.i(this.c); C2815ali c2815ali2 = this.c; ZI.IeS ieS = new ZI.IeS(this) { // from class: o.alu private C2815ali.LWm b; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC6636cYn.ZqN) obj2).e(C2815ali.e(this.b.c)); } { this.b = this; } }; if (c2815ali2.f != 0) { ieS.e(c2815ali2.f); } } public LWm(C2815ali c2815ali, String str) { this.c = c2815ali; this.d = str; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C2815ali c2815ali = this.c; ZI.IeS ieS = new ZI.IeS() { // from class: o.alv @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6636cYn.ZqN) obj).c(); } }; if (c2815ali.f != 0) { ieS.e(c2815ali.f); } C2815ali c2815ali2 = this.c; C0690Mh.IeS ieS2 = C0690Mh.IeS.JUST_DISMISS; if (c2815ali2.b(th)) { c2815ali2.d(c2815ali2.j.b(th, ieS2)); } } } public static /* synthetic */ void d(C2815ali c2815ali, InterfaceC6636cYn.ZqN zqN) { String str = c2815ali.e; if (str == null) { str = ""; } zqN.e(str, c2815ali.i); } public static /* synthetic */ void a(C2815ali c2815ali, InterfaceC6636cYn.ZqN zqN) { String str = c2815ali.e; if (str == null) { str = ""; } zqN.c(str); } public static /* synthetic */ void b(C2815ali c2815ali, FV fv, InterfaceC6636cYn.ZqN zqN) { String str = c2815ali.e; if (str == null) { str = ""; } zqN.c(fv, str); } public static /* synthetic */ void c(C2815ali c2815ali, InterfaceC6636cYn.ZqN zqN) { String str = c2815ali.a; if (str == null) { str = ""; } zqN.b(str); } public static /* synthetic */ void b(C2815ali c2815ali, InterfaceC6636cYn.ZqN zqN) { String str = c2815ali.a; if (str == null) { str = ""; } zqN.d(str, c2815ali.g); } static /* bridge */ /* synthetic */ String e(C2815ali c2815ali) { String str = c2815ali.a; return str == null ? "" : str; } static /* synthetic */ void c(C2815ali c2815ali) { if (c2815ali.f != 0) { c2815ali.f.ar_(); } } static /* synthetic */ void h(C2815ali c2815ali) { if (c2815ali.f != 0) { c2815ali.f.ar_(); } } static /* synthetic */ void i(C2815ali c2815ali) { if (c2815ali.f != 0) { c2815ali.f.ar_(); } } public final void a(String str) { if (this.f != 0) { this.f.y(); } iNh inh = this.c; String str2 = this.e; if (str2 == null) { str2 = ""; } inh.c(str2, str); iNh inh2 = this.c; inh2.d(inh2.i, new HBt(this, (byte) 0)); } }