what-the-bank/sources/o/cXL.java

49 lines
1.5 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
/* loaded from: classes4.dex */
public final class cXL {
public static final cXL c = new cXL();
private cXL() {
}
public static String c(String str, boolean z) {
C14957gcv.e(str, "");
if (str.length() != 16) {
return str;
}
if (z) {
String substring = str.substring(0, 4);
C14957gcv.c((Object) substring, "");
String substring2 = str.substring(4, 6);
C14957gcv.c((Object) substring2, "");
String substring3 = str.substring(12);
C14957gcv.c((Object) substring3, "");
StringBuilder sb = new StringBuilder();
sb.append(substring);
sb.append(" ");
sb.append(substring2);
sb.append("xx xxxx ");
sb.append(substring3);
return sb.toString();
}
String substring4 = str.substring(0, 4);
C14957gcv.c((Object) substring4, "");
String substring5 = str.substring(4, 8);
C14957gcv.c((Object) substring5, "");
String substring6 = str.substring(8, 12);
C14957gcv.c((Object) substring6, "");
String substring7 = str.substring(12);
C14957gcv.c((Object) substring7, "");
StringBuilder sb2 = new StringBuilder();
sb2.append(substring4);
sb2.append(" ");
sb2.append(substring5);
sb2.append(" ");
sb2.append(substring6);
sb2.append(" ");
sb2.append(substring7);
return sb2.toString();
}
}