- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
291 lines
15 KiB
Java
291 lines
15 KiB
Java
package com.ironsource.adqualitysdk.sdk.i;
|
||
|
||
import android.graphics.Color;
|
||
import android.graphics.PointF;
|
||
import android.graphics.drawable.Drawable;
|
||
import android.media.AudioTrack;
|
||
import android.os.Process;
|
||
import android.os.SystemClock;
|
||
import android.text.TextUtils;
|
||
import android.util.TypedValue;
|
||
import android.view.Gravity;
|
||
import android.view.KeyEvent;
|
||
import android.view.MotionEvent;
|
||
import android.view.View;
|
||
import android.view.ViewConfiguration;
|
||
import android.widget.ExpandableListView;
|
||
import com.ironsource.adqualitysdk.sdk.i.fz;
|
||
import com.ironsource.adqualitysdk.sdk.i.gi;
|
||
import com.ironsource.adqualitysdk.sdk.i.gt;
|
||
import com.ironsource.adqualitysdk.sdk.i.gu;
|
||
import java.util.ArrayList;
|
||
import java.util.Arrays;
|
||
import java.util.Collections;
|
||
import java.util.HashMap;
|
||
import java.util.LinkedHashMap;
|
||
import java.util.List;
|
||
import java.util.Map;
|
||
|
||
/* loaded from: classes4.dex */
|
||
public final class ba {
|
||
|
||
/* renamed from: ﮐ, reason: contains not printable characters */
|
||
private static char f599 = 0;
|
||
|
||
/* renamed from: ﱟ, reason: contains not printable characters */
|
||
private static int f600 = 1;
|
||
|
||
/* renamed from: ﱡ, reason: contains not printable characters */
|
||
private static char[] f601;
|
||
|
||
/* renamed from: ﺙ, reason: contains not printable characters */
|
||
private static long f602;
|
||
|
||
/* renamed from: ﻏ, reason: contains not printable characters */
|
||
private static int f603;
|
||
|
||
/* renamed from: ﻐ, reason: contains not printable characters */
|
||
private static Map<String, List<? extends gd>> f604;
|
||
|
||
/* renamed from: ﻛ, reason: contains not printable characters */
|
||
private static char f605;
|
||
|
||
/* renamed from: k, reason: contains not printable characters */
|
||
private static char f606;
|
||
|
||
/* renamed from: ヌ, reason: contains not printable characters */
|
||
private static List<String> f607;
|
||
|
||
/* renamed from: メ, reason: contains not printable characters */
|
||
private static char f608;
|
||
|
||
/* renamed from: ﺙ, reason: contains not printable characters */
|
||
public static void m1316() {
|
||
f605 = (char) 20532;
|
||
f608 = (char) 41361;
|
||
f599 = (char) 39325;
|
||
f606 = (char) 1719;
|
||
f601 = new char[]{'A', 6294, 12725, 19077, 25504, 31963, 38366, 44795, 51188, 57544, 63783, 14832, 8487, 2052, 29492, 23057, 17770, 44143, 38730, 65093, 55666, 49313, 11169, 4778, 32143, 25851, 'A', 6303, 12677, 19116, 25511, 31956, 38381, 44782, 51171, 54274, 52417, 58839, 40665, 47076, 43151, 16774, 31411, 27973, 30108, 23683, 10146, 3770, 4574, 63685, 50167, 43749, 36336, 9073, 15268, 4784, 27012, 16541, 24546, 46836, 36290, 34769, 40708, 46618, 52531, 58397, 64324, 4703, 12450, 10367, 374, 31319, 21357, 19514, 35487, 37450, 47999, 49263, 59772, 62981, 43474, 45339, 38928, 58147, 51712, 54606, 15426, 1911, 28264, 18812, 'O', 6293, 12689, 19108, 25521, 'S', 6303, 12677, 19127, 25532, 31957, 'S', 6279, 12692, 19123, 25530, 31995, 38363, 44795, 51171, 57581, 63769, 4611, 32005, 26050, 19653, 14317, 7926, 402, 'T', 6295, 12682, 19125, 25517, 31956, 38360, 'V', 6279, 12682, 19121, 25508, 31967, 58670, 64996, 54525, 44997, 34522, 39349};
|
||
f602 = 3070752619713992946L;
|
||
}
|
||
|
||
static {
|
||
m1316();
|
||
f607 = Arrays.asList(m1321("\uf418Ɋ歪\uf230샡ڸ晄\uf5d5\uf7d5龱\uef3b\u20f8\ue8eci", (AudioTrack.getMaxVolume() > 0.0f ? 1 : (AudioTrack.getMaxVolume() == 0.0f ? 0 : -1)) + 13).intern(), m1320((char) (AudioTrack.getMinVolume() > 0.0f ? 1 : (AudioTrack.getMinVolume() == 0.0f ? 0 : -1)), 11 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), Gravity.getAbsoluteGravity(0, 0)).intern(), m1320((char) ((AudioTrack.getMaxVolume() > 0.0f ? 1 : (AudioTrack.getMaxVolume() == 0.0f ? 0 : -1)) + 14768), 15 - Drawable.resolveOpacity(0, 0), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 10).intern());
|
||
LinkedHashMap linkedHashMap = new LinkedHashMap();
|
||
linkedHashMap.put(m1321("\uf418Ɋ캰耉\ue323᭰", 5 - Color.argb(0, 0, 0, 0)).intern(), m1322(new fw()));
|
||
linkedHashMap.put(m1320((char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)), 9 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), TextUtils.lastIndexOf("", '0', 0) + 27).intern(), m1322(new ga()));
|
||
linkedHashMap.put(m1320((char) ((Process.myTid() >> 22) + 54339), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 8, Color.blue(0) + 35).intern(), m1322(new gc()));
|
||
linkedHashMap.put(m1321("麞賍\uf11d\ue6ad詮⍫孖賘⫷\ue3c3", (ViewConfiguration.getFadingEdgeLength() >> 16) + 9).intern(), m1322(new fz.c(), new fz.d()));
|
||
linkedHashMap.put(m1321("涾줤햜㠭ﭺᣚ㆞꽱\ue4e3ቛ", KeyEvent.normalizeMetaState(0) + 10).intern(), m1322(new gb()));
|
||
linkedHashMap.put(m1320((char) ((ViewConfiguration.getWindowTouchSlop() >> 8) + 27910), 10 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), KeyEvent.keyCodeFromString("") + 43).intern(), m1322(new fy()));
|
||
linkedHashMap.put(m1320((char) (Color.alpha(0) + 9015), ((byte) KeyEvent.getModifierMetaStateMask()) + 9, ExpandableListView.getPackedPositionType(0L) + 53).intern(), m1322(new gg()));
|
||
linkedHashMap.put(m1320((char) (34711 - (ViewConfiguration.getTouchSlop() >> 8)), 8 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), 61 - View.MeasureSpec.makeMeasureSpec(0, 0)).intern(), m1322(new ge()));
|
||
linkedHashMap.put(m1320((char) (12516 - TextUtils.getOffsetBefore("", 0)), (ViewConfiguration.getJumpTapTimeout() >> 16) + 6, 69 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))).intern(), m1322(new gf()));
|
||
linkedHashMap.put(m1321("쇙䑭\ued88舗危蜫", 7 - (AudioTrack.getMaxVolume() > 0.0f ? 1 : (AudioTrack.getMaxVolume() == 0.0f ? 0 : -1))).intern(), m1322(new gh()));
|
||
linkedHashMap.put(m1320((char) ((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 35542), 5 - MotionEvent.axisFromString(""), 74 - TextUtils.getOffsetBefore("", 0)).intern(), m1322(new gj()));
|
||
linkedHashMap.put(m1321("䢄關\ue4e3ቛㅍ\uf550⇪嚭꼭\uf696⫷\ue3c3", (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 12).intern(), m1322(new gk()));
|
||
linkedHashMap.put(m1320((char) ((-16733797) - Color.rgb(0, 0, 0)), 9 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), View.MeasureSpec.getMode(0) + 80).intern(), m1322(new gl()));
|
||
linkedHashMap.put(m1321("뵗梯컯ঘ", (ViewConfiguration.getPressedStateDuration() >> 16) + 4).intern(), m1322(new gm()));
|
||
linkedHashMap.put(m1321("ፖ䣼鶉턛\ue96c⨹ㅍ\uf550玆उ", 9 - Color.argb(0, 0, 0, 0)).intern(), m1322(new gi.b(), new gi.e()));
|
||
linkedHashMap.put(m1321("캰耉ꪨဣ휵緊", (ViewConfiguration.getScrollDefaultDelay() >> 16) + 6).intern(), m1322(new go()));
|
||
linkedHashMap.put(m1321("櫨Ꜵფ꾳ꜘ뼾\ue60b˼", (ViewConfiguration.getTapTimeout() >> 16) + 8).intern(), m1322(new gq()));
|
||
linkedHashMap.put(m1320((char) (ViewConfiguration.getJumpTapTimeout() >> 16), 5 - TextUtils.indexOf("", "", 0), 90 - Color.blue(0)).intern(), m1322(new gn()));
|
||
linkedHashMap.put(m1321("䆝暷ᖑ\ue959ⲳ焰꼭\uf696⫷\ue3c3", 10 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))).intern(), m1322(new gr()));
|
||
linkedHashMap.put(m1320((char) TextUtils.getTrimmedLength(""), 5 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), 95 - KeyEvent.normalizeMetaState(0)).intern(), m1322(new gp()));
|
||
linkedHashMap.put(m1320((char) View.MeasureSpec.makeMeasureSpec(0, 0), 12 - View.MeasureSpec.getMode(0), (TypedValue.complexToFloat(0) > 0.0f ? 1 : (TypedValue.complexToFloat(0) == 0.0f ? 0 : -1)) + 101).intern(), m1322(new gs()));
|
||
linkedHashMap.put(m1320((char) (32081 - Color.argb(0, 0, 0, 0)), 6 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), KeyEvent.getDeadChar(0, 0) + 113).intern(), m1322(new gw()));
|
||
linkedHashMap.put(m1320((char) (ViewConfiguration.getScrollDefaultDelay() >> 16), 7 - (PointF.length(0.0f, 0.0f) > 0.0f ? 1 : (PointF.length(0.0f, 0.0f) == 0.0f ? 0 : -1)), 119 - (ViewConfiguration.getJumpTapTimeout() >> 16)).intern(), m1322(new gv()));
|
||
linkedHashMap.put(m1321("㴶퇹趿綏꩓\ue590ᛏﱜ", View.getDefaultSize(0, 0) + 8).intern(), m1322(new gu(), new gu.e()));
|
||
linkedHashMap.put(m1320((char) Color.blue(0), 6 - (AudioTrack.getMinVolume() > 0.0f ? 1 : (AudioTrack.getMinVolume() == 0.0f ? 0 : -1)), 126 - Color.alpha(0)).intern(), m1322(new gt.d(), new gt.b()));
|
||
linkedHashMap.put(m1320((char) (58743 - Drawable.resolveOpacity(0, 0)), 5 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), 132 - (ViewConfiguration.getDoubleTapTimeout() >> 16)).intern(), m1322(new ha()));
|
||
f604 = Collections.unmodifiableMap(linkedHashMap);
|
||
int i = f600 + 113;
|
||
f603 = i % 128;
|
||
int i2 = i % 2;
|
||
}
|
||
|
||
/* renamed from: ヌ, reason: contains not printable characters */
|
||
private static List<? extends gd> m1322(gd... gdVarArr) {
|
||
int i = f600 + 111;
|
||
f603 = i % 128;
|
||
int i2 = i % 2;
|
||
List<? extends gd> asList = Arrays.asList(gdVarArr);
|
||
int i3 = f603 + 105;
|
||
f600 = i3 % 128;
|
||
if (i3 % 2 != 0) {
|
||
return asList;
|
||
}
|
||
throw null;
|
||
}
|
||
|
||
/* renamed from: ヌ, reason: contains not printable characters */
|
||
public static Map<String, List<gd>> m1323() {
|
||
ArrayList<String> arrayList = new ArrayList(f604.keySet());
|
||
HashMap hashMap = new HashMap();
|
||
int i = f603 + 45;
|
||
f600 = i % 128;
|
||
while (true) {
|
||
int i2 = i % 2;
|
||
for (String str : arrayList) {
|
||
List<? extends gd> list = f604.get(str);
|
||
if (list != null) {
|
||
ArrayList arrayList2 = new ArrayList();
|
||
for (gd gdVar : list) {
|
||
if (m1325(gdVar)) {
|
||
int i3 = f600 + 57;
|
||
f603 = i3 % 128;
|
||
if (i3 % 2 != 0) {
|
||
arrayList2.add(gdVar);
|
||
int i4 = 56 / 0;
|
||
} else {
|
||
arrayList2.add(gdVar);
|
||
}
|
||
}
|
||
}
|
||
hashMap.put(str, arrayList2);
|
||
i = f603 + 53;
|
||
f600 = i % 128;
|
||
}
|
||
}
|
||
int i5 = f600 + 49;
|
||
f603 = i5 % 128;
|
||
int i6 = i5 % 2;
|
||
return hashMap;
|
||
}
|
||
}
|
||
|
||
/* renamed from: ﻐ, reason: contains not printable characters */
|
||
public static String m1317() {
|
||
int i = f603 + 27;
|
||
f600 = i % 128;
|
||
String intern = m1321("\uf418Ɋ۳돿뤣\uf3df趿綏\ue2c8\u2fd7샡ڸ晄\uf5d5ᵘﳂ", i % 2 == 0 ? 119 % Color.blue(0) : 15 - Color.blue(0)).intern();
|
||
int i2 = f603 + 109;
|
||
f600 = i2 % 128;
|
||
int i3 = i2 % 2;
|
||
return intern;
|
||
}
|
||
|
||
/* renamed from: メ, reason: contains not printable characters */
|
||
public static List<String> m1324() {
|
||
int i = f603 + 87;
|
||
int i2 = i % 128;
|
||
f600 = i2;
|
||
if (i % 2 == 0) {
|
||
throw null;
|
||
}
|
||
List<String> list = f607;
|
||
int i3 = i2 + 71;
|
||
f603 = i3 % 128;
|
||
if (i3 % 2 != 0) {
|
||
int i4 = 2 / 0;
|
||
}
|
||
return list;
|
||
}
|
||
|
||
/* renamed from: k, reason: contains not printable characters */
|
||
public static gd m1319() {
|
||
ft ftVar = new ft();
|
||
int i = f600 + 53;
|
||
f603 = i % 128;
|
||
int i2 = i % 2;
|
||
return ftVar;
|
||
}
|
||
|
||
/* renamed from: ﻛ, reason: contains not printable characters */
|
||
public static List<gd> m1318() {
|
||
List<gd> asList = Arrays.asList(new fx(), new fv(), new fu());
|
||
int i = f600 + 43;
|
||
f603 = i % 128;
|
||
if (i % 2 == 0) {
|
||
return asList;
|
||
}
|
||
throw null;
|
||
}
|
||
|
||
/* renamed from: メ, reason: contains not printable characters */
|
||
public static boolean m1325(gd gdVar) {
|
||
try {
|
||
if (!Prode.m867()) {
|
||
Class.forName(gdVar.mo2733());
|
||
} else {
|
||
int i = f600 + 119;
|
||
f603 = i % 128;
|
||
int i2 = i % 2;
|
||
gdVar.mo2735();
|
||
int i3 = f603 + 1;
|
||
f600 = i3 % 128;
|
||
int i4 = i3 % 2;
|
||
}
|
||
return true;
|
||
} catch (Throwable unused) {
|
||
return false;
|
||
}
|
||
}
|
||
|
||
/* renamed from: ヌ, reason: contains not printable characters */
|
||
private static String m1321(String str, int i) {
|
||
String str2;
|
||
char[] cArr = str;
|
||
if (str != null) {
|
||
cArr = str.toCharArray();
|
||
}
|
||
char[] cArr2 = cArr;
|
||
synchronized (k.f2799) {
|
||
try {
|
||
char[] cArr3 = new char[cArr2.length];
|
||
k.f2798 = 0;
|
||
char[] cArr4 = new char[2];
|
||
while (true) {
|
||
int i2 = k.f2798;
|
||
if (i2 < cArr2.length) {
|
||
cArr4[0] = cArr2[i2];
|
||
cArr4[1] = cArr2[i2 + 1];
|
||
int i3 = 58224;
|
||
for (int i4 = 0; i4 < 16; i4++) {
|
||
char c = cArr4[1];
|
||
char c2 = cArr4[0];
|
||
char c3 = (char) (c - (((c2 + i3) ^ ((c2 << 4) + f605)) ^ ((c2 >>> 5) + f599)));
|
||
cArr4[1] = c3;
|
||
cArr4[0] = (char) (c2 - (((c3 >>> 5) + f608) ^ ((c3 + i3) ^ ((c3 << 4) + f606))));
|
||
i3 -= 40503;
|
||
}
|
||
int i5 = k.f2798;
|
||
cArr3[i5] = cArr4[0];
|
||
cArr3[i5 + 1] = cArr4[1];
|
||
k.f2798 = i5 + 2;
|
||
} else {
|
||
str2 = new String(cArr3, 0, i);
|
||
}
|
||
}
|
||
} catch (Throwable th) {
|
||
throw th;
|
||
}
|
||
}
|
||
return str2;
|
||
}
|
||
|
||
/* renamed from: k, reason: contains not printable characters */
|
||
private static String m1320(char c, int i, int i2) {
|
||
String str;
|
||
synchronized (d.f1568) {
|
||
try {
|
||
char[] cArr = new char[i];
|
||
d.f1567 = 0;
|
||
while (true) {
|
||
int i3 = d.f1567;
|
||
if (i3 < i) {
|
||
cArr[i3] = (char) ((f601[i2 + i3] ^ (i3 * f602)) ^ c);
|
||
d.f1567 = i3 + 1;
|
||
} else {
|
||
str = new String(cArr);
|
||
}
|
||
}
|
||
} catch (Throwable th) {
|
||
throw th;
|
||
}
|
||
}
|
||
return str;
|
||
}
|
||
}
|