package A2;

import com.google.firebase.firestore.local.SQLitePersistence;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import x4.AbstractC3251q;
import x4.AbstractC3252r;

/* JADX INFO: loaded from: classes.dex */
public final class b {

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public static final List f85c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public static final List f86d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public static final List f87e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public static final Set f88f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public static final Set f89g;

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final int f90a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final int f91b;

    static {
        u4.c cVar = new u4.c(1);
        List listB = AbstractC3252r.B(0, 600, 840);
        f85c = listB;
        ArrayList arrayListS0 = AbstractC3251q.s0(AbstractC3252r.B(1200, 1600), listB);
        List listB2 = AbstractC3252r.B(0, 480, Integer.valueOf(SQLitePersistence.MAX_ARGS));
        f86d = listB2;
        f87e = listB2;
        f88f = u4.c.b(cVar, listB, listB2);
        f89g = u4.c.b(cVar, arrayListS0, listB2);
    }

    public b(int i6, int i7) {
        this.f90a = i6;
        this.f91b = i7;
        if (i6 < 0) {
            throw new IllegalArgumentException(("Expected minWidthDp to be at least 0, minWidthDp: " + i6 + '.').toString());
        }
        if (i7 >= 0) {
            return;
        }
        throw new IllegalArgumentException(("Expected minHeightDp to be at least 0, minHeightDp: " + i7 + '.').toString());
    }

    public final c a() {
        float f6 = this.f90a;
        if (f6 >= 0.0f) {
            return f6 < 600.0f ? c.f92b : f6 < 840.0f ? c.f93c : c.f94d;
        }
        throw new IllegalArgumentException(("Width must be positive, received " + f6).toString());
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || b.class != obj.getClass()) {
            return false;
        }
        b bVar = (b) obj;
        return this.f90a == bVar.f90a && this.f91b == bVar.f91b;
    }

    public final int hashCode() {
        return (this.f90a * 31) + this.f91b;
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder("WindowSizeClass(minWidthDp=");
        sb.append(this.f90a);
        sb.append(", minHeightDp=");
        return com.google.android.recaptcha.internal.a.m(sb, this.f91b, ')');
    }
}
