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

158 lines
4.4 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.List;
import o.C15715hv;
import o.QK;
import o.ZI;
import o.wRi;
/* renamed from: o.bUf */
/* loaded from: classes4.dex */
public class C4248bUf extends ZI<InterfaceC9403djA> {
public boolean a;
public double b;
public YpL c;
public double d;
public VPY e;
private boolean h;
private C17582xw i;
@InterfaceC13391fZD
public C4248bUf(YpL ypL, VPY vpy, C17582xw c17582xw, C16903sI c16903sI) {
super(c16903sI);
this.d = 1.0d;
this.b = 500000.0d;
this.h = false;
this.a = true;
this.c = ypL;
this.e = vpy;
this.i = c17582xw;
}
/* renamed from: o.bUf$4 */
/* loaded from: classes4.dex */
public class AnonymousClass4 extends wRi.LWm<rzT> {
private C4248bUf d;
public AnonymousClass4(C4248bUf c4248bUf) {
this.d = c4248bUf;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
tDs tds;
tDs tds2;
ZIS zis;
rzT rzt = (rzT) obj;
C17582xw c17582xw = this.d.i;
C14957gcv.e(rzt, "");
QK.LWm e = QK.e();
e.g = c17582xw.e(C15715hv.tOB.mw_edit_qr_pay_to_my_shop);
List<tDs> list = rzt.l;
String str = null;
e.h = (list == null || (tds2 = (tDs) C14881gav.e((List) list)) == null || (zis = tds2.e) == null) ? null : zis.n;
List<tDs> list2 = rzt.l;
if (list2 != null && (tds = (tDs) C14881gav.e((List) list2)) != null) {
str = tds.b;
}
e.a = str;
QK qk = new QK(e, (byte) 0);
C14957gcv.c(qk, "");
C0947Sa c0947Sa = new C0947Sa(qk);
C4248bUf c4248bUf = this.d;
ZI.IeS ieS = new ZI.IeS(c0947Sa) { // from class: o.bUk
private C0947Sa a;
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9403djA) obj2).b(this.a);
}
{
this.a = c0947Sa;
}
};
if (c4248bUf.f != 0) {
ieS.e(c4248bUf.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C4248bUf.a(this.d, th);
}
}
/* renamed from: o.bUf$2 */
/* loaded from: classes4.dex */
public class AnonymousClass2 extends wRi.LWm<C0646LgD> {
private C4248bUf e;
public AnonymousClass2(C4248bUf c4248bUf) {
this.e = c4248bUf;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
C4248bUf.b(this.e);
C4248bUf c4248bUf = this.e;
ZI.IeS ieS = new ZI.IeS((C0646LgD) obj) { // from class: o.bUh
private C0646LgD d;
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9403djA) obj2).d(this.d.a);
}
{
this.d = r1;
}
};
if (c4248bUf.f != 0) {
ieS.e(c4248bUf.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C4248bUf.e(this.e, th);
}
}
public static /* synthetic */ void a(InterfaceC9403djA interfaceC9403djA) {
interfaceC9403djA.c();
interfaceC9403djA.b(true);
}
public static /* synthetic */ void e(C4248bUf c4248bUf, String str, String str2, InterfaceC9403djA interfaceC9403djA) {
interfaceC9403djA.b(true);
interfaceC9403djA.b(str, str2, c4248bUf.d, c4248bUf.b);
}
static /* synthetic */ void a(C4248bUf c4248bUf, Throwable th) {
if (c4248bUf.b(th)) {
c4248bUf.d(c4248bUf.j.e(th));
}
}
static /* synthetic */ void b(C4248bUf c4248bUf) {
if (c4248bUf.f != 0) {
c4248bUf.f.ar_();
}
}
static /* synthetic */ void e(C4248bUf c4248bUf, Throwable th) {
if (c4248bUf.b(th)) {
c4248bUf.d(c4248bUf.j.e(th));
}
}
public final void d(double d) {
this.h = d >= this.d && d <= this.b;
C4245bUc c4245bUc = new C4245bUc(this);
if (this.f != 0) {
c4245bUc.e(this.f);
}
}
}