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

import androidx.compose.runtime.Applier;
import androidx.compose.runtime.ComposablesKt;
import androidx.compose.runtime.Composer;
import androidx.compose.runtime.ComposerKt;
import androidx.compose.runtime.Updater;
import com.google.android.gms.maps.StreetViewPanorama;
import kotlin.Metadata;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;

/* JADX INFO: compiled from: StreetViewPanoramaUpdater.kt */
/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u0000\u001e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0002\u001a>\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u00052\u0006\u0010\u0006\u001a\u00020\u00052\u0006\u0010\u0007\u001a\u00020\u00052\u0006\u0010\b\u001a\u00020\u00052\u0006\u0010\t\u001a\u00020\nH\u0081\b¢\u0006\u0002\u0010\u000b¨\u0006\f"}, d2 = {"StreetViewUpdater", "", "cameraPositionState", "Lcom/google/maps/android/compose/streetview/StreetViewCameraPositionState;", "isPanningGesturesEnabled", "", "isStreetNamesEnabled", "isUserNavigationEnabled", "isZoomGesturesEnabled", "clickListeners", "Lcom/google/maps/android/compose/streetview/StreetViewPanoramaEventListeners;", "(Lcom/google/maps/android/compose/streetview/StreetViewCameraPositionState;ZZZZLcom/google/maps/android/compose/streetview/StreetViewPanoramaEventListeners;Landroidx/compose/runtime/Composer;I)V", "maps-compose_release"}, k = 2, mv = {2, 0, 0}, xi = 48)
public final class StreetViewPanoramaUpdaterKt {
    public static final void StreetViewUpdater(StreetViewCameraPositionState cameraPositionState, boolean z, boolean z2, boolean z3, boolean z4, StreetViewPanoramaEventListeners clickListeners, Composer composer, int i) {
        Intrinsics.checkNotNullParameter(cameraPositionState, "cameraPositionState");
        Intrinsics.checkNotNullParameter(clickListeners, "clickListeners");
        composer.startReplaceableGroup(-647819622);
        Applier<?> applier = composer.getApplier();
        Intrinsics.checkNotNull(applier, "null cannot be cast to non-null type com.google.maps.android.compose.streetview.StreetViewPanoramaApplier");
        AnonymousClass1 anonymousClass1 = new AnonymousClass1(cameraPositionState, ((StreetViewPanoramaApplier) applier).getStreetViewPanorama(), clickListeners);
        composer.startReplaceableGroup(1886828752);
        ComposerKt.sourceInformation(composer, "CC(ComposeNode):Composables.kt#9igjgp");
        if (!(composer.getApplier() instanceof StreetViewPanoramaApplier)) {
            ComposablesKt.invalidApplier();
        }
        composer.startNode();
        if (composer.getInserting()) {
            composer.createNode(new StreetViewPanoramaUpdaterKt$StreetViewUpdater$$inlined$ComposeNode$1(anonymousClass1));
        } else {
            composer.useNode();
        }
        Composer composerM3820constructorimpl = Updater.m3820constructorimpl(composer);
        Updater.m3827setimpl(composerM3820constructorimpl, Boolean.valueOf(z), new StreetViewPanoramaUpdaterKt$StreetViewUpdater$2$1(z));
        Updater.m3827setimpl(composerM3820constructorimpl, Boolean.valueOf(z2), new StreetViewPanoramaUpdaterKt$StreetViewUpdater$2$2(z2));
        Updater.m3827setimpl(composerM3820constructorimpl, Boolean.valueOf(z3), new StreetViewPanoramaUpdaterKt$StreetViewUpdater$2$3(z3));
        Updater.m3827setimpl(composerM3820constructorimpl, Boolean.valueOf(z4), new StreetViewPanoramaUpdaterKt$StreetViewUpdater$2$4(z4));
        Updater.m3827setimpl(composerM3820constructorimpl, clickListeners, StreetViewPanoramaUpdaterKt$StreetViewUpdater$2$5.INSTANCE);
        composer.endNode();
        composer.endReplaceableGroup();
        composer.endReplaceableGroup();
    }

    /* JADX INFO: renamed from: com.google.maps.android.compose.streetview.StreetViewPanoramaUpdaterKt$StreetViewUpdater$1, reason: invalid class name */
    /* JADX INFO: compiled from: StreetViewPanoramaUpdater.kt */
    @Metadata(k = 3, mv = {2, 0, 0}, xi = 176)
    public static final class AnonymousClass1 implements Function0<StreetViewPanoramaPropertiesNode> {
        final /* synthetic */ StreetViewCameraPositionState $cameraPositionState;
        final /* synthetic */ StreetViewPanoramaEventListeners $clickListeners;
        final /* synthetic */ StreetViewPanorama $streetViewPanorama;

        public AnonymousClass1(StreetViewCameraPositionState streetViewCameraPositionState, StreetViewPanorama streetViewPanorama, StreetViewPanoramaEventListeners streetViewPanoramaEventListeners) {
            this.$cameraPositionState = streetViewCameraPositionState;
            this.$streetViewPanorama = streetViewPanorama;
            this.$clickListeners = streetViewPanoramaEventListeners;
        }

        /* JADX WARN: Can't rename method to resolve collision */
        @Override // kotlin.jvm.functions.Function0
        public final StreetViewPanoramaPropertiesNode invoke() {
            return new StreetViewPanoramaPropertiesNode(this.$cameraPositionState, this.$streetViewPanorama, this.$clickListeners);
        }
    }
}