what-the-bank/sources/com/google/android/gms/analytics/Tracker.java

1248 lines
39 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.analytics;
import android.app.Activity;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.net.Uri;
import android.os.Process;
import android.text.TextUtils;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.analytics.GoogleAnalytics;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.internal.gtm.zzad;
import com.google.android.gms.internal.gtm.zzae;
import com.google.android.gms.internal.gtm.zzan;
import com.google.android.gms.internal.gtm.zzap;
import com.google.android.gms.internal.gtm.zzba;
import com.google.android.gms.internal.gtm.zzbu;
import com.google.android.gms.internal.gtm.zzcg;
import com.google.android.gms.internal.gtm.zzci;
import com.google.android.gms.internal.gtm.zzcy;
import com.google.android.gms.internal.gtm.zzcz;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.huawei.hms.framework.common.ContainerUtils;
import com.pingan.ai.p;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import java.util.Random;
import o.Nhs;
import o.xzZ;
import org.jmrtd.lds.CVCAFile;
/* loaded from: classes.dex */
public class Tracker extends zzan {
private boolean zztb;
private final Map<String, String> zztc;
private final Map<String, String> zztd;
private final zzcg zzte;
private final zza zztf;
private ExceptionReporter zztg;
private zzcy zzth;
private static final byte[] $$a = {110, 84, -61, CVCAFile.CAR_TAG};
private static final int $$b = 243;
private static int $10 = 0;
private static int $11 = 1;
private static int e = 0;
private static int b = 1;
private static long a = 9051040786702654117L;
private static int c = 452713125;
private static char d = 39549;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes.dex */
public final class zza extends zzan implements GoogleAnalytics.zza {
private final Tracker zztp;
private boolean zztq;
private int zztr;
private long zzts;
private boolean zztt;
private long zztu;
@Override // com.google.android.gms.internal.gtm.zzan
public final void zzaw() {
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
protected zza(Tracker tracker, zzap zzapVar) {
super(zzapVar);
this.zztp = tracker;
this.zzts = -1L;
}
public final void setSessionTimeout(long j) {
this.zzts = j;
zzay();
}
public final void enableAutoActivityTracking(boolean z) {
this.zztq = z;
zzay();
}
public final boolean zzax() {
boolean z;
synchronized (this) {
z = this.zztt;
this.zztt = false;
}
return z;
}
private final void zzay() {
if (this.zzts >= 0 || this.zztq) {
zzcr().zza(Tracker.zza(this.zztp));
} else {
zzcr().zzb(Tracker.zza(this.zztp));
}
}
/* JADX WARN: Code restructure failed: missing block: B:21:0x0092, code lost:
if (android.text.TextUtils.isEmpty(r11) == false) goto L26;
*/
@Override // com.google.android.gms.analytics.GoogleAnalytics.zza
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void zzc(android.app.Activity r11) {
/*
r10 = this;
int r0 = r10.zztr
r1 = 1
if (r0 != 0) goto L1e
com.google.android.gms.common.util.Clock r0 = r10.zzcn()
long r2 = r0.elapsedRealtime()
long r4 = r10.zztu
long r6 = r10.zzts
r8 = 1000(0x3e8, double:4.94E-321)
long r6 = java.lang.Math.max(r8, r6)
long r4 = r4 + r6
int r0 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1))
if (r0 < 0) goto L1e
r10.zztt = r1
L1e:
int r0 = r10.zztr
int r0 = r0 + r1
r10.zztr = r0
boolean r0 = r10.zztq
if (r0 == 0) goto La4
android.content.Intent r0 = r11.getIntent()
if (r0 == 0) goto L36
com.google.android.gms.analytics.Tracker r1 = r10.zztp
android.net.Uri r0 = r0.getData()
r1.setCampaignParamsOnNextHit(r0)
L36:
java.util.HashMap r0 = new java.util.HashMap
r0.<init>()
java.lang.String r1 = "&t"
java.lang.String r2 = "screenview"
r0.put(r1, r2)
com.google.android.gms.analytics.Tracker r1 = r10.zztp
com.google.android.gms.internal.gtm.zzcy r2 = com.google.android.gms.analytics.Tracker.zzk(r1)
if (r2 == 0) goto L64
com.google.android.gms.analytics.Tracker r2 = r10.zztp
com.google.android.gms.internal.gtm.zzcy r2 = com.google.android.gms.analytics.Tracker.zzk(r2)
java.lang.Class r3 = r11.getClass()
java.lang.String r3 = r3.getCanonicalName()
java.util.Map<java.lang.String, java.lang.String> r2 = r2.zzacs
java.lang.Object r2 = r2.get(r3)
java.lang.String r2 = (java.lang.String) r2
if (r2 == 0) goto L6c
r3 = r2
goto L6c
L64:
java.lang.Class r2 = r11.getClass()
java.lang.String r3 = r2.getCanonicalName()
L6c:
java.lang.String r2 = "&cd"
r1.set(r2, r3)
java.lang.String r1 = "&dr"
java.lang.Object r2 = r0.get(r1)
java.lang.CharSequence r2 = (java.lang.CharSequence) r2
boolean r2 = android.text.TextUtils.isEmpty(r2)
if (r2 == 0) goto L9f
com.google.android.gms.common.internal.Preconditions.checkNotNull(r11)
android.content.Intent r11 = r11.getIntent()
if (r11 == 0) goto L95
java.lang.String r2 = "android.intent.extra.REFERRER_NAME"
java.lang.String r11 = r11.getStringExtra(r2)
boolean r2 = android.text.TextUtils.isEmpty(r11)
if (r2 != 0) goto L95
goto L96
L95:
r11 = 0
L96:
boolean r2 = android.text.TextUtils.isEmpty(r11)
if (r2 != 0) goto L9f
r0.put(r1, r11)
L9f:
com.google.android.gms.analytics.Tracker r11 = r10.zztp
r11.send(r0)
La4:
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.analytics.Tracker.zza.zzc(android.app.Activity):void");
}
@Override // com.google.android.gms.analytics.GoogleAnalytics.zza
public final void zzd(Activity activity) {
int i = this.zztr - 1;
this.zztr = i;
int max = Math.max(0, i);
this.zztr = max;
if (max == 0) {
this.zztu = zzcn().elapsedRealtime();
}
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public Tracker(zzap zzapVar, String str, zzcg zzcgVar) {
super(zzapVar);
HashMap hashMap = new HashMap();
this.zztc = hashMap;
this.zztd = new HashMap();
if (str != null) {
hashMap.put("&tid", str);
int i = b + 105;
e = i % 128;
if (i % 2 != 0) {
int i2 = 2 % 5;
} else {
int i3 = 2 % 2;
}
}
Object[] objArr = new Object[1];
f((char) ((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 49724), 864611247 + TextUtils.getOffsetBefore("", 0), new char[]{44952, 35051, 15411, 17602}, new char[]{63629}, new char[]{0, 0, 0, 0}, objArr);
hashMap.put("useSecure", ((String) objArr[0]).intern());
hashMap.put("&a", Integer.toString(new Random().nextInt(Integer.MAX_VALUE) + 1));
this.zzte = new zzcg("tracking", zzcn());
this.zztf = new zza(this, zzapVar);
int i4 = e + 107;
b = i4 % 128;
int i5 = i4 % 2;
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x0027). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void g(short r5, int r6, int r7, java.lang.Object[] r8) {
/*
int r7 = r7 * 2
int r0 = r7 + 1
byte[] r1 = com.google.android.gms.analytics.Tracker.$$a
int r5 = r5 + 4
int r6 = 115 - r6
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L13
r4 = r6
r6 = r7
r3 = r2
goto L27
L13:
r3 = r2
L14:
int r5 = r5 + 1
byte r4 = (byte) r6
r0[r3] = r4
if (r3 != r7) goto L23
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L23:
int r3 = r3 + 1
r4 = r1[r5]
L27:
int r6 = r6 + r4
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.analytics.Tracker.g(short, int, int, java.lang.Object[]):void");
}
@Override // com.google.android.gms.internal.gtm.zzan
public final void zzaw() {
int i = 2 % 2;
this.zztf.zzag();
String zzaz = zzcu().zzaz();
Object obj = null;
if (zzaz != null) {
int i2 = b + 87;
e = i2 % 128;
if (i2 % 2 == 0) {
set("&an", zzaz);
} else {
set("&an", zzaz);
obj.hashCode();
throw null;
}
}
String zzba = zzcu().zzba();
if (zzba != null) {
int i3 = e + 83;
b = i3 % 128;
int i4 = i3 % 2;
set("&av", zzba);
if (i4 == 0) {
throw null;
}
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public final void zza(zzcy zzcyVar) {
boolean z;
Object obj;
boolean z2;
int i = 2 % 2;
int i2 = e + 17;
b = i2 % 128;
if (i2 % 2 != 0) {
zzq("Loading Tracker config values");
this.zzth = zzcyVar;
if (zzcyVar.zzacm != null) {
String str = this.zzth.zzacm;
set("&tid", str);
zza("trackingId loaded", str);
}
if (this.zzth.zzacn >= 0.0d) {
String d2 = Double.toString(this.zzth.zzacn);
set("&sf", d2);
zza("Sample frequency loaded", d2);
}
if (this.zzth.zzaco >= 0) {
int i3 = this.zzth.zzaco;
setSessionTimeout(i3);
zza("Session timeout loaded", Integer.valueOf(i3));
}
if (this.zzth.zzacp != -1) {
int i4 = b + 119;
e = i4 % 128;
if (i4 % 2 == 0 ? this.zzth.zzacp != 1 : this.zzth.zzacp != 0) {
z2 = false;
} else {
int i5 = e + 91;
b = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 5 / 5;
}
z2 = true;
}
enableAutoActivityTracking(z2);
zza("Auto activity tracking loaded", Boolean.valueOf(z2));
}
if (this.zzth.zzacq != -1) {
if (this.zzth.zzacq == 1) {
int i7 = e + 57;
b = i7 % 128;
int i8 = i7 % 2;
z = true;
} else {
z = false;
}
if (z) {
int i9 = b + 115;
e = i9 % 128;
if (i9 % 2 != 0) {
Object[] objArr = new Object[1];
f((char) (49725 % (ViewConfiguration.getScrollFriction() > 1.0f ? 1 : (ViewConfiguration.getScrollFriction() == 1.0f ? 0 : -1))), 864611247 >>> (ViewConfiguration.getFadingEdgeLength() >> 120), new char[]{44952, 35051, 15411, 17602}, new char[]{63629}, new char[]{0, 0, 0, 0}, objArr);
obj = objArr[0];
} else {
Object[] objArr2 = new Object[1];
f((char) (49725 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), (ViewConfiguration.getFadingEdgeLength() >> 16) + 864611247, new char[]{44952, 35051, 15411, 17602}, new char[]{63629}, new char[]{0, 0, 0, 0}, objArr2);
obj = objArr2[0];
}
set("&aip", ((String) obj).intern());
}
zza("Anonymize ip loaded", Boolean.valueOf(z));
}
enableExceptionReporting(this.zzth.zzacr == 1);
return;
}
zzq("Loading Tracker config values");
this.zzth = zzcyVar;
String str2 = zzcyVar.zzacm;
Object obj2 = null;
obj2.hashCode();
throw null;
}
public void enableExceptionReporting(boolean z) {
synchronized (this) {
ExceptionReporter exceptionReporter = this.zztg;
if ((exceptionReporter != null) == z) {
return;
}
if (z) {
ExceptionReporter exceptionReporter2 = new ExceptionReporter(this, Thread.getDefaultUncaughtExceptionHandler(), getContext());
this.zztg = exceptionReporter2;
Thread.setDefaultUncaughtExceptionHandler(exceptionReporter2);
zzq("Uncaught exceptions will be reported to Google Analytics");
} else {
Thread.setDefaultUncaughtExceptionHandler(exceptionReporter.zzaf());
zzq("Uncaught exceptions will not be reported to Google Analytics");
}
}
}
public void setSessionTimeout(long j) {
int i = 2 % 2;
int i2 = b + 123;
e = i2 % 128;
int i3 = i2 % 2;
this.zztf.setSessionTimeout(j * 1000);
int i4 = b + 19;
e = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 21 / 0;
}
}
public void enableAutoActivityTracking(boolean z) {
int i = 2 % 2;
int i2 = e + 119;
b = i2 % 128;
int i3 = i2 % 2;
this.zztf.enableAutoActivityTracking(z);
int i4 = e + 13;
b = i4 % 128;
int i5 = i4 % 2;
}
private static String zza(Map.Entry<String, String> entry) {
String key;
int i;
int i2 = 2 % 2;
int i3 = e + 87;
b = i3 % 128;
Object obj = null;
if (i3 % 2 != 0) {
String key2 = entry.getKey();
if (!key2.startsWith(ContainerUtils.FIELD_DELIMITER) || key2.length() < 2) {
return null;
}
int i4 = e + 65;
b = i4 % 128;
if (i4 % 2 == 0) {
key = entry.getKey();
i = 0;
} else {
key = entry.getKey();
i = 1;
}
String substring = key.substring(i);
int i5 = e + 117;
b = i5 % 128;
if (i5 % 2 != 0) {
return substring;
}
obj.hashCode();
throw null;
}
entry.getKey().startsWith(ContainerUtils.FIELD_DELIMITER);
throw null;
}
private static void zza(Map<String, String> map, Map<String, String> map2) {
int i = 2 % 2;
Preconditions.checkNotNull(map2);
if (map == null) {
int i2 = e + 55;
b = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 64 / 0;
return;
}
return;
}
for (Map.Entry<String, String> entry : map.entrySet()) {
int i4 = e + 65;
b = i4 % 128;
int i5 = i4 % 2;
String zza2 = zza(entry);
if (zza2 != null) {
int i6 = e + 5;
b = i6 % 128;
int i7 = i6 % 2;
map2.put(zza2, entry.getValue());
}
}
}
public void send(Map<String, String> map) {
long currentTimeMillis = zzcn().currentTimeMillis();
if (zzcr().getAppOptOut()) {
zzr("AppOptOut is set to true. Not sending Google Analytics hit");
return;
}
boolean isDryRunEnabled = zzcr().isDryRunEnabled();
HashMap hashMap = new HashMap();
zza(this.zztc, hashMap);
zza(map, hashMap);
int i = 1;
boolean zzb = zzcz.zzb(this.zztc.get("useSecure"), true);
Map<String, String> map2 = this.zztd;
Preconditions.checkNotNull(hashMap);
if (map2 != null) {
for (Map.Entry<String, String> entry : map2.entrySet()) {
String zza2 = zza(entry);
if (zza2 != null && !hashMap.containsKey(zza2)) {
hashMap.put(zza2, entry.getValue());
}
}
}
this.zztd.clear();
String str = hashMap.get("t");
if (TextUtils.isEmpty(str)) {
zzco().zza(hashMap, "Missing hit type parameter");
return;
}
String str2 = hashMap.get("tid");
if (TextUtils.isEmpty(str2)) {
zzco().zza(hashMap, "Missing tracking id parameter");
return;
}
boolean z = this.zztb;
synchronized (this) {
if ("screenview".equalsIgnoreCase(str) || "pageview".equalsIgnoreCase(str) || "appview".equalsIgnoreCase(str) || TextUtils.isEmpty(str)) {
int parseInt = Integer.parseInt(this.zztc.get("&a")) + 1;
if (parseInt < Integer.MAX_VALUE) {
i = parseInt;
}
this.zztc.put("&a", Integer.toString(i));
}
}
zzcq().zza(new zzp(this, hashMap, z, str, currentTimeMillis, isDryRunEnabled, zzb, str2));
}
private static void f(char c2, int i, char[] cArr, char[] cArr2, char[] cArr3, Object[] objArr) {
int i2 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c2);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr2.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
int i3 = $10 + 113;
$11 = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 5 % 3;
}
while (nhs.a < length3) {
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(45 - ExpandableListView.getPackedPositionGroup(0L), 5 - View.MeasureSpec.getMode(0), (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(352 - (ViewConfiguration.getJumpTapTimeout() >> 16), TextUtils.getOffsetBefore("", 0) + 5, (char) (52127 - TextUtils.lastIndexOf("", '0', 0, 0)));
byte b2 = (byte) (-1);
byte b3 = (byte) (b2 + 1);
Object[] objArr4 = new Object[1];
g(b2, b3, b3, objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(747 - TextUtils.lastIndexOf("", '0', 0, 0), 4 - Process.getGidForName(""), (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - (ViewConfiguration.getLongPressTimeout() >> 16), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (ExpandableListView.getPackedPositionGroup(0L) + 21608));
byte b4 = (byte) (-1);
byte b5 = (byte) (-b4);
Object[] objArr7 = new Object[1];
g(b4, b5, (byte) (b5 - 1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr2[nhs.a]) ^ (a ^ 9051040786702654117L)) ^ ((int) (c ^ 9051040786702654117L))) ^ ((char) (d ^ 9051040786702654117L)));
nhs.a++;
int i5 = $10 + 23;
$11 = i5 % 128;
int i6 = i5 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(cArr6);
}
public String get(String str) {
int i = 2 % 2;
int i2 = e + 117;
b = i2 % 128;
int i3 = i2 % 2;
zzdb();
Object obj = null;
if (TextUtils.isEmpty(str)) {
int i4 = e + 5;
b = i4 % 128;
int i5 = i4 % 2;
return null;
}
if (this.zztc.containsKey(str)) {
return this.zztc.get(str);
}
if (str.equals("&ul")) {
return zzcz.zza(Locale.getDefault());
}
if (str.equals("&cid")) {
int i6 = b + 85;
e = i6 % 128;
if (i6 % 2 == 0) {
return zzcw().zzeh();
}
zzcw().zzeh();
throw null;
}
if (!(!str.equals("&sr"))) {
return zzcz().zzfb();
}
if (str.equals("&aid")) {
int i7 = b + 25;
e = i7 % 128;
if (i7 % 2 == 0) {
return zzcy().zzdv().zzbb();
}
int i8 = 55 / 0;
return zzcy().zzdv().zzbb();
}
if (!(!str.equals("&an"))) {
return zzcy().zzdv().zzaz();
}
if (str.equals("&av")) {
return zzcy().zzdv().zzba();
}
if (!str.equals("&aiid")) {
return null;
}
String zzbc = zzcy().zzdv().zzbc();
int i9 = e + 91;
b = i9 % 128;
if (i9 % 2 != 0) {
return zzbc;
}
obj.hashCode();
throw null;
}
public void set(String str, String str2) {
int i = 2 % 2;
int i2 = e + 97;
b = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
Preconditions.checkNotNull(str, "Key should be non-null");
if (TextUtils.isEmpty(str)) {
return;
}
this.zztc.put(str, str2);
int i3 = e + 75;
b = i3 % 128;
if (i3 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
Preconditions.checkNotNull(str, "Key should be non-null");
TextUtils.isEmpty(str);
obj.hashCode();
throw null;
}
public void setSampleRate(double d2) {
int i = 2 % 2;
int i2 = b + 119;
e = i2 % 128;
int i3 = i2 % 2;
set("&sf", Double.toString(d2));
if (i3 != 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = e + 113;
b = i4 % 128;
int i5 = i4 % 2;
}
public void setUseSecure(boolean z) {
int i = 2 % 2;
int i2 = e + 11;
b = i2 % 128;
int i3 = i2 % 2;
set("useSecure", zzcz.zzc(z));
if (i3 == 0) {
throw null;
}
int i4 = b + 99;
e = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
public void setScreenName(String str) {
int i = 2 % 2;
int i2 = e + 19;
b = i2 % 128;
int i3 = i2 % 2;
set("&cd", str);
if (i3 == 0) {
throw null;
}
int i4 = e + 85;
b = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
public void setLocation(String str) {
int i = 2 % 2;
int i2 = e + 117;
b = i2 % 128;
int i3 = i2 % 2;
set("&dl", str);
if (i3 == 0) {
throw null;
}
}
public void setReferrer(String str) {
int i = 2 % 2;
int i2 = b + 59;
e = i2 % 128;
int i3 = i2 % 2;
set("&dr", str);
int i4 = e + 15;
b = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
public void setPage(String str) {
int i = 2 % 2;
int i2 = e + 25;
b = i2 % 128;
int i3 = i2 % 2;
set("&dp", str);
int i4 = b + 3;
e = i4 % 128;
int i5 = i4 % 2;
}
public void setHostname(String str) {
int i = 2 % 2;
int i2 = e + 87;
b = i2 % 128;
int i3 = i2 % 2;
set("&dh", str);
int i4 = b + 55;
e = i4 % 128;
int i5 = i4 % 2;
}
public void setTitle(String str) {
int i = 2 % 2;
int i2 = b + 15;
e = i2 % 128;
int i3 = i2 % 2;
set("&dt", str);
int i4 = b + 109;
e = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 29 / 0;
}
}
public void setLanguage(String str) {
int i = 2 % 2;
int i2 = b + 111;
e = i2 % 128;
int i3 = i2 % 2;
set("&ul", str);
if (i3 != 0) {
throw null;
}
int i4 = b + 65;
e = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
public void setEncoding(String str) {
int i = 2 % 2;
int i2 = b + 59;
e = i2 % 128;
int i3 = i2 % 2;
set("&de", str);
if (i3 != 0) {
int i4 = 74 / 0;
}
}
public void setScreenColors(String str) {
int i = 2 % 2;
int i2 = b + 115;
e = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
set("&sd", str);
if (i3 != 0) {
throw null;
}
int i4 = e + 83;
b = i4 % 128;
if (i4 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
public void setScreenResolution(int i, int i2) {
int i3 = 2 % 2;
int i4 = e + 93;
int i5 = i4 % 128;
b = i5;
Object obj = null;
if (i4 % 2 == 0) {
obj.hashCode();
throw null;
}
if (i >= 0 || i2 >= 0) {
StringBuilder sb = new StringBuilder(23);
sb.append(i);
sb.append("x");
sb.append(i2);
set("&sr", sb.toString());
int i6 = e + 59;
b = i6 % 128;
if (i6 % 2 == 0) {
throw null;
}
return;
}
int i7 = i5 + 27;
e = i7 % 128;
if (i7 % 2 == 0) {
zzt("Invalid width or height. The values should be non-negative.");
} else {
zzt("Invalid width or height. The values should be non-negative.");
obj.hashCode();
throw null;
}
}
public void setViewportSize(String str) {
int i = 2 % 2;
int i2 = b + 95;
e = i2 % 128;
int i3 = i2 % 2;
set("&vp", str);
int i4 = e + 89;
b = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
public void setClientId(String str) {
int i = 2 % 2;
int i2 = e + 119;
b = i2 % 128;
int i3 = i2 % 2;
set("&cid", str);
int i4 = b + 15;
e = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
public void setAppName(String str) {
int i = 2 % 2;
int i2 = e + 35;
b = i2 % 128;
int i3 = i2 % 2;
set("&an", str);
int i4 = e + 83;
b = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
public void setAppId(String str) {
int i = 2 % 2;
int i2 = b + 99;
e = i2 % 128;
int i3 = i2 % 2;
set("&aid", str);
int i4 = e + 117;
b = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
public void setAppInstallerId(String str) {
int i = 2 % 2;
int i2 = e + 3;
b = i2 % 128;
int i3 = i2 % 2;
set("&aiid", str);
int i4 = b + 63;
e = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 85 / 0;
}
}
public void setAppVersion(String str) {
int i = 2 % 2;
int i2 = e + 71;
b = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
set("&av", str);
if (i3 == 0) {
obj.hashCode();
throw null;
}
int i4 = b + 49;
e = i4 % 128;
if (i4 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
public void setAnonymizeIp(boolean z) {
int i = 2 % 2;
int i2 = b + 117;
e = i2 % 128;
int i3 = i2 % 2;
set("&aip", zzcz.zzc(z));
if (i3 != 0) {
int i4 = 58 / 0;
}
}
public void setCampaignParamsOnNextHit(Uri uri) {
String queryParameter;
String str;
int i = 2 % 2;
if (uri == null || uri.isOpaque()) {
return;
}
int i2 = b + 89;
e = i2 % 128;
if (i2 % 2 != 0) {
queryParameter = uri.getQueryParameter("referrer");
int i3 = 69 / 0;
if (TextUtils.isEmpty(queryParameter)) {
return;
}
} else {
queryParameter = uri.getQueryParameter("referrer");
if (TextUtils.isEmpty(queryParameter)) {
return;
}
}
String valueOf = String.valueOf(queryParameter);
if (valueOf.length() != 0) {
int i4 = e + 63;
b = i4 % 128;
int i5 = i4 % 2;
str = "http://hostname/?".concat(valueOf);
} else {
str = new String("http://hostname/?");
}
Uri parse = Uri.parse(str);
String queryParameter2 = parse.getQueryParameter("utm_id");
if (queryParameter2 != null) {
int i6 = b + 51;
e = i6 % 128;
int i7 = i6 % 2;
this.zztd.put("&ci", queryParameter2);
int i8 = e + 33;
b = i8 % 128;
int i9 = i8 % 2;
}
String queryParameter3 = parse.getQueryParameter("anid");
if (queryParameter3 != null) {
this.zztd.put("&anid", queryParameter3);
}
String queryParameter4 = parse.getQueryParameter("utm_campaign");
if (queryParameter4 != null) {
this.zztd.put("&cn", queryParameter4);
}
String queryParameter5 = parse.getQueryParameter("utm_content");
if (queryParameter5 != null) {
this.zztd.put("&cc", queryParameter5);
int i10 = b + 59;
e = i10 % 128;
int i11 = i10 % 2;
}
String queryParameter6 = parse.getQueryParameter("utm_medium");
if (queryParameter6 != null) {
this.zztd.put("&cm", queryParameter6);
}
String queryParameter7 = parse.getQueryParameter("utm_source");
if (queryParameter7 != null) {
this.zztd.put("&cs", queryParameter7);
}
String queryParameter8 = parse.getQueryParameter("utm_term");
if (queryParameter8 != null) {
this.zztd.put("&ck", queryParameter8);
}
String queryParameter9 = parse.getQueryParameter("dclid");
if (queryParameter9 != null) {
int i12 = e + 121;
b = i12 % 128;
if (i12 % 2 == 0) {
this.zztd.put("&dclid", queryParameter9);
Object obj = null;
obj.hashCode();
throw null;
}
this.zztd.put("&dclid", queryParameter9);
}
String queryParameter10 = parse.getQueryParameter("gclid");
if (queryParameter10 != null) {
int i13 = b + 47;
e = i13 % 128;
int i14 = i13 % 2;
this.zztd.put("&gclid", queryParameter10);
}
String queryParameter11 = parse.getQueryParameter("aclid");
if (queryParameter11 != null) {
this.zztd.put("&aclid", queryParameter11);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ zza zza(Tracker tracker) {
int i = 2 % 2;
int i2 = e + 93;
int i3 = i2 % 128;
b = i3;
int i4 = i2 % 2;
zza zzaVar = tracker.zztf;
int i5 = i3 + 49;
e = i5 % 128;
if (i5 % 2 == 0) {
return zzaVar;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ zzad zzb(Tracker tracker) {
int i = 2 % 2;
int i2 = e + 121;
b = i2 % 128;
int i3 = i2 % 2;
zzad zzcx = tracker.zzcx();
int i4 = e + 79;
b = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 34 / 0;
}
return zzcx;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ zzba zzc(Tracker tracker) {
int i = 2 % 2;
int i2 = b + 85;
e = i2 % 128;
int i3 = i2 % 2;
zzba zzcy = tracker.zzcy();
int i4 = e + 73;
b = i4 % 128;
if (i4 % 2 != 0) {
return zzcy;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ zzbu zzd(Tracker tracker) {
int i = 2 % 2;
int i2 = b + 65;
e = i2 % 128;
int i3 = i2 % 2;
zzbu zzcz = tracker.zzcz();
int i4 = e + 33;
b = i4 % 128;
if (i4 % 2 != 0) {
return zzcz;
}
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ zzbu zze(Tracker tracker) {
int i = 2 % 2;
int i2 = e + 47;
b = i2 % 128;
int i3 = i2 % 2;
zzbu zzcz = tracker.zzcz();
int i4 = e + 83;
b = i4 % 128;
if (i4 % 2 != 0) {
return zzcz;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ zzcg zzf(Tracker tracker) {
int i = 2 % 2;
int i2 = b + 99;
e = i2 % 128;
int i3 = i2 % 2;
zzcg zzcgVar = tracker.zzte;
if (i3 == 0) {
return zzcgVar;
}
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ zzci zzg(Tracker tracker) {
int i = 2 % 2;
int i2 = e + 73;
b = i2 % 128;
int i3 = i2 % 2;
zzci zzco = tracker.zzco();
int i4 = b + 123;
e = i4 % 128;
if (i4 % 2 == 0) {
return zzco;
}
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ zzci zzh(Tracker tracker) {
int i = 2 % 2;
int i2 = e + 51;
b = i2 % 128;
int i3 = i2 % 2;
zzci zzco = tracker.zzco();
int i4 = b + 111;
e = i4 % 128;
if (i4 % 2 == 0) {
return zzco;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ zzae zzi(Tracker tracker) {
int i = 2 % 2;
int i2 = e + 99;
b = i2 % 128;
int i3 = i2 % 2;
zzae zzcs = tracker.zzcs();
int i4 = e + 7;
b = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 86 / 0;
}
return zzcs;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ zzae zzj(Tracker tracker) {
int i = 2 % 2;
int i2 = b + 53;
e = i2 % 128;
int i3 = i2 % 2;
zzae zzcs = tracker.zzcs();
int i4 = b + 43;
e = i4 % 128;
int i5 = i4 % 2;
return zzcs;
}
static /* synthetic */ zzcy zzk(Tracker tracker) {
int i = 2 % 2;
int i2 = e + 105;
b = i2 % 128;
int i3 = i2 % 2;
zzcy zzcyVar = tracker.zzth;
if (i3 != 0) {
return zzcyVar;
}
Object obj = null;
obj.hashCode();
throw null;
}
public void enableAdvertisingIdCollection(boolean z) {
int i = 2 % 2;
int i2 = e + 77;
int i3 = i2 % 128;
b = i3;
int i4 = i2 % 2;
this.zztb = z;
int i5 = i3 + 39;
e = i5 % 128;
int i6 = i5 % 2;
}
}