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

305 lines
11 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
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 io.grpc.internal.GrpcUtil;
import java.io.IOException;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes.dex */
public final class wfi extends TypeAdapter implements HJa {
private InterfaceC15734iCu a;
private Gson b;
private PYE e;
public wfi(Gson gson, InterfaceC15734iCu interfaceC15734iCu, PYE pye) {
this.b = gson;
this.a = interfaceC15734iCu;
this.e = pye;
}
@Override // com.google.gson.TypeAdapter
public final void write(JsonWriter jsonWriter, Object obj) throws IOException {
if (obj == null) {
jsonWriter.nullValue();
return;
}
BUi bUi = (BUi) obj;
Gson gson = this.b;
PYE pye = this.e;
jsonWriter.beginObject();
String str = bUi.e;
pye.c(jsonWriter, 12);
String str2 = bUi.e;
DTh.b(gson, String.class, str2).write(jsonWriter, str2);
TIx tIx = bUi.d;
pye.c(jsonWriter, 55);
TIx tIx2 = bUi.d;
DTh.b(gson, TIx.class, tIx2).write(jsonWriter, tIx2);
String str3 = bUi.c;
pye.c(jsonWriter, 17);
String str4 = bUi.c;
DTh.b(gson, String.class, str4).write(jsonWriter, str4);
Boolean bool = bUi.b;
pye.c(jsonWriter, 584);
Boolean bool2 = bUi.b;
DTh.b(gson, Boolean.class, bool2).write(jsonWriter, bool2);
String str5 = bUi.a;
pye.c(jsonWriter, 398);
String str6 = bUi.a;
DTh.b(gson, String.class, str6).write(jsonWriter, str6);
String str7 = bUi.j;
pye.c(jsonWriter, 510);
String str8 = bUi.j;
DTh.b(gson, String.class, str8).write(jsonWriter, str8);
String str9 = bUi.i;
pye.c(jsonWriter, 49);
String str10 = bUi.i;
DTh.b(gson, String.class, str10).write(jsonWriter, str10);
if (bUi != bUi.f) {
pye.c(jsonWriter, 622);
GIr gIr = bUi.f;
DTh.b(gson, GIr.class, gIr).write(jsonWriter, gIr);
}
String str11 = bUi.g;
pye.c(jsonWriter, 354);
String str12 = bUi.g;
DTh.b(gson, String.class, str12).write(jsonWriter, str12);
Integer num = bUi.h;
pye.c(jsonWriter, CipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384);
Integer num2 = bUi.h;
DTh.b(gson, Integer.class, num2).write(jsonWriter, num2);
Boolean bool3 = bUi.n;
pye.c(jsonWriter, 621);
Boolean bool4 = bUi.n;
DTh.b(gson, Boolean.class, bool4).write(jsonWriter, bool4);
Double d = bUi.l;
pye.c(jsonWriter, 18);
Double d2 = bUi.l;
DTh.b(gson, Double.class, d2).write(jsonWriter, d2);
String str13 = bUi.f8106o;
pye.c(jsonWriter, GrpcUtil.DEFAULT_PORT_SSL);
String str14 = bUi.f8106o;
DTh.b(gson, String.class, str14).write(jsonWriter, str14);
String str15 = bUi.m;
pye.c(jsonWriter, CipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256);
String str16 = bUi.m;
DTh.b(gson, String.class, str16).write(jsonWriter, str16);
String str17 = bUi.k;
pye.c(jsonWriter, 151);
String str18 = bUi.k;
DTh.b(gson, String.class, str18).write(jsonWriter, str18);
String str19 = bUi.q;
pye.c(jsonWriter, 618);
String str20 = bUi.q;
DTh.b(gson, String.class, str20).write(jsonWriter, str20);
if (bUi != bUi.s) {
pye.c(jsonWriter, 78);
NVG nvg = bUi.s;
DTh.b(gson, NVG.class, nvg).write(jsonWriter, nvg);
}
String str21 = bUi.p;
pye.c(jsonWriter, CipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256);
String str22 = bUi.p;
DTh.b(gson, String.class, str22).write(jsonWriter, str22);
String str23 = bUi.t;
pye.c(jsonWriter, 302);
String str24 = bUi.t;
DTh.b(gson, String.class, str24).write(jsonWriter, str24);
if (bUi != bUi.r) {
pye.c(jsonWriter, 552);
GIr gIr2 = bUi.r;
DTh.b(gson, GIr.class, gIr2).write(jsonWriter, gIr2);
}
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;
}
BUi bUi = new BUi();
Gson gson = this.b;
InterfaceC15734iCu interfaceC15734iCu = this.a;
jsonReader.beginObject();
while (jsonReader.hasNext()) {
int e = interfaceC15734iCu.e(jsonReader);
boolean z = jsonReader.peek() != JsonToken.NULL;
switch (e) {
case 27:
if (!z) {
bUi.n = null;
break;
} else {
bUi.n = (Boolean) gson.getAdapter(Boolean.class).read2(jsonReader);
break;
}
case 28:
if (!z) {
bUi.r = null;
break;
} else {
bUi.r = (GIr) gson.getAdapter(GIr.class).read2(jsonReader);
break;
}
case 64:
if (!z) {
bUi.p = null;
break;
} else {
bUi.p = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 78:
if (!z) {
bUi.l = null;
break;
} else {
bUi.l = (Double) gson.getAdapter(Double.class).read2(jsonReader);
break;
}
case 97:
if (!z) {
bUi.d = null;
break;
} else {
bUi.d = (TIx) gson.getAdapter(TIx.class).read2(jsonReader);
break;
}
case 117:
if (!z) {
bUi.e = null;
break;
} else {
bUi.e = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 124:
if (!z) {
bUi.k = null;
break;
} else {
bUi.k = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 242:
if (!z) {
bUi.j = null;
break;
} else {
bUi.j = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 335:
if (!z) {
bUi.f8106o = null;
break;
} else {
bUi.f8106o = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 338:
if (!z) {
bUi.s = null;
break;
} else {
bUi.s = (NVG) gson.getAdapter(NVG.class).read2(jsonReader);
break;
}
case 350:
if (!z) {
bUi.f = null;
break;
} else {
bUi.f = (GIr) gson.getAdapter(GIr.class).read2(jsonReader);
break;
}
case 354:
if (!z) {
bUi.a = null;
break;
} else {
bUi.a = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 369:
if (!z) {
bUi.h = null;
break;
} else {
bUi.h = (Integer) gson.getAdapter(Integer.class).read2(jsonReader);
break;
}
case 399:
if (!z) {
bUi.t = null;
break;
} else {
bUi.t = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 412:
if (!z) {
bUi.i = null;
break;
} else {
bUi.i = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 473:
if (!z) {
bUi.g = null;
break;
} else {
bUi.g = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 513:
if (!z) {
bUi.q = null;
break;
} else {
bUi.q = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 526:
if (!z) {
bUi.b = null;
break;
} else {
bUi.b = (Boolean) gson.getAdapter(Boolean.class).read2(jsonReader);
break;
}
case 529:
if (!z) {
bUi.c = null;
break;
} else {
bUi.c = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 581:
if (!z) {
bUi.m = null;
break;
} else {
bUi.m = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
default:
jsonReader.skipValue();
continue;
}
jsonReader.nextNull();
}
jsonReader.endObject();
return bUi;
}
}