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

79 lines
2.7 KiB
Java

package o;
import com.scb.phone.data.entity.transfer.SingleDataEntity;
import com.scb.phone.data.network.service.privacymanagement.PrivacyManagementService;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
/* loaded from: classes3.dex */
public final class PhO implements InterfaceC1056UqS {
private final PrivacyManagementService a;
final C17562xoD b;
private final String c;
@InterfaceC13391fZD
public PhO(String str, PrivacyManagementService privacyManagementService, C17562xoD c17562xoD) {
C14957gcv.e(str, "");
C14957gcv.e(privacyManagementService, "");
C14957gcv.e(c17562xoD, "");
this.c = str;
this.a = privacyManagementService;
this.b = c17562xoD;
}
/* loaded from: classes3.dex */
static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<eGZ>, List<? extends yge>> {
private PhO b;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ List<? extends yge> invoke(SingleDataEntity<eGZ> singleDataEntity) {
C17562xoD c17562xoD = this.b.b;
eGZ data = singleDataEntity.getData();
C14957gcv.c(data, "");
eGZ egz = data;
C14957gcv.e(egz, "");
List<C5346brM> list = egz.c;
C14957gcv.e(list, "");
ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10);
for (C5346brM c5346brM : list) {
C14957gcv.e(c5346brM, "");
int i = c5346brM.e;
String str = c5346brM.a;
String str2 = c5346brM.d;
YNI yni = c5346brM.b;
arrayList.add(new yge(i, str, str2, yni == null ? null : new LpH(yni.a)));
}
return arrayList;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(PhO phO) {
super(1);
this.b = phO;
}
}
@Override // o.InterfaceC1056UqS
public final AbstractC13175fSw<List<yge>> c() {
AbstractC13175fSw<SingleDataEntity<eGZ>> privacyList = this.a.getPrivacyList(this.c);
final IeS ieS = new IeS(this);
C13372fYk c13372fYk = new C13372fYk(privacyList, new fSS(ieS) { // from class: o.oSJ
private InterfaceC14894gbR c;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.c;
C14957gcv.e(interfaceC14894gbR, "");
return (List) interfaceC14894gbR.invoke(obj);
}
{
this.c = ieS;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
}