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

import androidx.compose.runtime.Immutable;
import com.revenuecat.purchases.ui.revenuecatui.customercenter.data.CustomerCenterState;
import kotlin.jvm.internal.o;

/* JADX INFO: loaded from: classes3.dex */
@Immutable
final class CustomerCenterScaffoldConfig {
    private final CustomerCenterState.NavigationButtonType navigationButtonType;
    private final boolean shouldUseLargeTopBar;
    private final String title;

    public CustomerCenterScaffoldConfig(String str, boolean z6, CustomerCenterState.NavigationButtonType navigationButtonType) {
        o.h(navigationButtonType, "navigationButtonType");
        this.title = str;
        this.shouldUseLargeTopBar = z6;
        this.navigationButtonType = navigationButtonType;
    }

    public static /* synthetic */ CustomerCenterScaffoldConfig copy$default(CustomerCenterScaffoldConfig customerCenterScaffoldConfig, String str, boolean z6, CustomerCenterState.NavigationButtonType navigationButtonType, int i6, Object obj) {
        if ((i6 & 1) != 0) {
            str = customerCenterScaffoldConfig.title;
        }
        if ((i6 & 2) != 0) {
            z6 = customerCenterScaffoldConfig.shouldUseLargeTopBar;
        }
        if ((i6 & 4) != 0) {
            navigationButtonType = customerCenterScaffoldConfig.navigationButtonType;
        }
        return customerCenterScaffoldConfig.copy(str, z6, navigationButtonType);
    }

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

    public final boolean component2() {
        return this.shouldUseLargeTopBar;
    }

    public final CustomerCenterState.NavigationButtonType component3() {
        return this.navigationButtonType;
    }

    public final CustomerCenterScaffoldConfig copy(String str, boolean z6, CustomerCenterState.NavigationButtonType navigationButtonType) {
        o.h(navigationButtonType, "navigationButtonType");
        return new CustomerCenterScaffoldConfig(str, z6, navigationButtonType);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof CustomerCenterScaffoldConfig)) {
            return false;
        }
        CustomerCenterScaffoldConfig customerCenterScaffoldConfig = (CustomerCenterScaffoldConfig) obj;
        return o.c(this.title, customerCenterScaffoldConfig.title) && this.shouldUseLargeTopBar == customerCenterScaffoldConfig.shouldUseLargeTopBar && this.navigationButtonType == customerCenterScaffoldConfig.navigationButtonType;
    }

    public final CustomerCenterState.NavigationButtonType getNavigationButtonType() {
        return this.navigationButtonType;
    }

    public final boolean getShouldUseLargeTopBar() {
        return this.shouldUseLargeTopBar;
    }

    public final String getTitle() {
        return this.title;
    }

    public int hashCode() {
        String str = this.title;
        return this.navigationButtonType.hashCode() + com.google.android.recaptcha.internal.a.f((str == null ? 0 : str.hashCode()) * 31, 31, this.shouldUseLargeTopBar);
    }

    public String toString() {
        return "CustomerCenterScaffoldConfig(title=" + this.title + ", shouldUseLargeTopBar=" + this.shouldUseLargeTopBar + ", navigationButtonType=" + this.navigationButtonType + ')';
    }
}
