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

92 lines
2.5 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.scb.phone.data.network.api.GoogleSigninApi;
/* loaded from: classes3.dex */
public final class HEs implements NOz {
private static final String c;
private final GoogleSigninApi b;
private final rPg e;
@InterfaceC13391fZD
public HEs(GoogleSigninApi googleSigninApi, rPg rpg) {
C14957gcv.e(googleSigninApi, "");
C14957gcv.e(rpg, "");
this.b = googleSigninApi;
this.e = rpg;
}
/* loaded from: classes3.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
@Override // o.NOz
public final AbstractC13163fSk<C1975aTq> e(String str, String str2) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
AbstractC13163fSk<Ncb> postGoogleSignin = this.b.postGoogleSignin(new jRv(str, c, this.e.c, str2));
final HBt hBt = HBt.e;
AbstractC13163fSk map = postGoogleSignin.map(new fSS(hBt) { // from class: o.MbY
private InterfaceC14894gbR a;
@Override // o.fSS
public final Object a(Object obj) {
return HEs.d(this.a, obj);
}
{
this.a = hBt;
}
});
C14957gcv.c(map, "");
return map;
}
/* loaded from: classes3.dex */
static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<Ncb, C1975aTq> {
public static final HBt e = new HBt();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C1975aTq invoke(Ncb ncb) {
Ncb ncb2 = ncb;
C14957gcv.c(ncb2, "");
C14957gcv.e(ncb2, "");
new pcG();
C14957gcv.e(ncb2, "");
String str = ncb2.c;
if (str == null) {
throw pcG.d();
}
String str2 = ncb2.a;
if (str2 == null) {
throw pcG.d();
}
String str3 = ncb2.d;
if (str3 != null) {
return new C1975aTq(str, str2, str3);
}
throw pcG.d();
}
HBt() {
super(1);
}
}
public static /* synthetic */ C1975aTq d(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
C14957gcv.e(interfaceC14894gbR, "");
return (C1975aTq) interfaceC14894gbR.invoke(obj);
}
static {
new LWm((byte) 0);
c = "authorization_code";
}
}