package androidx.compose.foundation.selection;

import d0.l;
import j2.s0;
import kotlin.Metadata;
import kotlin.jvm.internal.k;
import kotlin.jvm.internal.t;
import o2.f;
import z.d0;

@Metadata(d1 = {"\u0000J\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\b\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001BC\u0012\u0006\u0010\u000f\u001a\u00020\t\u0012\b\u0010\u0013\u001a\u0004\u0018\u00010\u0010\u0012\b\u0010\u0017\u001a\u0004\u0018\u00010\u0014\u0012\u0006\u0010\u0019\u001a\u00020\t\u0012\b\u0010\u001d\u001a\u0004\u0018\u00010\u001a\u0012\f\u0010!\u001a\b\u0012\u0004\u0012\u00020\u00050\u001e¢\u0006\u0004\b\"\u0010#J\b\u0010\u0003\u001a\u00020\u0002H\u0016J\u0010\u0010\u0006\u001a\u00020\u00052\u0006\u0010\u0004\u001a\u00020\u0002H\u0016J\u0013\u0010\n\u001a\u00020\t2\b\u0010\b\u001a\u0004\u0018\u00010\u0007H\u0096\u0002J\b\u0010\f\u001a\u00020\u000bH\u0016R\u0014\u0010\u000f\u001a\u00020\t8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\r\u0010\u000eR\u0016\u0010\u0013\u001a\u0004\u0018\u00010\u00108\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0011\u0010\u0012R\u0016\u0010\u0017\u001a\u0004\u0018\u00010\u00148\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0015\u0010\u0016R\u0014\u0010\u0019\u001a\u00020\t8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0018\u0010\u000eR\u001c\u0010\u001d\u001a\u0004\u0018\u00010\u001a8\u0002X\u0082\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\u0006\n\u0004\b\u001b\u0010\u001cR\u001a\u0010!\u001a\b\u0012\u0004\u0012\u00020\u00050\u001e8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u001f\u0010 \u0082\u0002\u000b\n\u0005\b¡\u001e0\u0001\n\u0002\b!¨\u0006$"}, d2 = {"Landroidx/compose/foundation/selection/SelectableElement;", "Lj2/s0;", "Landroidx/compose/foundation/selection/b;", "k", "node", "Lrm/n0;", "l", "", "other", "", "equals", "", "hashCode", "b", "Z", "selected", "Ld0/l;", "c", "Ld0/l;", "interactionSource", "Lz/d0;", "d", "Lz/d0;", "indicationNodeFactory", "e", "enabled", "Lo2/f;", "f", "Lo2/f;", "role", "Lkotlin/Function0;", "g", "Ldn/a;", "onClick", "<init>", "(ZLd0/l;Lz/d0;ZLo2/f;Ldn/a;Lkotlin/jvm/internal/k;)V", "foundation_release"}, k = 1, mv = {1, 8, 0})
/* loaded from: classes.dex */
final class SelectableElement extends s0 {

    /* renamed from: b, reason: collision with root package name and from kotlin metadata */
    private final boolean selected;

    /* renamed from: c, reason: collision with root package name and from kotlin metadata */
    private final l interactionSource;

    /* renamed from: d, reason: collision with root package name and from kotlin metadata */
    private final d0 indicationNodeFactory;

    /* renamed from: e, reason: collision with root package name and from kotlin metadata */
    private final boolean enabled;

    /* renamed from: f, reason: collision with root package name and from kotlin metadata */
    private final f role;

    /* renamed from: g, reason: collision with root package name and from kotlin metadata */
    private final dn.a onClick;

    public /* synthetic */ SelectableElement(boolean z10, l lVar, d0 d0Var, boolean z11, f fVar, dn.a aVar, k kVar) {
        this(z10, lVar, d0Var, z11, fVar, aVar);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (other == null || SelectableElement.class != other.getClass()) {
            return false;
        }
        SelectableElement selectableElement = (SelectableElement) other;
        return this.selected == selectableElement.selected && t.b(this.interactionSource, selectableElement.interactionSource) && t.b(this.indicationNodeFactory, selectableElement.indicationNodeFactory) && this.enabled == selectableElement.enabled && t.b(this.role, selectableElement.role) && this.onClick == selectableElement.onClick;
    }

    public int hashCode() {
        int hashCode = Boolean.hashCode(this.selected) * 31;
        l lVar = this.interactionSource;
        int hashCode2 = (hashCode + (lVar != null ? lVar.hashCode() : 0)) * 31;
        d0 d0Var = this.indicationNodeFactory;
        int hashCode3 = (((hashCode2 + (d0Var != null ? d0Var.hashCode() : 0)) * 31) + Boolean.hashCode(this.enabled)) * 31;
        f fVar = this.role;
        return ((hashCode3 + (fVar != null ? f.l(fVar.n()) : 0)) * 31) + this.onClick.hashCode();
    }

    @Override // j2.s0
    /* renamed from: k, reason: merged with bridge method [inline-methods] */
    public b c() {
        return new b(this.selected, this.interactionSource, this.indicationNodeFactory, this.enabled, this.role, this.onClick, null);
    }

    @Override // j2.s0
    /* renamed from: l, reason: merged with bridge method [inline-methods] */
    public void j(b bVar) {
        bVar.I2(this.selected, this.interactionSource, this.indicationNodeFactory, this.enabled, this.role, this.onClick);
    }

    private SelectableElement(boolean z10, l lVar, d0 d0Var, boolean z11, f fVar, dn.a aVar) {
        this.selected = z10;
        this.interactionSource = lVar;
        this.indicationNodeFactory = d0Var;
        this.enabled = z11;
        this.role = fVar;
        this.onClick = aVar;
    }
}
