package com.revenuecat.purchases.ui.revenuecatui.customercenter.views;

import J4.c;
import androidx.compose.runtime.MutableState;
import com.revenuecat.purchases.customercenter.CustomerCenterConfigData;
import com.revenuecat.purchases.ui.revenuecatui.customercenter.data.FeedbackSurveyData;
import kotlin.jvm.internal.o;
import kotlin.jvm.internal.p;
import w4.C3137A;

/* JADX INFO: loaded from: classes3.dex */
public final class FeedbackSurveyViewKt$FeedbackSurveyView$1$1$1 extends p implements c {
    final /* synthetic */ FeedbackSurveyData $data;
    final /* synthetic */ MutableState<String> $loadingOption$delegate;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public FeedbackSurveyViewKt$FeedbackSurveyView$1$1$1(FeedbackSurveyData feedbackSurveyData, MutableState<String> mutableState) {
        super(1);
        this.$data = feedbackSurveyData;
        this.$loadingOption$delegate = mutableState;
    }

    @Override // J4.c
    public /* bridge */ /* synthetic */ Object invoke(Object obj) {
        invoke((CustomerCenterConfigData.HelpPath.PathDetail.FeedbackSurvey.Option) obj);
        return C3137A.f25453a;
    }

    public final void invoke(CustomerCenterConfigData.HelpPath.PathDetail.FeedbackSurvey.Option option) {
        o.h(option, "option");
        this.$loadingOption$delegate.setValue(option.getId());
        this.$data.getOnAnswerSubmitted().invoke(option);
        this.$loadingOption$delegate.setValue(null);
    }
}
