package o; import java.util.List; import o.C15715hv; import o.InterfaceC6632cYj; import o.ZI; import o.cQK; /* loaded from: classes4.dex */ public final class cQK extends ZC { private final C16145ld b; public String c; private final C0297Dm e; private final Xky g; private final String i; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public cQK(C16903sI c16903sI, C16145ld c16145ld, C0297Dm c0297Dm, Xky xky, String str) { super(c16903sI); C14957gcv.e(c16903sI, ""); C14957gcv.e(c16145ld, ""); C14957gcv.e(c0297Dm, ""); C14957gcv.e(xky, ""); C14957gcv.e(str, ""); this.b = c16145ld; this.e = c0297Dm; this.g = xky; this.i = str; } public static int b(String str) { if (C14957gcv.b((Object) "BNPL", (Object) str)) { return C15715hv.tOB.auto_biller_search_bnpl_initial_state; } return C15715hv.tOB.auto_biller_search_initial_state; } public static int d(String str) { if (C14957gcv.b((Object) "BNPL", (Object) str)) { return C15715hv.tOB.auto_biller_search_bnpl_not_found_description; } return C15715hv.tOB.auto_biller_search_not_found_description; } @Override // o.ZC public final AbstractC15611hB a() { return this.b; } /* loaded from: classes4.dex */ static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR { private cQK c; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(pmX pmx) { final pmX pmx2 = pmx; C14957gcv.e(pmx2, ""); cQK.b(this.c); cQK cqk = this.c; String str = pmx2.b.e; C14957gcv.c((Object) str, ""); cQK.a(cqk, str); cQK cqk2 = this.c; ZI.IeS ieS = new ZI.IeS(pmx2) { // from class: o.cQR private pmX c; @Override // o.ZI.IeS public final void e(Object obj) { cQK.HBt.b(this.c, (InterfaceC6632cYj.IeS) obj); } { this.c = pmx2; } }; if (cqk2.f != 0) { ieS.e(cqk2.f); } List list = pmx2.a; if (list == null || list.isEmpty()) { cQK cqk3 = this.c; ZI.IeS ieS2 = new ZI.IeS() { // from class: o.cQU @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6632cYj.IeS) obj).j(); } }; if (cqk3.f != 0) { ieS2.e(cqk3.f); } } else { final cQK cqk4 = this.c; ZI.IeS ieS3 = new ZI.IeS(cqk4, pmx2) { // from class: o.cQZ private pmX c; private cQK d; @Override // o.ZI.IeS public final void e(Object obj) { cQK.HBt.b(this.d, this.c, (InterfaceC6632cYj.IeS) obj); } { this.d = cqk4; this.c = pmx2; } }; if (cqk4.f != 0) { ieS3.e(cqk4.f); } } return C14866gag.c; } public static /* synthetic */ void b(pmX pmx, InterfaceC6632cYj.IeS ieS) { C14957gcv.e(pmx, ""); ieS.e(String.valueOf(pmx.b.b)); } public static /* synthetic */ void b(cQK cqk, pmX pmx, InterfaceC6632cYj.IeS ieS) { C14957gcv.e(cqk, ""); C14957gcv.e(pmx, ""); List c = cqk.e.c(pmx.a, cqk.g.M()); C14957gcv.c(c, ""); ieS.b(c); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ HBt(cQK cqk) { super(1); this.c = cqk; } } /* loaded from: classes4.dex */ static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR { private cQK e; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { C14957gcv.e(th, ""); cQK.b(this.e); cQK cqk = this.e; ZI.IeS ieS = new ZI.IeS() { // from class: o.cQX @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6632cYj.IeS) obj).h(); } }; if (cqk.f != 0) { ieS.e(cqk.f); } return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ LWm(cQK cqk) { super(1); this.e = cqk; } } /* loaded from: classes4.dex */ static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR { private cQK b; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { C14957gcv.e(th, ""); cQK cqk = this.b; ZI.IeS ieS = new ZI.IeS() { // from class: o.cQT @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6632cYj.IeS) obj).d(); } }; if (cqk.f != 0) { ieS.e(cqk.f); } return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ IeS(cQK cqk) { super(1); this.b = cqk; } } /* loaded from: classes4.dex */ static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR { private cQK d; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(pmX pmx) { final pmX pmx2 = pmx; C14957gcv.e(pmx2, ""); cQK cqk = this.d; ZI.IeS ieS = new ZI.IeS() { // from class: o.cQV @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6632cYj.IeS) obj).d(); } }; if (cqk.f != 0) { ieS.e(cqk.f); } C14957gcv.c(pmx2.a, ""); if (!r1.isEmpty()) { cQK cqk2 = this.d; String str = pmx2.b.e; C14957gcv.c((Object) str, ""); cQK.a(cqk2, str); final cQK cqk3 = this.d; ZI.IeS ieS2 = new ZI.IeS(cqk3, pmx2) { // from class: o.cQS private pmX b; private cQK e; @Override // o.ZI.IeS public final void e(Object obj) { cQK.RVV.c(this.e, this.b, (InterfaceC6632cYj.IeS) obj); } { this.e = cqk3; this.b = pmx2; } }; if (cqk3.f != 0) { ieS2.e(cqk3.f); } } return C14866gag.c; } public static /* synthetic */ void c(cQK cqk, pmX pmx, InterfaceC6632cYj.IeS ieS) { C14957gcv.e(cqk, ""); C14957gcv.e(pmx, ""); List c = cqk.e.c(pmx.a, cqk.g.M()); C14957gcv.c(c, ""); ieS.b(c); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ RVV(cQK cqk) { super(1); this.d = cqk; } } @Override // o.ZC public final void c() { ZI.IeS ieS = new ZI.IeS() { // from class: o.cQN @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6632cYj.IeS) obj).i(); } }; if (this.f != 0) { ieS.e(this.f); } this.b.d(new RVV(this), new IeS(this), new C15601gyZ(this.d, this.a, this.c, this.i)); } public static final /* synthetic */ void b(cQK cqk) { if (cqk.f != 0) { cqk.f.aq_(); } } public static final /* synthetic */ void a(cQK cqk, String str) { C14957gcv.e(str, ""); cqk.a = str; } @Override // o.ZC public final void e(String str) { C14957gcv.e(str, ""); if (this.f != 0) { this.f.v(); } this.b.d(new HBt(this), new LWm(this), new C15601gyZ(this.d, this.a, this.c, this.i)); } }