package o;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.go0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public class C1325go0 implements InterfaceC1991no0, InterfaceC1037do0 {
    public final HashMap l = new HashMap();

    @Override // o.InterfaceC1991no0
    public final Iterator a() {
        return new C0751ao0(this.l.keySet().iterator());
    }

    @Override // o.InterfaceC1991no0
    public InterfaceC1991no0 b(String str, C2062oc0 c2062oc0, ArrayList arrayList) {
        return "toString".equals(str) ? new C2560to0(toString()) : InterfaceC1037do0.e(this, new C2560to0(str), c2062oc0, arrayList);
    }

    @Override // o.InterfaceC1037do0
    public final InterfaceC1991no0 c(String str) {
        HashMap map = this.l;
        return map.containsKey(str) ? (InterfaceC1991no0) map.get(str) : InterfaceC1991no0.d;
    }

    @Override // o.InterfaceC1037do0
    public final void d(String str, InterfaceC1991no0 interfaceC1991no0) {
        HashMap map = this.l;
        if (interfaceC1991no0 == null) {
            map.remove(str);
        } else {
            map.put(str, interfaceC1991no0);
        }
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof C1325go0) {
            return this.l.equals(((C1325go0) obj).l);
        }
        return false;
    }

    @Override // o.InterfaceC1037do0
    public final boolean f(String str) {
        return this.l.containsKey(str);
    }

    @Override // o.InterfaceC1991no0
    public final InterfaceC1991no0 h() {
        C1325go0 c1325go0 = new C1325go0();
        for (Map.Entry entry : this.l.entrySet()) {
            boolean z = entry.getValue() instanceof InterfaceC1037do0;
            HashMap map = c1325go0.l;
            if (z) {
                map.put((String) entry.getKey(), (InterfaceC1991no0) entry.getValue());
            } else {
                map.put((String) entry.getKey(), ((InterfaceC1991no0) entry.getValue()).h());
            }
        }
        return c1325go0;
    }

    public final int hashCode() {
        return this.l.hashCode();
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder("{");
        HashMap map = this.l;
        if (!map.isEmpty()) {
            for (String str : map.keySet()) {
                sb.append(String.format("%s: %s,", str, map.get(str)));
            }
            sb.deleteCharAt(sb.lastIndexOf(","));
        }
        sb.append("}");
        return sb.toString();
    }

    @Override // o.InterfaceC1991no0
    public final String zzc() {
        return "[object Object]";
    }

    @Override // o.InterfaceC1991no0
    public final Double zzd() {
        return Double.valueOf(Double.NaN);
    }

    @Override // o.InterfaceC1991no0
    public final Boolean zze() {
        return Boolean.TRUE;
    }
}
