package com.google.maps.android.compose.streetview;

import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.Intrinsics;

/* JADX INFO: compiled from: StreetViewPanoramaUpdater.kt */
/* JADX INFO: loaded from: classes2.dex */
@Metadata(k = 3, mv = {2, 0, 0}, xi = 176)
public final class StreetViewPanoramaUpdaterKt$StreetViewUpdater$2$4 implements Function2<StreetViewPanoramaPropertiesNode, Boolean, Unit> {
    final /* synthetic */ boolean $isZoomGesturesEnabled;

    public StreetViewPanoramaUpdaterKt$StreetViewUpdater$2$4(boolean z) {
        this.$isZoomGesturesEnabled = z;
    }

    @Override // kotlin.jvm.functions.Function2
    public /* bridge */ /* synthetic */ Unit invoke(StreetViewPanoramaPropertiesNode streetViewPanoramaPropertiesNode, Boolean bool) {
        invoke(streetViewPanoramaPropertiesNode, bool.booleanValue());
        return Unit.INSTANCE;
    }

    public final void invoke(StreetViewPanoramaPropertiesNode set, boolean z) {
        Intrinsics.checkNotNullParameter(set, "$this$set");
        set.getPanorama().setZoomGesturesEnabled(this.$isZoomGesturesEnabled);
    }
}