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

176 lines
5.0 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.List;
import o.C7260ckt;
import o.InterfaceC9010dbe;
import o.ZI;
import o.wRi;
/* renamed from: o.ckt, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C7260ckt extends ZI<InterfaceC9010dbe.cSf> {
public final CvN a;
private TU c;
private final C17626yT d;
public final pan e;
@Override // o.ZI
public final /* synthetic */ void e(InterfaceC9010dbe.cSf csf) {
super.e((C7260ckt) csf);
C7266ckz c7266ckz = new C7266ckz();
if (this.f != 0) {
c7266ckz.e(this.f);
}
}
@InterfaceC13391fZD
public C7260ckt(CvN cvN, pan panVar, C17626yT c17626yT, C16903sI c16903sI) {
super(c16903sI);
this.a = cvN;
this.e = panVar;
this.d = c17626yT;
}
/* renamed from: e, reason: avoid collision after fix types in other method */
public final void e2(InterfaceC9010dbe.cSf csf) {
super.e((C7260ckt) csf);
C7266ckz c7266ckz = new C7266ckz();
if (this.f != 0) {
c7266ckz.e(this.f);
}
}
public final void d(long j, EnumC15824isw enumC15824isw) {
C6274cO d = C6274cO.d();
d.d = enumC15824isw.toString();
d.b = AyW.SHORTCUT.toString();
d.e = j;
if (this.f != 0) {
this.f.y();
}
this.a.a(d);
CvN cvN = this.a;
cvN.d(cvN.i, new IeS(this, j));
}
/* renamed from: o.ckt$LWm */
/* loaded from: classes4.dex */
public final class LWm extends wRi.LWm<List<C1019Twi>> {
private C7260ckt e;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
}
private LWm(C7260ckt c7260ckt) {
this.e = c7260ckt;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
List<C1019Twi> list = (List) obj;
C7260ckt c7260ckt = this.e;
C17626yT c17626yT = c7260ckt.d;
TU b = TU.b();
if (list != null && !list.isEmpty()) {
b.c = c17626yT.a(list, "BILLPAYMENT");
b.d = c17626yT.a(list, "TRANSFER");
b.a = c17626yT.a(list, "TOPUP");
b.b = c17626yT.a(list, "REMITTANCE");
}
c7260ckt.c = b;
C7260ckt c7260ckt2 = this.e;
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.ckx
private C7260ckt.LWm a;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C7260ckt.LWm.d(this.a, (InterfaceC9010dbe.cSf) obj2);
}
{
this.a = this;
}
};
if (c7260ckt2.f != 0) {
ieS.e(c7260ckt2.f);
}
}
public static /* synthetic */ void d(LWm lWm, InterfaceC9010dbe.cSf csf) {
csf.d(lWm.e.c.d);
csf.a(lWm.e.c.c);
csf.b(lWm.e.c.a);
if (C7260ckt.e(lWm.e)) {
csf.c(lWm.e.c.b);
}
}
public /* synthetic */ LWm(C7260ckt c7260ckt, byte b) {
this(c7260ckt);
}
}
/* renamed from: o.ckt$IeS */
/* loaded from: classes4.dex */
public final class IeS extends wRi.LWm<Boolean> {
private C7260ckt a;
private long e;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
if (Boolean.TRUE.equals((Boolean) obj)) {
C7260ckt c7260ckt = this.a;
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.ckA
private C7260ckt.IeS d;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C7260ckt.IeS ieS2 = this.d;
((InterfaceC9010dbe.cSf) obj2).d(r4.e == 0 ? "com.scb.phone/BROADCAST_ADD_TILE_TO_ROOT" : "com.scb.phone/BROADCAST_ADD_TILE_TO_CHILD");
}
{
this.d = this;
}
};
if (c7260ckt.f != 0) {
ieS.e(c7260ckt.f);
}
}
}
public IeS(C7260ckt c7260ckt, long j) {
this.a = c7260ckt;
this.e = j;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C7260ckt.d(this.a, th);
}
}
static /* synthetic */ boolean e(C7260ckt c7260ckt) {
return gHK.INDIVIDUAL.equals(c7260ckt.e.d());
}
static /* synthetic */ void d(C7260ckt c7260ckt, Throwable th) {
if (c7260ckt.b(th)) {
c7260ckt.d(c7260ckt.j.e(th));
}
}
@Override // o.ZI
public final void w_() {
if (this.f != 0) {
this.f.ar_();
}
super.w_();
}
}