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

152 lines
5.7 KiB
Java

package o;
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 org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes.dex */
public final class LxV extends TypeAdapter implements HJa {
private PYE a;
private Gson b;
private InterfaceC15734iCu d;
public LxV(Gson gson, InterfaceC15734iCu interfaceC15734iCu, PYE pye) {
this.b = gson;
this.d = interfaceC15734iCu;
this.a = pye;
}
@Override // com.google.gson.TypeAdapter
public final void write(JsonWriter jsonWriter, Object obj) throws IOException {
if (obj == null) {
jsonWriter.nullValue();
return;
}
CNl cNl = (CNl) obj;
Gson gson = this.b;
PYE pye = this.a;
jsonWriter.beginObject();
if (cNl != cNl.a) {
pye.c(jsonWriter, 38);
String str = cNl.a;
DTh.b(gson, String.class, str).write(jsonWriter, str);
}
if (cNl != cNl.c) {
pye.c(jsonWriter, 651);
String str2 = cNl.c;
DTh.b(gson, String.class, str2).write(jsonWriter, str2);
}
if (cNl != cNl.d) {
pye.c(jsonWriter, 594);
String str3 = cNl.d;
DTh.b(gson, String.class, str3).write(jsonWriter, str3);
}
if (cNl != cNl.b) {
pye.c(jsonWriter, 300);
String str4 = cNl.b;
DTh.b(gson, String.class, str4).write(jsonWriter, str4);
}
if (cNl != cNl.e) {
pye.c(jsonWriter, 379);
String str5 = cNl.e;
DTh.b(gson, String.class, str5).write(jsonWriter, str5);
}
if (cNl != cNl.i) {
pye.c(jsonWriter, CipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256);
String str6 = cNl.i;
DTh.b(gson, String.class, str6).write(jsonWriter, str6);
}
if (cNl != cNl.f) {
pye.c(jsonWriter, 13);
String str7 = cNl.f;
DTh.b(gson, String.class, str7).write(jsonWriter, str7);
}
if (cNl != cNl.j) {
pye.c(jsonWriter, 347);
String str8 = cNl.j;
DTh.b(gson, String.class, str8).write(jsonWriter, str8);
}
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;
}
CNl cNl = new CNl();
Gson gson = this.b;
InterfaceC15734iCu interfaceC15734iCu = this.d;
jsonReader.beginObject();
while (jsonReader.hasNext()) {
int e = interfaceC15734iCu.e(jsonReader);
boolean z = jsonReader.peek() != JsonToken.NULL;
if (e != 13) {
if (e != 244) {
if (e != 384) {
if (e != 413) {
if (e != 465) {
if (e != 519) {
if (e != 550) {
if (e != 572) {
jsonReader.skipValue();
} else if (z) {
cNl.j = (String) gson.getAdapter(String.class).read2(jsonReader);
} else {
cNl.j = null;
jsonReader.nextNull();
}
} else if (z) {
cNl.c = (String) gson.getAdapter(String.class).read2(jsonReader);
} else {
cNl.c = null;
jsonReader.nextNull();
}
} else if (z) {
cNl.e = (String) gson.getAdapter(String.class).read2(jsonReader);
} else {
cNl.e = null;
jsonReader.nextNull();
}
} else if (z) {
cNl.a = (String) gson.getAdapter(String.class).read2(jsonReader);
} else {
cNl.a = null;
jsonReader.nextNull();
}
} else if (z) {
cNl.d = (String) gson.getAdapter(String.class).read2(jsonReader);
} else {
cNl.d = null;
jsonReader.nextNull();
}
} else if (z) {
cNl.b = (String) gson.getAdapter(String.class).read2(jsonReader);
} else {
cNl.b = null;
jsonReader.nextNull();
}
} else if (z) {
cNl.i = (String) gson.getAdapter(String.class).read2(jsonReader);
} else {
cNl.i = null;
jsonReader.nextNull();
}
} else if (z) {
cNl.f = (String) gson.getAdapter(String.class).read2(jsonReader);
} else {
cNl.f = null;
jsonReader.nextNull();
}
}
jsonReader.endObject();
return cNl;
}
}