package com.google.android.gms.internal.gtm; import android.content.Context; import android.os.Bundle; import android.os.RemoteException; import com.google.android.gms.common.internal.Preconditions; import com.google.android.gms.internal.gtm.zzgp; import java.util.Date; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ExecutorService; /* loaded from: classes.dex */ public final class zzgl extends zzes { private final ExecutorService zzamv; private final com.google.android.gms.tagmanager.zzcm zzamx; private final Map zzaqs; private final zzdy zzaqt; private final Context zzrm; public zzgl(Context context, com.google.android.gms.tagmanager.zzcm zzcmVar, com.google.android.gms.tagmanager.zzcd zzcdVar) { this(context, zzcmVar, new zzdy(context, zzcmVar, zzcdVar), zzgp.zza.zzr(context)); } private zzgl(Context context, com.google.android.gms.tagmanager.zzcm zzcmVar, zzdy zzdyVar, ExecutorService executorService) { this.zzaqs = new HashMap(1); Preconditions.checkNotNull(zzcmVar); this.zzamx = zzcmVar; this.zzaqt = zzdyVar; this.zzamv = executorService; this.zzrm = context; } @Override // com.google.android.gms.internal.gtm.zzer public final void zzc(String str, String str2, String str3) throws RemoteException { zza(str, str2, str3, null); } @Override // com.google.android.gms.internal.gtm.zzer public final void zza(String str, String str2, String str3, zzeo zzeoVar) throws RemoteException { this.zzamv.execute(new zzgm(this, str, str2, str3, zzeoVar)); } @Override // com.google.android.gms.internal.gtm.zzer public final void zzkm() throws RemoteException { this.zzaqs.clear(); } @Override // com.google.android.gms.internal.gtm.zzer public final void zza(String str, Bundle bundle, String str2, long j, boolean z) throws RemoteException { this.zzamv.execute(new zzgn(this, new zzee(str, bundle, str2, new Date(j), z, this.zzamx))); } @Override // com.google.android.gms.internal.gtm.zzer public final void dispatch() { this.zzamv.execute(new zzgo(this)); } }