package o; import com.scb.phone.data.entity.transfer.SingleDataEntity; import o.DiG; import o.lvU; import org.threeten.bp.OffsetDateTime; /* loaded from: classes3.dex */ public final class osz implements oTz { final C15479grg a; final C12255euk b; final SHI c; final kdd d; final QXD e; private final fHE f; private final String h; @InterfaceC13391fZD public osz(fHE fhe, kdd kddVar, SHI shi, C12255euk c12255euk, QXD qxd, C15479grg c15479grg, String str) { C14957gcv.e(fhe, ""); C14957gcv.e(kddVar, ""); C14957gcv.e(shi, ""); C14957gcv.e(c12255euk, ""); C14957gcv.e(qxd, ""); C14957gcv.e(c15479grg, ""); C14957gcv.e(str, ""); this.f = fhe; this.d = kddVar; this.c = shi; this.b = c12255euk; this.e = qxd; this.a = c15479grg; this.h = str; } /* loaded from: classes3.dex */ static final class ZqN extends AbstractC14961gcz implements InterfaceC14894gbR> { private osz c; @Override // o.InterfaceC14894gbR public final /* synthetic */ InterfaceC13169fSq invoke(ilm ilmVar) { return AbstractC13163fSk.just(this.c.d.d(ilmVar)); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ ZqN(osz oszVar) { super(1); this.c = oszVar; } } /* loaded from: classes3.dex */ static final class saX extends AbstractC14961gcz implements InterfaceC14894gbR, ilm> { public static final saX d = new saX(); @Override // o.InterfaceC14894gbR public final /* synthetic */ ilm invoke(SingleDataEntity singleDataEntity) { return singleDataEntity.getData(); } saX() { super(1); } } @Override // o.oTz public final AbstractC13163fSk b() { AbstractC13163fSk> dataGroups = this.f.c.dataGroups(); final saX sax = saX.d; AbstractC13163fSk map = dataGroups.map(new fSS(sax) { // from class: o.wYw private InterfaceC14894gbR d; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.d; C14957gcv.e(interfaceC14894gbR, ""); return (ilm) interfaceC14894gbR.invoke(obj); } { this.d = sax; } }); final ZqN zqN = new ZqN(this); AbstractC13163fSk flatMap = map.flatMap(new fSS(zqN) { // from class: o.aRV private InterfaceC14894gbR c; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.c; C14957gcv.e(interfaceC14894gbR, ""); return (InterfaceC13169fSq) interfaceC14894gbR.invoke(obj); } { this.c = zqN; } }); C14957gcv.c(flatMap, ""); return flatMap; } /* loaded from: classes3.dex */ static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR, Rrn> { public static final HBt a = new HBt(); @Override // o.InterfaceC14894gbR public final /* synthetic */ Rrn invoke(SingleDataEntity singleDataEntity) { return singleDataEntity.getData(); } HBt() { super(1); } } /* loaded from: classes3.dex */ static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR { private osz b; @Override // o.InterfaceC14894gbR public final /* synthetic */ ndy invoke(Rrn rrn) { C15479grg c15479grg = this.b.a; return C15479grg.a(rrn); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ IeS(osz oszVar) { super(1); this.b = oszVar; } } @Override // o.oTz public final AbstractC13163fSk a(hpl hplVar) { C14957gcv.e(hplVar, ""); fHE fhe = this.f; C14957gcv.e(hplVar, ""); AbstractC13163fSk> createGroup = fhe.c.createGroup(hplVar); final HBt hBt = HBt.a; AbstractC13163fSk map = createGroup.map(new fSS(hBt) { // from class: o.Tfv private InterfaceC14894gbR e; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.e; C14957gcv.e(interfaceC14894gbR, ""); return (Rrn) interfaceC14894gbR.invoke(obj); } { this.e = hBt; } }); final IeS ieS = new IeS(this); AbstractC13163fSk map2 = map.map(new fSS(ieS) { // from class: o.lSL private InterfaceC14894gbR c; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.c; C14957gcv.e(interfaceC14894gbR, ""); return (ndy) interfaceC14894gbR.invoke(obj); } { this.c = ieS; } }); C14957gcv.c(map2, ""); return map2; } /* loaded from: classes3.dex */ static final class ZnX extends AbstractC14961gcz implements InterfaceC14894gbR { private osz e; @Override // o.InterfaceC14894gbR public final /* synthetic */ wzu invoke(C14835gUN c14835gUN) { return this.e.c.b(c14835gUN); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ ZnX(osz oszVar) { super(1); this.e = oszVar; } } /* loaded from: classes3.dex */ static final class tOB extends AbstractC14961gcz implements InterfaceC14894gbR, C14835gUN> { public static final tOB b = new tOB(); @Override // o.InterfaceC14894gbR public final /* synthetic */ C14835gUN invoke(SingleDataEntity singleDataEntity) { return singleDataEntity.getData(); } tOB() { super(1); } } @Override // o.oTz public final AbstractC13163fSk e(String str) { C14957gcv.e(str, ""); fHE fhe = this.f; C14957gcv.e(str, ""); AbstractC13163fSk> recipients = fhe.c.getRecipients(str); final tOB tob = tOB.b; AbstractC13163fSk map = recipients.map(new fSS(tob) { // from class: o.lEI private InterfaceC14894gbR a; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.a; C14957gcv.e(interfaceC14894gbR, ""); return (C14835gUN) interfaceC14894gbR.invoke(obj); } { this.a = tob; } }); final ZnX znX = new ZnX(this); AbstractC13163fSk map2 = map.map(new fSS(znX) { // from class: o.FvB private InterfaceC14894gbR b; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.b; C14957gcv.e(interfaceC14894gbR, ""); return (wzu) interfaceC14894gbR.invoke(obj); } { this.b = znX; } }); C14957gcv.c(map2, ""); return map2; } /* loaded from: classes3.dex */ static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR> { public static final LWm e = new LWm(); @Override // o.InterfaceC14894gbR public final /* synthetic */ InterfaceC13169fSq invoke(C16562pOe c16562pOe) { return AbstractC13163fSk.just(Boolean.TRUE); } LWm() { super(1); } } @Override // o.oTz public final AbstractC13163fSk b(pZV pzv) { C14957gcv.e(pzv, ""); fHE fhe = this.f; C14957gcv.e(pzv, ""); AbstractC13163fSk addRecipientsToGroup = fhe.c.addRecipientsToGroup(pzv); final LWm lWm = LWm.e; AbstractC13163fSk flatMap = addRecipientsToGroup.flatMap(new fSS(lWm) { // from class: o.uAc private InterfaceC14894gbR a; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.a; C14957gcv.e(interfaceC14894gbR, ""); return (InterfaceC13169fSq) interfaceC14894gbR.invoke(obj); } { this.a = lWm; } }); C14957gcv.c(flatMap, ""); return flatMap; } /* loaded from: classes3.dex */ static final class dAO extends AbstractC14961gcz implements InterfaceC14894gbR, lvU> { private osz d; @Override // o.InterfaceC14894gbR public final /* synthetic */ lvU invoke(SingleDataEntity singleDataEntity) { SingleDataEntity singleDataEntity2 = singleDataEntity; C14957gcv.e(singleDataEntity2, ""); C12255euk c12255euk = this.d.b; C14957gcv.e(singleDataEntity2, ""); VXo data = singleDataEntity2.getData(); lvU.RVV rvv = lvU.e; lvU lvu = new lvU("", "", "", C14851gaI.c, C14851gaI.c, C14851gaI.c, ""); lvu.g = singleDataEntity2.getStatus().h; lvu.d = singleDataEntity2.getStatus().e; lvu.f = gdZ.a("9004", singleDataEntity2.getStatus().e, true); lvu.a = singleDataEntity2.getStatus().c; String str = data.e; C14957gcv.e(str, ""); lvu.b = str; lvu.h = data.c; lvu.j = data.b; lvu.c = data.d; Double c = C12255euk.c(data.j); C14957gcv.c(c, ""); lvu.n = c.doubleValue(); String str2 = data.i; C14957gcv.e(str2, ""); lvu.l = str2; String str3 = data.h; C14957gcv.e(str3, ""); lvu.f9211o = str3; lvu.i = C12255euk.a(data.a); lvu.m = C12255euk.a(data.g); lvu.k = C12255euk.a(data.f); lvu.q = data.l; lvu.s = data.f8418o; lvu.t = data.n; return lvu; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ dAO(osz oszVar) { super(1); this.d = oszVar; } } /* loaded from: classes3.dex */ static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR, C3777bGf> { private osz b; @Override // o.InterfaceC14894gbR public final /* synthetic */ C3777bGf invoke(SingleDataEntity singleDataEntity) { SingleDataEntity singleDataEntity2 = singleDataEntity; QXD qxd = this.b.e; C14957gcv.c(singleDataEntity2, ""); C14957gcv.e(singleDataEntity2, ""); yqh data = singleDataEntity2.getData(); yzb status = singleDataEntity2.getStatus(); C14957gcv.c(status, ""); C15612hBE c15612hBE = new C15612hBE(status.e, status.h, status.c, 120); String str = data.e; String str2 = str == null ? "" : str; String str3 = data.f9328o; String str4 = str3 == null ? "" : str3; String str5 = data.j; String str6 = str5 == null ? "" : str5; String str7 = data.g; return new C3777bGf(c15612hBE, str2, str4, str6, str7 == null ? "" : str7, QXD.a(data.h), QXD.a(data.i), QXD.a(data.f), (OffsetDateTime) ZTC.e(new Object[]{data.l, null}, 267499366, -267499366, (int) System.currentTimeMillis()), data.n, data.d, data.a, data.k, data.c, data.b); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ Sts(osz oszVar) { super(1); this.b = oszVar; } } /* loaded from: classes3.dex */ static final class ojQ extends AbstractC14961gcz implements InterfaceC14894gbR> { public static final ojQ d = new ojQ(); @Override // o.InterfaceC14894gbR public final /* synthetic */ InterfaceC13169fSq invoke(C16562pOe c16562pOe) { return AbstractC13163fSk.just(Boolean.TRUE); } ojQ() { super(1); } } @Override // o.oTz public final AbstractC13163fSk a(miL mil) { C14957gcv.e(mil, ""); fHE fhe = this.f; C14957gcv.e(mil, ""); AbstractC13163fSk deleteRecipient = fhe.c.deleteRecipient(mil); final ojQ ojq = ojQ.d; AbstractC13163fSk flatMap = deleteRecipient.flatMap(new fSS(ojq) { // from class: o.frF private InterfaceC14894gbR c; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.c; C14957gcv.e(interfaceC14894gbR, ""); return (InterfaceC13169fSq) interfaceC14894gbR.invoke(obj); } { this.c = ojq; } }); C14957gcv.c(flatMap, ""); return flatMap; } /* loaded from: classes3.dex */ static final class jbe extends AbstractC14961gcz implements InterfaceC14894gbR> { public static final jbe c = new jbe(); @Override // o.InterfaceC14894gbR public final /* synthetic */ InterfaceC13169fSq invoke(C16562pOe c16562pOe) { return AbstractC13163fSk.just(Boolean.TRUE); } jbe() { super(1); } } @Override // o.oTz public final AbstractC13163fSk c(C16256mjh c16256mjh) { C14957gcv.e(c16256mjh, ""); fHE fhe = this.f; C14957gcv.e(c16256mjh, ""); AbstractC13163fSk editRecipient = fhe.c.editRecipient(c16256mjh); final jbe jbeVar = jbe.c; AbstractC13163fSk flatMap = editRecipient.flatMap(new fSS(jbeVar) { // from class: o.ugc private InterfaceC14894gbR e; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.e; C14957gcv.e(interfaceC14894gbR, ""); return (InterfaceC13169fSq) interfaceC14894gbR.invoke(obj); } { this.e = jbeVar; } }); C14957gcv.c(flatMap, ""); return flatMap; } /* loaded from: classes3.dex */ static final class vUG extends AbstractC14961gcz implements InterfaceC14894gbR> { public static final vUG e = new vUG(); @Override // o.InterfaceC14894gbR public final /* synthetic */ InterfaceC13169fSq invoke(C16562pOe c16562pOe) { return AbstractC13163fSk.just(Boolean.TRUE); } vUG() { super(1); } } @Override // o.oTz public final AbstractC13163fSk e(C4836bhg c4836bhg) { C14957gcv.e(c4836bhg, ""); fHE fhe = this.f; C14957gcv.e(c4836bhg, ""); AbstractC13163fSk updateNameGroup = fhe.c.updateNameGroup(c4836bhg); final vUG vug = vUG.e; AbstractC13163fSk flatMap = updateNameGroup.flatMap(new fSS(vug) { // from class: o.XcO private InterfaceC14894gbR c; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.c; C14957gcv.e(interfaceC14894gbR, ""); return (InterfaceC13169fSq) interfaceC14894gbR.invoke(obj); } { this.c = vug; } }); C14957gcv.c(flatMap, ""); return flatMap; } /* loaded from: classes3.dex */ static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR> { public static final RVV a = new RVV(); @Override // o.InterfaceC14894gbR public final /* synthetic */ InterfaceC13169fSq invoke(C16562pOe c16562pOe) { return AbstractC13163fSk.just(Boolean.TRUE); } RVV() { super(1); } } @Override // o.oTz public final AbstractC13163fSk d(TPw tPw) { C14957gcv.e(tPw, ""); fHE fhe = this.f; C14957gcv.e(tPw, ""); AbstractC13163fSk deleteGroup = fhe.c.deleteGroup(tPw); final RVV rvv = RVV.a; AbstractC13163fSk flatMap = deleteGroup.flatMap(new fSS(rvv) { // from class: o.reQ private InterfaceC14894gbR c; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.c; C14957gcv.e(interfaceC14894gbR, ""); return (InterfaceC13169fSq) interfaceC14894gbR.invoke(obj); } { this.c = rvv; } }); C14957gcv.c(flatMap, ""); return flatMap; } @Override // o.oTz public final AbstractC13163fSk e(oFR ofr, String str, String str2) { AbstractC13163fSk> doFinally; C14957gcv.e(ofr, ""); ofr.c = this.h; fHE fhe = this.f; C14957gcv.e(ofr, ""); DiG.Sts sts = DiG.a; DiG.Sts.d("8101"); DiG.Sts sts2 = DiG.a; DiG.Sts.d("8102"); DiG.Sts sts3 = DiG.a; DiG.Sts.d("7777"); if (str == null || str2 == null) { doFinally = fhe.c.confirmBulkTransfer(ofr).doFinally(new fSP() { // from class: o.pqQ @Override // o.fSP public final void c() { DiG.Sts sts4 = DiG.a; DiG.Sts.c(); } }); C14957gcv.c(doFinally, ""); } else { doFinally = fhe.c.confirmBulkTransfer(ofr, str, str2).doFinally(new fSP() { // from class: o.mDh @Override // o.fSP public final void c() { DiG.Sts sts4 = DiG.a; DiG.Sts.c(); } }); C14957gcv.c(doFinally, ""); } final Sts sts4 = new Sts(this); AbstractC13163fSk map = doFinally.map(new fSS(sts4) { // from class: o.Oqo private InterfaceC14894gbR d; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.d; C14957gcv.e(interfaceC14894gbR, ""); return (C3777bGf) interfaceC14894gbR.invoke(obj); } { this.d = sts4; } }); C14957gcv.c(map, ""); return map; } @Override // o.oTz public final AbstractC13163fSk a(BSx bSx) { C14957gcv.e(bSx, ""); bSx.i = this.h; fHE fhe = this.f; C14957gcv.e(bSx, ""); DiG.Sts sts = DiG.a; DiG.Sts.d("9004"); DiG.Sts sts2 = DiG.a; DiG.Sts.d("7777"); AbstractC13163fSk> doFinally = fhe.c.verifyBulkTransfer(bSx).doFinally(new fSP() { // from class: o.aqN @Override // o.fSP public final void c() { DiG.Sts sts3 = DiG.a; DiG.Sts.c(); } }); C14957gcv.c(doFinally, ""); final dAO dao = new dAO(this); AbstractC13163fSk map = doFinally.map(new fSS(dao) { // from class: o.oMw private InterfaceC14894gbR b; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.b; C14957gcv.e(interfaceC14894gbR, ""); return (lvU) interfaceC14894gbR.invoke(obj); } { this.b = dao; } }); C14957gcv.c(map, ""); return map; } }