package com.google.android.gms.internal.p002firebaseauthapi; import java.util.List; import org.json.JSONException; import org.json.JSONObject; /* loaded from: classes.dex */ public final class zzacv implements zzabd { private static final String zza = "zzacv"; private String zzb; private String zzc; private zzaes zzd = new zzaes(null); private List zze; @Override // com.google.android.gms.internal.p002firebaseauthapi.zzabd public final /* bridge */ /* synthetic */ zzabd zza(String str) { try { JSONObject jSONObject = new JSONObject(str); this.zzb = jSONObject.optString("authUri", null); jSONObject.optBoolean("registered", false); this.zzc = jSONObject.optString("providerId", null); jSONObject.optBoolean("forExistingProvider", false); if (jSONObject.has("allProviders")) { this.zzd = new zzaes(1, zzafg.zzb(jSONObject.optJSONArray("allProviders"))); } else { this.zzd = new zzaes(null); } this.zze = zzafg.zzb(jSONObject.optJSONArray("signinMethods")); return this; } catch (NullPointerException | JSONException e10) { throw zzafg.zza(e10, zza, str); } } public final List zzb() { return this.zze; } }