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

import J4.a;
import b1.C1186a;
import com.revenuecat.purchases.ui.revenuecatui.components.PaywallAction;
import com.revenuecat.purchases.ui.revenuecatui.components.ktx.LocalizationKt;
import kotlin.jvm.internal.p;

/* JADX INFO: loaded from: classes3.dex */
public final class ButtonComponentState$action$2 extends p implements a {
    final /* synthetic */ ButtonComponentState this$0;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public ButtonComponentState$action$2(ButtonComponentState buttonComponentState) {
        super(0);
        this.this$0 = buttonComponentState;
    }

    @Override // J4.a
    public final PaywallAction invoke() {
        String localeId = LocalizationKt.toLocaleId((C1186a) this.this$0.localeProvider.invoke());
        ButtonComponentState buttonComponentState = this.this$0;
        return buttonComponentState.m661toPaywallAction64pKzr8(buttonComponentState.style.getAction(), localeId);
    }
}
