79 lines
2.4 KiB
Java
79 lines
2.4 KiB
Java
package o;
|
|
|
|
import android.content.Context;
|
|
import android.util.Base64;
|
|
import androidx.fragment.app.Fragment;
|
|
import com.scb.phone.view.fragment.debitatm.DebitCardRewardTabFragment;
|
|
import com.scb.phone.view.fragment.debitatm.DebitCardServiceTabFragment;
|
|
import com.scb.phone.view.fragment.debitatm.DebitCardTransactionTabFragment;
|
|
import java.nio.charset.StandardCharsets;
|
|
|
|
/* renamed from: o.esx, reason: case insensitive filesystem */
|
|
/* loaded from: classes5.dex */
|
|
public final class C12162esx extends rgb {
|
|
private static int a = 0;
|
|
private static byte b = 6;
|
|
private static int d = 1;
|
|
private int[] c;
|
|
private Context e;
|
|
|
|
public C12162esx(yRS yrs, Context context) {
|
|
super(yrs);
|
|
this.c = new int[]{com.scb.phone.R.string.debit_atm_detail_tab, com.scb.phone.R.string.debit_atm_point_tab, com.scb.phone.R.string.debit_atm_service_tab};
|
|
this.e = context;
|
|
}
|
|
|
|
private void f(String str, Object[] objArr) {
|
|
byte[] decode = Base64.decode(str, 0);
|
|
byte[] bArr = new byte[decode.length];
|
|
for (int i = 0; i < decode.length; i++) {
|
|
bArr[i] = (byte) (decode[(decode.length - i) - 1] ^ b);
|
|
}
|
|
objArr[0] = new String(bArr, StandardCharsets.UTF_8);
|
|
}
|
|
|
|
@Override // o.rgb
|
|
public final Fragment e(int i) {
|
|
if (i == 0) {
|
|
return DebitCardTransactionTabFragment.f();
|
|
}
|
|
if (i == 1) {
|
|
return DebitCardRewardTabFragment.d();
|
|
}
|
|
if (i == 2) {
|
|
return DebitCardServiceTabFragment.f();
|
|
}
|
|
return new Fragment();
|
|
}
|
|
|
|
@Override // o.WYJ
|
|
public final int getCount() {
|
|
return this.c.length;
|
|
}
|
|
|
|
@Override // o.WYJ
|
|
public final CharSequence getPageTitle(int i) {
|
|
int i2 = 2 % 2;
|
|
int i3 = d + 79;
|
|
a = i3 % 128;
|
|
if (i3 % 2 != 0) {
|
|
this.e.getString(this.c[i]).startsWith(",*,)");
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
String string = this.e.getString(this.c[i]);
|
|
if (string.startsWith(",*,)")) {
|
|
Object[] objArr = new Object[1];
|
|
f(string.substring(4), objArr);
|
|
string = ((String) objArr[0]).intern();
|
|
}
|
|
int i4 = a + 107;
|
|
d = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
int i5 = 49 / 0;
|
|
}
|
|
return string;
|
|
}
|
|
}
|