61 lines
1.9 KiB
Java
61 lines
1.9 KiB
Java
package o;
|
|
|
|
import com.google.zxing.ChecksumException;
|
|
import com.google.zxing.FormatException;
|
|
import com.google.zxing.NotFoundException;
|
|
import java.util.Map;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class aFX extends rua {
|
|
private final rua a = new pNh();
|
|
|
|
@Override // o.rua
|
|
public final WFF a(int i, C17416wdP c17416wdP, int[] iArr, Map<CGg, ?> map) throws NotFoundException, FormatException, ChecksumException {
|
|
return a(this.a.a(i, c17416wdP, iArr, map));
|
|
}
|
|
|
|
@Override // o.rua, o.xue
|
|
public final WFF d(int i, C17416wdP c17416wdP, Map<CGg, ?> map) throws NotFoundException, FormatException, ChecksumException {
|
|
return a(this.a.d(i, c17416wdP, map));
|
|
}
|
|
|
|
@Override // o.xue, o.zIz
|
|
public final WFF a(BKc bKc) throws NotFoundException, FormatException {
|
|
return a(this.a.a(bKc));
|
|
}
|
|
|
|
@Override // o.xue, o.zIz
|
|
public final WFF b(BKc bKc, Map<CGg, ?> map) throws NotFoundException, FormatException {
|
|
return a(this.a.b(bKc, map));
|
|
}
|
|
|
|
@Override // o.rua
|
|
final PTS d() {
|
|
return PTS.UPC_A;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: protected */
|
|
@Override // o.rua
|
|
public final int b(C17416wdP c17416wdP, int[] iArr, StringBuilder sb) throws NotFoundException {
|
|
return this.a.b(c17416wdP, iArr, sb);
|
|
}
|
|
|
|
private static WFF a(WFF wff) throws FormatException {
|
|
Map<MoF, Object> map;
|
|
String str = wff.b;
|
|
if (str.charAt(0) == '0') {
|
|
WFF wff2 = new WFF(str.substring(1), null, wff.c, PTS.UPC_A);
|
|
if (wff.e != null && (map = wff.e) != null) {
|
|
Map<MoF, Object> map2 = wff2.e;
|
|
if (map2 == null) {
|
|
wff2.e = map;
|
|
} else {
|
|
map2.putAll(map);
|
|
}
|
|
}
|
|
return wff2;
|
|
}
|
|
throw FormatException.c();
|
|
}
|
|
}
|