ki.java
2.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
import android.net.Uri;
import com.google.android.gms.tagmanager.zzbo;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
public class ki
{
private static ki d;
public volatile ki.a a = ki.a.a;
public volatile String b = null;
public volatile String c = null;
private volatile String e = null;
private static String a(String paramString)
{
return paramString.split("&")[0].split("=")[1];
}
public static ki a()
{
try
{
if (d == null) {
d = new ki();
}
ki localki = d;
return localki;
}
finally {}
}
public final boolean a(Uri paramUri)
{
boolean bool = true;
String str2;
try
{
str2 = URLDecoder.decode(paramUri.toString(), "UTF-8");
if (!str2.matches("^tagmanager.c.\\S+:\\/\\/preview\\/p\\?id=\\S+>m_auth=\\S+>m_preview=\\d+(>m_debug=x)?$")) {
break label182;
}
str1 = String.valueOf(str2);
if (str1.length() == 0) {
break label154;
}
str1 = "Container preview url: ".concat(str1);
}
catch (UnsupportedEncodingException paramUri)
{
for (;;)
{
label128:
bool = false;
continue;
label154:
String str1 = new String("Container preview url: ");
}
}
finally {}
zzbo.v(str1);
if (str2.matches(".*?>m_debug=x$"))
{
this.a = ki.a.c;
this.e = paramUri.getQuery().replace(">m_debug=x", "");
if ((this.a == ki.a.b) || (this.a == ki.a.c))
{
paramUri = String.valueOf("/r?");
str1 = String.valueOf(this.e);
if (str1.length() == 0) {
break label305;
}
paramUri = paramUri.concat(str1);
this.c = paramUri;
}
this.b = a(this.e);
}
for (;;)
{
return bool;
this.a = ki.a.b;
break;
label182:
if (str2.matches("^tagmanager.c.\\S+:\\/\\/preview\\/p\\?id=\\S+>m_preview=$"))
{
if (a(paramUri.getQuery()).equals(this.b))
{
paramUri = String.valueOf(this.b);
if (paramUri.length() != 0) {}
for (paramUri = "Exit preview mode for container: ".concat(paramUri);; paramUri = new String("Exit preview mode for container: "))
{
zzbo.v(paramUri);
this.a = ki.a.a;
this.c = null;
break;
}
}
}
else
{
paramUri = String.valueOf(str2);
if (paramUri.length() != 0) {}
for (paramUri = "Invalid preview uri: ".concat(paramUri);; paramUri = new String("Invalid preview uri: "))
{
zzbo.zzbh(paramUri);
bool = false;
break;
}
label305:
paramUri = new String(paramUri);
break label128;
}
bool = false;
}
}
public static enum a
{
private a() {}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/ki.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/