687 lines
25 KiB
Java
687 lines
25 KiB
Java
package o;
|
|
|
|
import com.scb.phone.domain.errors.RetrofitException;
|
|
import java.util.ArrayList;
|
|
import java.util.Collection;
|
|
import java.util.Comparator;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
import o.C0690Mh;
|
|
import o.C15715hv;
|
|
import o.C16992sv;
|
|
import o.C2096aXO;
|
|
import o.EnumC0622Kw;
|
|
import o.ZI;
|
|
|
|
/* renamed from: o.aXO */
|
|
/* loaded from: classes4.dex */
|
|
public final class C2096aXO extends ZI<InterfaceC9240dfw> {
|
|
private static final C14973gde l;
|
|
public String a;
|
|
public ArrayList<WW> b;
|
|
public List<? extends AbstractC0624Ky> c;
|
|
public final C15821iq d;
|
|
public final C17800zpz e;
|
|
public String g;
|
|
public boolean h;
|
|
public boolean i;
|
|
private List<? extends AbstractC0624Ky> k;
|
|
private final C16992sv n;
|
|
|
|
public static final /* synthetic */ void c(C2096aXO c2096aXO, Mfs mfs) {
|
|
C16992sv c16992sv = c2096aXO.n;
|
|
C14957gcv.e(mfs, "");
|
|
ArrayList arrayList = new ArrayList();
|
|
Iterator it = C14881gav.a((Iterable) mfs.a, (Comparator) new C16992sv.RVV()).iterator();
|
|
while (true) {
|
|
Object obj = null;
|
|
if (it.hasNext()) {
|
|
DNj dNj = (DNj) it.next();
|
|
EnumC0622Kw.HBt hBt = EnumC0622Kw.Companion;
|
|
EnumC0622Kw c = EnumC0622Kw.HBt.c(dNj.b);
|
|
int i = c == null ? -1 : C16992sv.HBt.e[c.ordinal()];
|
|
if (i == 1) {
|
|
arrayList.add(new KB(c, dNj.a));
|
|
List<C9429dja> list = dNj.e;
|
|
ArrayList arrayList2 = new ArrayList();
|
|
for (C9429dja c9429dja : C14881gav.a((Iterable) list, (Comparator) new C16992sv.IeS())) {
|
|
EnumC0622Kw.HBt hBt2 = EnumC0622Kw.Companion;
|
|
EnumC0622Kw c2 = EnumC0622Kw.HBt.c(c9429dja.a);
|
|
int i2 = c2 == null ? -1 : C16992sv.HBt.e[c2.ordinal()];
|
|
if (i2 == 3) {
|
|
String e = c16992sv.e(C15715hv.tOB.company_name_inline_error);
|
|
C14957gcv.c((Object) e, "");
|
|
arrayList2.add(C16992sv.e(c2, c9429dja, e, 1, c16992sv.e.getInteger(C15715hv.ZqN.scb_one_company_name_counter_max), "^[0-9\\u0E01-\\u0E39\\u0E40-\\u0E4Ca-zA-Z _*\"#&()@,.'\\-/]+$"));
|
|
} else if (i2 == 4) {
|
|
String e2 = c16992sv.e(C15715hv.tOB.business_and_marital_number_of_employees_inline_error);
|
|
C14957gcv.c((Object) e2, "");
|
|
arrayList2.add(C16992sv.e(c2, c9429dja, e2, 2, c16992sv.e.getInteger(C15715hv.ZqN.scb_one_number_employee_limit), "^[0-9]+$"));
|
|
} else if (i2 == 5) {
|
|
C16342nct e3 = C16992sv.e(c9429dja.c);
|
|
String str = c9429dja.d;
|
|
String str2 = c9429dja.b;
|
|
String e4 = C16992sv.e(e3);
|
|
List<String> list2 = e3 != null ? e3.d : null;
|
|
List<String> list3 = list2;
|
|
arrayList2.add(new KD(c2, str, str2, e4, (list3 == null || list3.isEmpty() || list2.size() < 2) ? null : e3.d.get(1)));
|
|
}
|
|
}
|
|
arrayList.addAll(arrayList2);
|
|
} else if (i == 2) {
|
|
arrayList.add(new KB(c, dNj.a));
|
|
List<C9429dja> list4 = dNj.e;
|
|
ArrayList arrayList3 = new ArrayList();
|
|
for (C9429dja c9429dja2 : C14881gav.a((Iterable) list4, (Comparator) new C16992sv.jbe())) {
|
|
EnumC0622Kw.HBt hBt3 = EnumC0622Kw.Companion;
|
|
EnumC0622Kw c3 = EnumC0622Kw.HBt.c(c9429dja2.a);
|
|
switch (c3 == null ? -1 : C16992sv.HBt.e[c3.ordinal()]) {
|
|
case 6:
|
|
String e5 = c16992sv.e(C15715hv.tOB.business_and_marital_national_id_inline_error);
|
|
C14957gcv.c((Object) e5, "");
|
|
arrayList3.add(new C0620Kv(c3, c9429dja2.d, c9429dja2.b, C16992sv.e(C16992sv.e(c9429dja2.c)), e5, c16992sv.e.getInteger(C15715hv.ZqN.scb_one_id_card_limit), "^[0-9]+$"));
|
|
break;
|
|
case 7:
|
|
String e6 = c16992sv.e(C15715hv.tOB.business_and_marital_must_be_thai_inline_error);
|
|
C14957gcv.c((Object) e6, "");
|
|
arrayList3.add(C16992sv.e(c3, c9429dja2, e6, 1, c16992sv.e.getInteger(C15715hv.ZqN.scb_one_first_name_limit), "^[\\u0E01-\\u0E39\\u0E40-\\u0E4C ]+$"));
|
|
break;
|
|
case 8:
|
|
String e7 = c16992sv.e(C15715hv.tOB.business_and_marital_must_be_thai_inline_error);
|
|
C14957gcv.c((Object) e7, "");
|
|
arrayList3.add(C16992sv.e(c3, c9429dja2, e7, 1, c16992sv.e.getInteger(C15715hv.ZqN.scb_one_last_name_limit), "^[\\u0E01-\\u0E39\\u0E40-\\u0E4C ]+$"));
|
|
break;
|
|
case 9:
|
|
List<C16342nct> list5 = c9429dja2.c;
|
|
String str3 = c9429dja2.d;
|
|
String str4 = c9429dja2.b;
|
|
List<C16342nct> list6 = list5;
|
|
List a = C14881gav.a((Iterable) list6, (Comparator) new C16992sv.saX());
|
|
C14957gcv.e(a, "");
|
|
ArrayList arrayList4 = new ArrayList(a instanceof Collection ? a.size() : 10);
|
|
Iterator it2 = a.iterator();
|
|
while (it2.hasNext()) {
|
|
arrayList4.add((String) C14881gav.e((List) ((C16342nct) it2.next()).d));
|
|
}
|
|
ArrayList arrayList5 = arrayList4;
|
|
List a2 = C14881gav.a((Iterable) list6, (Comparator) new C16992sv.LWm());
|
|
C14957gcv.e(a2, "");
|
|
ArrayList arrayList6 = new ArrayList(a2 instanceof Collection ? a2.size() : 10);
|
|
Iterator it3 = a2.iterator();
|
|
while (it3.hasNext()) {
|
|
arrayList6.add((String) C14881gav.e((List) ((C16342nct) it3.next()).a));
|
|
}
|
|
arrayList3.add(new KC(c3, str3, str4, arrayList5, arrayList6, C16992sv.e(C16992sv.e(list5))));
|
|
break;
|
|
case 10:
|
|
List<C16342nct> list7 = c9429dja2.c;
|
|
String str5 = c9429dja2.d;
|
|
String str6 = c9429dja2.b;
|
|
List<C16342nct> a3 = C14881gav.a((Iterable) list7, (Comparator) new C16992sv.ZqN());
|
|
C14957gcv.e(a3, "");
|
|
ArrayList arrayList7 = new ArrayList(a3 instanceof Collection ? a3.size() : 10);
|
|
for (C16342nct c16342nct : a3) {
|
|
arrayList7.add(new KA((String) C14881gav.e((List) c16342nct.d), (String) C14881gav.e((List) c16342nct.a)));
|
|
}
|
|
arrayList3.add(new KE(c3, str5, str6, arrayList7, C16992sv.e(C16992sv.e(list7))));
|
|
break;
|
|
}
|
|
}
|
|
arrayList.addAll(arrayList3);
|
|
}
|
|
} else {
|
|
List<AbstractC0624Ky> list8 = new KG(arrayList).b;
|
|
C14957gcv.e(list8, "");
|
|
c2096aXO.c = list8;
|
|
if (list8 == null) {
|
|
C14957gcv.a("");
|
|
list8 = null;
|
|
}
|
|
Iterator<T> it4 = list8.iterator();
|
|
while (true) {
|
|
if (it4.hasNext()) {
|
|
Object next = it4.next();
|
|
if (((AbstractC0624Ky) next).b == EnumC0622Kw.MARITAL_STATUS) {
|
|
obj = next;
|
|
}
|
|
}
|
|
}
|
|
AbstractC0624Ky abstractC0624Ky = (AbstractC0624Ky) obj;
|
|
if (abstractC0624Ky instanceof KE) {
|
|
c2096aXO.c(((KE) abstractC0624Ky).c);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static final /* synthetic */ void e(C2096aXO c2096aXO) {
|
|
if (!c2096aXO.i) {
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.aXU
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC9240dfw) obj).d();
|
|
}
|
|
};
|
|
if (c2096aXO.f != 0) {
|
|
ieS.e(c2096aXO.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
ArrayList<WW> arrayList = c2096aXO.b;
|
|
if (arrayList == null) {
|
|
C14957gcv.a("");
|
|
arrayList = null;
|
|
}
|
|
if (!arrayList.isEmpty()) {
|
|
ZI.IeS ieS2 = new ZI.IeS(c2096aXO) { // from class: o.aXW
|
|
private C2096aXO c;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C2096aXO.d(this.c, (InterfaceC9240dfw) obj);
|
|
}
|
|
|
|
{
|
|
this.c = c2096aXO;
|
|
}
|
|
};
|
|
if (c2096aXO.f != 0) {
|
|
ieS2.e(c2096aXO.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
ZI.IeS ieS3 = new ZI.IeS(c2096aXO) { // from class: o.aXY
|
|
private C2096aXO c;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C2096aXO.b(this.c, (InterfaceC9240dfw) obj);
|
|
}
|
|
|
|
{
|
|
this.c = c2096aXO;
|
|
}
|
|
};
|
|
if (c2096aXO.f != 0) {
|
|
ieS3.e(c2096aXO.f);
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C2096aXO(C16903sI c16903sI, C15821iq c15821iq, C16992sv c16992sv, C17800zpz c17800zpz) {
|
|
super(c16903sI);
|
|
C14957gcv.e(c16903sI, "");
|
|
C14957gcv.e(c15821iq, "");
|
|
C14957gcv.e(c16992sv, "");
|
|
C14957gcv.e(c17800zpz, "");
|
|
this.d = c15821iq;
|
|
this.n = c16992sv;
|
|
this.e = c17800zpz;
|
|
this.k = C14851gaI.c;
|
|
}
|
|
|
|
/* renamed from: o.aXO$HBt */
|
|
/* loaded from: classes4.dex */
|
|
public static final class HBt {
|
|
private HBt() {
|
|
}
|
|
|
|
public /* synthetic */ HBt(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
static {
|
|
new HBt((byte) 0);
|
|
l = new C14973gde(1, 999999);
|
|
}
|
|
|
|
/* renamed from: o.aXO$LWm */
|
|
/* loaded from: classes4.dex */
|
|
public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
|
|
private C2096aXO b;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ C14866gag invoke(Throwable th) {
|
|
Throwable th2 = th;
|
|
C14957gcv.e(th2, "");
|
|
C2096aXO.c(this.b, th2, C0690Mh.IeS.NAVIGATE_BACK);
|
|
return C14866gag.c;
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public LWm(C2096aXO c2096aXO) {
|
|
super(1);
|
|
this.b = c2096aXO;
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.aXO$Sts */
|
|
/* loaded from: classes4.dex */
|
|
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<Mfs, C14866gag> {
|
|
private C2096aXO e;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ C14866gag invoke(Mfs mfs) {
|
|
Mfs mfs2 = mfs;
|
|
C14957gcv.e(mfs2, "");
|
|
C2096aXO c2096aXO = this.e;
|
|
ZI.IeS ieS = new ZI.IeS(c2096aXO, mfs2) { // from class: o.aXV
|
|
private Mfs b;
|
|
private C2096aXO e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C2096aXO.Sts.d(this.e, this.b, (InterfaceC9240dfw) obj);
|
|
}
|
|
|
|
{
|
|
this.e = c2096aXO;
|
|
this.b = mfs2;
|
|
}
|
|
};
|
|
if (c2096aXO.f != 0) {
|
|
ieS.e(c2096aXO.f);
|
|
}
|
|
return C14866gag.c;
|
|
}
|
|
|
|
public static /* synthetic */ void d(C2096aXO c2096aXO, Mfs mfs, InterfaceC9240dfw interfaceC9240dfw) {
|
|
C14957gcv.e(c2096aXO, "");
|
|
C14957gcv.e(mfs, "");
|
|
interfaceC9240dfw.ar_();
|
|
C2096aXO.c(c2096aXO, mfs);
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public Sts(C2096aXO c2096aXO) {
|
|
super(1);
|
|
this.e = c2096aXO;
|
|
}
|
|
}
|
|
|
|
public final void c(String str) {
|
|
C14957gcv.e(str, "");
|
|
List<? extends AbstractC0624Ky> list = null;
|
|
if (C14957gcv.b((Object) str, (Object) "R")) {
|
|
List<? extends AbstractC0624Ky> list2 = this.c;
|
|
if (list2 != null) {
|
|
list = list2;
|
|
} else {
|
|
C14957gcv.a("");
|
|
}
|
|
List<AbstractC0624Ky> b = C16992sv.b(list, this.k);
|
|
C14957gcv.e(b, "");
|
|
this.c = b;
|
|
} else {
|
|
List<? extends AbstractC0624Ky> list3 = this.c;
|
|
if (list3 == null) {
|
|
C14957gcv.a("");
|
|
list3 = null;
|
|
}
|
|
List<AbstractC0624Ky> a = C16992sv.a(list3);
|
|
if (!a.isEmpty()) {
|
|
this.k = a;
|
|
}
|
|
List<? extends AbstractC0624Ky> list4 = this.c;
|
|
if (list4 != null) {
|
|
list = list4;
|
|
} else {
|
|
C14957gcv.a("");
|
|
}
|
|
List<AbstractC0624Ky> c = C16992sv.c(list);
|
|
C14957gcv.e(c, "");
|
|
this.c = c;
|
|
}
|
|
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.aXT
|
|
private C2096aXO b;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C2096aXO.e(this.b, (InterfaceC9240dfw) obj);
|
|
}
|
|
|
|
{
|
|
this.b = this;
|
|
}
|
|
};
|
|
if (this.f != 0) {
|
|
ieS.e(this.f);
|
|
}
|
|
if (d()) {
|
|
C2099aXR c2099aXR = new C2099aXR();
|
|
if (this.f != 0) {
|
|
c2099aXR.e(this.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
C2097aXP c2097aXP = new C2097aXP();
|
|
if (this.f != 0) {
|
|
c2097aXP.e(this.f);
|
|
}
|
|
}
|
|
|
|
public final void c() {
|
|
if (d()) {
|
|
C2099aXR c2099aXR = new C2099aXR();
|
|
if (this.f != 0) {
|
|
c2099aXR.e(this.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
C2097aXP c2097aXP = new C2097aXP();
|
|
if (this.f != 0) {
|
|
c2097aXP.e(this.f);
|
|
}
|
|
}
|
|
|
|
private final boolean d() {
|
|
List<? extends AbstractC0624Ky> list = this.c;
|
|
if (list == null) {
|
|
C14957gcv.a("");
|
|
list = null;
|
|
}
|
|
for (AbstractC0624Ky abstractC0624Ky : list) {
|
|
switch (RVV.c[abstractC0624Ky.b.ordinal()]) {
|
|
case 1:
|
|
case 2:
|
|
case 3:
|
|
case 4:
|
|
if ((abstractC0624Ky instanceof C0625Kz) && !c((C0625Kz) abstractC0624Ky)) {
|
|
return false;
|
|
}
|
|
break;
|
|
case 5:
|
|
if ((abstractC0624Ky instanceof C0620Kv) && !e((C0620Kv) abstractC0624Ky)) {
|
|
return false;
|
|
}
|
|
break;
|
|
case 6:
|
|
if (abstractC0624Ky instanceof KE) {
|
|
String str = ((KE) abstractC0624Ky).c;
|
|
if (!(!(str == null || gdZ.d((CharSequence) str)))) {
|
|
return false;
|
|
}
|
|
break;
|
|
} else {
|
|
continue;
|
|
}
|
|
case 7:
|
|
if (abstractC0624Ky instanceof KC) {
|
|
String str2 = ((KC) abstractC0624Ky).j;
|
|
if (!(!(str2 == null || gdZ.d((CharSequence) str2)))) {
|
|
return false;
|
|
}
|
|
break;
|
|
} else {
|
|
continue;
|
|
}
|
|
break;
|
|
case 8:
|
|
if (abstractC0624Ky instanceof KD) {
|
|
KD kd = (KD) abstractC0624Ky;
|
|
String str3 = kd.a;
|
|
if (!(str3 == null || gdZ.d((CharSequence) str3))) {
|
|
String str4 = kd.d;
|
|
if (!(str4 == null || gdZ.d((CharSequence) str4))) {
|
|
break;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
continue;
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
|
|
public static String d(String str) {
|
|
String a;
|
|
return (str == null || (a = gdZ.a(str, "-", "")) == null) ? "" : a;
|
|
}
|
|
|
|
/* renamed from: o.aXO$IeS */
|
|
/* loaded from: classes4.dex */
|
|
public static final class IeS extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
|
|
private C2096aXO d;
|
|
|
|
@Override // o.InterfaceC14890gbN
|
|
public final /* synthetic */ C14866gag invoke() {
|
|
C2096aXO c2096aXO = this.d;
|
|
ZI.IeS ieS = new ZI.IeS(c2096aXO) { // from class: o.aXX
|
|
private C2096aXO e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C2096aXO.IeS.d(this.e, (InterfaceC9240dfw) obj);
|
|
}
|
|
|
|
{
|
|
this.e = c2096aXO;
|
|
}
|
|
};
|
|
if (c2096aXO.f != 0) {
|
|
ieS.e(c2096aXO.f);
|
|
}
|
|
return C14866gag.c;
|
|
}
|
|
|
|
public static /* synthetic */ void d(C2096aXO c2096aXO, InterfaceC9240dfw interfaceC9240dfw) {
|
|
C14957gcv.e(c2096aXO, "");
|
|
interfaceC9240dfw.ar_();
|
|
C2096aXO.e(c2096aXO);
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public IeS(C2096aXO c2096aXO) {
|
|
super(0);
|
|
this.d = c2096aXO;
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.aXO$ZqN */
|
|
/* loaded from: classes4.dex */
|
|
public static final class ZqN extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
|
|
private C2096aXO e;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ C14866gag invoke(Throwable th) {
|
|
Throwable th2 = th;
|
|
C14957gcv.e(th2, "");
|
|
if ((th2 instanceof RetrofitException) && C14957gcv.b((Object) ((RetrofitException) th2).e.c.e, (Object) "3038")) {
|
|
C2096aXO.a(this.e);
|
|
C2096aXO.b(this.e);
|
|
} else {
|
|
C2096aXO.c(this.e, th2, C0690Mh.IeS.NAVIGATE_BACK);
|
|
}
|
|
return C14866gag.c;
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public ZqN(C2096aXO c2096aXO) {
|
|
super(1);
|
|
this.e = c2096aXO;
|
|
}
|
|
}
|
|
|
|
public static String b(AbstractC0624Ky abstractC0624Ky) {
|
|
return abstractC0624Ky instanceof C0625Kz ? gdZ.b((CharSequence) ((C0625Kz) abstractC0624Ky).h).toString() : "";
|
|
}
|
|
|
|
public static String a(String str) {
|
|
if (C14957gcv.b((Object) str, (Object) "-")) {
|
|
return null;
|
|
}
|
|
return str;
|
|
}
|
|
|
|
public static /* synthetic */ void e(C2096aXO c2096aXO, InterfaceC9240dfw interfaceC9240dfw) {
|
|
C14957gcv.e(c2096aXO, "");
|
|
List<? extends AbstractC0624Ky> list = c2096aXO.c;
|
|
if (list == null) {
|
|
C14957gcv.a("");
|
|
list = null;
|
|
}
|
|
interfaceC9240dfw.b(list);
|
|
}
|
|
|
|
public static /* synthetic */ void c(C2096aXO c2096aXO, InterfaceC9240dfw interfaceC9240dfw) {
|
|
C14957gcv.e(c2096aXO, "");
|
|
List<? extends AbstractC0624Ky> list = c2096aXO.c;
|
|
if (list == null) {
|
|
C14957gcv.a("");
|
|
list = null;
|
|
}
|
|
interfaceC9240dfw.b(list);
|
|
}
|
|
|
|
public static /* synthetic */ void a(C2096aXO c2096aXO, InterfaceC9240dfw interfaceC9240dfw) {
|
|
C14957gcv.e(c2096aXO, "");
|
|
List<? extends AbstractC0624Ky> list = c2096aXO.c;
|
|
if (list == null) {
|
|
C14957gcv.a("");
|
|
list = null;
|
|
}
|
|
interfaceC9240dfw.b(list);
|
|
}
|
|
|
|
public static /* synthetic */ void b(C2096aXO c2096aXO, InterfaceC9240dfw interfaceC9240dfw) {
|
|
C14957gcv.e(c2096aXO, "");
|
|
interfaceC9240dfw.c(c2096aXO.h);
|
|
}
|
|
|
|
public static /* synthetic */ void d(C2096aXO c2096aXO, InterfaceC9240dfw interfaceC9240dfw) {
|
|
C14957gcv.e(c2096aXO, "");
|
|
boolean z = c2096aXO.h;
|
|
ArrayList<WW> arrayList = c2096aXO.b;
|
|
if (arrayList == null) {
|
|
C14957gcv.a("");
|
|
arrayList = null;
|
|
}
|
|
interfaceC9240dfw.a(z, arrayList);
|
|
}
|
|
|
|
public static final /* synthetic */ void a(C2096aXO c2096aXO) {
|
|
if (c2096aXO.f != 0) {
|
|
c2096aXO.f.ar_();
|
|
}
|
|
}
|
|
|
|
private static boolean a(C0625Kz c0625Kz) {
|
|
if (RVV.c[c0625Kz.b.ordinal()] != 2) {
|
|
return true;
|
|
}
|
|
C14973gde c14973gde = l;
|
|
int i = c14973gde.b;
|
|
int i2 = c14973gde.d;
|
|
int parseInt = Integer.parseInt(c0625Kz.h);
|
|
return i <= parseInt && parseInt <= i2;
|
|
}
|
|
|
|
public static boolean c(C0625Kz c0625Kz) {
|
|
C14957gcv.e(c0625Kz, "");
|
|
return C6583cXR.b(c0625Kz.f, gdZ.b((CharSequence) c0625Kz.h).toString()) && a(c0625Kz);
|
|
}
|
|
|
|
public static boolean e(C0620Kv c0620Kv) {
|
|
C14957gcv.e(c0620Kv, "");
|
|
return C6583cXR.b(c0620Kv.f, c0620Kv.g) && c0620Kv.g.length() == 13;
|
|
}
|
|
|
|
public static final /* synthetic */ void c(C2096aXO c2096aXO, Throwable th, C0690Mh.IeS ieS) {
|
|
if (c2096aXO.b(th)) {
|
|
c2096aXO.d(c2096aXO.j.d(th, ieS));
|
|
}
|
|
}
|
|
|
|
public static final /* synthetic */ void b(C2096aXO c2096aXO) {
|
|
List<? extends AbstractC0624Ky> list = c2096aXO.c;
|
|
Object obj = null;
|
|
if (list == null) {
|
|
C14957gcv.a("");
|
|
list = null;
|
|
}
|
|
Iterator<T> it = list.iterator();
|
|
while (true) {
|
|
if (!it.hasNext()) {
|
|
break;
|
|
}
|
|
Object next = it.next();
|
|
if (((AbstractC0624Ky) next).b == EnumC0622Kw.SPOUSE_NATIONAL_ID) {
|
|
obj = next;
|
|
break;
|
|
}
|
|
}
|
|
AbstractC0624Ky abstractC0624Ky = (AbstractC0624Ky) obj;
|
|
if (abstractC0624Ky instanceof C0620Kv) {
|
|
C0620Kv c0620Kv = (C0620Kv) abstractC0624Ky;
|
|
c0620Kv.c = false;
|
|
c0620Kv.d = true;
|
|
ZI.IeS ieS = new ZI.IeS(c2096aXO) { // from class: o.aXS
|
|
private C2096aXO e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
C2096aXO.c(this.e, (InterfaceC9240dfw) obj2);
|
|
}
|
|
|
|
{
|
|
this.e = c2096aXO;
|
|
}
|
|
};
|
|
if (c2096aXO.f != 0) {
|
|
ieS.e(c2096aXO.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.aXO$RVV */
|
|
/* loaded from: classes4.dex */
|
|
public final /* synthetic */ class RVV {
|
|
public static final int[] c;
|
|
|
|
static {
|
|
int[] iArr = new int[EnumC0622Kw.values().length];
|
|
try {
|
|
iArr[EnumC0622Kw.BUSINESS_NAME.ordinal()] = 1;
|
|
} catch (NoSuchFieldError unused) {
|
|
}
|
|
try {
|
|
iArr[EnumC0622Kw.NUMBER_OF_EMPLOYEES.ordinal()] = 2;
|
|
} catch (NoSuchFieldError unused2) {
|
|
}
|
|
try {
|
|
iArr[EnumC0622Kw.SPOUSE_FIRST_NAME.ordinal()] = 3;
|
|
} catch (NoSuchFieldError unused3) {
|
|
}
|
|
try {
|
|
iArr[EnumC0622Kw.SPOUSE_LAST_NAME.ordinal()] = 4;
|
|
} catch (NoSuchFieldError unused4) {
|
|
}
|
|
try {
|
|
iArr[EnumC0622Kw.SPOUSE_NATIONAL_ID.ordinal()] = 5;
|
|
} catch (NoSuchFieldError unused5) {
|
|
}
|
|
try {
|
|
iArr[EnumC0622Kw.MARITAL_STATUS.ordinal()] = 6;
|
|
} catch (NoSuchFieldError unused6) {
|
|
}
|
|
try {
|
|
iArr[EnumC0622Kw.SPOUSE_TITLE.ordinal()] = 7;
|
|
} catch (NoSuchFieldError unused7) {
|
|
}
|
|
try {
|
|
iArr[EnumC0622Kw.YEAR_MONTH_IN_BUSINESS.ordinal()] = 8;
|
|
} catch (NoSuchFieldError unused8) {
|
|
}
|
|
c = iArr;
|
|
}
|
|
}
|
|
}
|