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

import com.revenuecat.purchases.ui.revenuecatui.customercenter.data.CustomerCenterState;
import kotlin.jvm.internal.o;
import q.AbstractC2761L;

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

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

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

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

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

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

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

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

    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 Boolean.hashCode(this.shouldUseLargeTopBar) + ((this.navigationButtonType.hashCode() + ((str == null ? 0 : str.hashCode()) * 31)) * 31);
    }

    public String toString() {
        StringBuilder sb = new StringBuilder("ScaffoldConfigData(title=");
        sb.append(this.title);
        sb.append(", navigationButtonType=");
        sb.append(this.navigationButtonType);
        sb.append(", shouldUseLargeTopBar=");
        return AbstractC2761L.h(sb, this.shouldUseLargeTopBar, ')');
    }
}
