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

import androidx.compose.runtime.MutableState;
import kotlin.jvm.internal.o;
import kotlin.jvm.internal.p;
import w4.C3137A;

/* JADX INFO: loaded from: classes3.dex */
public final class VideoViewKt$Video$3$3$1 extends p implements J4.c {
    final /* synthetic */ J4.a $onReady;
    final /* synthetic */ MutableState<TextureVideoView> $videoView;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public VideoViewKt$Video$3$3$1(MutableState<TextureVideoView> mutableState, J4.a aVar) {
        super(1);
        this.$videoView = mutableState;
        this.$onReady = aVar;
    }

    @Override // J4.c
    public /* bridge */ /* synthetic */ Object invoke(Object obj) {
        invoke((TextureVideoView) obj);
        return C3137A.f25453a;
    }

    public final void invoke(TextureVideoView view) {
        o.h(view, "view");
        this.$videoView.setValue(view);
        view.setOnReadyCallback(this.$onReady);
    }
}
