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

182 lines
5.3 KiB
Java

package o;
import java.util.Arrays;
import java.util.List;
import o.AbstractC1958aTW;
/* renamed from: o.jSA, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public class C15892jSA extends wRi {
public final InterfaceC15762iQt a;
public final Rfe b;
public final vLK c;
private final InterfaceC3521azC d;
private final VwS e;
private final Xky g;
private PUI j;
@InterfaceC13391fZD
public C15892jSA(yRw yrw, yRw yrw2, VwS vwS, InterfaceC3521azC interfaceC3521azC, Xky xky, vLK vlk, InterfaceC15762iQt interfaceC15762iQt, Rfe rfe) {
super(yrw, yrw2);
this.e = vwS;
this.d = interfaceC3521azC;
this.g = xky;
this.c = vlk;
this.a = interfaceC15762iQt;
this.b = rfe;
}
public final AbstractC13163fSk<PUI> e(final String str, String str2) {
return this.e.c(str, str2, false).flatMap(new fSS(this, str) { // from class: o.ChY
private String b;
private C15892jSA d;
@Override // o.fSS
public final Object a(Object obj) {
return C15892jSA.a(this.d, this.b, (hqm) obj);
}
{
this.d = this;
this.b = str;
}
}).map(new fSS(this) { // from class: o.Uun
private C15892jSA b;
@Override // o.fSS
public final Object a(Object obj) {
return C15892jSA.c(this.b, (C13396fZU) obj);
}
{
this.b = this;
}
}).flatMap(new fSS(this, str) { // from class: o.WZE
private C15892jSA d;
private String e;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC13169fSq a;
a = this.d.e.a(this.e, ((PUI) obj).L);
return a;
}
{
this.d = this;
this.e = str;
}
}).flatMap(new fSS(this) { // from class: o.tnI
private C15892jSA d;
@Override // o.fSS
public final Object a(Object obj) {
return C15892jSA.e(this.d);
}
{
this.d = this;
}
}).flatMap(new fSS(this) { // from class: o.Ivr
private C15892jSA d;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC13169fSq just;
just = AbstractC13163fSk.just(this.d.j);
return just;
}
{
this.d = this;
}
});
}
public static /* synthetic */ InterfaceC13169fSq e(C15892jSA c15892jSA) {
PUI pui = c15892jSA.j;
if (pui != null && gjJ.b((CharSequence) pui.c)) {
fSD g = c15892jSA.e.g();
if (g instanceof InterfaceC13204fTr) {
return ((InterfaceC13204fTr) g).b();
}
return new C13377fYp(g);
}
return new C13377fYp(c15892jSA.e.y());
}
/* JADX WARN: Multi-variable type inference failed */
public static /* synthetic */ PUI c(C15892jSA c15892jSA, C13396fZU c13396fZU) {
String str;
String str2;
String str3;
String str4;
hqm hqmVar = (hqm) c13396fZU.d;
C8064dAG c8064dAG = (C8064dAG) c13396fZU.e;
PUI pui = new PUI();
pui.c = hqmVar.a;
pui.D = hqmVar.x;
pui.I = hqmVar.C;
String str5 = hqmVar.m;
if (str5 == null) {
str = "";
} else {
str = str5.toLowerCase();
}
pui.q = str;
pui.K = hqmVar.B;
pui.x = hqmVar.f9164o;
pui.v = hqmVar.q;
pui.p = hqmVar.f9164o;
pui.J = hqmVar.A;
pui.y = hqmVar.n;
pui.u = hqmVar.t;
pui.s = hqmVar.n;
pui.f = hqmVar.e;
pui.G = hqmVar.v;
pui.l = hqmVar.g;
pui.C = hqmVar.w;
pui.A = hqmVar.u;
if (hqmVar.p == null) {
str2 = "";
} else {
str2 = hqmVar.p;
}
pui.r = str2;
if (hqmVar.r == null) {
str3 = "";
} else {
str3 = hqmVar.r;
}
pui.t = str3;
pui.z = hqmVar.s;
pui.E = hqmVar.k;
if (hqmVar.D != null && !hqmVar.D.equals("")) {
str4 = hqmVar.D;
} else {
str4 = gHK.INDIVIDUAL.mode;
}
pui.L = str4;
if (c8064dAG != null) {
pui.d = c8064dAG.m;
pui.e = c8064dAG.n;
pui.a = c8064dAG.w;
pui.H = c8064dAG.A;
pui.b = c8064dAG.d;
pui.k = c8064dAG.r;
}
c15892jSA.g.c(hqmVar.x);
c15892jSA.j = pui;
return pui;
}
public static /* synthetic */ InterfaceC13169fSq a(C15892jSA c15892jSA, String str, hqm hqmVar) {
AbstractC1958aTW abstractC1958aTW = hqmVar.v;
List asList = Arrays.asList(AbstractC1958aTW.Sts.b.a, AbstractC1958aTW.NHB.d.a);
if (abstractC1958aTW != null && asList.contains(abstractC1958aTW.a)) {
return AbstractC13163fSk.just(new C13396fZU(hqmVar, c15892jSA.d.b().blockingFirst()));
}
return AbstractC13163fSk.just(new C13396fZU(hqmVar, c15892jSA.d.e(str).blockingFirst()));
}
}