73 lines
2.2 KiB
Java
73 lines
2.2 KiB
Java
package o;
|
|
|
|
import com.scb.phone.data.entity.otp.SusanooEntity;
|
|
import scb.yek.GetKey;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class teG implements AFI {
|
|
private final zHH a;
|
|
final DpO c;
|
|
final C15728iAY d;
|
|
|
|
@InterfaceC13391fZD
|
|
public teG(zHH zhh, C15728iAY c15728iAY, DpO dpO) {
|
|
this.a = zhh;
|
|
this.d = c15728iAY;
|
|
this.c = dpO;
|
|
}
|
|
|
|
@Override // o.AFI
|
|
public final AbstractC13163fSk<nvv> d() {
|
|
return this.a.a.getPhoneNumberFromServer(Long.valueOf(System.currentTimeMillis())).map(new fSS(this) { // from class: o.rPV
|
|
private teG e;
|
|
|
|
@Override // o.fSS
|
|
public final Object a(Object obj) {
|
|
teG teg = this.e;
|
|
SusanooEntity susanooEntity = (SusanooEntity) obj;
|
|
C15728iAY c15728iAY = teg.d;
|
|
nvv nvvVar = new nvv(susanooEntity.phoneNumber, susanooEntity.tag);
|
|
teg.c.e = nvvVar.a;
|
|
return nvvVar;
|
|
}
|
|
|
|
{
|
|
this.e = this;
|
|
}
|
|
});
|
|
}
|
|
|
|
@Override // o.AFI
|
|
public final AbstractC13163fSk<nvv> b(boolean z) {
|
|
if (z) {
|
|
return AbstractC13163fSk.just(new nvv("", ""));
|
|
}
|
|
return this.a.a.getPhoneNumberFromServer(Long.valueOf(System.currentTimeMillis())).map(new fSS(this) { // from class: o.wEK
|
|
private teG d;
|
|
|
|
@Override // o.fSS
|
|
public final Object a(Object obj) {
|
|
String str;
|
|
String str2;
|
|
teG teg = this.d;
|
|
SusanooEntity susanooEntity = (SusanooEntity) obj;
|
|
C15728iAY c15728iAY = teg.d;
|
|
nvv nvvVar = new nvv(susanooEntity.phoneNumber, susanooEntity.tag);
|
|
teg.c.e = nvvVar.a;
|
|
if (nvvVar.d != null && nvvVar.a != null) {
|
|
str = new GetKey().a(nvvVar.d, "com.scb.phone.data");
|
|
str2 = nvvVar.a;
|
|
} else {
|
|
str = "";
|
|
str2 = "";
|
|
}
|
|
return new nvv(str2, str);
|
|
}
|
|
|
|
{
|
|
this.d = this;
|
|
}
|
|
}).onErrorReturnItem(new nvv(null, null));
|
|
}
|
|
}
|