99 lines
3.1 KiB
Java
99 lines
3.1 KiB
Java
|
package com.kofax.mobile.sdk.x;
|
||
|
|
||
|
import com.kofax.mobile.sdk.extract.id.DataField;
|
||
|
import com.kofax.mobile.sdk.w.z;
|
||
|
import java.util.List;
|
||
|
import o.InterfaceC13391fZD;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class ak implements z.a {
|
||
|
private static final String MIDDLE_NAME = "MiddleName";
|
||
|
private static final String Rk = "Mexico (MEX) Voter Identification Card (2013-2014) - Back";
|
||
|
private static final String Rl = "FirstName";
|
||
|
private static final String Rm = "LastName";
|
||
|
private final com.kofax.mobile.sdk._internal.extraction.id.e Ls;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public ak(com.kofax.mobile.sdk._internal.extraction.id.e eVar) {
|
||
|
this.Ls = eVar;
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.w.z.a
|
||
|
public boolean u(com.kofax.mobile.sdk.e.a aVar) {
|
||
|
com.kofax.mobile.sdk.c.a hw = aVar.hw();
|
||
|
return hw != null && hw.getClassId().equals(Rk);
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.w.z.a
|
||
|
/* renamed from: I, reason: merged with bridge method [inline-methods] */
|
||
|
public a v(com.kofax.mobile.sdk.e.a aVar) {
|
||
|
return new a(this, aVar.hx());
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.w.z.a
|
||
|
/* renamed from: J, reason: merged with bridge method [inline-methods] */
|
||
|
public a w(com.kofax.mobile.sdk.e.a aVar) {
|
||
|
return new a(this, aVar.hy());
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.w.z.a
|
||
|
public void a(com.kofax.mobile.sdk.e.a aVar, Exception exc) {
|
||
|
if (exc != null) {
|
||
|
aVar.a(exc);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class a extends z.a.AbstractC0066a {
|
||
|
private final List<DataField> Np;
|
||
|
final ak Rn;
|
||
|
|
||
|
public a(ak akVar, List<DataField> list) {
|
||
|
this.Rn = akVar;
|
||
|
this.Np = list;
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.w.z.a.AbstractC0066a
|
||
|
public DataField oL() {
|
||
|
return this.Rn.h(ak.Rl, this.Np);
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.w.z.a.AbstractC0066a
|
||
|
public void e(DataField dataField) {
|
||
|
this.Rn.a(this.Np, ak.Rl, dataField);
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.w.z.a.AbstractC0066a
|
||
|
public DataField oM() {
|
||
|
return this.Rn.h(ak.MIDDLE_NAME, this.Np);
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.w.z.a.AbstractC0066a
|
||
|
public void f(DataField dataField) {
|
||
|
this.Rn.a(this.Np, ak.MIDDLE_NAME, dataField);
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.w.z.a.AbstractC0066a
|
||
|
public DataField oN() {
|
||
|
return this.Rn.h(ak.Rm, this.Np);
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.w.z.a.AbstractC0066a
|
||
|
public void g(DataField dataField) {
|
||
|
this.Rn.a(this.Np, ak.Rm, dataField);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: private */
|
||
|
public DataField h(String str, List<DataField> list) {
|
||
|
return this.Ls.a(str, list);
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: private */
|
||
|
public void a(List<DataField> list, String str, DataField dataField) {
|
||
|
list.remove(h(str, list));
|
||
|
list.add(dataField);
|
||
|
}
|
||
|
}
|