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

import android.accounts.Account;
import android.view.View;
import androidx.annotation.Nullable;
import com.google.android.gms.common.annotation.KeepForSdk;
import com.google.android.gms.measurement.internal.u1;
import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;

/* JADX INFO: loaded from: classes2.dex */
public final class i {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final Account f8350a;

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

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

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

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final View f8354e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final String f8355f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final String f8356g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public final t8.a f8357h;

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    public Integer f8358i;

    public i(Account account, androidx.collection.g gVar, String str, String str2) {
        t8.a aVar = t8.a.f32987a;
        this.f8350a = account;
        Set setEmptySet = gVar == null ? Collections.emptySet() : Collections.unmodifiableSet(gVar);
        this.f8351b = setEmptySet;
        Map mapEmptyMap = Collections.emptyMap();
        this.f8353d = mapEmptyMap;
        this.f8354e = null;
        this.f8355f = str;
        this.f8356g = str2;
        this.f8357h = aVar;
        HashSet hashSet = new HashSet(setEmptySet);
        Iterator it = mapEmptyMap.values().iterator();
        if (it.hasNext()) {
            u1.x(it.next());
            throw null;
        }
        this.f8352c = Collections.unmodifiableSet(hashSet);
    }

    @Nullable
    @KeepForSdk
    public Account getAccount() {
        return this.f8350a;
    }

    @Nullable
    @KeepForSdk
    @Deprecated
    public String getAccountName() {
        Account account = this.f8350a;
        if (account != null) {
            return account.name;
        }
        return null;
    }

    @Nullable
    @KeepForSdk
    public View getViewForPopups() {
        return this.f8354e;
    }

    @Nullable
    public final Integer zab() {
        return this.f8358i;
    }

    @Nullable
    public final String zac() {
        return this.f8356g;
    }
}
