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

122 lines
3.5 KiB
Java

package o;
import com.google.zxing.WriterException;
import java.util.Map;
/* loaded from: classes.dex */
public final class TlN implements InterfaceC16283mxN {
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.TlN$4, reason: invalid class name */
/* loaded from: classes.dex */
public static /* synthetic */ class AnonymousClass4 {
static final int[] a;
static {
int[] iArr = new int[PTS.values().length];
a = iArr;
try {
iArr[PTS.EAN_8.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
a[PTS.UPC_E.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
try {
a[PTS.EAN_13.ordinal()] = 3;
} catch (NoSuchFieldError unused3) {
}
try {
a[PTS.UPC_A.ordinal()] = 4;
} catch (NoSuchFieldError unused4) {
}
try {
a[PTS.QR_CODE.ordinal()] = 5;
} catch (NoSuchFieldError unused5) {
}
try {
a[PTS.CODE_39.ordinal()] = 6;
} catch (NoSuchFieldError unused6) {
}
try {
a[PTS.CODE_93.ordinal()] = 7;
} catch (NoSuchFieldError unused7) {
}
try {
a[PTS.CODE_128.ordinal()] = 8;
} catch (NoSuchFieldError unused8) {
}
try {
a[PTS.ITF.ordinal()] = 9;
} catch (NoSuchFieldError unused9) {
}
try {
a[PTS.PDF_417.ordinal()] = 10;
} catch (NoSuchFieldError unused10) {
}
try {
a[PTS.CODABAR.ordinal()] = 11;
} catch (NoSuchFieldError unused11) {
}
try {
a[PTS.DATA_MATRIX.ordinal()] = 12;
} catch (NoSuchFieldError unused12) {
}
try {
a[PTS.AZTEC.ordinal()] = 13;
} catch (NoSuchFieldError unused13) {
}
}
}
@Override // o.InterfaceC16283mxN
public final C8902dZc d(String str, PTS pts, int i, int i2, Map<EnumC14826gQH, ?> map) throws WriterException {
InterfaceC16283mxN xvd;
switch (AnonymousClass4.a[pts.ordinal()]) {
case 1:
xvd = new xVd();
break;
case 2:
xvd = new KLD();
break;
case 3:
xvd = new mPf();
break;
case 4:
xvd = new C12698fEq();
break;
case 5:
xvd = new VjS();
break;
case 6:
xvd = new ElF();
break;
case 7:
xvd = new upP();
break;
case 8:
xvd = new YtV();
break;
case 9:
xvd = new C2507afs();
break;
case 10:
xvd = new WkX();
break;
case 11:
xvd = new Kjg();
break;
case 12:
xvd = new ZQv();
break;
case 13:
xvd = new CzB();
break;
default:
throw new IllegalArgumentException("No encoder available for format ".concat(String.valueOf(pts)));
}
return xvd.d(str, pts, i, i2, map);
}
}