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

import androidx.compose.runtime.internal.StabilityInferred;
import kotlin.jvm.internal.h;
import kotlin.jvm.internal.o;
import p0.AbstractC2711q;
import p0.C2714u;
import p0.Z;
import q.AbstractC2761L;
import q.C2756G;

/* JADX INFO: loaded from: classes3.dex */
@StabilityInferred(parameters = 0)
public final class Fade implements PlaceholderHighlight {
    public static final int $stable = 8;
    private final C2756G animationSpec;
    private final Z brush;
    private final long highlightColor;

    public /* synthetic */ Fade(long j4, C2756G c2756g, h hVar) {
        this(j4, c2756g);
    }

    /* JADX INFO: renamed from: component1-0d7_KjU, reason: not valid java name */
    private final long m836component10d7_KjU() {
        return this.highlightColor;
    }

    /* JADX INFO: renamed from: copy-DxMtmZc$default, reason: not valid java name */
    public static /* synthetic */ Fade m837copyDxMtmZc$default(Fade fade, long j4, C2756G c2756g, int i6, Object obj) {
        if ((i6 & 1) != 0) {
            j4 = fade.highlightColor;
        }
        if ((i6 & 2) != 0) {
            c2756g = fade.animationSpec;
        }
        return fade.m839copyDxMtmZc(j4, c2756g);
    }

    @Override // com.revenuecat.purchases.ui.revenuecatui.composables.PlaceholderHighlight
    public float alpha(float f6) {
        return f6;
    }

    @Override // com.revenuecat.purchases.ui.revenuecatui.composables.PlaceholderHighlight
    /* JADX INFO: renamed from: brush-d16Qtg0, reason: not valid java name */
    public AbstractC2711q mo838brushd16Qtg0(float f6, long j4) {
        return this.brush;
    }

    public final C2756G component2() {
        return this.animationSpec;
    }

    /* JADX INFO: renamed from: copy-DxMtmZc, reason: not valid java name */
    public final Fade m839copyDxMtmZc(long j4, C2756G animationSpec) {
        o.h(animationSpec, "animationSpec");
        return new Fade(j4, animationSpec, null);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof Fade)) {
            return false;
        }
        Fade fade = (Fade) obj;
        return C2714u.d(this.highlightColor, fade.highlightColor) && o.c(this.animationSpec, fade.animationSpec);
    }

    @Override // com.revenuecat.purchases.ui.revenuecatui.composables.PlaceholderHighlight
    public C2756G getAnimationSpec() {
        return this.animationSpec;
    }

    public int hashCode() {
        long j4 = this.highlightColor;
        int i6 = C2714u.f22946n;
        return this.animationSpec.hashCode() + (Long.hashCode(j4) * 31);
    }

    public String toString() {
        StringBuilder sb = new StringBuilder("Fade(highlightColor=");
        AbstractC2761L.n(this.highlightColor, ", animationSpec=", sb);
        sb.append(this.animationSpec);
        sb.append(')');
        return sb.toString();
    }

    private Fade(long j4, C2756G animationSpec) {
        o.h(animationSpec, "animationSpec");
        this.highlightColor = j4;
        this.animationSpec = animationSpec;
        this.brush = new Z(j4);
    }
}
