package com.google.android.gms.internal.p002firebaseauthapi; import android.content.Context; import android.content.IntentFilter; import android.content.pm.PackageManager; import android.content.pm.Signature; import android.os.Build; import android.util.Base64; import com.google.android.gms.auth.api.phone.SmsRetriever; import com.google.android.gms.common.internal.Preconditions; import com.google.android.gms.common.logging.Logger; import com.google.android.gms.common.wrappers.Wrappers; import com.google.firebase.auth.PhoneAuthCredential; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.bouncycastle.pqc.jcajce.spec.McElieceCCA2KeyGenParameterSpec; /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes2.dex */ public final class zzyv { private static final Logger zza = new Logger("FirebaseAuth", "SmsRetrieverHelper"); private final Context zzb; private final ScheduledExecutorService zzc; private final HashMap zzd = new HashMap(); /* JADX INFO: Access modifiers changed from: package-private */ public zzyv(Context context) { this.zzb = (Context) Preconditions.checkNotNull(context); zzf.zza(); this.zzc = Executors.unconfigurableScheduledExecutorService(Executors.newScheduledThreadPool(1)); } /* JADX INFO: Access modifiers changed from: package-private */ public static String zzb(String str) { Matcher matcher = Pattern.compile("(?