package com.bumptech.glide; import android.content.Context; import android.content.ContextWrapper; import android.widget.ImageView; import com.bumptech.glide.b; import java.util.List; import java.util.Map; /* loaded from: classes.dex */ public class d extends ContextWrapper { /* renamed from: k, reason: collision with root package name */ static final l f4135k = new a(); /* renamed from: a, reason: collision with root package name */ private final t1.b f4136a; /* renamed from: b, reason: collision with root package name */ private final i f4137b; /* renamed from: c, reason: collision with root package name */ private final j2.f f4138c; /* renamed from: d, reason: collision with root package name */ private final b.a f4139d; /* renamed from: e, reason: collision with root package name */ private final List f4140e; /* renamed from: f, reason: collision with root package name */ private final Map f4141f; /* renamed from: g, reason: collision with root package name */ private final s1.k f4142g; /* renamed from: h, reason: collision with root package name */ private final e f4143h; /* renamed from: i, reason: collision with root package name */ private final int f4144i; /* renamed from: j, reason: collision with root package name */ private i2.f f4145j; public d(Context context, t1.b bVar, i iVar, j2.f fVar, b.a aVar, Map map, List list, s1.k kVar, e eVar, int i10) { super(context.getApplicationContext()); this.f4136a = bVar; this.f4137b = iVar; this.f4138c = fVar; this.f4139d = aVar; this.f4140e = list; this.f4141f = map; this.f4142g = kVar; this.f4143h = eVar; this.f4144i = i10; } public j2.i a(ImageView imageView, Class cls) { return this.f4138c.a(imageView, cls); } public t1.b b() { return this.f4136a; } public List c() { return this.f4140e; } public synchronized i2.f d() { if (this.f4145j == null) { this.f4145j = (i2.f) this.f4139d.build().N(); } return this.f4145j; } public l e(Class cls) { l lVar = (l) this.f4141f.get(cls); if (lVar == null) { for (Map.Entry entry : this.f4141f.entrySet()) { if (((Class) entry.getKey()).isAssignableFrom(cls)) { lVar = (l) entry.getValue(); } } } return lVar == null ? f4135k : lVar; } public s1.k f() { return this.f4142g; } public e g() { return this.f4143h; } public int h() { return this.f4144i; } public i i() { return this.f4137b; } }