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

549 lines
20 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.google.android.gms.dynamite.descriptors.com.google.android.gms.tagmanager.ModuleDescriptor;
import com.google.gson.Gson;
import com.google.gson.TypeAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonToken;
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import java.util.List;
import org.bouncycastle.asn1.x509.DisplayText;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.bouncycastle.math.Primes;
/* loaded from: classes.dex */
public final class AOL extends TypeAdapter implements HJa {
private InterfaceC15734iCu c;
private PYE d;
private Gson e;
public AOL(Gson gson, InterfaceC15734iCu interfaceC15734iCu, PYE pye) {
this.e = gson;
this.c = interfaceC15734iCu;
this.d = pye;
}
@Override // com.google.gson.TypeAdapter
public final void write(JsonWriter jsonWriter, Object obj) throws IOException {
if (obj == null) {
jsonWriter.nullValue();
return;
}
QJg qJg = (QJg) obj;
Gson gson = this.e;
PYE pye = this.d;
jsonWriter.beginObject();
if (qJg != qJg.a) {
pye.c(jsonWriter, 404);
String str = qJg.a;
DTh.b(gson, String.class, str).write(jsonWriter, str);
}
if (qJg != qJg.e) {
pye.c(jsonWriter, CipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384);
MJi mJi = new MJi();
List<LhO> list = qJg.e;
DTh.a(gson, mJi, list).write(jsonWriter, list);
}
if (qJg != qJg.b) {
pye.c(jsonWriter, 266);
String str2 = qJg.b;
DTh.b(gson, String.class, str2).write(jsonWriter, str2);
}
if (qJg != qJg.c) {
pye.c(jsonWriter, 632);
String str3 = qJg.c;
DTh.b(gson, String.class, str3).write(jsonWriter, str3);
}
if (qJg != qJg.d) {
pye.c(jsonWriter, 50);
String str4 = qJg.d;
DTh.b(gson, String.class, str4).write(jsonWriter, str4);
}
pye.c(jsonWriter, 555);
Class cls = Boolean.TYPE;
Boolean valueOf = Boolean.valueOf(qJg.f);
DTh.b(gson, cls, valueOf).write(jsonWriter, valueOf);
pye.c(jsonWriter, 69);
Class cls2 = Integer.TYPE;
Integer valueOf2 = Integer.valueOf(qJg.i);
DTh.b(gson, cls2, valueOf2).write(jsonWriter, valueOf2);
if (qJg != qJg.j) {
pye.c(jsonWriter, CipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256);
String str5 = qJg.j;
DTh.b(gson, String.class, str5).write(jsonWriter, str5);
}
if (qJg != qJg.h) {
pye.c(jsonWriter, 410);
String str6 = qJg.h;
DTh.b(gson, String.class, str6).write(jsonWriter, str6);
}
if (qJg != qJg.g) {
pye.c(jsonWriter, 274);
WfK wfK = new WfK();
List<vrx> list2 = qJg.g;
DTh.a(gson, wfK, list2).write(jsonWriter, list2);
}
if (qJg != qJg.l) {
pye.c(jsonWriter, 494);
String str7 = qJg.l;
DTh.b(gson, String.class, str7).write(jsonWriter, str7);
}
if (qJg != qJg.f8323o) {
pye.c(jsonWriter, 295);
String str8 = qJg.f8323o;
DTh.b(gson, String.class, str8).write(jsonWriter, str8);
}
if (qJg != qJg.k) {
pye.c(jsonWriter, 535);
String str9 = qJg.k;
DTh.b(gson, String.class, str9).write(jsonWriter, str9);
}
pye.c(jsonWriter, 21);
Class cls3 = Integer.TYPE;
Integer valueOf3 = Integer.valueOf(qJg.m);
DTh.b(gson, cls3, valueOf3).write(jsonWriter, valueOf3);
pye.c(jsonWriter, 427);
Class cls4 = Integer.TYPE;
Integer valueOf4 = Integer.valueOf(qJg.n);
DTh.b(gson, cls4, valueOf4).write(jsonWriter, valueOf4);
pye.c(jsonWriter, 47);
Class cls5 = Integer.TYPE;
Integer valueOf5 = Integer.valueOf(qJg.q);
DTh.b(gson, cls5, valueOf5).write(jsonWriter, valueOf5);
pye.c(jsonWriter, 240);
Class cls6 = Boolean.TYPE;
Boolean valueOf6 = Boolean.valueOf(qJg.s);
DTh.b(gson, cls6, valueOf6).write(jsonWriter, valueOf6);
pye.c(jsonWriter, 81);
Class cls7 = Integer.TYPE;
Integer valueOf7 = Integer.valueOf(qJg.p);
DTh.b(gson, cls7, valueOf7).write(jsonWriter, valueOf7);
pye.c(jsonWriter, 350);
Class cls8 = Integer.TYPE;
Integer valueOf8 = Integer.valueOf(qJg.t);
DTh.b(gson, cls8, valueOf8).write(jsonWriter, valueOf8);
if (qJg != qJg.r) {
pye.c(jsonWriter, 633);
String str10 = qJg.r;
DTh.b(gson, String.class, str10).write(jsonWriter, str10);
}
if (qJg != qJg.x) {
pye.c(jsonWriter, 33);
String str11 = qJg.x;
DTh.b(gson, String.class, str11).write(jsonWriter, str11);
}
if (qJg != qJg.y) {
pye.c(jsonWriter, 505);
String str12 = qJg.y;
DTh.b(gson, String.class, str12).write(jsonWriter, str12);
}
pye.c(jsonWriter, 575);
Class cls9 = Integer.TYPE;
Integer valueOf9 = Integer.valueOf(qJg.u);
DTh.b(gson, cls9, valueOf9).write(jsonWriter, valueOf9);
pye.c(jsonWriter, 348);
Class cls10 = Integer.TYPE;
Integer valueOf10 = Integer.valueOf(qJg.w);
DTh.b(gson, cls10, valueOf10).write(jsonWriter, valueOf10);
if (qJg != qJg.v) {
pye.c(jsonWriter, 649);
String str13 = qJg.v;
DTh.b(gson, String.class, str13).write(jsonWriter, str13);
}
pye.c(jsonWriter, 280);
Class cls11 = Integer.TYPE;
Integer valueOf11 = Integer.valueOf(qJg.B);
DTh.b(gson, cls11, valueOf11).write(jsonWriter, valueOf11);
if (qJg != qJg.z) {
pye.c(jsonWriter, 614);
String str14 = qJg.z;
DTh.b(gson, String.class, str14).write(jsonWriter, str14);
}
pye.c(jsonWriter, 66);
Class cls12 = Long.TYPE;
Long valueOf12 = Long.valueOf(qJg.A);
DTh.b(gson, cls12, valueOf12).write(jsonWriter, valueOf12);
if (qJg != qJg.D) {
pye.c(jsonWriter, CipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256);
String str15 = qJg.D;
DTh.b(gson, String.class, str15).write(jsonWriter, str15);
}
if (qJg != qJg.C) {
pye.c(jsonWriter, 112);
String str16 = qJg.C;
DTh.b(gson, String.class, str16).write(jsonWriter, str16);
}
if (qJg != qJg.I) {
pye.c(jsonWriter, CipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384);
String str17 = qJg.I;
DTh.b(gson, String.class, str17).write(jsonWriter, str17);
}
if (qJg != qJg.G) {
pye.c(jsonWriter, 442);
String str18 = qJg.G;
DTh.b(gson, String.class, str18).write(jsonWriter, str18);
}
pye.c(jsonWriter, ModuleDescriptor.MODULE_VERSION);
Class cls13 = Integer.TYPE;
Integer valueOf13 = Integer.valueOf(qJg.H);
DTh.b(gson, cls13, valueOf13).write(jsonWriter, valueOf13);
if (qJg != qJg.E) {
pye.c(jsonWriter, 245);
String str19 = qJg.E;
DTh.b(gson, String.class, str19).write(jsonWriter, str19);
}
if (qJg != qJg.F) {
pye.c(jsonWriter, 358);
String str20 = qJg.F;
DTh.b(gson, String.class, str20).write(jsonWriter, str20);
}
if (qJg != qJg.L) {
pye.c(jsonWriter, 311);
String str21 = qJg.L;
DTh.b(gson, String.class, str21).write(jsonWriter, str21);
}
if (qJg != qJg.M) {
pye.c(jsonWriter, 611);
C15910jYS c15910jYS = new C15910jYS();
List<QJg> list3 = qJg.M;
DTh.a(gson, c15910jYS, list3).write(jsonWriter, list3);
}
if (qJg != qJg.J) {
pye.c(jsonWriter, 416);
String str22 = qJg.J;
DTh.b(gson, String.class, str22).write(jsonWriter, str22);
}
if (qJg != qJg.K) {
pye.c(jsonWriter, 142);
String str23 = qJg.K;
DTh.b(gson, String.class, str23).write(jsonWriter, str23);
}
jsonWriter.endObject();
}
@Override // com.google.gson.TypeAdapter
/* renamed from: read */
public final Object read2(JsonReader jsonReader) throws IOException {
if (jsonReader.peek() == JsonToken.NULL) {
jsonReader.skipValue();
return null;
}
QJg qJg = new QJg();
Gson gson = this.e;
InterfaceC15734iCu interfaceC15734iCu = this.c;
jsonReader.beginObject();
while (jsonReader.hasNext()) {
int e = interfaceC15734iCu.e(jsonReader);
boolean z = jsonReader.peek() != JsonToken.NULL;
switch (e) {
case 1:
if (!z) {
qJg.F = null;
break;
} else {
qJg.F = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 10:
if (!z) {
qJg.v = null;
break;
} else {
qJg.v = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 12:
if (!z) {
qJg.b = null;
break;
} else {
qJg.b = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 62:
if (!z) {
break;
} else {
qJg.A = ((Long) gson.getAdapter(Long.class).read2(jsonReader)).longValue();
break;
}
case 86:
if (!z) {
qJg.e = null;
break;
} else {
qJg.e = (List) gson.getAdapter(new MJi()).read2(jsonReader);
break;
}
case 106:
if (!z) {
break;
} else {
qJg.f = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue();
break;
}
case 123:
if (!z) {
break;
} else {
qJg.u = ((Integer) gson.getAdapter(Integer.class).read2(jsonReader)).intValue();
break;
}
case 129:
if (!z) {
qJg.L = null;
break;
} else {
qJg.L = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 160:
if (!z) {
break;
} else {
qJg.n = ((Integer) gson.getAdapter(Integer.class).read2(jsonReader)).intValue();
break;
}
case CipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256 /* 170 */:
if (!z) {
qJg.h = null;
break;
} else {
qJg.h = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case CipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384 /* 173 */:
if (!z) {
qJg.j = null;
break;
} else {
qJg.j = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256 /* 184 */:
if (!z) {
qJg.c = null;
break;
} else {
qJg.c = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case DisplayText.DISPLAY_TEXT_MAXIMUM_SIZE /* 200 */:
if (!z) {
qJg.G = null;
break;
} else {
qJg.G = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case Primes.SMALL_FACTOR_LIMIT /* 211 */:
if (!z) {
break;
} else {
qJg.w = ((Integer) gson.getAdapter(Integer.class).read2(jsonReader)).intValue();
break;
}
case 243:
if (!z) {
qJg.C = null;
break;
} else {
qJg.C = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 252:
if (!z) {
qJg.g = null;
break;
} else {
qJg.g = (List) gson.getAdapter(new WfK()).read2(jsonReader);
break;
}
case 327:
if (!z) {
qJg.l = null;
break;
} else {
qJg.l = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 349:
if (!z) {
break;
} else {
qJg.i = ((Integer) gson.getAdapter(Integer.class).read2(jsonReader)).intValue();
break;
}
case 368:
if (!z) {
qJg.E = null;
break;
} else {
qJg.E = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 408:
if (!z) {
qJg.d = null;
break;
} else {
qJg.d = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 441:
if (!z) {
qJg.M = null;
break;
} else {
qJg.M = (List) gson.getAdapter(new C15910jYS()).read2(jsonReader);
break;
}
case 446:
if (!z) {
break;
} else {
qJg.s = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue();
break;
}
case 466:
if (!z) {
qJg.x = null;
break;
} else {
qJg.x = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 490:
if (!z) {
break;
} else {
qJg.H = ((Integer) gson.getAdapter(Integer.class).read2(jsonReader)).intValue();
break;
}
case 494:
if (!z) {
qJg.D = null;
break;
} else {
qJg.D = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 521:
if (!z) {
qJg.z = null;
break;
} else {
qJg.z = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 525:
if (!z) {
break;
} else {
qJg.m = ((Integer) gson.getAdapter(Integer.class).read2(jsonReader)).intValue();
break;
}
case 537:
if (!z) {
qJg.r = null;
break;
} else {
qJg.r = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 543:
if (!z) {
break;
} else {
qJg.t = ((Integer) gson.getAdapter(Integer.class).read2(jsonReader)).intValue();
break;
}
case 544:
if (!z) {
break;
} else {
qJg.q = ((Integer) gson.getAdapter(Integer.class).read2(jsonReader)).intValue();
break;
}
case 580:
if (!z) {
break;
} else {
qJg.p = ((Integer) gson.getAdapter(Integer.class).read2(jsonReader)).intValue();
break;
}
case 585:
if (!z) {
qJg.K = null;
break;
} else {
qJg.K = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 593:
if (!z) {
qJg.k = null;
break;
} else {
qJg.k = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 612:
if (!z) {
qJg.I = null;
break;
} else {
qJg.I = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 630:
if (!z) {
break;
} else {
qJg.B = ((Integer) gson.getAdapter(Integer.class).read2(jsonReader)).intValue();
break;
}
case 649:
if (!z) {
qJg.J = null;
break;
} else {
qJg.J = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 652:
if (!z) {
qJg.f8323o = null;
break;
} else {
qJg.f8323o = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 675:
if (!z) {
qJg.a = null;
break;
} else {
qJg.a = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 681:
if (!z) {
qJg.y = null;
break;
} else {
qJg.y = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
default:
jsonReader.skipValue();
continue;
}
jsonReader.nextNull();
}
jsonReader.endObject();
return qJg;
}
}