package K.K.㸾.K;

import ai.advance.liveness.lib.Detector;
import ai.advance.liveness.lib.e;
import ai.advance.liveness.lib.l;
import java.util.ArrayList;
import java.util.List;
import K.K.K.ῲ.C2372;

@Deprecated
/* renamed from: K.K.㸾.K.ʬ  reason: contains not printable characters */
public class C2383 {

    /* renamed from: ʬ  reason: contains not printable characters */
    public static C2372 f8242;

    /* renamed from: ඓ  reason: contains not printable characters */
    public static List<String> f8243 = new ArrayList();

    /* renamed from: ῲ  reason: contains not printable characters */
    public static String f8244;

    /* renamed from: K  reason: contains not printable characters */
    public static String f8245;

    /* renamed from: 㸾  reason: contains not printable characters */
    public static String f8246;

    /* renamed from: K.K.㸾.K.ʬ$K  reason: contains not printable characters */
    public static /* synthetic */ class C2384 {

        /* renamed from: ῲ  reason: contains not printable characters */
        public static final /* synthetic */ int[] f8247 = new int[Detector.DetectionFailedType.values().length];

        /* renamed from: K  reason: contains not printable characters */
        public static final /* synthetic */ int[] f8248 = new int[Detector.DetectionType.values().length];

        /* JADX WARNING: Can't wrap try/catch for region: R(18:0|(2:1|2)|3|(2:5|6)|7|9|10|11|12|13|14|(2:15|16)|17|19|20|21|22|(3:23|24|26)) */
        /* JADX WARNING: Can't wrap try/catch for region: R(19:0|1|2|3|(2:5|6)|7|9|10|11|12|13|14|(2:15|16)|17|19|20|21|22|(3:23|24|26)) */
        /* JADX WARNING: Can't wrap try/catch for region: R(21:0|1|2|3|(2:5|6)|7|9|10|11|12|13|14|(2:15|16)|17|19|20|21|22|23|24|26) */
        /* JADX WARNING: Failed to process nested try/catch */
        /* JADX WARNING: Missing exception handler attribute for start block: B:11:0x002a */
        /* JADX WARNING: Missing exception handler attribute for start block: B:13:0x0035 */
        /* JADX WARNING: Missing exception handler attribute for start block: B:15:0x0040 */
        /* JADX WARNING: Missing exception handler attribute for start block: B:21:0x005e */
        /* JADX WARNING: Missing exception handler attribute for start block: B:23:0x0068 */
        static {
            try {
                f8247[Detector.DetectionFailedType.TIMEOUT.ordinal()] = 1;
            } catch (NoSuchFieldError unused) {
            }
            try {
                f8247[Detector.DetectionFailedType.WEAKLIGHT.ordinal()] = 2;
            } catch (NoSuchFieldError unused2) {
            }
            f8247[Detector.DetectionFailedType.STRONGLIGHT.ordinal()] = 3;
            f8247[Detector.DetectionFailedType.MUCHMOTION.ordinal()] = 4;
            f8247[Detector.DetectionFailedType.FACEMISSING.ordinal()] = 5;
            try {
                f8247[Detector.DetectionFailedType.MULTIPLEFACE.ordinal()] = 6;
            } catch (NoSuchFieldError unused3) {
            }
            f8248[Detector.DetectionType.MOUTH.ordinal()] = 1;
            f8248[Detector.DetectionType.BLINK.ordinal()] = 2;
            try {
                f8248[Detector.DetectionType.POS_YAW.ordinal()] = 3;
            } catch (NoSuchFieldError unused4) {
            }
        }
    }

    /* renamed from: K  reason: contains not printable characters */
    public static void m6377(long j) {
    }

    /* renamed from: K  reason: contains not printable characters */
    public static void m6378(Detector.DetectionFailedType detectionFailedType) {
        e eVar;
        if (detectionFailedType != null) {
            switch (C2384.f8247[detectionFailedType.ordinal()]) {
                case 1:
                    eVar = e.ACTION_TIMEOUT;
                    break;
                case 2:
                    eVar = e.WEAK_LIGHT;
                    break;
                case 3:
                    eVar = e.STRONG_LIGHT;
                    break;
                case 4:
                    eVar = e.MUCH_MOTION;
                    break;
                case 5:
                    eVar = e.FACE_MISSING;
                    break;
                case 6:
                    eVar = e.MULTIPLE_FACE;
                    break;
                default:
                    return;
            }
            m6380(eVar);
        }
    }

    /* renamed from: K  reason: contains not printable characters */
    public static void m6379(Detector.DetectionType detectionType) {
        if (detectionType != null) {
            int i = C2384.f8248[detectionType.ordinal()];
            if (i == 1) {
                l lVar = l.MOUTH;
            } else if (i == 2) {
                l lVar2 = l.BLINK;
            } else if (i == 3) {
                l lVar3 = l.POS_YAW;
            }
        }
    }

    /* renamed from: K  reason: contains not printable characters */
    public static void m6380(e eVar) {
        f8246 = eVar.name();
    }

    /* renamed from: K  reason: contains not printable characters */
    public static void m6381(l lVar) {
    }

    /* renamed from: K  reason: contains not printable characters */
    public static void m6382(String str) {
        if (f8242 == null) {
            f8242 = new C2372();
        }
        C2372 k = f8242;
        if (!k.f8209) {
            k.f8214 = str;
        }
    }

    /* renamed from: K  reason: contains not printable characters */
    public static void m6383(String str, String str2, String str3, C2372 k) {
        f8244 = str3;
        f8245 = str;
        f8242 = k;
    }

    /* renamed from: K  reason: contains not printable characters */
    public static boolean m6384() {
        C2372 k = f8242;
        if (k == null) {
            return false;
        }
        return k.f8209;
    }
}
