155 lines
4.4 KiB
Java
155 lines
4.4 KiB
Java
package o;
|
|
|
|
import o.C0690Mh;
|
|
import o.C15715hv;
|
|
import o.InterfaceC6673cZp;
|
|
import o.ZI;
|
|
import o.wRi;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class cJP extends ZI<InterfaceC6673cZp.HBt> {
|
|
public WM a;
|
|
public final C16124lSp b;
|
|
public WG c;
|
|
public final Ydl d;
|
|
public String e;
|
|
private final CN i;
|
|
|
|
@InterfaceC13391fZD
|
|
public cJP(Ydl ydl, C16124lSp c16124lSp, CN cn, C16903sI c16903sI) {
|
|
super(c16903sI);
|
|
this.d = ydl;
|
|
this.i = cn;
|
|
this.b = c16124lSp;
|
|
}
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class HBt extends wRi.LWm<HNz> {
|
|
private cJP c;
|
|
|
|
private HBt(cJP cjp) {
|
|
this.c = cjp;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
HNz hNz = (HNz) obj;
|
|
CN cn = this.c.i;
|
|
final WH d = WH.d();
|
|
d.d = hNz.a;
|
|
d.c = String.format(cn.e(C15715hv.tOB.gift_remaining_limit), (String) C6583cXR.c(new Object[]{Double.valueOf(hNz.l.doubleValue())}, -150997759, 150997764, (int) System.currentTimeMillis()));
|
|
if (this.c.f != 0) {
|
|
if (d.d != null) {
|
|
cJP cjp = this.c;
|
|
ZI.IeS ieS = new ZI.IeS(d) { // from class: o.cJT
|
|
private WH d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((InterfaceC6673cZp.HBt) obj2).d(this.d.c);
|
|
}
|
|
|
|
{
|
|
this.d = d;
|
|
}
|
|
};
|
|
if (cjp.f != 0) {
|
|
ieS.e(cjp.f);
|
|
}
|
|
} else {
|
|
cJP cjp2 = this.c;
|
|
cJX cjx = new cJX();
|
|
if (cjp2.f != 0) {
|
|
cjx.e(cjp2.f);
|
|
}
|
|
}
|
|
cJP cjp3 = this.c;
|
|
C6150cKa c6150cKa = new C6150cKa();
|
|
if (cjp3.f != 0) {
|
|
c6150cKa.e(cjp3.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
if (this.c.f != 0) {
|
|
cJP cjp = this.c;
|
|
cJX cjx = new cJX();
|
|
if (cjp.f != 0) {
|
|
cjx.e(cjp.f);
|
|
}
|
|
cJP cjp2 = this.c;
|
|
C6150cKa c6150cKa = new C6150cKa();
|
|
if (cjp2.f != 0) {
|
|
c6150cKa.e(cjp2.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
public /* synthetic */ HBt(cJP cjp, byte b) {
|
|
this(cjp);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class IeS extends wRi.LWm<C0324EaB> {
|
|
private String a;
|
|
private WM b;
|
|
private String c;
|
|
private WG d;
|
|
private String e;
|
|
private cJP h;
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
final C1189Xo e = this.h.i.e((C0324EaB) obj, this.b, this.c, this.d, this.a, this.e, this.h.b.a.T());
|
|
cJP.e(this.h);
|
|
if (this.h.f != 0) {
|
|
cJP cjp = this.h;
|
|
ZI.IeS ieS = new ZI.IeS(e) { // from class: o.cKb
|
|
private C1189Xo b;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((InterfaceC6673cZp.HBt) obj2).b(this.b);
|
|
}
|
|
|
|
{
|
|
this.b = e;
|
|
}
|
|
};
|
|
if (cjp.f != 0) {
|
|
ieS.e(cjp.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
public IeS(cJP cjp, WM wm, String str, WG wg, String str2, String str3) {
|
|
this.h = cjp;
|
|
this.b = wm;
|
|
this.c = str;
|
|
this.d = wg;
|
|
this.a = str2;
|
|
this.e = str3;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
cJP.e(this.h, th, C0690Mh.IeS.JUST_DISMISS);
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void e(cJP cjp, Throwable th, C0690Mh.IeS ieS) {
|
|
if (cjp.b(th)) {
|
|
cjp.d(cjp.j.d(th, ieS));
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void e(cJP cjp) {
|
|
if (cjp.f != 0) {
|
|
cjp.f.ar_();
|
|
}
|
|
}
|
|
}
|