package com.google.android.gms.internal.measurement; import java.util.HashMap; import java.util.Map; import java.util.concurrent.Callable; /* loaded from: classes3.dex */ public final class zzl { private Map> zza = new HashMap(); public final zzaq zza(String str) { if (!this.zza.containsKey(str)) { return zzaq.zzc; } try { return this.zza.get(str).call(); } catch (Exception unused) { throw new IllegalStateException("Failed to create API implementation: " + str); } } public final void zza(String str, Callable callable) { this.zza.put(str, callable); } }