package com.revenuecat.purchases.ui.revenuecatui.components.ktx;

import E3.v;
import X0.I;
import com.revenuecat.purchases.paywalls.components.properties.FontWeight;
import kotlin.jvm.internal.o;

/* JADX INFO: loaded from: classes3.dex */
public final /* synthetic */ class FontKt {

    public /* synthetic */ class WhenMappings {
        public static final /* synthetic */ int[] $EnumSwitchMapping$0;

        static {
            int[] iArr = new int[FontWeight.values().length];
            try {
                iArr[FontWeight.EXTRA_LIGHT.ordinal()] = 1;
            } catch (NoSuchFieldError unused) {
            }
            try {
                iArr[FontWeight.THIN.ordinal()] = 2;
            } catch (NoSuchFieldError unused2) {
            }
            try {
                iArr[FontWeight.LIGHT.ordinal()] = 3;
            } catch (NoSuchFieldError unused3) {
            }
            try {
                iArr[FontWeight.REGULAR.ordinal()] = 4;
            } catch (NoSuchFieldError unused4) {
            }
            try {
                iArr[FontWeight.MEDIUM.ordinal()] = 5;
            } catch (NoSuchFieldError unused5) {
            }
            try {
                iArr[FontWeight.SEMI_BOLD.ordinal()] = 6;
            } catch (NoSuchFieldError unused6) {
            }
            try {
                iArr[FontWeight.BOLD.ordinal()] = 7;
            } catch (NoSuchFieldError unused7) {
            }
            try {
                iArr[FontWeight.EXTRA_BOLD.ordinal()] = 8;
            } catch (NoSuchFieldError unused8) {
            }
            try {
                iArr[FontWeight.BLACK.ordinal()] = 9;
            } catch (NoSuchFieldError unused9) {
            }
            $EnumSwitchMapping$0 = iArr;
        }
    }

    public static final I toFontWeight(FontWeight fontWeight) {
        o.h(fontWeight, "<this>");
        switch (WhenMappings.$EnumSwitchMapping$0[fontWeight.ordinal()]) {
            case 1:
                I i6 = I.f8440b;
                return I.f8444f;
            case 2:
                I i7 = I.f8440b;
                return I.f8443e;
            case 3:
                I i8 = I.f8440b;
                return I.f8445j;
            case 4:
                I i9 = I.f8440b;
                return I.f8446k;
            case 5:
                I i10 = I.f8440b;
                return I.l;
            case 6:
                I i11 = I.f8440b;
                return I.f8447m;
            case 7:
                I i12 = I.f8440b;
                return I.f8448n;
            case 8:
                I i13 = I.f8440b;
                return I.f8449o;
            case 9:
                I i14 = I.f8440b;
                return I.f8450p;
            default:
                throw new v();
        }
    }
}
