package com.bumptech.glide; import android.content.Context; import com.bumptech.glide.b; import com.bumptech.glide.e; import f2.p; import java.util.Collections; import java.util.List; import java.util.Map; import u1.a; import u1.i; /* loaded from: classes.dex */ public final class c { /* renamed from: c, reason: collision with root package name */ private s1.k f4119c; /* renamed from: d, reason: collision with root package name */ private t1.d f4120d; /* renamed from: e, reason: collision with root package name */ private t1.b f4121e; /* renamed from: f, reason: collision with root package name */ private u1.h f4122f; /* renamed from: g, reason: collision with root package name */ private v1.a f4123g; /* renamed from: h, reason: collision with root package name */ private v1.a f4124h; /* renamed from: i, reason: collision with root package name */ private a.InterfaceC0237a f4125i; /* renamed from: j, reason: collision with root package name */ private u1.i f4126j; /* renamed from: k, reason: collision with root package name */ private f2.d f4127k; /* renamed from: n, reason: collision with root package name */ private p.b f4130n; /* renamed from: o, reason: collision with root package name */ private v1.a f4131o; /* renamed from: p, reason: collision with root package name */ private boolean f4132p; /* renamed from: q, reason: collision with root package name */ private List f4133q; /* renamed from: a, reason: collision with root package name */ private final Map f4117a = new androidx.collection.a(); /* renamed from: b, reason: collision with root package name */ private final e.a f4118b = new e.a(); /* renamed from: l, reason: collision with root package name */ private int f4128l = 4; /* renamed from: m, reason: collision with root package name */ private b.a f4129m = new a(); class a implements b.a { a() { } @Override // com.bumptech.glide.b.a public i2.f build() { return new i2.f(); } } static final class b { } /* renamed from: com.bumptech.glide.c$c, reason: collision with other inner class name */ public static final class C0064c { } public static final class d { } com.bumptech.glide.b a(Context context) { if (this.f4123g == null) { this.f4123g = v1.a.g(); } if (this.f4124h == null) { this.f4124h = v1.a.e(); } if (this.f4131o == null) { this.f4131o = v1.a.c(); } if (this.f4126j == null) { this.f4126j = new i.a(context).a(); } if (this.f4127k == null) { this.f4127k = new f2.f(); } if (this.f4120d == null) { int b10 = this.f4126j.b(); if (b10 > 0) { this.f4120d = new t1.k(b10); } else { this.f4120d = new t1.e(); } } if (this.f4121e == null) { this.f4121e = new t1.i(this.f4126j.a()); } if (this.f4122f == null) { this.f4122f = new u1.g(this.f4126j.d()); } if (this.f4125i == null) { this.f4125i = new u1.f(context); } if (this.f4119c == null) { this.f4119c = new s1.k(this.f4122f, this.f4125i, this.f4124h, this.f4123g, v1.a.h(), this.f4131o, this.f4132p); } List list = this.f4133q; if (list == null) { this.f4133q = Collections.emptyList(); } else { this.f4133q = Collections.unmodifiableList(list); } e b11 = this.f4118b.b(); return new com.bumptech.glide.b(context, this.f4119c, this.f4122f, this.f4120d, this.f4121e, new p(this.f4130n, b11), this.f4127k, this.f4128l, this.f4129m, this.f4117a, this.f4133q, b11); } void b(p.b bVar) { this.f4130n = bVar; } }