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

import B.H0;
import androidx.compose.runtime.Immutable;
import androidx.media3.common.C;
import androidx.media3.exoplayer.DecoderReuseEvaluation;
import androidx.media3.exoplayer.source.ProgressiveMediaSource;
import com.google.android.recaptcha.internal.a;
import com.revenuecat.purchases.Package;
import com.revenuecat.purchases.paywalls.components.CarouselComponent;
import com.revenuecat.purchases.paywalls.components.properties.Shape;
import com.revenuecat.purchases.paywalls.components.properties.Size;
import com.revenuecat.purchases.ui.revenuecatui.components.PresentedCarouselPartial;
import com.revenuecat.purchases.ui.revenuecatui.components.PresentedOverride;
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.ColorStyles;
import com.revenuecat.purchases.ui.revenuecatui.components.properties.ShadowStyles;
import com.revenuecat.purchases.ui.revenuecatui.components.state.PackageContext;
import com.revenuecat.purchases.ui.revenuecatui.composables.OfferEligibility;
import com.revenuecat.purchases.ui.revenuecatui.data.PaywallState;
import com.revenuecat.purchases.ui.revenuecatui.helpers.ResolvedOffer;
import h1.f;
import i0.C2246j;
import i0.InterfaceC2241e;
import java.util.List;
import kotlin.jvm.internal.h;
import kotlin.jvm.internal.o;
import q.AbstractC2761L;

/* JADX INFO: loaded from: classes3.dex */
@Immutable
public final class CarouselComponentStyle implements ComponentStyle, PackageContext {
    public static final int $stable = 0;
    private final CarouselComponent.AutoAdvancePages autoAdvance;
    private final BackgroundStyles background;
    private final BorderStyles border;
    private final int initialPageIndex;
    private final boolean loop;
    private final H0 margin;
    private final OfferEligibility offerEligibility;
    private final List<PresentedOverride<PresentedCarouselPartial>> overrides;
    private final H0 padding;
    private final InterfaceC2241e pageAlignment;
    private final PageControlStyles pageControl;
    private final float pagePeek;
    private final float pageSpacing;
    private final List<StackComponentStyle> pages;
    private final Package rcPackage;
    private final ResolvedOffer resolvedOffer;
    private final ShadowStyles shadow;
    private final Shape shape;
    private final Size size;
    private final Integer tabIndex;
    private final boolean visible;

    @Immutable
    public static final class IndicatorStyles {
        public static final int $stable = 0;
        private final ColorStyles color;
        private final float height;
        private final ColorStyles strokeColor;
        private final f strokeWidth;
        private final float width;

        public /* synthetic */ IndicatorStyles(float f6, float f7, ColorStyles colorStyles, ColorStyles colorStyles2, f fVar, h hVar) {
            this(f6, f7, colorStyles, colorStyles2, fVar);
        }

        /* JADX INFO: renamed from: copy-EwDJqH8$default, reason: not valid java name */
        public static /* synthetic */ IndicatorStyles m778copyEwDJqH8$default(IndicatorStyles indicatorStyles, float f6, float f7, ColorStyles colorStyles, ColorStyles colorStyles2, f fVar, int i6, Object obj) {
            if ((i6 & 1) != 0) {
                f6 = indicatorStyles.width;
            }
            if ((i6 & 2) != 0) {
                f7 = indicatorStyles.height;
            }
            if ((i6 & 4) != 0) {
                colorStyles = indicatorStyles.color;
            }
            if ((i6 & 8) != 0) {
                colorStyles2 = indicatorStyles.strokeColor;
            }
            if ((i6 & 16) != 0) {
                fVar = indicatorStyles.strokeWidth;
            }
            f fVar2 = fVar;
            ColorStyles colorStyles3 = colorStyles;
            return indicatorStyles.m782copyEwDJqH8(f6, f7, colorStyles3, colorStyles2, fVar2);
        }

        /* JADX INFO: renamed from: component1-D9Ej5fM, reason: not valid java name */
        public final float m779component1D9Ej5fM() {
            return this.width;
        }

        /* JADX INFO: renamed from: component2-D9Ej5fM, reason: not valid java name */
        public final float m780component2D9Ej5fM() {
            return this.height;
        }

        public final ColorStyles component3() {
            return this.color;
        }

        public final ColorStyles component4() {
            return this.strokeColor;
        }

        /* JADX INFO: renamed from: component5-lTKBWiU, reason: not valid java name */
        public final f m781component5lTKBWiU() {
            return this.strokeWidth;
        }

        /* JADX INFO: renamed from: copy-EwDJqH8, reason: not valid java name */
        public final IndicatorStyles m782copyEwDJqH8(float f6, float f7, ColorStyles color, ColorStyles colorStyles, f fVar) {
            o.h(color, "color");
            return new IndicatorStyles(f6, f7, color, colorStyles, fVar, null);
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (!(obj instanceof IndicatorStyles)) {
                return false;
            }
            IndicatorStyles indicatorStyles = (IndicatorStyles) obj;
            return f.c(this.width, indicatorStyles.width) && f.c(this.height, indicatorStyles.height) && o.c(this.color, indicatorStyles.color) && o.c(this.strokeColor, indicatorStyles.strokeColor) && o.c(this.strokeWidth, indicatorStyles.strokeWidth);
        }

        public final /* synthetic */ ColorStyles getColor() {
            return this.color;
        }

        /* JADX INFO: renamed from: getHeight-D9Ej5fM, reason: not valid java name */
        public final /* synthetic */ float m783getHeightD9Ej5fM() {
            return this.height;
        }

        public final /* synthetic */ ColorStyles getStrokeColor() {
            return this.strokeColor;
        }

        /* JADX INFO: renamed from: getStrokeWidth-lTKBWiU, reason: not valid java name */
        public final /* synthetic */ f m784getStrokeWidthlTKBWiU() {
            return this.strokeWidth;
        }

        /* JADX INFO: renamed from: getWidth-D9Ej5fM, reason: not valid java name */
        public final /* synthetic */ float m785getWidthD9Ej5fM() {
            return this.width;
        }

        public int hashCode() {
            int iHashCode = (this.color.hashCode() + a.b(this.height, Float.hashCode(this.width) * 31, 31)) * 31;
            ColorStyles colorStyles = this.strokeColor;
            int iHashCode2 = (iHashCode + (colorStyles == null ? 0 : colorStyles.hashCode())) * 31;
            f fVar = this.strokeWidth;
            return iHashCode2 + (fVar != null ? Float.hashCode(fVar.f16618a) : 0);
        }

        public String toString() {
            StringBuilder sb = new StringBuilder("IndicatorStyles(width=");
            AbstractC2761L.k(this.width, sb, ", height=");
            AbstractC2761L.k(this.height, sb, ", color=");
            sb.append(this.color);
            sb.append(", strokeColor=");
            sb.append(this.strokeColor);
            sb.append(", strokeWidth=");
            sb.append(this.strokeWidth);
            sb.append(')');
            return sb.toString();
        }

        private IndicatorStyles(float f6, float f7, ColorStyles color, ColorStyles colorStyles, f fVar) {
            o.h(color, "color");
            this.width = f6;
            this.height = f7;
            this.color = color;
            this.strokeColor = colorStyles;
            this.strokeWidth = fVar;
        }
    }

    @Immutable
    public static final class PageControlStyles {
        public static final int $stable = 0;
        private final IndicatorStyles active;
        private final ColorStyles backgroundColor;
        private final BorderStyles border;

        /* JADX INFO: renamed from: default, reason: not valid java name */
        private final IndicatorStyles f11default;
        private final H0 margin;
        private final H0 padding;
        private final CarouselComponent.PageControl.Position position;
        private final ShadowStyles shadow;
        private final Shape shape;
        private final float spacing;

        public /* synthetic */ PageControlStyles(CarouselComponent.PageControl.Position position, float f6, H0 h0, H0 h02, ColorStyles colorStyles, Shape shape, BorderStyles borderStyles, ShadowStyles shadowStyles, IndicatorStyles indicatorStyles, IndicatorStyles indicatorStyles2, h hVar) {
            this(position, f6, h0, h02, colorStyles, shape, borderStyles, shadowStyles, indicatorStyles, indicatorStyles2);
        }

        /* JADX INFO: renamed from: copy-jfnsLPA$default, reason: not valid java name */
        public static /* synthetic */ PageControlStyles m786copyjfnsLPA$default(PageControlStyles pageControlStyles, CarouselComponent.PageControl.Position position, float f6, H0 h0, H0 h02, ColorStyles colorStyles, Shape shape, BorderStyles borderStyles, ShadowStyles shadowStyles, IndicatorStyles indicatorStyles, IndicatorStyles indicatorStyles2, int i6, Object obj) {
            if ((i6 & 1) != 0) {
                position = pageControlStyles.position;
            }
            if ((i6 & 2) != 0) {
                f6 = pageControlStyles.spacing;
            }
            if ((i6 & 4) != 0) {
                h0 = pageControlStyles.padding;
            }
            if ((i6 & 8) != 0) {
                h02 = pageControlStyles.margin;
            }
            if ((i6 & 16) != 0) {
                colorStyles = pageControlStyles.backgroundColor;
            }
            if ((i6 & 32) != 0) {
                shape = pageControlStyles.shape;
            }
            if ((i6 & 64) != 0) {
                borderStyles = pageControlStyles.border;
            }
            if ((i6 & 128) != 0) {
                shadowStyles = pageControlStyles.shadow;
            }
            if ((i6 & 256) != 0) {
                indicatorStyles = pageControlStyles.active;
            }
            if ((i6 & 512) != 0) {
                indicatorStyles2 = pageControlStyles.f11default;
            }
            IndicatorStyles indicatorStyles3 = indicatorStyles;
            IndicatorStyles indicatorStyles4 = indicatorStyles2;
            BorderStyles borderStyles2 = borderStyles;
            ShadowStyles shadowStyles2 = shadowStyles;
            ColorStyles colorStyles2 = colorStyles;
            Shape shape2 = shape;
            return pageControlStyles.m788copyjfnsLPA(position, f6, h0, h02, colorStyles2, shape2, borderStyles2, shadowStyles2, indicatorStyles3, indicatorStyles4);
        }

        public final CarouselComponent.PageControl.Position component1() {
            return this.position;
        }

        public final IndicatorStyles component10() {
            return this.f11default;
        }

        /* JADX INFO: renamed from: component2-D9Ej5fM, reason: not valid java name */
        public final float m787component2D9Ej5fM() {
            return this.spacing;
        }

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

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

        public final ColorStyles component5() {
            return this.backgroundColor;
        }

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

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

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

        public final IndicatorStyles component9() {
            return this.active;
        }

        /* JADX INFO: renamed from: copy-jfnsLPA, reason: not valid java name */
        public final PageControlStyles m788copyjfnsLPA(CarouselComponent.PageControl.Position position, float f6, H0 padding, H0 margin, ColorStyles colorStyles, Shape shape, BorderStyles borderStyles, ShadowStyles shadowStyles, IndicatorStyles active, IndicatorStyles indicatorStyles) {
            o.h(position, "position");
            o.h(padding, "padding");
            o.h(margin, "margin");
            o.h(shape, "shape");
            o.h(active, "active");
            o.h(indicatorStyles, "default");
            return new PageControlStyles(position, f6, padding, margin, colorStyles, shape, borderStyles, shadowStyles, active, indicatorStyles, null);
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (!(obj instanceof PageControlStyles)) {
                return false;
            }
            PageControlStyles pageControlStyles = (PageControlStyles) obj;
            return this.position == pageControlStyles.position && f.c(this.spacing, pageControlStyles.spacing) && o.c(this.padding, pageControlStyles.padding) && o.c(this.margin, pageControlStyles.margin) && o.c(this.backgroundColor, pageControlStyles.backgroundColor) && o.c(this.shape, pageControlStyles.shape) && o.c(this.border, pageControlStyles.border) && o.c(this.shadow, pageControlStyles.shadow) && o.c(this.active, pageControlStyles.active) && o.c(this.f11default, pageControlStyles.f11default);
        }

        public final /* synthetic */ IndicatorStyles getActive() {
            return this.active;
        }

        public final /* synthetic */ ColorStyles getBackgroundColor() {
            return this.backgroundColor;
        }

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

        public final /* synthetic */ IndicatorStyles getDefault() {
            return this.f11default;
        }

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

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

        public final /* synthetic */ CarouselComponent.PageControl.Position getPosition() {
            return this.position;
        }

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

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

        /* JADX INFO: renamed from: getSpacing-D9Ej5fM, reason: not valid java name */
        public final /* synthetic */ float m789getSpacingD9Ej5fM() {
            return this.spacing;
        }

        public int hashCode() {
            int iHashCode = (this.margin.hashCode() + ((this.padding.hashCode() + a.b(this.spacing, this.position.hashCode() * 31, 31)) * 31)) * 31;
            ColorStyles colorStyles = this.backgroundColor;
            int iHashCode2 = (this.shape.hashCode() + ((iHashCode + (colorStyles == null ? 0 : colorStyles.hashCode())) * 31)) * 31;
            BorderStyles borderStyles = this.border;
            int iHashCode3 = (iHashCode2 + (borderStyles == null ? 0 : borderStyles.hashCode())) * 31;
            ShadowStyles shadowStyles = this.shadow;
            int iHashCode4 = shadowStyles != null ? shadowStyles.hashCode() : 0;
            return this.f11default.hashCode() + ((this.active.hashCode() + ((iHashCode3 + iHashCode4) * 31)) * 31);
        }

        public String toString() {
            StringBuilder sb = new StringBuilder("PageControlStyles(position=");
            sb.append(this.position);
            sb.append(", spacing=");
            AbstractC2761L.k(this.spacing, sb, ", padding=");
            sb.append(this.padding);
            sb.append(", margin=");
            sb.append(this.margin);
            sb.append(", backgroundColor=");
            sb.append(this.backgroundColor);
            sb.append(", shape=");
            sb.append(this.shape);
            sb.append(", border=");
            sb.append(this.border);
            sb.append(", shadow=");
            sb.append(this.shadow);
            sb.append(", active=");
            sb.append(this.active);
            sb.append(", default=");
            sb.append(this.f11default);
            sb.append(')');
            return sb.toString();
        }

        private PageControlStyles(CarouselComponent.PageControl.Position position, float f6, H0 padding, H0 margin, ColorStyles colorStyles, Shape shape, BorderStyles borderStyles, ShadowStyles shadowStyles, IndicatorStyles active, IndicatorStyles indicatorStyles) {
            o.h(position, "position");
            o.h(padding, "padding");
            o.h(margin, "margin");
            o.h(shape, "shape");
            o.h(active, "active");
            o.h(indicatorStyles, "default");
            this.position = position;
            this.spacing = f6;
            this.padding = padding;
            this.margin = margin;
            this.backgroundColor = colorStyles;
            this.shape = shape;
            this.border = borderStyles;
            this.shadow = shadowStyles;
            this.active = active;
            this.f11default = indicatorStyles;
        }
    }

    public /* synthetic */ CarouselComponentStyle(List list, int i6, InterfaceC2241e interfaceC2241e, boolean z6, Size size, float f6, float f7, BackgroundStyles backgroundStyles, H0 h0, H0 h02, Shape shape, BorderStyles borderStyles, ShadowStyles shadowStyles, PageControlStyles pageControlStyles, boolean z7, CarouselComponent.AutoAdvancePages autoAdvancePages, Package r17, ResolvedOffer resolvedOffer, Integer num, OfferEligibility offerEligibility, List list2, h hVar) {
        this(list, i6, interfaceC2241e, z6, size, f6, f7, backgroundStyles, h0, h02, shape, borderStyles, shadowStyles, pageControlStyles, z7, autoAdvancePages, r17, resolvedOffer, num, offerEligibility, list2);
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* JADX INFO: renamed from: copy-aesFJdY$default, reason: not valid java name */
    public static /* synthetic */ CarouselComponentStyle m772copyaesFJdY$default(CarouselComponentStyle carouselComponentStyle, List list, int i6, InterfaceC2241e interfaceC2241e, boolean z6, Size size, float f6, float f7, BackgroundStyles backgroundStyles, H0 h0, H0 h02, Shape shape, BorderStyles borderStyles, ShadowStyles shadowStyles, PageControlStyles pageControlStyles, boolean z7, CarouselComponent.AutoAdvancePages autoAdvancePages, Package r34, ResolvedOffer resolvedOffer, Integer num, OfferEligibility offerEligibility, List list2, int i7, Object obj) {
        List list3;
        OfferEligibility offerEligibility2;
        List list4 = (i7 & 1) != 0 ? carouselComponentStyle.pages : list;
        int i8 = (i7 & 2) != 0 ? carouselComponentStyle.initialPageIndex : i6;
        InterfaceC2241e interfaceC2241e2 = (i7 & 4) != 0 ? carouselComponentStyle.pageAlignment : interfaceC2241e;
        boolean z8 = (i7 & 8) != 0 ? carouselComponentStyle.visible : z6;
        Size size2 = (i7 & 16) != 0 ? carouselComponentStyle.size : size;
        float f8 = (i7 & 32) != 0 ? carouselComponentStyle.pagePeek : f6;
        float f9 = (i7 & 64) != 0 ? carouselComponentStyle.pageSpacing : f7;
        BackgroundStyles backgroundStyles2 = (i7 & 128) != 0 ? carouselComponentStyle.background : backgroundStyles;
        H0 h03 = (i7 & 256) != 0 ? carouselComponentStyle.padding : h0;
        H0 h04 = (i7 & 512) != 0 ? carouselComponentStyle.margin : h02;
        Shape shape2 = (i7 & 1024) != 0 ? carouselComponentStyle.shape : shape;
        BorderStyles borderStyles2 = (i7 & 2048) != 0 ? carouselComponentStyle.border : borderStyles;
        ShadowStyles shadowStyles2 = (i7 & 4096) != 0 ? carouselComponentStyle.shadow : shadowStyles;
        PageControlStyles pageControlStyles2 = (i7 & 8192) != 0 ? carouselComponentStyle.pageControl : pageControlStyles;
        List list5 = list4;
        boolean z9 = (i7 & 16384) != 0 ? carouselComponentStyle.loop : z7;
        CarouselComponent.AutoAdvancePages autoAdvancePages2 = (i7 & DecoderReuseEvaluation.DISCARD_REASON_AUDIO_BYPASS_POSSIBLE) != 0 ? carouselComponentStyle.autoAdvance : autoAdvancePages;
        Package r20 = (i7 & C.DEFAULT_BUFFER_SEGMENT_SIZE) != 0 ? carouselComponentStyle.rcPackage : r34;
        ResolvedOffer resolvedOffer2 = (i7 & 131072) != 0 ? carouselComponentStyle.resolvedOffer : resolvedOffer;
        Integer num2 = (i7 & 262144) != 0 ? carouselComponentStyle.tabIndex : num;
        OfferEligibility offerEligibility3 = (i7 & 524288) != 0 ? carouselComponentStyle.offerEligibility : offerEligibility;
        if ((i7 & ProgressiveMediaSource.DEFAULT_LOADING_CHECK_INTERVAL_BYTES) != 0) {
            offerEligibility2 = offerEligibility3;
            list3 = carouselComponentStyle.overrides;
        } else {
            list3 = list2;
            offerEligibility2 = offerEligibility3;
        }
        return carouselComponentStyle.m775copyaesFJdY(list5, i8, interfaceC2241e2, z8, size2, f8, f9, backgroundStyles2, h03, h04, shape2, borderStyles2, shadowStyles2, pageControlStyles2, z9, autoAdvancePages2, r20, resolvedOffer2, num2, offerEligibility2, list3);
    }

    public final List<StackComponentStyle> component1() {
        return this.pages;
    }

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

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

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

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

    public final PageControlStyles component14() {
        return this.pageControl;
    }

    public final boolean component15() {
        return this.loop;
    }

    public final CarouselComponent.AutoAdvancePages component16() {
        return this.autoAdvance;
    }

    public final Package component17() {
        return this.rcPackage;
    }

    public final ResolvedOffer component18() {
        return this.resolvedOffer;
    }

    public final Integer component19() {
        return this.tabIndex;
    }

    public final int component2() {
        return this.initialPageIndex;
    }

    public final OfferEligibility component20() {
        return this.offerEligibility;
    }

    public final List<PresentedOverride<PresentedCarouselPartial>> component21() {
        return this.overrides;
    }

    public final InterfaceC2241e component3() {
        return this.pageAlignment;
    }

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

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

    /* JADX INFO: renamed from: component6-D9Ej5fM, reason: not valid java name */
    public final float m773component6D9Ej5fM() {
        return this.pagePeek;
    }

    /* JADX INFO: renamed from: component7-D9Ej5fM, reason: not valid java name */
    public final float m774component7D9Ej5fM() {
        return this.pageSpacing;
    }

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

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

    @Override // com.revenuecat.purchases.ui.revenuecatui.components.state.PackageContext
    public /* synthetic */ boolean computeIsSelected(PaywallState.Loaded.Components.SelectedPackageInfo selectedPackageInfo, int i6) {
        return PackageContext.DefaultImpls.computeIsSelected(this, selectedPackageInfo, i6);
    }

    /* JADX INFO: renamed from: copy-aesFJdY, reason: not valid java name */
    public final CarouselComponentStyle m775copyaesFJdY(List<StackComponentStyle> pages, int i6, InterfaceC2241e pageAlignment, boolean z6, Size size, float f6, float f7, BackgroundStyles backgroundStyles, H0 padding, H0 margin, Shape shape, BorderStyles borderStyles, ShadowStyles shadowStyles, PageControlStyles pageControlStyles, boolean z7, CarouselComponent.AutoAdvancePages autoAdvancePages, Package r41, ResolvedOffer resolvedOffer, Integer num, OfferEligibility offerEligibility, List<PresentedOverride<PresentedCarouselPartial>> overrides) {
        o.h(pages, "pages");
        o.h(pageAlignment, "pageAlignment");
        o.h(size, "size");
        o.h(padding, "padding");
        o.h(margin, "margin");
        o.h(shape, "shape");
        o.h(overrides, "overrides");
        return new CarouselComponentStyle(pages, i6, pageAlignment, z6, size, f6, f7, backgroundStyles, padding, margin, shape, borderStyles, shadowStyles, pageControlStyles, z7, autoAdvancePages, r41, resolvedOffer, num, offerEligibility, overrides, null);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof CarouselComponentStyle)) {
            return false;
        }
        CarouselComponentStyle carouselComponentStyle = (CarouselComponentStyle) obj;
        return o.c(this.pages, carouselComponentStyle.pages) && this.initialPageIndex == carouselComponentStyle.initialPageIndex && o.c(this.pageAlignment, carouselComponentStyle.pageAlignment) && this.visible == carouselComponentStyle.visible && o.c(this.size, carouselComponentStyle.size) && f.c(this.pagePeek, carouselComponentStyle.pagePeek) && f.c(this.pageSpacing, carouselComponentStyle.pageSpacing) && o.c(this.background, carouselComponentStyle.background) && o.c(this.padding, carouselComponentStyle.padding) && o.c(this.margin, carouselComponentStyle.margin) && o.c(this.shape, carouselComponentStyle.shape) && o.c(this.border, carouselComponentStyle.border) && o.c(this.shadow, carouselComponentStyle.shadow) && o.c(this.pageControl, carouselComponentStyle.pageControl) && this.loop == carouselComponentStyle.loop && o.c(this.autoAdvance, carouselComponentStyle.autoAdvance) && o.c(this.rcPackage, carouselComponentStyle.rcPackage) && o.c(this.resolvedOffer, carouselComponentStyle.resolvedOffer) && o.c(this.tabIndex, carouselComponentStyle.tabIndex) && o.c(this.offerEligibility, carouselComponentStyle.offerEligibility) && o.c(this.overrides, carouselComponentStyle.overrides);
    }

    public final /* synthetic */ CarouselComponent.AutoAdvancePages getAutoAdvance() {
        return this.autoAdvance;
    }

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

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

    public final /* synthetic */ int getInitialPageIndex() {
        return this.initialPageIndex;
    }

    public final /* synthetic */ boolean getLoop() {
        return this.loop;
    }

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

    @Override // com.revenuecat.purchases.ui.revenuecatui.components.state.PackageContext
    public /* synthetic */ OfferEligibility getOfferEligibility() {
        return this.offerEligibility;
    }

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

    @Override // com.revenuecat.purchases.ui.revenuecatui.components.state.PackageContext
    public String getPackageUniqueId() {
        return PackageContext.DefaultImpls.getPackageUniqueId(this);
    }

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

    public final /* synthetic */ InterfaceC2241e getPageAlignment() {
        return this.pageAlignment;
    }

    public final /* synthetic */ PageControlStyles getPageControl() {
        return this.pageControl;
    }

    /* JADX INFO: renamed from: getPagePeek-D9Ej5fM, reason: not valid java name */
    public final /* synthetic */ float m776getPagePeekD9Ej5fM() {
        return this.pagePeek;
    }

    /* JADX INFO: renamed from: getPageSpacing-D9Ej5fM, reason: not valid java name */
    public final /* synthetic */ float m777getPageSpacingD9Ej5fM() {
        return this.pageSpacing;
    }

    public final /* synthetic */ List getPages() {
        return this.pages;
    }

    @Override // com.revenuecat.purchases.ui.revenuecatui.components.state.PackageContext
    public /* synthetic */ Package getRcPackage() {
        return this.rcPackage;
    }

    @Override // com.revenuecat.purchases.ui.revenuecatui.components.state.PackageContext
    public /* synthetic */ ResolvedOffer getResolvedOffer() {
        return this.resolvedOffer;
    }

    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;
    }

    @Override // com.revenuecat.purchases.ui.revenuecatui.components.state.PackageContext
    public /* synthetic */ Integer getTabIndex() {
        return this.tabIndex;
    }

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

    public int hashCode() {
        int iB = a.b(this.pageSpacing, a.b(this.pagePeek, (this.size.hashCode() + a.f(a.b(((C2246j) this.pageAlignment).f18812a, AbstractC2761L.a(this.initialPageIndex, this.pages.hashCode() * 31, 31), 31), 31, this.visible)) * 31, 31), 31);
        BackgroundStyles backgroundStyles = this.background;
        int iHashCode = (this.shape.hashCode() + ((this.margin.hashCode() + ((this.padding.hashCode() + ((iB + (backgroundStyles == null ? 0 : backgroundStyles.hashCode())) * 31)) * 31)) * 31)) * 31;
        BorderStyles borderStyles = this.border;
        int iHashCode2 = (iHashCode + (borderStyles == null ? 0 : borderStyles.hashCode())) * 31;
        ShadowStyles shadowStyles = this.shadow;
        int iHashCode3 = (iHashCode2 + (shadowStyles == null ? 0 : shadowStyles.hashCode())) * 31;
        PageControlStyles pageControlStyles = this.pageControl;
        int iF = a.f((iHashCode3 + (pageControlStyles == null ? 0 : pageControlStyles.hashCode())) * 31, 31, this.loop);
        CarouselComponent.AutoAdvancePages autoAdvancePages = this.autoAdvance;
        int iHashCode4 = (iF + (autoAdvancePages == null ? 0 : autoAdvancePages.hashCode())) * 31;
        Package r22 = this.rcPackage;
        int iHashCode5 = (iHashCode4 + (r22 == null ? 0 : r22.hashCode())) * 31;
        ResolvedOffer resolvedOffer = this.resolvedOffer;
        int iHashCode6 = (iHashCode5 + (resolvedOffer == null ? 0 : resolvedOffer.hashCode())) * 31;
        Integer num = this.tabIndex;
        int iHashCode7 = (iHashCode6 + (num == null ? 0 : num.hashCode())) * 31;
        OfferEligibility offerEligibility = this.offerEligibility;
        return this.overrides.hashCode() + ((iHashCode7 + (offerEligibility != null ? offerEligibility.hashCode() : 0)) * 31);
    }

    @Override // com.revenuecat.purchases.ui.revenuecatui.components.state.PackageContext
    public /* synthetic */ OfferEligibility resolveOfferEligibility(OfferEligibility offerEligibility) {
        return PackageContext.DefaultImpls.resolveOfferEligibility(this, offerEligibility);
    }

    public String toString() {
        StringBuilder sb = new StringBuilder("CarouselComponentStyle(pages=");
        sb.append(this.pages);
        sb.append(", initialPageIndex=");
        sb.append(this.initialPageIndex);
        sb.append(", pageAlignment=");
        sb.append(this.pageAlignment);
        sb.append(", visible=");
        sb.append(this.visible);
        sb.append(", size=");
        sb.append(this.size);
        sb.append(", pagePeek=");
        AbstractC2761L.k(this.pagePeek, sb, ", pageSpacing=");
        AbstractC2761L.k(this.pageSpacing, sb, ", background=");
        sb.append(this.background);
        sb.append(", padding=");
        sb.append(this.padding);
        sb.append(", margin=");
        sb.append(this.margin);
        sb.append(", shape=");
        sb.append(this.shape);
        sb.append(", border=");
        sb.append(this.border);
        sb.append(", shadow=");
        sb.append(this.shadow);
        sb.append(", pageControl=");
        sb.append(this.pageControl);
        sb.append(", loop=");
        sb.append(this.loop);
        sb.append(", autoAdvance=");
        sb.append(this.autoAdvance);
        sb.append(", rcPackage=");
        sb.append(this.rcPackage);
        sb.append(", resolvedOffer=");
        sb.append(this.resolvedOffer);
        sb.append(", tabIndex=");
        sb.append(this.tabIndex);
        sb.append(", offerEligibility=");
        sb.append(this.offerEligibility);
        sb.append(", overrides=");
        return A0.a.o(sb, this.overrides, ')');
    }

    private CarouselComponentStyle(List<StackComponentStyle> pages, int i6, InterfaceC2241e pageAlignment, boolean z6, Size size, float f6, float f7, BackgroundStyles backgroundStyles, H0 padding, H0 margin, Shape shape, BorderStyles borderStyles, ShadowStyles shadowStyles, PageControlStyles pageControlStyles, boolean z7, CarouselComponent.AutoAdvancePages autoAdvancePages, Package r19, ResolvedOffer resolvedOffer, Integer num, OfferEligibility offerEligibility, List<PresentedOverride<PresentedCarouselPartial>> overrides) {
        o.h(pages, "pages");
        o.h(pageAlignment, "pageAlignment");
        o.h(size, "size");
        o.h(padding, "padding");
        o.h(margin, "margin");
        o.h(shape, "shape");
        o.h(overrides, "overrides");
        this.pages = pages;
        this.initialPageIndex = i6;
        this.pageAlignment = pageAlignment;
        this.visible = z6;
        this.size = size;
        this.pagePeek = f6;
        this.pageSpacing = f7;
        this.background = backgroundStyles;
        this.padding = padding;
        this.margin = margin;
        this.shape = shape;
        this.border = borderStyles;
        this.shadow = shadowStyles;
        this.pageControl = pageControlStyles;
        this.loop = z7;
        this.autoAdvance = autoAdvancePages;
        this.rcPackage = r19;
        this.resolvedOffer = resolvedOffer;
        this.tabIndex = num;
        this.offerEligibility = offerEligibility;
        this.overrides = overrides;
    }

    public /* synthetic */ CarouselComponentStyle(List list, int i6, InterfaceC2241e interfaceC2241e, boolean z6, Size size, float f6, float f7, BackgroundStyles backgroundStyles, H0 h0, H0 h02, Shape shape, BorderStyles borderStyles, ShadowStyles shadowStyles, PageControlStyles pageControlStyles, boolean z7, CarouselComponent.AutoAdvancePages autoAdvancePages, Package r42, ResolvedOffer resolvedOffer, Integer num, OfferEligibility offerEligibility, List list2, int i7, h hVar) {
        this(list, i6, interfaceC2241e, z6, size, f6, f7, backgroundStyles, h0, h02, shape, borderStyles, shadowStyles, pageControlStyles, z7, autoAdvancePages, r42, (i7 & 131072) != 0 ? null : resolvedOffer, num, (i7 & 524288) != 0 ? null : offerEligibility, list2, null);
    }
}
