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

import J4.a;
import J4.c;
import com.revenuecat.purchases.ui.revenuecatui.components.style.PackageComponentStyle;
import com.revenuecat.purchases.ui.revenuecatui.data.PaywallState;
import i0.InterfaceC2255s;
import kotlin.jvm.internal.o;
import kotlin.jvm.internal.p;
import v.AbstractC3058z;
import w4.C3137A;

/* JADX INFO: loaded from: classes3.dex */
public final class PackageComponentViewKt$PackageComponentView$2$1 extends p implements c {
    final /* synthetic */ PaywallState.Loaded.Components $state;
    final /* synthetic */ PackageComponentStyle $style;

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.components.pkg.PackageComponentViewKt$PackageComponentView$2$1$1, reason: invalid class name */
    public static final class AnonymousClass1 extends p implements a {
        final /* synthetic */ PaywallState.Loaded.Components $state;
        final /* synthetic */ PackageComponentStyle $style;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public AnonymousClass1(PaywallState.Loaded.Components components, PackageComponentStyle packageComponentStyle) {
            super(0);
            this.$state = components;
            this.$style = packageComponentStyle;
        }

        @Override // J4.a
        public /* bridge */ /* synthetic */ Object invoke() {
            m702invoke();
            return C3137A.f25453a;
        }

        /* JADX INFO: renamed from: invoke, reason: collision with other method in class */
        public final void m702invoke() {
            this.$state.update(this.$style.getUniqueId());
        }
    }

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public PackageComponentViewKt$PackageComponentView$2$1(PaywallState.Loaded.Components components, PackageComponentStyle packageComponentStyle) {
        super(1);
        this.$state = components;
        this.$style = packageComponentStyle;
    }

    @Override // J4.c
    public final InterfaceC2255s invoke(InterfaceC2255s conditional) {
        o.h(conditional, "$this$conditional");
        return AbstractC3058z.n(6, new AnonymousClass1(this.$state, this.$style), conditional, !o.c(this.$state.getSelectedPackageInfo() != null ? r0.getUniqueId() : null, this.$style.getUniqueId()));
    }
}
