package z4; import com.google.android.gms.ads.RequestConfiguration; import java.sql.Timestamp; import java.util.ArrayList; import java.util.Collections; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; /* loaded from: classes2.dex */ public final class f { /* renamed from: h, reason: collision with root package name */ private String f15853h; /* renamed from: a, reason: collision with root package name */ private b5.d f15846a = b5.d.f3173g; /* renamed from: b, reason: collision with root package name */ private p f15847b = p.f15866a; /* renamed from: c, reason: collision with root package name */ private d f15848c = c.f15812a; /* renamed from: d, reason: collision with root package name */ private final Map f15849d = new HashMap(); /* renamed from: e, reason: collision with root package name */ private final List f15850e = new ArrayList(); /* renamed from: f, reason: collision with root package name */ private final List f15851f = new ArrayList(); /* renamed from: g, reason: collision with root package name */ private boolean f15852g = false; /* renamed from: i, reason: collision with root package name */ private int f15854i = 2; /* renamed from: j, reason: collision with root package name */ private int f15855j = 2; /* renamed from: k, reason: collision with root package name */ private boolean f15856k = false; /* renamed from: l, reason: collision with root package name */ private boolean f15857l = false; /* renamed from: m, reason: collision with root package name */ private boolean f15858m = true; /* renamed from: n, reason: collision with root package name */ private boolean f15859n = false; /* renamed from: o, reason: collision with root package name */ private boolean f15860o = false; /* renamed from: p, reason: collision with root package name */ private boolean f15861p = false; private void a(String str, int i10, int i11, List list) { a aVar; a aVar2; a aVar3; if (str != null && !RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED.equals(str.trim())) { aVar = new a(Date.class, str); aVar2 = new a(Timestamp.class, str); aVar3 = new a(java.sql.Date.class, str); } else { if (i10 == 2 || i11 == 2) { return; } a aVar4 = new a(Date.class, i10, i11); a aVar5 = new a(Timestamp.class, i10, i11); a aVar6 = new a(java.sql.Date.class, i10, i11); aVar = aVar4; aVar2 = aVar5; aVar3 = aVar6; } list.add(c5.m.b(Date.class, aVar)); list.add(c5.m.b(Timestamp.class, aVar2)); list.add(c5.m.b(java.sql.Date.class, aVar3)); } public e b() { ArrayList arrayList = new ArrayList(this.f15850e.size() + this.f15851f.size() + 3); arrayList.addAll(this.f15850e); Collections.reverse(arrayList); ArrayList arrayList2 = new ArrayList(this.f15851f); Collections.reverse(arrayList2); arrayList.addAll(arrayList2); a(this.f15853h, this.f15854i, this.f15855j, arrayList); return new e(this.f15846a, this.f15848c, this.f15849d, this.f15852g, this.f15856k, this.f15860o, this.f15858m, this.f15859n, this.f15861p, this.f15857l, this.f15847b, this.f15853h, this.f15854i, this.f15855j, this.f15850e, this.f15851f, arrayList); } }