package okhttp3.internal.http2;

import androidx.navigation.C1134i;
import com.revenuecat.purchases.common.Constants;
import kotlin.jvm.internal.o;
import p5.C2743m;

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

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

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

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

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

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public static final C2743m f22440h;

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    public static final C2743m f22441i;

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

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

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

    public static final class Companion {
        public /* synthetic */ Companion(int i6) {
            this();
        }

        private Companion() {
        }
    }

    static {
        new Companion(0);
        C2743m c2743m = C2743m.f23101d;
        f22436d = C1134i.n(Constants.SUBS_ID_BASE_PLAN_ID_SEPARATOR);
        f22437e = C1134i.n(":status");
        f22438f = C1134i.n(":method");
        f22439g = C1134i.n(":path");
        f22440h = C1134i.n(":scheme");
        f22441i = C1134i.n(":authority");
    }

    public Header(C2743m name, C2743m value) {
        o.h(name, "name");
        o.h(value, "value");
        this.f22442a = name;
        this.f22443b = value;
        this.f22444c = value.d() + name.d() + 32;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof Header)) {
            return false;
        }
        Header header = (Header) obj;
        return o.c(this.f22442a, header.f22442a) && o.c(this.f22443b, header.f22443b);
    }

    public final int hashCode() {
        return this.f22443b.hashCode() + (this.f22442a.hashCode() * 31);
    }

    public final String toString() {
        return this.f22442a.t() + ": " + this.f22443b.t();
    }

    /* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
    public Header(String name, String value) {
        this(C1134i.n(name), C1134i.n(value));
        o.h(name, "name");
        o.h(value, "value");
        C2743m c2743m = C2743m.f23101d;
    }

    /* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
    public Header(C2743m name, String value) {
        this(name, C1134i.n(value));
        o.h(name, "name");
        o.h(value, "value");
        C2743m c2743m = C2743m.f23101d;
    }
}
