package o; import com.huawei.hms.support.api.entity.common.CommonConstant; import java.util.ArrayList; import java.util.Collection; import java.util.List; import o.C15715hv; /* renamed from: o.hO, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C15639hO extends C15620hF { public final AfS b; public final C16302nK d; public final C6179cLJ e; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C15639hO(AfS afS, C6179cLJ c6179cLJ, C16302nK c16302nK) { super((byte) 0); C14957gcv.e(afS, ""); C14957gcv.e(c6179cLJ, ""); C14957gcv.e(c16302nK, ""); this.b = afS; this.e = c6179cLJ; this.d = c16302nK; } /* renamed from: o.hO$Sts */ /* loaded from: classes3.dex */ public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR { private C15639hO d; @Override // o.InterfaceC14894gbR public final /* synthetic */ GT invoke(C8822dWx c8822dWx) { GS gs; C8822dWx c8822dWx2 = c8822dWx; C14957gcv.e(c8822dWx2, ""); C16302nK c16302nK = this.d.d; C14957gcv.e(c8822dWx2, ""); String str = c8822dWx2.b; if (str == null) { str = ""; } String n = c16302nK.n(str); C14957gcv.c((Object) n, ""); String str2 = c8822dWx2.b; String str3 = str2 == null ? "" : str2; String str4 = c8822dWx2.a; String str5 = str4 == null ? "" : str4; String str6 = c8822dWx2.c; String str7 = str6 == null ? "" : str6; String str8 = c8822dWx2.d; String str9 = str8 == null ? "" : str8; C14851gaI c14851gaI = c8822dWx2.e; if (c14851gaI == null) { c14851gaI = C14851gaI.c; } ArrayList arrayList = new ArrayList(); List list = c14851gaI; C14957gcv.e(list, ""); ArrayList arrayList2 = new ArrayList(list instanceof Collection ? list.size() : 10); for (String str10 : list) { if (C14957gcv.b((Object) str10, (Object) CommonConstant.RETKEY.EMAIL)) { String e = c16302nK.e(C15715hv.tOB.receive_statement_email); C14957gcv.c((Object) e, ""); String e2 = c16302nK.e(C15715hv.tOB.receive_statement_email_remark); C14957gcv.c((Object) e2, ""); gs = new GS(e, e2, false, CommonConstant.RETKEY.EMAIL); } else if (C14957gcv.b((Object) str10, (Object) "PAPER")) { String e3 = c16302nK.e(C15715hv.tOB.receive_statement_mail); C14957gcv.c((Object) e3, ""); String e4 = c16302nK.e(C15715hv.tOB.receive_statement_mail_remark); C14957gcv.c((Object) e4, ""); gs = new GS(e3, e4, false, "PAPER"); } else { String e5 = c16302nK.e(C15715hv.tOB.receive_statement_inapp); C14957gcv.c((Object) e5, ""); String e6 = c16302nK.e(C15715hv.tOB.receive_statement_inapp_remark); C14957gcv.c((Object) e6, ""); gs = new GS(e5, e6, false, "EASYNET"); } arrayList2.add(Boolean.valueOf(arrayList.add(gs))); } return new GT(n, str3, str5, str7, str9, arrayList); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public Sts(C15639hO c15639hO) { super(1); this.d = c15639hO; } } /* renamed from: o.hO$LWm */ /* loaded from: classes3.dex */ public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR { private List a; private C15639hO e; /* JADX WARN: Code restructure failed: missing block: B:39:0x00bc, code lost: r3.add(java.lang.Boolean.valueOf(r1.add(o.C16302nK.a(r11)))); */ @Override // o.InterfaceC14894gbR /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final /* synthetic */ o.GV invoke(o.qgo r14) { /* r13 = this; o.qgo r14 = (o.qgo) r14 java.lang.String r0 = "" o.C14957gcv.e(r14, r0) o.hO r1 = r13.e o.nK r1 = r1.d java.util.List r2 = r13.a o.C14957gcv.e(r14, r0) o.C14957gcv.e(r2, r0) java.lang.String r3 = r14.a if (r3 != 0) goto L18 r3 = r0 L18: java.lang.CharSequence r3 = (java.lang.CharSequence) r3 if (r3 == 0) goto L3f int r4 = r3.length() if (r4 == 0) goto L3f org.threeten.bp.OffsetDateTime r3 = org.threeten.bp.OffsetDateTime.parse(r3) java.lang.Object[] r3 = new java.lang.Object[]{r1, r3} int r4 = java.lang.System.identityHashCode(r1) r5 = 838289628(0x31f748dc, float:7.1969293E-9) r6 = -838289623(0xffffffffce08b729, float:-5.7342624E8) java.lang.Object r3 = o.C16157lj.c(r3, r5, r6, r4) java.lang.String r3 = (java.lang.String) r3 o.C14957gcv.c(r3, r0) r5 = r3 goto L40 L3f: r5 = r0 L40: java.lang.String r3 = r14.b if (r3 != 0) goto L45 r3 = r0 L45: java.lang.String r6 = r1.n(r3) o.C14957gcv.c(r6, r0) java.lang.String r1 = r14.b if (r1 != 0) goto L52 r7 = r0 goto L53 L52: r7 = r1 L53: java.lang.String r1 = r14.e if (r1 != 0) goto L59 r8 = r0 goto L5a L59: r8 = r1 L5a: java.lang.String r1 = r14.d if (r1 != 0) goto L60 r9 = r0 goto L61 L60: r9 = r1 L61: java.util.List r1 = r14.c if (r1 != 0) goto L69 o.gaI r1 = o.C14851gaI.c java.util.List r1 = (java.util.List) r1 L69: r10 = r1 java.util.List r14 = r14.c if (r14 != 0) goto L72 o.gaI r14 = o.C14851gaI.c java.util.List r14 = (java.util.List) r14 L72: java.util.ArrayList r1 = new java.util.ArrayList r1.() java.lang.Iterable r14 = (java.lang.Iterable) r14 java.util.ArrayList r3 = new java.util.ArrayList o.C14957gcv.e(r14, r0) boolean r0 = r14 instanceof java.util.Collection if (r0 == 0) goto L8a r0 = r14 java.util.Collection r0 = (java.util.Collection) r0 int r0 = r0.size() goto L8c L8a: r0 = 10 L8c: r3.(r0) java.util.Collection r3 = (java.util.Collection) r3 java.util.Iterator r14 = r14.iterator() L95: boolean r0 = r14.hasNext() if (r0 == 0) goto Ld4 java.lang.Object r0 = r14.next() java.lang.String r0 = (java.lang.String) r0 r4 = r2 java.lang.Iterable r4 = (java.lang.Iterable) r4 java.util.Iterator r4 = r4.iterator() La8: boolean r11 = r4.hasNext() if (r11 == 0) goto Lcc java.lang.Object r11 = r4.next() o.Fb r11 = (o.C0367Fb) r11 java.lang.String r12 = r11.g boolean r12 = o.C14957gcv.b(r12, r0) if (r12 == 0) goto La8 java.lang.String r0 = o.C16302nK.a(r11) boolean r0 = r1.add(r0) java.lang.Boolean r0 = java.lang.Boolean.valueOf(r0) r3.add(r0) goto L95 Lcc: java.util.NoSuchElementException r14 = new java.util.NoSuchElementException java.lang.String r0 = "Collection contains no element matching the predicate." r14.(r0) throw r14 Ld4: java.util.List r3 = (java.util.List) r3 r11 = r1 java.util.List r11 = (java.util.List) r11 o.GV r14 = new o.GV r4 = r14 r4.(r5, r6, r7, r8, r9, r10, r11) return r14 */ throw new UnsupportedOperationException("Method not decompiled: o.C15639hO.LWm.invoke(java.lang.Object):java.lang.Object"); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ /* JADX WARN: Multi-variable type inference failed */ public LWm(C15639hO c15639hO, List list) { super(1); this.e = c15639hO; this.a = list; } } public final List e(String str, boolean z, ArrayList arrayList) { C14957gcv.e(str, ""); C14957gcv.e(arrayList, ""); ArrayList arrayList2 = arrayList; C14957gcv.e(str, ""); C14957gcv.e(arrayList2, ""); ArrayList arrayList3 = new ArrayList(); ArrayList arrayList4 = new ArrayList(); for (Object obj : arrayList2) { C0367Fb c0367Fb = (C0367Fb) obj; if (c0367Fb.ae && !C14957gcv.b((Object) c0367Fb.g, (Object) str)) { arrayList4.add(obj); } } ArrayList arrayList5 = arrayList4; C14957gcv.e(arrayList5, ""); ArrayList arrayList6 = new ArrayList(arrayList5.size()); for (C0367Fb c0367Fb2 : arrayList5) { String str2 = c0367Fb2.g; C14957gcv.c((Object) str2, ""); arrayList6.add(Boolean.valueOf(arrayList3.add(new C0424Gh(str2, z, C16302nK.d(c0367Fb2))))); } return arrayList3; } }