237 lines
6.8 KiB
Java
237 lines
6.8 KiB
Java
package o;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.Calendar;
|
|
import java.util.List;
|
|
import o.C0690Mh;
|
|
import o.C2883amx;
|
|
import o.InterfaceC8999dbT;
|
|
import o.ZI;
|
|
import o.wRi;
|
|
|
|
/* renamed from: o.amx, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C2883amx extends ZI<InterfaceC8999dbT.RVV> {
|
|
public C0443Gr a;
|
|
public final C16375no b;
|
|
public String c;
|
|
public final xZj d;
|
|
public String e;
|
|
public boolean g;
|
|
private String h;
|
|
private final C16340nc i;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C2883amx(C16903sI c16903sI, xZj xzj, C16340nc c16340nc, C16375no c16375no) {
|
|
super(c16903sI);
|
|
C14957gcv.e(xzj, "");
|
|
C14957gcv.e(c16340nc, "");
|
|
C14957gcv.e(c16375no, "");
|
|
this.d = xzj;
|
|
this.i = c16340nc;
|
|
this.b = c16375no;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* renamed from: o.amx$LWm */
|
|
/* loaded from: classes3.dex */
|
|
public final class LWm extends wRi.LWm<rxb> {
|
|
private C2883amx e;
|
|
|
|
public LWm(C2883amx c2883amx) {
|
|
this.e = c2883amx;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
final rxb rxbVar = (rxb) obj;
|
|
C14957gcv.e(rxbVar, "");
|
|
C2883amx c2883amx = this.e;
|
|
ZI.IeS ieS = new ZI.IeS(rxbVar) { // from class: o.amD
|
|
private rxb a;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
C2883amx.LWm.d(this.a, (InterfaceC8999dbT.RVV) obj2);
|
|
}
|
|
|
|
{
|
|
this.a = rxbVar;
|
|
}
|
|
};
|
|
if (c2883amx.f != 0) {
|
|
ieS.e(c2883amx.f);
|
|
}
|
|
if (rxbVar.d) {
|
|
C2883amx c2883amx2 = this.e;
|
|
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.amC
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((InterfaceC8999dbT.RVV) obj2).d();
|
|
}
|
|
};
|
|
if (c2883amx2.f != 0) {
|
|
ieS2.e(c2883amx2.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onComplete() {
|
|
C2883amx.c(this.e);
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
C14957gcv.e(th, "");
|
|
if (this.e.i(th)) {
|
|
return;
|
|
}
|
|
C2883amx.c(this.e);
|
|
C2883amx c2883amx = this.e;
|
|
c2883amx.d(c2883amx.j.d(th, C0690Mh.IeS.NAVIGATE_BACK));
|
|
}
|
|
|
|
public static /* synthetic */ void d(rxb rxbVar, InterfaceC8999dbT.RVV rvv) {
|
|
C14957gcv.e(rxbVar, "");
|
|
if (rxbVar.b != null && C14957gcv.b((Object) rxbVar.b, (Object) "VIRTUAL")) {
|
|
rvv.e();
|
|
} else {
|
|
rvv.b();
|
|
}
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.amx$Sts */
|
|
/* loaded from: classes3.dex */
|
|
public final class Sts extends wRi.LWm<RjZ> {
|
|
private C2883amx b;
|
|
|
|
public Sts(C2883amx c2883amx) {
|
|
this.b = c2883amx;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
RjZ rjZ = (RjZ) obj;
|
|
C14957gcv.e(rjZ, "");
|
|
C2883amx c2883amx = this.b;
|
|
c2883amx.h = (rjZ.c == null || rjZ.c.isEmpty()) ? null : c2883amx.i.b_(rjZ.c.get(0).b);
|
|
C2883amx c2883amx2 = this.b;
|
|
String str = c2883amx2.h;
|
|
c2883amx2.h = (str == null || str.length() != 0) ? this.b.h : null;
|
|
final C2883amx c2883amx3 = this.b;
|
|
ZI.IeS ieS = new ZI.IeS(c2883amx3) { // from class: o.amA
|
|
private C2883amx d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
C2883amx.Sts.b(this.d, (InterfaceC8999dbT.RVV) obj2);
|
|
}
|
|
|
|
{
|
|
this.d = c2883amx3;
|
|
}
|
|
};
|
|
if (c2883amx3.f != 0) {
|
|
ieS.e(c2883amx3.f);
|
|
}
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
C14957gcv.e(th, "");
|
|
if (this.b.i(th)) {
|
|
return;
|
|
}
|
|
C2883amx c2883amx = this.b;
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.amB
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC8999dbT.RVV) obj).b((String) null);
|
|
}
|
|
};
|
|
if (c2883amx.f != 0) {
|
|
ieS.e(c2883amx.f);
|
|
}
|
|
C2883amx.c(this.b);
|
|
this.b.b();
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onComplete() {
|
|
C2883amx.c(this.b);
|
|
this.b.b();
|
|
}
|
|
|
|
public static /* synthetic */ void b(C2883amx c2883amx, InterfaceC8999dbT.RVV rvv) {
|
|
C14957gcv.e(c2883amx, "");
|
|
rvv.b(c2883amx.h);
|
|
}
|
|
}
|
|
|
|
public static List<String> d() {
|
|
int i = Calendar.getInstance().get(1);
|
|
ArrayList arrayList = new ArrayList(15);
|
|
arrayList.add("YYYY");
|
|
String valueOf = String.valueOf(i);
|
|
for (int i2 = 0; i2 < 15; i2++) {
|
|
arrayList.add(valueOf);
|
|
i++;
|
|
valueOf = String.valueOf(i);
|
|
}
|
|
return arrayList;
|
|
}
|
|
|
|
/* renamed from: o.amx$RVV */
|
|
/* loaded from: classes3.dex */
|
|
public static final class RVV {
|
|
private RVV() {
|
|
}
|
|
|
|
public /* synthetic */ RVV(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void d(C0439Gp c0439Gp, InterfaceC8999dbT.RVV rvv) {
|
|
C14957gcv.c(c0439Gp, "");
|
|
rvv.b(c0439Gp);
|
|
}
|
|
|
|
public static /* synthetic */ void d(C2883amx c2883amx, InterfaceC8999dbT.RVV rvv) {
|
|
C14957gcv.e(c2883amx, "");
|
|
if (c2883amx.g) {
|
|
rvv.c();
|
|
} else {
|
|
rvv.a();
|
|
}
|
|
}
|
|
|
|
public static final /* synthetic */ void c(C2883amx c2883amx) {
|
|
if (c2883amx.f != 0) {
|
|
c2883amx.f.ar_();
|
|
}
|
|
}
|
|
|
|
public final void b() {
|
|
if (this.f != 0) {
|
|
this.f.y();
|
|
}
|
|
xZj xzj = this.d;
|
|
C0443Gr c0443Gr = this.a;
|
|
String str = c0443Gr != null ? c0443Gr.c : null;
|
|
if (str == null) {
|
|
str = "";
|
|
}
|
|
xzj.a(new Xor(str));
|
|
xZj xzj2 = this.d;
|
|
xzj2.d(xzj2.i, new LWm(this));
|
|
}
|
|
|
|
static {
|
|
new RVV((byte) 0);
|
|
}
|
|
}
|