package com.revenuecat.purchases.paywalls.components;

import com.revenuecat.purchases.InternalRevenueCatAPI;
import g5.a;
import i5.g;
import j5.b;
import k5.P;
import k5.a0;
import kotlin.jvm.internal.h;
import kotlin.jvm.internal.o;
import w4.InterfaceC3141c;

/* JADX INFO: loaded from: classes3.dex */
@InternalRevenueCatAPI
public final class PaywallAnimation {
    public static final Companion Companion = new Companion(null);
    private final int msDelay;
    private final int msDuration;
    private final AnimationType type;

    public enum AnimationType {
        EASE_IN,
        EASE_OUT,
        EASE_IN_OUT,
        LINEAR;

        public static final Companion Companion = new Companion(null);

        public static final class Companion {
            public /* synthetic */ Companion(h hVar) {
                this();
            }

            public final a serializer() {
                return AnimationTypeSerializer.INSTANCE;
            }

            private Companion() {
            }
        }
    }

    public static final class Companion {
        public /* synthetic */ Companion(h hVar) {
            this();
        }

        public final a serializer() {
            return PaywallAnimation$$serializer.INSTANCE;
        }

        private Companion() {
        }
    }

    @InterfaceC3141c
    public /* synthetic */ PaywallAnimation(int i6, AnimationType animationType, int i7, int i8, a0 a0Var) {
        if (7 != (i6 & 7)) {
            P.h(i6, 7, PaywallAnimation$$serializer.INSTANCE.getDescriptor());
            throw null;
        }
        this.type = animationType;
        this.msDelay = i7;
        this.msDuration = i8;
    }

    public static /* synthetic */ void getMsDelay$annotations() {
    }

    public static /* synthetic */ void getMsDuration$annotations() {
    }

    public static final /* synthetic */ void write$Self$purchases_defaultsBc8Release(PaywallAnimation paywallAnimation, b bVar, g gVar) {
        bVar.z(gVar, 0, AnimationTypeSerializer.INSTANCE, paywallAnimation.type);
        bVar.w(1, paywallAnimation.msDelay, gVar);
        bVar.w(2, paywallAnimation.msDuration, gVar);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof PaywallAnimation)) {
            return false;
        }
        PaywallAnimation paywallAnimation = (PaywallAnimation) obj;
        return this.type == paywallAnimation.type && this.msDelay == paywallAnimation.msDelay && this.msDuration == paywallAnimation.msDuration;
    }

    public final /* synthetic */ int getMsDelay() {
        return this.msDelay;
    }

    public final /* synthetic */ int getMsDuration() {
        return this.msDuration;
    }

    public final /* synthetic */ AnimationType getType() {
        return this.type;
    }

    public int hashCode() {
        return (((this.type.hashCode() * 31) + this.msDelay) * 31) + this.msDuration;
    }

    public String toString() {
        StringBuilder sb = new StringBuilder("PaywallAnimation(type=");
        sb.append(this.type);
        sb.append(", msDelay=");
        sb.append(this.msDelay);
        sb.append(", msDuration=");
        return com.google.android.recaptcha.internal.a.m(sb, this.msDuration, ')');
    }

    public PaywallAnimation(AnimationType type, int i6, int i7) {
        o.h(type, "type");
        this.type = type;
        this.msDelay = i6;
        this.msDuration = i7;
    }
}
