73 lines
2.4 KiB
Java
73 lines
2.4 KiB
Java
package com.google.android.gms.internal.gtm;
|
|
|
|
import java.util.Arrays;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class zzgy extends zzhb {
|
|
private final String name;
|
|
private zzfl zzape = null;
|
|
private final List<String> zzarg;
|
|
private final List<zzol> zzarh;
|
|
|
|
public zzgy(zzfl zzflVar, String str, List<String> list, List<zzol> list2) {
|
|
this.name = str;
|
|
this.zzarg = list;
|
|
this.zzarh = list2;
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.gtm.zzhb
|
|
public final zzoa<?> zza(zzfl zzflVar, zzoa<?>... zzoaVarArr) {
|
|
try {
|
|
zzfl zzku = this.zzape.zzku();
|
|
for (int i = 0; i < this.zzarg.size(); i++) {
|
|
if (zzoaVarArr.length > i) {
|
|
zzku.zza(this.zzarg.get(i), zzoaVarArr[i]);
|
|
} else {
|
|
zzku.zza(this.zzarg.get(i), zzog.zzaum);
|
|
}
|
|
}
|
|
zzku.zza("arguments", new zzoh(Arrays.asList(zzoaVarArr)));
|
|
Iterator<zzol> it = this.zzarh.iterator();
|
|
while (it.hasNext()) {
|
|
zzoa zza = zzoo.zza(zzku, it.next());
|
|
if ((zza instanceof zzog) && ((zzog) zza).zzmh()) {
|
|
return ((zzog) zza).value();
|
|
}
|
|
}
|
|
} catch (RuntimeException e) {
|
|
String str = this.name;
|
|
String message = e.getMessage();
|
|
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 33 + String.valueOf(message).length());
|
|
sb.append("Internal error - Function call: ");
|
|
sb.append(str);
|
|
sb.append("\n");
|
|
sb.append(message);
|
|
zzev.zzav(sb.toString());
|
|
}
|
|
return zzog.zzaum;
|
|
}
|
|
|
|
public final String toString() {
|
|
String str = this.name;
|
|
String obj = this.zzarg.toString();
|
|
String obj2 = this.zzarh.toString();
|
|
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 26 + String.valueOf(obj).length() + String.valueOf(obj2).length());
|
|
sb.append(str);
|
|
sb.append("\n\tparams: ");
|
|
sb.append(obj);
|
|
sb.append("\n\t: statements: ");
|
|
sb.append(obj2);
|
|
return sb.toString();
|
|
}
|
|
|
|
public final void zza(zzfl zzflVar) {
|
|
this.zzape = zzflVar;
|
|
}
|
|
|
|
public final String getName() {
|
|
return this.name;
|
|
}
|
|
}
|