149 lines
5.4 KiB
Java
149 lines
5.4 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.res.Resources;
|
||
|
import com.scb.phone.domain.errors.RetrofitException;
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.Collection;
|
||
|
import java.util.List;
|
||
|
import o.C15715hv;
|
||
|
import o.C5932cDl;
|
||
|
import o.InterfaceC9571dmJ;
|
||
|
import o.ZI;
|
||
|
|
||
|
/* renamed from: o.cDl */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public final class C5932cDl extends ZI<InterfaceC9571dmJ.HBt> {
|
||
|
public final Resources a;
|
||
|
private final C0231Bx c;
|
||
|
public final C16065kq d;
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
@InterfaceC13391fZD
|
||
|
public C5932cDl(C16903sI c16903sI, Resources resources, C16065kq c16065kq, C0231Bx c0231Bx) {
|
||
|
super(c16903sI);
|
||
|
C14957gcv.e(c16903sI, "");
|
||
|
C14957gcv.e(resources, "");
|
||
|
C14957gcv.e(c16065kq, "");
|
||
|
C14957gcv.e(c0231Bx, "");
|
||
|
this.a = resources;
|
||
|
this.d = c16065kq;
|
||
|
this.c = c0231Bx;
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.cDl$IeS */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<uFF, C14866gag> {
|
||
|
private C5932cDl d;
|
||
|
|
||
|
@Override // o.InterfaceC14894gbR
|
||
|
public final /* synthetic */ C14866gag invoke(uFF uff) {
|
||
|
uFF uff2 = uff;
|
||
|
C14957gcv.e(uff2, "");
|
||
|
C5932cDl.d(this.d);
|
||
|
C5932cDl c5932cDl = this.d;
|
||
|
ZI.IeS ieS = new ZI.IeS(c5932cDl, uff2) { // from class: o.cDr
|
||
|
private uFF c;
|
||
|
private C5932cDl e;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
C5932cDl.IeS.a(this.e, this.c, (InterfaceC9571dmJ.HBt) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = c5932cDl;
|
||
|
this.c = uff2;
|
||
|
}
|
||
|
};
|
||
|
if (c5932cDl.f != 0) {
|
||
|
ieS.e(c5932cDl.f);
|
||
|
}
|
||
|
return C14866gag.c;
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void a(C5932cDl c5932cDl, uFF uff, InterfaceC9571dmJ.HBt hBt) {
|
||
|
C14957gcv.e(c5932cDl, "");
|
||
|
C14957gcv.e(uff, "");
|
||
|
C0231Bx unused = c5932cDl.c;
|
||
|
C14957gcv.e(uff, "");
|
||
|
List<Nuf> list = uff.e;
|
||
|
C14957gcv.e(list, "");
|
||
|
ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10);
|
||
|
for (Nuf nuf : list) {
|
||
|
arrayList.add(new C0520Io(nuf.c, nuf.b));
|
||
|
}
|
||
|
ArrayList arrayList2 = arrayList;
|
||
|
if (!arrayList2.isEmpty()) {
|
||
|
String string = c5932cDl.a.getString(C15715hv.tOB.remittance_search_receiving_bank_title);
|
||
|
String string2 = c5932cDl.a.getString(C15715hv.tOB.remittance_search_receiving_bank_hint);
|
||
|
C14957gcv.c((Object) string2, "");
|
||
|
String string3 = c5932cDl.a.getString(C15715hv.tOB.remittance_search_receiving_bank_error);
|
||
|
C14957gcv.c((Object) string3, "");
|
||
|
C14957gcv.e(arrayList2, "");
|
||
|
hBt.e(new C0511Ih(string, string2, string3, new ArrayList(arrayList2)));
|
||
|
return;
|
||
|
}
|
||
|
String string4 = c5932cDl.a.getString(C15715hv.tOB.error_generic_resource);
|
||
|
C14957gcv.c((Object) string4, "");
|
||
|
C5932cDl.c(c5932cDl, string4);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
public IeS(C5932cDl c5932cDl) {
|
||
|
super(1);
|
||
|
this.d = c5932cDl;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.cDl$LWm */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
|
||
|
private C5932cDl b;
|
||
|
|
||
|
@Override // o.InterfaceC14894gbR
|
||
|
public final /* synthetic */ C14866gag invoke(Throwable th) {
|
||
|
String string;
|
||
|
Throwable th2 = th;
|
||
|
C14957gcv.e(th2, "");
|
||
|
C5932cDl.d(this.b);
|
||
|
if (!(th2 instanceof RetrofitException)) {
|
||
|
string = this.b.a.getString(C15715hv.tOB.error_generic_resource);
|
||
|
} else {
|
||
|
string = ((RetrofitException) th2).e.c.c;
|
||
|
}
|
||
|
C5932cDl c5932cDl = this.b;
|
||
|
C14957gcv.c((Object) string, "");
|
||
|
C5932cDl.c(c5932cDl, string);
|
||
|
return C14866gag.c;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
public LWm(C5932cDl c5932cDl) {
|
||
|
super(1);
|
||
|
this.b = c5932cDl;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void c(C5932cDl c5932cDl, String str, InterfaceC9571dmJ.HBt hBt) {
|
||
|
C14957gcv.e(c5932cDl, "");
|
||
|
C14957gcv.e(str, "");
|
||
|
String string = c5932cDl.a.getString(C15715hv.tOB.remittance_search_receiving_bank_title);
|
||
|
String string2 = c5932cDl.a.getString(C15715hv.tOB.remittance_search_receiving_bank_hint);
|
||
|
C14957gcv.c((Object) string2, "");
|
||
|
hBt.e(new C0511Ih(string, string2, str, new ArrayList()));
|
||
|
}
|
||
|
|
||
|
public static final /* synthetic */ void d(C5932cDl c5932cDl) {
|
||
|
if (c5932cDl.f != 0) {
|
||
|
c5932cDl.f.ar_();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static final /* synthetic */ void c(C5932cDl c5932cDl, String str) {
|
||
|
C5937cDq c5937cDq = new C5937cDq(c5932cDl, str);
|
||
|
if (c5932cDl.f != 0) {
|
||
|
c5937cDq.e(c5932cDl.f);
|
||
|
}
|
||
|
}
|
||
|
}
|