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

193 lines
7.0 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 XVY extends TypeAdapter implements HJa {
private PYE b;
private InterfaceC15734iCu d;
private Gson e;
public XVY(Gson gson, InterfaceC15734iCu interfaceC15734iCu, PYE pye) {
this.e = gson;
this.d = interfaceC15734iCu;
this.b = pye;
}
@Override // com.google.gson.TypeAdapter
public final void write(JsonWriter jsonWriter, Object obj) throws IOException {
if (obj == null) {
jsonWriter.nullValue();
return;
}
C16595paV c16595paV = (C16595paV) obj;
Gson gson = this.e;
PYE pye = this.b;
jsonWriter.beginObject();
String str = c16595paV.e;
pye.c(jsonWriter, 86);
String str2 = c16595paV.e;
DTh.b(gson, String.class, str2).write(jsonWriter, str2);
String str3 = c16595paV.d;
pye.c(jsonWriter, 393);
String str4 = c16595paV.d;
DTh.b(gson, String.class, str4).write(jsonWriter, str4);
String str5 = c16595paV.a;
pye.c(jsonWriter, 275);
String str6 = c16595paV.a;
DTh.b(gson, String.class, str6).write(jsonWriter, str6);
String str7 = c16595paV.b;
pye.c(jsonWriter, 216);
String str8 = c16595paV.b;
DTh.b(gson, String.class, str8).write(jsonWriter, str8);
String str9 = c16595paV.c;
pye.c(jsonWriter, 32);
String str10 = c16595paV.c;
DTh.b(gson, String.class, str10).write(jsonWriter, str10);
String str11 = c16595paV.f;
pye.c(jsonWriter, 406);
String str12 = c16595paV.f;
DTh.b(gson, String.class, str12).write(jsonWriter, str12);
String str13 = c16595paV.g;
pye.c(jsonWriter, 653);
String str14 = c16595paV.g;
DTh.b(gson, String.class, str14).write(jsonWriter, str14);
String str15 = c16595paV.h;
pye.c(jsonWriter, CipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA);
String str16 = c16595paV.h;
DTh.b(gson, String.class, str16).write(jsonWriter, str16);
String str17 = c16595paV.j;
pye.c(jsonWriter, 91);
String str18 = c16595paV.j;
DTh.b(gson, String.class, str18).write(jsonWriter, str18);
String str19 = c16595paV.i;
pye.c(jsonWriter, 550);
String str20 = c16595paV.i;
DTh.b(gson, String.class, str20).write(jsonWriter, str20);
String str21 = c16595paV.n;
pye.c(jsonWriter, 546);
String str22 = c16595paV.n;
DTh.b(gson, String.class, str22).write(jsonWriter, str22);
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;
}
C16595paV c16595paV = new C16595paV();
Gson gson = this.e;
InterfaceC15734iCu interfaceC15734iCu = this.d;
jsonReader.beginObject();
while (jsonReader.hasNext()) {
int e = interfaceC15734iCu.e(jsonReader);
boolean z = jsonReader.peek() != JsonToken.NULL;
switch (e) {
case 34:
if (!z) {
c16595paV.h = null;
break;
} else {
c16595paV.h = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case CipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384 /* 171 */:
if (!z) {
c16595paV.c = null;
break;
} else {
c16595paV.c = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 271:
if (!z) {
c16595paV.d = null;
break;
} else {
c16595paV.d = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 339:
if (!z) {
c16595paV.f = null;
break;
} else {
c16595paV.f = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 346:
if (!z) {
c16595paV.g = null;
break;
} else {
c16595paV.g = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 353:
if (!z) {
c16595paV.i = null;
break;
} else {
c16595paV.i = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 392:
if (!z) {
c16595paV.b = null;
break;
} else {
c16595paV.b = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 471:
if (!z) {
c16595paV.n = null;
break;
} else {
c16595paV.n = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 496:
if (!z) {
c16595paV.j = null;
break;
} else {
c16595paV.j = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 624:
if (!z) {
c16595paV.a = null;
break;
} else {
c16595paV.a = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 654:
if (!z) {
c16595paV.e = null;
break;
} else {
c16595paV.e = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
default:
jsonReader.skipValue();
continue;
}
jsonReader.nextNull();
}
jsonReader.endObject();
return c16595paV;
}
}