package nr;

/* loaded from: classes5.dex */
public final class d {

    /* renamed from: f, reason: collision with root package name */
    private static d f30370f;

    /* renamed from: a, reason: collision with root package name */
    private e f30371a;

    /* renamed from: b, reason: collision with root package name */
    private e f30372b;

    /* renamed from: c, reason: collision with root package name */
    private e f30373c;

    /* renamed from: d, reason: collision with root package name */
    private e f30374d;

    /* renamed from: e, reason: collision with root package name */
    private e f30375e;

    protected d() {
        k kVar = k.f30384a;
        o oVar = o.f30388a;
        b bVar = b.f30369a;
        f fVar = f.f30380a;
        h hVar = h.f30381a;
        i iVar = i.f30382a;
        this.f30371a = new e(new c[]{kVar, oVar, bVar, fVar, hVar, iVar});
        this.f30372b = new e(new c[]{m.f30386a, kVar, oVar, bVar, fVar, hVar, iVar});
        j jVar = j.f30383a;
        l lVar = l.f30385a;
        this.f30373c = new e(new c[]{jVar, lVar, oVar, hVar, iVar});
        this.f30374d = new e(new c[]{jVar, n.f30387a, lVar, oVar, iVar});
        this.f30375e = new e(new c[]{lVar, oVar, iVar});
    }

    public static d a() {
        if (f30370f == null) {
            f30370f = new d();
        }
        return f30370f;
    }

    public g b(Object obj) {
        g gVar = (g) this.f30371a.b(obj == null ? null : obj.getClass());
        if (gVar != null) {
            return gVar;
        }
        StringBuilder sb2 = new StringBuilder();
        sb2.append("No instant converter found for type: ");
        sb2.append(obj == null ? "null" : obj.getClass().getName());
        throw new IllegalArgumentException(sb2.toString());
    }

    public String toString() {
        return "ConverterManager[" + this.f30371a.d() + " instant," + this.f30372b.d() + " partial," + this.f30373c.d() + " duration," + this.f30374d.d() + " period," + this.f30375e.d() + " interval]";
    }
}
