kl.java 2.25 KB
import com.google.android.gms.internal.zzah;
import com.google.android.gms.internal.zzai;
import com.google.android.gms.internal.zzak.zza;
import com.google.android.gms.tagmanager.zzdl;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.regex.PatternSyntaxException;

final class kl
  extends iw
{
  private static final String b = zzah.zzdS.toString();
  private static final String c = zzai.zzfI.toString();
  private static final String d = zzai.zzfJ.toString();
  private static final String e = zzai.zzhF.toString();
  private static final String f = zzai.zzhy.toString();
  
  public kl()
  {
    super(b, new String[] { c, d });
  }
  
  public final boolean zzQb()
  {
    return true;
  }
  
  public final zzak.zza zzZ(Map<String, zzak.zza> paramMap)
  {
    Object localObject = (zzak.zza)paramMap.get(c);
    zzak.zza localzza = (zzak.zza)paramMap.get(d);
    if ((localObject == null) || (localObject == zzdl.zzRR()) || (localzza == null) || (localzza == zzdl.zzRR())) {
      return zzdl.zzRR();
    }
    int i = 64;
    if (zzdl.zzi((zzak.zza)paramMap.get(e)).booleanValue()) {
      i = 66;
    }
    paramMap = (zzak.zza)paramMap.get(f);
    int j;
    if (paramMap != null)
    {
      paramMap = zzdl.zzg(paramMap);
      if (paramMap == zzdl.zzRM()) {
        return zzdl.zzRR();
      }
      int k = paramMap.intValue();
      j = k;
      if (k < 0) {
        return zzdl.zzRR();
      }
    }
    else
    {
      j = 1;
    }
    try
    {
      paramMap = zzdl.zze((zzak.zza)localObject);
      localObject = zzdl.zze(localzza);
      localzza = null;
      localObject = Pattern.compile((String)localObject, i).matcher(paramMap);
      paramMap = localzza;
      if (((Matcher)localObject).find())
      {
        paramMap = localzza;
        if (((Matcher)localObject).groupCount() >= j) {
          paramMap = ((Matcher)localObject).group(j);
        }
      }
      if (paramMap == null) {
        return zzdl.zzRR();
      }
      paramMap = zzdl.zzR(paramMap);
      return paramMap;
    }
    catch (PatternSyntaxException paramMap) {}
    return zzdl.zzRR();
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/kl.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */