package com.revenuecat.purchases.ui.revenuecatui.components.style;

import A0.a;
import B.H0;
import androidx.compose.runtime.Immutable;
import com.revenuecat.purchases.paywalls.components.properties.Shape;
import com.revenuecat.purchases.paywalls.components.properties.Size;
import com.revenuecat.purchases.ui.revenuecatui.components.PresentedOverride;
import com.revenuecat.purchases.ui.revenuecatui.components.PresentedTabsPartial;
import com.revenuecat.purchases.ui.revenuecatui.components.properties.BackgroundStyles;
import com.revenuecat.purchases.ui.revenuecatui.components.properties.BorderStyles;
import com.revenuecat.purchases.ui.revenuecatui.components.properties.ShadowStyles;
import com.revenuecat.purchases.ui.revenuecatui.helpers.NonEmptyList;
import java.util.List;
import kotlin.jvm.internal.o;

/* JADX INFO: loaded from: classes3.dex */
@Immutable
public final class TabsComponentStyle implements ComponentStyle {
    public static final int $stable = 0;
    private final BackgroundStyles background;
    private final BorderStyles border;
    private final TabControlStyle control;
    private final H0 margin;
    private final List<PresentedOverride<PresentedTabsPartial>> overrides;
    private final H0 padding;
    private final ShadowStyles shadow;
    private final Shape shape;
    private final Size size;
    private final NonEmptyList<Tab> tabs;
    private final boolean visible;

    @Immutable
    public static final class Tab {
        public static final int $stable = 0;
        private final StackComponentStyle stack;

        public Tab(StackComponentStyle stack) {
            o.h(stack, "stack");
            this.stack = stack;
        }

        public static /* synthetic */ Tab copy$default(Tab tab, StackComponentStyle stackComponentStyle, int i6, Object obj) {
            if ((i6 & 1) != 0) {
                stackComponentStyle = tab.stack;
            }
            return tab.copy(stackComponentStyle);
        }

        public final StackComponentStyle component1() {
            return this.stack;
        }

        public final Tab copy(StackComponentStyle stack) {
            o.h(stack, "stack");
            return new Tab(stack);
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            return (obj instanceof Tab) && o.c(this.stack, ((Tab) obj).stack);
        }

        public final /* synthetic */ StackComponentStyle getStack() {
            return this.stack;
        }

        public int hashCode() {
            return this.stack.hashCode();
        }

        public String toString() {
            return "Tab(stack=" + this.stack + ')';
        }
    }

    public TabsComponentStyle(boolean z6, Size size, H0 padding, H0 margin, BackgroundStyles backgroundStyles, Shape shape, BorderStyles borderStyles, ShadowStyles shadowStyles, TabControlStyle control, NonEmptyList<Tab> tabs, List<PresentedOverride<PresentedTabsPartial>> overrides) {
        o.h(size, "size");
        o.h(padding, "padding");
        o.h(margin, "margin");
        o.h(shape, "shape");
        o.h(control, "control");
        o.h(tabs, "tabs");
        o.h(overrides, "overrides");
        this.visible = z6;
        this.size = size;
        this.padding = padding;
        this.margin = margin;
        this.background = backgroundStyles;
        this.shape = shape;
        this.border = borderStyles;
        this.shadow = shadowStyles;
        this.control = control;
        this.tabs = tabs;
        this.overrides = overrides;
    }

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ TabsComponentStyle copy$default(TabsComponentStyle tabsComponentStyle, boolean z6, Size size, H0 h0, H0 h02, BackgroundStyles backgroundStyles, Shape shape, BorderStyles borderStyles, ShadowStyles shadowStyles, TabControlStyle tabControlStyle, NonEmptyList nonEmptyList, List list, int i6, Object obj) {
        if ((i6 & 1) != 0) {
            z6 = tabsComponentStyle.visible;
        }
        if ((i6 & 2) != 0) {
            size = tabsComponentStyle.size;
        }
        if ((i6 & 4) != 0) {
            h0 = tabsComponentStyle.padding;
        }
        if ((i6 & 8) != 0) {
            h02 = tabsComponentStyle.margin;
        }
        if ((i6 & 16) != 0) {
            backgroundStyles = tabsComponentStyle.background;
        }
        if ((i6 & 32) != 0) {
            shape = tabsComponentStyle.shape;
        }
        if ((i6 & 64) != 0) {
            borderStyles = tabsComponentStyle.border;
        }
        if ((i6 & 128) != 0) {
            shadowStyles = tabsComponentStyle.shadow;
        }
        if ((i6 & 256) != 0) {
            tabControlStyle = tabsComponentStyle.control;
        }
        if ((i6 & 512) != 0) {
            nonEmptyList = tabsComponentStyle.tabs;
        }
        if ((i6 & 1024) != 0) {
            list = tabsComponentStyle.overrides;
        }
        NonEmptyList nonEmptyList2 = nonEmptyList;
        List list2 = list;
        ShadowStyles shadowStyles2 = shadowStyles;
        TabControlStyle tabControlStyle2 = tabControlStyle;
        Shape shape2 = shape;
        BorderStyles borderStyles2 = borderStyles;
        BackgroundStyles backgroundStyles2 = backgroundStyles;
        H0 h03 = h0;
        return tabsComponentStyle.copy(z6, size, h03, h02, backgroundStyles2, shape2, borderStyles2, shadowStyles2, tabControlStyle2, nonEmptyList2, list2);
    }

    public final boolean component1() {
        return this.visible;
    }

    public final NonEmptyList<Tab> component10() {
        return this.tabs;
    }

    public final List<PresentedOverride<PresentedTabsPartial>> component11() {
        return this.overrides;
    }

    public final Size component2() {
        return this.size;
    }

    public final H0 component3() {
        return this.padding;
    }

    public final H0 component4() {
        return this.margin;
    }

    public final BackgroundStyles component5() {
        return this.background;
    }

    public final Shape component6() {
        return this.shape;
    }

    public final BorderStyles component7() {
        return this.border;
    }

    public final ShadowStyles component8() {
        return this.shadow;
    }

    public final TabControlStyle component9() {
        return this.control;
    }

    public final TabsComponentStyle copy(boolean z6, Size size, H0 padding, H0 margin, BackgroundStyles backgroundStyles, Shape shape, BorderStyles borderStyles, ShadowStyles shadowStyles, TabControlStyle control, NonEmptyList<Tab> tabs, List<PresentedOverride<PresentedTabsPartial>> overrides) {
        o.h(size, "size");
        o.h(padding, "padding");
        o.h(margin, "margin");
        o.h(shape, "shape");
        o.h(control, "control");
        o.h(tabs, "tabs");
        o.h(overrides, "overrides");
        return new TabsComponentStyle(z6, size, padding, margin, backgroundStyles, shape, borderStyles, shadowStyles, control, tabs, overrides);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof TabsComponentStyle)) {
            return false;
        }
        TabsComponentStyle tabsComponentStyle = (TabsComponentStyle) obj;
        return this.visible == tabsComponentStyle.visible && o.c(this.size, tabsComponentStyle.size) && o.c(this.padding, tabsComponentStyle.padding) && o.c(this.margin, tabsComponentStyle.margin) && o.c(this.background, tabsComponentStyle.background) && o.c(this.shape, tabsComponentStyle.shape) && o.c(this.border, tabsComponentStyle.border) && o.c(this.shadow, tabsComponentStyle.shadow) && o.c(this.control, tabsComponentStyle.control) && o.c(this.tabs, tabsComponentStyle.tabs) && o.c(this.overrides, tabsComponentStyle.overrides);
    }

    public final /* synthetic */ BackgroundStyles getBackground() {
        return this.background;
    }

    public final /* synthetic */ BorderStyles getBorder() {
        return this.border;
    }

    public final /* synthetic */ TabControlStyle getControl() {
        return this.control;
    }

    public final /* synthetic */ H0 getMargin() {
        return this.margin;
    }

    public final /* synthetic */ List getOverrides() {
        return this.overrides;
    }

    public final /* synthetic */ H0 getPadding() {
        return this.padding;
    }

    public final /* synthetic */ ShadowStyles getShadow() {
        return this.shadow;
    }

    public final /* synthetic */ Shape getShape() {
        return this.shape;
    }

    @Override // com.revenuecat.purchases.ui.revenuecatui.components.style.ComponentStyle
    public /* synthetic */ Size getSize() {
        return this.size;
    }

    public final /* synthetic */ NonEmptyList getTabs() {
        return this.tabs;
    }

    @Override // com.revenuecat.purchases.ui.revenuecatui.components.style.ComponentStyle
    public /* synthetic */ boolean getVisible() {
        return this.visible;
    }

    public int hashCode() {
        int iHashCode = (this.margin.hashCode() + ((this.padding.hashCode() + ((this.size.hashCode() + (Boolean.hashCode(this.visible) * 31)) * 31)) * 31)) * 31;
        BackgroundStyles backgroundStyles = this.background;
        int iHashCode2 = (this.shape.hashCode() + ((iHashCode + (backgroundStyles == null ? 0 : backgroundStyles.hashCode())) * 31)) * 31;
        BorderStyles borderStyles = this.border;
        int iHashCode3 = (iHashCode2 + (borderStyles == null ? 0 : borderStyles.hashCode())) * 31;
        ShadowStyles shadowStyles = this.shadow;
        return this.overrides.hashCode() + ((this.tabs.hashCode() + ((this.control.hashCode() + ((iHashCode3 + (shadowStyles != null ? shadowStyles.hashCode() : 0)) * 31)) * 31)) * 31);
    }

    public String toString() {
        StringBuilder sb = new StringBuilder("TabsComponentStyle(visible=");
        sb.append(this.visible);
        sb.append(", size=");
        sb.append(this.size);
        sb.append(", padding=");
        sb.append(this.padding);
        sb.append(", margin=");
        sb.append(this.margin);
        sb.append(", background=");
        sb.append(this.background);
        sb.append(", shape=");
        sb.append(this.shape);
        sb.append(", border=");
        sb.append(this.border);
        sb.append(", shadow=");
        sb.append(this.shadow);
        sb.append(", control=");
        sb.append(this.control);
        sb.append(", tabs=");
        sb.append(this.tabs);
        sb.append(", overrides=");
        return a.o(sb, this.overrides, ')');
    }
}
