package com.revenuecat.purchases.ui.revenuecatui.customercenter.views;

import J4.c;
import com.google.android.recaptcha.internal.a;
import kotlin.jvm.internal.o;
import q.AbstractC2761L;

/* JADX INFO: loaded from: classes3.dex */
final class EmailInputState {
    private final String email;
    private final boolean enabled;
    private final c onEmailChange;
    private final c onFocusChanged;
    private final boolean showError;

    public EmailInputState(String email, c onEmailChange, c onFocusChanged, boolean z6, boolean z7) {
        o.h(email, "email");
        o.h(onEmailChange, "onEmailChange");
        o.h(onFocusChanged, "onFocusChanged");
        this.email = email;
        this.onEmailChange = onEmailChange;
        this.onFocusChanged = onFocusChanged;
        this.showError = z6;
        this.enabled = z7;
    }

    public static /* synthetic */ EmailInputState copy$default(EmailInputState emailInputState, String str, c cVar, c cVar2, boolean z6, boolean z7, int i6, Object obj) {
        if ((i6 & 1) != 0) {
            str = emailInputState.email;
        }
        if ((i6 & 2) != 0) {
            cVar = emailInputState.onEmailChange;
        }
        if ((i6 & 4) != 0) {
            cVar2 = emailInputState.onFocusChanged;
        }
        if ((i6 & 8) != 0) {
            z6 = emailInputState.showError;
        }
        if ((i6 & 16) != 0) {
            z7 = emailInputState.enabled;
        }
        boolean z8 = z7;
        c cVar3 = cVar2;
        return emailInputState.copy(str, cVar, cVar3, z6, z8);
    }

    public final String component1() {
        return this.email;
    }

    public final c component2() {
        return this.onEmailChange;
    }

    public final c component3() {
        return this.onFocusChanged;
    }

    public final boolean component4() {
        return this.showError;
    }

    public final boolean component5() {
        return this.enabled;
    }

    public final EmailInputState copy(String email, c onEmailChange, c onFocusChanged, boolean z6, boolean z7) {
        o.h(email, "email");
        o.h(onEmailChange, "onEmailChange");
        o.h(onFocusChanged, "onFocusChanged");
        return new EmailInputState(email, onEmailChange, onFocusChanged, z6, z7);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof EmailInputState)) {
            return false;
        }
        EmailInputState emailInputState = (EmailInputState) obj;
        return o.c(this.email, emailInputState.email) && o.c(this.onEmailChange, emailInputState.onEmailChange) && o.c(this.onFocusChanged, emailInputState.onFocusChanged) && this.showError == emailInputState.showError && this.enabled == emailInputState.enabled;
    }

    public final String getEmail() {
        return this.email;
    }

    public final boolean getEnabled() {
        return this.enabled;
    }

    public final c getOnEmailChange() {
        return this.onEmailChange;
    }

    public final c getOnFocusChanged() {
        return this.onFocusChanged;
    }

    public final boolean getShowError() {
        return this.showError;
    }

    public int hashCode() {
        return Boolean.hashCode(this.enabled) + a.f((this.onFocusChanged.hashCode() + ((this.onEmailChange.hashCode() + (this.email.hashCode() * 31)) * 31)) * 31, 31, this.showError);
    }

    public String toString() {
        StringBuilder sb = new StringBuilder("EmailInputState(email=");
        sb.append(this.email);
        sb.append(", onEmailChange=");
        sb.append(this.onEmailChange);
        sb.append(", onFocusChanged=");
        sb.append(this.onFocusChanged);
        sb.append(", showError=");
        sb.append(this.showError);
        sb.append(", enabled=");
        return AbstractC2761L.h(sb, this.enabled, ')');
    }
}
