package com.google.android.gms.internal.ads;

import java.util.HashMap;

/* JADX INFO: loaded from: classes2.dex */
public final class wg extends eg {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final Long f18041b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final Object f18042c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final Object f18043d;

    public wg(String str, int i10) {
        this.f18040a = i10;
        if (i10 != 1) {
            HashMap mapB = eg.b(str);
            if (mapB != null) {
                this.f18041b = (Long) mapB.get(0);
                this.f18042c = (Long) mapB.get(1);
                this.f18043d = (Long) mapB.get(2);
                return;
            }
            return;
        }
        HashMap mapB2 = eg.b(str);
        if (mapB2 != null) {
            this.f18041b = (Long) mapB2.get(0);
            this.f18042c = (Boolean) mapB2.get(1);
            this.f18043d = (Boolean) mapB2.get(2);
        }
    }

    @Override // com.google.android.gms.internal.ads.eg
    public final HashMap a() {
        switch (this.f18040a) {
            case 0:
                HashMap map = new HashMap();
                map.put(0, this.f18041b);
                map.put(1, (Long) this.f18042c);
                map.put(2, (Long) this.f18043d);
                return map;
            default:
                HashMap map2 = new HashMap();
                map2.put(0, this.f18041b);
                map2.put(1, (Boolean) this.f18042c);
                map2.put(2, (Boolean) this.f18043d);
                return map2;
        }
    }
}
