137 lines
3.8 KiB
Java
137 lines
3.8 KiB
Java
package o;
|
|
|
|
import java.util.ArrayList;
|
|
import o.C15715hv;
|
|
import o.InterfaceC6673cZp;
|
|
import o.ZI;
|
|
import o.cJG;
|
|
import o.wRi;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class cJG extends ZI<InterfaceC6673cZp.ZqN> {
|
|
private final CU a;
|
|
public final C16124lSp b;
|
|
private final CP d;
|
|
|
|
@InterfaceC13391fZD
|
|
public cJG(C16124lSp c16124lSp, CP cp, C16903sI c16903sI, CU cu) {
|
|
super(c16903sI);
|
|
this.b = c16124lSp;
|
|
this.d = cp;
|
|
this.a = cu;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* loaded from: classes4.dex */
|
|
public class LWm extends wRi.LWm<C8609dQh> {
|
|
private cJG e;
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onComplete() {
|
|
}
|
|
|
|
private LWm(cJG cjg) {
|
|
this.e = cjg;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
final C8609dQh c8609dQh = (C8609dQh) obj;
|
|
cJG.e(this.e);
|
|
cJG cjg = this.e;
|
|
ZI.IeS ieS = new ZI.IeS(this, c8609dQh) { // from class: o.cJK
|
|
private cJG.LWm d;
|
|
private C8609dQh e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((InterfaceC6673cZp.ZqN) obj2).b(r0.e.d.c(r1.b, "money"), this.d.e.d.c(this.e.a, "present"));
|
|
}
|
|
|
|
{
|
|
this.d = this;
|
|
this.e = c8609dQh;
|
|
}
|
|
};
|
|
if (cjg.f != 0) {
|
|
ieS.e(cjg.f);
|
|
}
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
cJG.d(this.e, th, new Runnable(this) { // from class: o.cJM
|
|
private cJG.LWm a;
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
cJG.LWm.a(this.a);
|
|
}
|
|
|
|
{
|
|
this.a = this;
|
|
}
|
|
});
|
|
}
|
|
|
|
public static /* synthetic */ void a(LWm lWm) {
|
|
cJG cjg = lWm.e;
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.cJD
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC6673cZp.ZqN) obj).b();
|
|
}
|
|
};
|
|
if (cjg.f != 0) {
|
|
ieS.e(cjg.f);
|
|
}
|
|
}
|
|
|
|
/* synthetic */ LWm(cJG cjg, byte b) {
|
|
this(cjg);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void b(cJG cjg, InterfaceC6673cZp.ZqN zqN) {
|
|
CU cu = cjg.a;
|
|
ArrayList arrayList = new ArrayList();
|
|
WT d = WT.d();
|
|
d.d = cu.e(C15715hv.tOB.gift_tutorial_header_step_1);
|
|
d.b = cu.e(C15715hv.tOB.gift_tutorial_message_step_1);
|
|
d.a = C15715hv.IeS.gift_tutorial_one;
|
|
arrayList.add(d);
|
|
WT d2 = WT.d();
|
|
d2.d = cu.e(C15715hv.tOB.gift_tutorial_header_step_2);
|
|
d2.b = cu.e(C15715hv.tOB.gift_tutorial_message_step_2);
|
|
d2.a = C15715hv.IeS.gift_tutorial_two;
|
|
arrayList.add(d2);
|
|
WT d3 = WT.d();
|
|
d3.d = cu.e(C15715hv.tOB.gift_tutorial_header_step_3);
|
|
d3.b = cu.e(C15715hv.tOB.gift_tutorial_message_step_3);
|
|
d3.a = C15715hv.IeS.gift_tutorial_three;
|
|
arrayList.add(d3);
|
|
zqN.b(arrayList);
|
|
}
|
|
|
|
static /* synthetic */ void d(cJG cjg, Throwable th, Runnable runnable) {
|
|
if (cjg.b(th)) {
|
|
cjg.d(cjg.j.c(th, runnable));
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void e(cJG cjg) {
|
|
if (cjg.f != 0) {
|
|
cjg.f.ar_();
|
|
}
|
|
}
|
|
|
|
public final void c() {
|
|
if (this.f != 0) {
|
|
this.f.y();
|
|
}
|
|
this.b.c();
|
|
C16124lSp c16124lSp = this.b;
|
|
c16124lSp.d(c16124lSp.i, new LWm(this, (byte) 0));
|
|
}
|
|
}
|