package B0;

import L0.C0162q;
import android.content.Context;
import java.util.HashMap;
import n4.u0;
import v0.AbstractC1664c;

/* JADX INFO: renamed from: B0.e, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class C0018e implements B3.l {

    /* JADX INFO: renamed from: q, reason: collision with root package name */
    public final /* synthetic */ int f732q;

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public final /* synthetic */ Context f733r;

    public /* synthetic */ C0018e(Context context, int i) {
        this.f732q = i;
        this.f733r = context;
    }

    @Override // B3.l
    public final Object get() {
        P0.g gVar;
        switch (this.f732q) {
            case u0.f15495q /* 0 */:
                return AbstractC1664c.q(this.f733r);
            case 1:
                return new C0027n(this.f733r);
            case 2:
                T0.k kVar = new T0.k();
                kVar.f6437s = new d3.C(13);
                kVar.f6436r = true;
                return new C0162q(this.f733r, kVar);
            case 3:
                return new O0.q(this.f733r);
            default:
                Context context = this.f733r;
                C3.W w4 = P0.g.f5270p;
                synchronized (P0.g.class) {
                    try {
                        if (P0.g.f5276v == null) {
                            Context applicationContext = context.getApplicationContext();
                            HashMap map = new HashMap(8);
                            map.put(0, 1000000L);
                            map.put(2, -9223372036854775807L);
                            map.put(3, -9223372036854775807L);
                            map.put(4, -9223372036854775807L);
                            map.put(5, -9223372036854775807L);
                            map.put(10, -9223372036854775807L);
                            map.put(9, -9223372036854775807L);
                            map.put(7, -9223372036854775807L);
                            P0.g.f5276v = new P0.g(applicationContext, map);
                        }
                        gVar = P0.g.f5276v;
                    } catch (Throwable th) {
                        throw th;
                    }
                }
                return gVar;
        }
    }
}
