package com.google.maps.android.ktx; import android.graphics.Bitmap; import android.location.Location; import com.google.android.gms.maps.CameraUpdate; import com.google.android.gms.maps.GoogleMap; import com.google.android.gms.maps.GoogleMapOptions; import com.google.android.gms.maps.model.Circle; import com.google.android.gms.maps.model.CircleOptions; import com.google.android.gms.maps.model.GroundOverlay; import com.google.android.gms.maps.model.GroundOverlayOptions; import com.google.android.gms.maps.model.IndoorBuilding; import com.google.android.gms.maps.model.LatLng; import com.google.android.gms.maps.model.Marker; import com.google.android.gms.maps.model.MarkerOptions; import com.google.android.gms.maps.model.PointOfInterest; import com.google.android.gms.maps.model.Polygon; import com.google.android.gms.maps.model.PolygonOptions; import com.google.android.gms.maps.model.Polyline; import com.google.android.gms.maps.model.PolylineOptions; import com.google.android.gms.maps.model.TileOverlay; import com.google.android.gms.maps.model.TileOverlayOptions; import com.google.maps.android.ktx.GoogleMapKt; import kotlin.Deprecated; import kotlin.Metadata; import kotlin.ResultKt; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.coroutines.SafeContinuation; import kotlin.coroutines.intrinsics.IntrinsicsKt; import kotlin.coroutines.jvm.internal.DebugMetadata; import kotlin.coroutines.jvm.internal.DebugProbesKt; import kotlin.coroutines.jvm.internal.SuspendLambda; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; import kotlin.jvm.functions.Function2; import kotlin.jvm.internal.InlineMarker; import kotlin.jvm.internal.Intrinsics; import kotlinx.coroutines.CancellableContinuationImpl; import kotlinx.coroutines.channels.ChannelResult; import kotlinx.coroutines.channels.ProduceKt; import kotlinx.coroutines.channels.ProducerScope; import kotlinx.coroutines.flow.Flow; import kotlinx.coroutines.flow.FlowKt; /* JADX INFO: compiled from: GoogleMap.kt */ /* JADX INFO: loaded from: classes2.dex */ @Metadata(d1 = {"\u0000 \u0001\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u001a%\u0010\u0000\u001a\u00020\u00012\u0017\u0010\u0002\u001a\u0013\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u00040\u0003¢\u0006\u0002\b\u0005H\u0086\bø\u0001\u0000\u001a)\u0010\u0006\u001a\u00020\u0007*\u00020\b2\u0017\u0010\u0002\u001a\u0013\u0012\u0004\u0012\u00020\t\u0012\u0004\u0012\u00020\u00040\u0003¢\u0006\u0002\b\u0005H\u0086\bø\u0001\u0000\u001a+\u0010\n\u001a\u0004\u0018\u00010\u000b*\u00020\b2\u0017\u0010\u0002\u001a\u0013\u0012\u0004\u0012\u00020\f\u0012\u0004\u0012\u00020\u00040\u0003¢\u0006\u0002\b\u0005H\u0086\bø\u0001\u0000\u001a+\u0010\r\u001a\u0004\u0018\u00010\u000e*\u00020\b2\u0017\u0010\u0002\u001a\u0013\u0012\u0004\u0012\u00020\u000f\u0012\u0004\u0012\u00020\u00040\u0003¢\u0006\u0002\b\u0005H\u0086\bø\u0001\u0000\u001a)\u0010\u0010\u001a\u00020\u0011*\u00020\b2\u0017\u0010\u0002\u001a\u0013\u0012\u0004\u0012\u00020\u0012\u0012\u0004\u0012\u00020\u00040\u0003¢\u0006\u0002\b\u0005H\u0086\bø\u0001\u0000\u001a)\u0010\u0013\u001a\u00020\u0014*\u00020\b2\u0017\u0010\u0002\u001a\u0013\u0012\u0004\u0012\u00020\u0015\u0012\u0004\u0012\u00020\u00040\u0003¢\u0006\u0002\b\u0005H\u0086\bø\u0001\u0000\u001a+\u0010\u0016\u001a\u0004\u0018\u00010\u0017*\u00020\b2\u0017\u0010\u0002\u001a\u0013\u0012\u0004\u0012\u00020\u0018\u0012\u0004\u0012\u00020\u00040\u0003¢\u0006\u0002\b\u0005H\u0086\bø\u0001\u0000\u001a'\u0010\u0019\u001a\u00020\u0004*\u00020\b2\u0006\u0010\u001a\u001a\u00020\u001b2\b\b\u0002\u0010\u001c\u001a\u00020\u001dH\u0086Hø\u0001\u0001¢\u0006\u0002\u0010\u001e\u001a\u0015\u0010\u001f\u001a\u00020\u0004*\u00020\bH\u0086Hø\u0001\u0001¢\u0006\u0002\u0010 \u001a#\u0010!\u001a\u0004\u0018\u00010\"*\u00020\b2\n\b\u0002\u0010#\u001a\u0004\u0018\u00010\"H\u0086Hø\u0001\u0001¢\u0006\u0002\u0010$\u001a\u0012\u0010%\u001a\b\u0012\u0004\u0012\u00020'0&*\u00020\bH\u0007\u001a\u0010\u0010(\u001a\b\u0012\u0004\u0012\u00020\u00040&*\u00020\b\u001a\u0010\u0010)\u001a\b\u0012\u0004\u0012\u00020\u00040&*\u00020\b\u001a\u0010\u0010*\u001a\b\u0012\u0004\u0012\u00020\u00040&*\u00020\b\u001a\u0010\u0010+\u001a\b\u0012\u0004\u0012\u00020\u001d0&*\u00020\b\u001a\u0010\u0010,\u001a\b\u0012\u0004\u0012\u00020\u00070&*\u00020\b\u001a\u0010\u0010-\u001a\b\u0012\u0004\u0012\u00020\u000b0&*\u00020\b\u001a\u0010\u0010.\u001a\b\u0012\u0004\u0012\u00020/0&*\u00020\b\u001a\u0010\u00100\u001a\b\u0012\u0004\u0012\u00020\u000e0&*\u00020\b\u001a\u0010\u00101\u001a\b\u0012\u0004\u0012\u00020\u000e0&*\u00020\b\u001a\u0010\u00102\u001a\b\u0012\u0004\u0012\u00020\u000e0&*\u00020\b\u001a\u0010\u00103\u001a\b\u0012\u0004\u0012\u0002040&*\u00020\b\u001a\u0010\u00105\u001a\b\u0012\u0004\u0012\u0002040&*\u00020\b\u001a\u0010\u00106\u001a\b\u0012\u0004\u0012\u00020\u000e0&*\u00020\b\u001a\u0010\u00107\u001a\b\u0012\u0004\u0012\u0002080&*\u00020\b\u001a\u0010\u00109\u001a\b\u0012\u0004\u0012\u00020\u00040&*\u00020\b\u001a\u0010\u0010:\u001a\b\u0012\u0004\u0012\u00020;0&*\u00020\b\u001a\u0010\u0010<\u001a\b\u0012\u0004\u0012\u00020=0&*\u00020\b\u001a\u0010\u0010>\u001a\b\u0012\u0004\u0012\u00020\u00110&*\u00020\b\u001a\u0010\u0010?\u001a\b\u0012\u0004\u0012\u00020\u00140&*\u00020\b\u0082\u0002\u000b\n\u0005\b\u009920\u0001\n\u0002\b\u0019¨\u0006@"}, d2 = {"buildGoogleMapOptions", "Lcom/google/android/gms/maps/GoogleMapOptions;", "optionsActions", "Lkotlin/Function1;", "", "Lkotlin/ExtensionFunctionType;", "addCircle", "Lcom/google/android/gms/maps/model/Circle;", "Lcom/google/android/gms/maps/GoogleMap;", "Lcom/google/android/gms/maps/model/CircleOptions;", "addGroundOverlay", "Lcom/google/android/gms/maps/model/GroundOverlay;", "Lcom/google/android/gms/maps/model/GroundOverlayOptions;", "addMarker", "Lcom/google/android/gms/maps/model/Marker;", "Lcom/google/android/gms/maps/model/MarkerOptions;", "addPolygon", "Lcom/google/android/gms/maps/model/Polygon;", "Lcom/google/android/gms/maps/model/PolygonOptions;", "addPolyline", "Lcom/google/android/gms/maps/model/Polyline;", "Lcom/google/android/gms/maps/model/PolylineOptions;", "addTileOverlay", "Lcom/google/android/gms/maps/model/TileOverlay;", "Lcom/google/android/gms/maps/model/TileOverlayOptions;", "awaitAnimateCamera", "cameraUpdate", "Lcom/google/android/gms/maps/CameraUpdate;", "durationMs", "", "(Lcom/google/android/gms/maps/GoogleMap;Lcom/google/android/gms/maps/CameraUpdate;ILkotlin/coroutines/Continuation;)Ljava/lang/Object;", "awaitMapLoad", "(Lcom/google/android/gms/maps/GoogleMap;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "awaitSnapshot", "Landroid/graphics/Bitmap;", "bitmap", "(Lcom/google/android/gms/maps/GoogleMap;Landroid/graphics/Bitmap;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "cameraEvents", "Lkotlinx/coroutines/flow/Flow;", "Lcom/google/maps/android/ktx/CameraEvent;", "cameraIdleEvents", "cameraMoveCanceledEvents", "cameraMoveEvents", "cameraMoveStartedEvents", "circleClickEvents", "groundOverlayClicks", "indoorStateChangeEvents", "Lcom/google/maps/android/ktx/IndoorChangeEvent;", "infoWindowClickEvents", "infoWindowCloseEvents", "infoWindowLongClickEvents", "mapClickEvents", "Lcom/google/android/gms/maps/model/LatLng;", "mapLongClickEvents", "markerClickEvents", "markerDragEvents", "Lcom/google/maps/android/ktx/OnMarkerDragEvent;", "myLocationButtonClickEvents", "myLocationClickEvents", "Landroid/location/Location;", "poiClickEvents", "Lcom/google/android/gms/maps/model/PointOfInterest;", "polygonClickEvents", "polylineClickEvents", "maps-ktx_release"}, k = 2, mv = {1, 8, 0}, xi = 48) public final class GoogleMapKt { /* JADX INFO: renamed from: com.google.maps.android.ktx.GoogleMapKt$cameraEvents$1, reason: invalid class name */ /* JADX INFO: compiled from: GoogleMap.kt */ @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00030\u0002H\u008a@"}, d2 = {"", "", "Lkotlinx/coroutines/channels/ProducerScope;", "Lcom/google/maps/android/ktx/CameraEvent;"}, k = 3, mv = {1, 8, 0}, xi = 48) @DebugMetadata(c = "com.google.maps.android.ktx.GoogleMapKt$cameraEvents$1", f = "GoogleMap.kt", i = {}, l = {111}, m = "invokeSuspend", n = {}, s = {}) static final class AnonymousClass1 extends SuspendLambda implements Function2, Continuation, Object> { final /* synthetic */ GoogleMap $this_cameraEvents; private /* synthetic */ Object L$0; int label; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ AnonymousClass1(GoogleMap googleMap, Continuation continuation) { super(2, continuation); this.$this_cameraEvents = googleMap; } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Continuation create(Object obj, Continuation continuation) { AnonymousClass1 anonymousClass1 = new AnonymousClass1(this.$this_cameraEvents, continuation); anonymousClass1.L$0 = obj; return anonymousClass1; } @Override // kotlin.jvm.functions.Function2 public final Object invoke(ProducerScope producerScope, Continuation continuation) { return ((AnonymousClass1) create(producerScope, continuation)).invokeSuspend(Unit.INSTANCE); } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Object invokeSuspend(Object obj) throws Throwable { Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { ResultKt.throwOnFailure(obj); final ProducerScope producerScope = (ProducerScope) this.L$0; this.$this_cameraEvents.setOnCameraIdleListener(new GoogleMap.OnCameraIdleListener() { // from class: com.google.maps.android.ktx.GoogleMapKt$cameraEvents$1$$ExternalSyntheticLambda0 @Override // com.google.android.gms.maps.GoogleMap.OnCameraIdleListener public final void onCameraIdle() { GoogleMapKt.AnonymousClass1.invokeSuspend$lambda$0(producerScope); } }); this.$this_cameraEvents.setOnCameraMoveCanceledListener(new GoogleMap.OnCameraMoveCanceledListener() { // from class: com.google.maps.android.ktx.GoogleMapKt$cameraEvents$1$$ExternalSyntheticLambda1 @Override // com.google.android.gms.maps.GoogleMap.OnCameraMoveCanceledListener public final void onCameraMoveCanceled() { GoogleMapKt.AnonymousClass1.invokeSuspend$lambda$1(producerScope); } }); this.$this_cameraEvents.setOnCameraMoveListener(new GoogleMap.OnCameraMoveListener() { // from class: com.google.maps.android.ktx.GoogleMapKt$cameraEvents$1$$ExternalSyntheticLambda2 @Override // com.google.android.gms.maps.GoogleMap.OnCameraMoveListener public final void onCameraMove() { GoogleMapKt.AnonymousClass1.invokeSuspend$lambda$2(producerScope); } }); this.$this_cameraEvents.setOnCameraMoveStartedListener(new GoogleMap.OnCameraMoveStartedListener() { // from class: com.google.maps.android.ktx.GoogleMapKt$cameraEvents$1$$ExternalSyntheticLambda3 @Override // com.google.android.gms.maps.GoogleMap.OnCameraMoveStartedListener public final void onCameraMoveStarted(int i2) { GoogleMapKt.AnonymousClass1.invokeSuspend$lambda$3(producerScope, i2); } }); final GoogleMap googleMap = this.$this_cameraEvents; this.label = 1; if (ProduceKt.awaitClose(producerScope, new Function0() { // from class: com.google.maps.android.ktx.GoogleMapKt.cameraEvents.1.5 { super(0); } @Override // kotlin.jvm.functions.Function0 public /* bridge */ /* synthetic */ Unit invoke() { invoke2(); return Unit.INSTANCE; } /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2() { googleMap.setOnCameraIdleListener(null); googleMap.setOnCameraMoveCanceledListener(null); googleMap.setOnCameraMoveListener(null); googleMap.setOnCameraMoveStartedListener(null); } }, this) == coroutine_suspended) { return coroutine_suspended; } } else { if (i != 1) { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } ResultKt.throwOnFailure(obj); } return Unit.INSTANCE; } /* JADX INFO: Access modifiers changed from: private */ public static final void invokeSuspend$lambda$0(ProducerScope producerScope) { producerScope.mo9890trySendJP2dKIU(CameraIdleEvent.INSTANCE); } /* JADX INFO: Access modifiers changed from: private */ public static final void invokeSuspend$lambda$1(ProducerScope producerScope) { producerScope.mo9890trySendJP2dKIU(CameraMoveCanceledEvent.INSTANCE); } /* JADX INFO: Access modifiers changed from: private */ public static final void invokeSuspend$lambda$2(ProducerScope producerScope) { producerScope.mo9890trySendJP2dKIU(CameraMoveEvent.INSTANCE); } /* JADX INFO: Access modifiers changed from: private */ public static final void invokeSuspend$lambda$3(ProducerScope producerScope, int i) { producerScope.mo9890trySendJP2dKIU(new CameraMoveStartedEvent(i)); } } @Deprecated(message = "Use cameraIdleEvents(), cameraMoveCanceledEvents(), cameraMoveEvents() or cameraMoveStartedEvents") public static final Flow cameraEvents(GoogleMap googleMap) { Intrinsics.checkNotNullParameter(googleMap, ""); return FlowKt.callbackFlow(new AnonymousClass1(googleMap, null)); } public static final Object awaitMapLoad(GoogleMap googleMap, Continuation continuation) throws Throwable { SafeContinuation safeContinuation = new SafeContinuation(IntrinsicsKt.intercepted(continuation)); googleMap.setOnMapLoadedCallback(new GoogleMapKt$awaitMapLoad$2$1(safeContinuation)); Object orThrow = safeContinuation.getOrThrow(); if (orThrow == IntrinsicsKt.getCOROUTINE_SUSPENDED()) { DebugProbesKt.probeCoroutineSuspended(continuation); } return orThrow == IntrinsicsKt.getCOROUTINE_SUSPENDED() ? orThrow : Unit.INSTANCE; } private static final Object awaitMapLoad$$forInline(GoogleMap googleMap, Continuation continuation) { InlineMarker.mark(0); SafeContinuation safeContinuation = new SafeContinuation(IntrinsicsKt.intercepted(continuation)); googleMap.setOnMapLoadedCallback(new GoogleMapKt$awaitMapLoad$2$1(safeContinuation)); Unit unit = Unit.INSTANCE; if (safeContinuation.getOrThrow() == IntrinsicsKt.getCOROUTINE_SUSPENDED()) { DebugProbesKt.probeCoroutineSuspended(continuation); } InlineMarker.mark(1); return Unit.INSTANCE; } /* JADX INFO: renamed from: com.google.maps.android.ktx.GoogleMapKt$cameraIdleEvents$1, reason: invalid class name and case insensitive filesystem */ /* JADX INFO: compiled from: GoogleMap.kt */ @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00010\u0002H\u008a@"}, d2 = {"", "", "Lkotlinx/coroutines/channels/ProducerScope;"}, k = 3, mv = {1, 8, 0}, xi = 48) @DebugMetadata(c = "com.google.maps.android.ktx.GoogleMapKt$cameraIdleEvents$1", f = "GoogleMap.kt", i = {}, l = {161}, m = "invokeSuspend", n = {}, s = {}) static final class C06031 extends SuspendLambda implements Function2, Continuation, Object> { final /* synthetic */ GoogleMap $this_cameraIdleEvents; private /* synthetic */ Object L$0; int label; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ C06031(GoogleMap googleMap, Continuation continuation) { super(2, continuation); this.$this_cameraIdleEvents = googleMap; } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Continuation create(Object obj, Continuation continuation) { C06031 c06031 = new C06031(this.$this_cameraIdleEvents, continuation); c06031.L$0 = obj; return c06031; } @Override // kotlin.jvm.functions.Function2 public final Object invoke(ProducerScope producerScope, Continuation continuation) { return ((C06031) create(producerScope, continuation)).invokeSuspend(Unit.INSTANCE); } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Object invokeSuspend(Object obj) throws Throwable { Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { ResultKt.throwOnFailure(obj); final ProducerScope producerScope = (ProducerScope) this.L$0; this.$this_cameraIdleEvents.setOnCameraIdleListener(new GoogleMap.OnCameraIdleListener() { // from class: com.google.maps.android.ktx.GoogleMapKt$cameraIdleEvents$1$$ExternalSyntheticLambda0 @Override // com.google.android.gms.maps.GoogleMap.OnCameraIdleListener public final void onCameraIdle() { GoogleMapKt.C06031.invokeSuspend$lambda$0(producerScope); } }); final GoogleMap googleMap = this.$this_cameraIdleEvents; this.label = 1; if (ProduceKt.awaitClose(producerScope, new Function0() { // from class: com.google.maps.android.ktx.GoogleMapKt.cameraIdleEvents.1.2 { super(0); } @Override // kotlin.jvm.functions.Function0 public /* bridge */ /* synthetic */ Unit invoke() { invoke2(); return Unit.INSTANCE; } /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2() { googleMap.setOnCameraIdleListener(null); } }, this) == coroutine_suspended) { return coroutine_suspended; } } else { if (i != 1) { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } ResultKt.throwOnFailure(obj); } return Unit.INSTANCE; } /* JADX INFO: Access modifiers changed from: private */ public static final void invokeSuspend$lambda$0(ProducerScope producerScope) { producerScope.mo9890trySendJP2dKIU(Unit.INSTANCE); } } public static final Flow cameraIdleEvents(GoogleMap googleMap) { Intrinsics.checkNotNullParameter(googleMap, ""); return FlowKt.callbackFlow(new C06031(googleMap, null)); } /* JADX INFO: renamed from: com.google.maps.android.ktx.GoogleMapKt$cameraMoveCanceledEvents$1, reason: invalid class name and case insensitive filesystem */ /* JADX INFO: compiled from: GoogleMap.kt */ @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00010\u0002H\u008a@"}, d2 = {"", "", "Lkotlinx/coroutines/channels/ProducerScope;"}, k = 3, mv = {1, 8, 0}, xi = 48) @DebugMetadata(c = "com.google.maps.android.ktx.GoogleMapKt$cameraMoveCanceledEvents$1", f = "GoogleMap.kt", i = {}, l = {176}, m = "invokeSuspend", n = {}, s = {}) static final class C06041 extends SuspendLambda implements Function2, Continuation, Object> { final /* synthetic */ GoogleMap $this_cameraMoveCanceledEvents; private /* synthetic */ Object L$0; int label; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ C06041(GoogleMap googleMap, Continuation continuation) { super(2, continuation); this.$this_cameraMoveCanceledEvents = googleMap; } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Continuation create(Object obj, Continuation continuation) { C06041 c06041 = new C06041(this.$this_cameraMoveCanceledEvents, continuation); c06041.L$0 = obj; return c06041; } @Override // kotlin.jvm.functions.Function2 public final Object invoke(ProducerScope producerScope, Continuation continuation) { return ((C06041) create(producerScope, continuation)).invokeSuspend(Unit.INSTANCE); } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Object invokeSuspend(Object obj) throws Throwable { Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { ResultKt.throwOnFailure(obj); final ProducerScope producerScope = (ProducerScope) this.L$0; this.$this_cameraMoveCanceledEvents.setOnCameraMoveCanceledListener(new GoogleMap.OnCameraMoveCanceledListener() { // from class: com.google.maps.android.ktx.GoogleMapKt$cameraMoveCanceledEvents$1$$ExternalSyntheticLambda0 @Override // com.google.android.gms.maps.GoogleMap.OnCameraMoveCanceledListener public final void onCameraMoveCanceled() { GoogleMapKt.C06041.invokeSuspend$lambda$0(producerScope); } }); final GoogleMap googleMap = this.$this_cameraMoveCanceledEvents; this.label = 1; if (ProduceKt.awaitClose(producerScope, new Function0() { // from class: com.google.maps.android.ktx.GoogleMapKt.cameraMoveCanceledEvents.1.2 { super(0); } @Override // kotlin.jvm.functions.Function0 public /* bridge */ /* synthetic */ Unit invoke() { invoke2(); return Unit.INSTANCE; } /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2() { googleMap.setOnCameraMoveCanceledListener(null); } }, this) == coroutine_suspended) { return coroutine_suspended; } } else { if (i != 1) { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } ResultKt.throwOnFailure(obj); } return Unit.INSTANCE; } /* JADX INFO: Access modifiers changed from: private */ public static final void invokeSuspend$lambda$0(ProducerScope producerScope) { producerScope.mo9890trySendJP2dKIU(Unit.INSTANCE); } } public static final Flow cameraMoveCanceledEvents(GoogleMap googleMap) { Intrinsics.checkNotNullParameter(googleMap, ""); return FlowKt.callbackFlow(new C06041(googleMap, null)); } /* JADX INFO: renamed from: com.google.maps.android.ktx.GoogleMapKt$cameraMoveEvents$1, reason: invalid class name and case insensitive filesystem */ /* JADX INFO: compiled from: GoogleMap.kt */ @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00010\u0002H\u008a@"}, d2 = {"", "", "Lkotlinx/coroutines/channels/ProducerScope;"}, k = 3, mv = {1, 8, 0}, xi = 48) @DebugMetadata(c = "com.google.maps.android.ktx.GoogleMapKt$cameraMoveEvents$1", f = "GoogleMap.kt", i = {}, l = {190}, m = "invokeSuspend", n = {}, s = {}) static final class C06051 extends SuspendLambda implements Function2, Continuation, Object> { final /* synthetic */ GoogleMap $this_cameraMoveEvents; private /* synthetic */ Object L$0; int label; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ C06051(GoogleMap googleMap, Continuation continuation) { super(2, continuation); this.$this_cameraMoveEvents = googleMap; } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Continuation create(Object obj, Continuation continuation) { C06051 c06051 = new C06051(this.$this_cameraMoveEvents, continuation); c06051.L$0 = obj; return c06051; } @Override // kotlin.jvm.functions.Function2 public final Object invoke(ProducerScope producerScope, Continuation continuation) { return ((C06051) create(producerScope, continuation)).invokeSuspend(Unit.INSTANCE); } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Object invokeSuspend(Object obj) throws Throwable { Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { ResultKt.throwOnFailure(obj); final ProducerScope producerScope = (ProducerScope) this.L$0; this.$this_cameraMoveEvents.setOnCameraMoveListener(new GoogleMap.OnCameraMoveListener() { // from class: com.google.maps.android.ktx.GoogleMapKt$cameraMoveEvents$1$$ExternalSyntheticLambda0 @Override // com.google.android.gms.maps.GoogleMap.OnCameraMoveListener public final void onCameraMove() { GoogleMapKt.C06051.invokeSuspend$lambda$0(producerScope); } }); final GoogleMap googleMap = this.$this_cameraMoveEvents; this.label = 1; if (ProduceKt.awaitClose(producerScope, new Function0() { // from class: com.google.maps.android.ktx.GoogleMapKt.cameraMoveEvents.1.2 { super(0); } @Override // kotlin.jvm.functions.Function0 public /* bridge */ /* synthetic */ Unit invoke() { invoke2(); return Unit.INSTANCE; } /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2() { googleMap.setOnCameraMoveListener(null); } }, this) == coroutine_suspended) { return coroutine_suspended; } } else { if (i != 1) { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } ResultKt.throwOnFailure(obj); } return Unit.INSTANCE; } /* JADX INFO: Access modifiers changed from: private */ public static final void invokeSuspend$lambda$0(ProducerScope producerScope) { producerScope.mo9890trySendJP2dKIU(Unit.INSTANCE); } } public static final Flow cameraMoveEvents(GoogleMap googleMap) { Intrinsics.checkNotNullParameter(googleMap, ""); return FlowKt.callbackFlow(new C06051(googleMap, null)); } public static final Object awaitSnapshot(GoogleMap googleMap, Bitmap bitmap, Continuation continuation) throws Throwable { SafeContinuation safeContinuation = new SafeContinuation(IntrinsicsKt.intercepted(continuation)); googleMap.snapshot(new GoogleMapKt$awaitSnapshot$2$1(safeContinuation), bitmap); Object orThrow = safeContinuation.getOrThrow(); if (orThrow == IntrinsicsKt.getCOROUTINE_SUSPENDED()) { DebugProbesKt.probeCoroutineSuspended(continuation); } return orThrow; } private static final Object awaitSnapshot$$forInline(GoogleMap googleMap, Bitmap bitmap, Continuation continuation) throws Throwable { InlineMarker.mark(0); SafeContinuation safeContinuation = new SafeContinuation(IntrinsicsKt.intercepted(continuation)); googleMap.snapshot(new GoogleMapKt$awaitSnapshot$2$1(safeContinuation), bitmap); Unit unit = Unit.INSTANCE; Object orThrow = safeContinuation.getOrThrow(); if (orThrow == IntrinsicsKt.getCOROUTINE_SUSPENDED()) { DebugProbesKt.probeCoroutineSuspended(continuation); } InlineMarker.mark(1); return orThrow; } public static /* synthetic */ Object awaitSnapshot$default(GoogleMap googleMap, Bitmap bitmap, Continuation continuation, int i, Object obj) throws Throwable { if ((i & 1) != 0) { bitmap = null; } InlineMarker.mark(0); SafeContinuation safeContinuation = new SafeContinuation(IntrinsicsKt.intercepted(continuation)); googleMap.snapshot(new GoogleMapKt$awaitSnapshot$2$1(safeContinuation), bitmap); Object orThrow = safeContinuation.getOrThrow(); if (orThrow == IntrinsicsKt.getCOROUTINE_SUSPENDED()) { DebugProbesKt.probeCoroutineSuspended(continuation); } InlineMarker.mark(1); return orThrow; } /* JADX INFO: renamed from: com.google.maps.android.ktx.GoogleMapKt$cameraMoveStartedEvents$1, reason: invalid class name and case insensitive filesystem */ /* JADX INFO: compiled from: GoogleMap.kt */ @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\u0010\b\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00030\u0002H\u008a@"}, d2 = {"", "", "Lkotlinx/coroutines/channels/ProducerScope;", ""}, k = 3, mv = {1, 8, 0}, xi = 48) @DebugMetadata(c = "com.google.maps.android.ktx.GoogleMapKt$cameraMoveStartedEvents$1", f = "GoogleMap.kt", i = {}, l = {216}, m = "invokeSuspend", n = {}, s = {}) static final class C06061 extends SuspendLambda implements Function2, Continuation, Object> { final /* synthetic */ GoogleMap $this_cameraMoveStartedEvents; private /* synthetic */ Object L$0; int label; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ C06061(GoogleMap googleMap, Continuation continuation) { super(2, continuation); this.$this_cameraMoveStartedEvents = googleMap; } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Continuation create(Object obj, Continuation continuation) { C06061 c06061 = new C06061(this.$this_cameraMoveStartedEvents, continuation); c06061.L$0 = obj; return c06061; } @Override // kotlin.jvm.functions.Function2 public final Object invoke(ProducerScope producerScope, Continuation continuation) { return ((C06061) create(producerScope, continuation)).invokeSuspend(Unit.INSTANCE); } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Object invokeSuspend(Object obj) throws Throwable { Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { ResultKt.throwOnFailure(obj); final ProducerScope producerScope = (ProducerScope) this.L$0; this.$this_cameraMoveStartedEvents.setOnCameraMoveStartedListener(new GoogleMap.OnCameraMoveStartedListener() { // from class: com.google.maps.android.ktx.GoogleMapKt$cameraMoveStartedEvents$1$$ExternalSyntheticLambda0 @Override // com.google.android.gms.maps.GoogleMap.OnCameraMoveStartedListener public final void onCameraMoveStarted(int i2) { GoogleMapKt.C06061.invokeSuspend$lambda$0(producerScope, i2); } }); final GoogleMap googleMap = this.$this_cameraMoveStartedEvents; this.label = 1; if (ProduceKt.awaitClose(producerScope, new Function0() { // from class: com.google.maps.android.ktx.GoogleMapKt.cameraMoveStartedEvents.1.2 { super(0); } @Override // kotlin.jvm.functions.Function0 public /* bridge */ /* synthetic */ Unit invoke() { invoke2(); return Unit.INSTANCE; } /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2() { googleMap.setOnCameraMoveStartedListener(null); } }, this) == coroutine_suspended) { return coroutine_suspended; } } else { if (i != 1) { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } ResultKt.throwOnFailure(obj); } return Unit.INSTANCE; } /* JADX INFO: Access modifiers changed from: private */ public static final void invokeSuspend$lambda$0(ProducerScope producerScope, int i) { producerScope.mo9890trySendJP2dKIU(Integer.valueOf(i)); } } public static final Flow cameraMoveStartedEvents(GoogleMap googleMap) { Intrinsics.checkNotNullParameter(googleMap, ""); return FlowKt.callbackFlow(new C06061(googleMap, null)); } /* JADX INFO: renamed from: com.google.maps.android.ktx.GoogleMapKt$circleClickEvents$1, reason: invalid class name and case insensitive filesystem */ /* JADX INFO: compiled from: GoogleMap.kt */ @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00030\u0002H\u008a@"}, d2 = {"", "", "Lkotlinx/coroutines/channels/ProducerScope;", "Lcom/google/android/gms/maps/model/Circle;"}, k = 3, mv = {1, 8, 0}, xi = 48) @DebugMetadata(c = "com.google.maps.android.ktx.GoogleMapKt$circleClickEvents$1", f = "GoogleMap.kt", i = {}, l = {230}, m = "invokeSuspend", n = {}, s = {}) static final class C06071 extends SuspendLambda implements Function2, Continuation, Object> { final /* synthetic */ GoogleMap $this_circleClickEvents; private /* synthetic */ Object L$0; int label; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ C06071(GoogleMap googleMap, Continuation continuation) { super(2, continuation); this.$this_circleClickEvents = googleMap; } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Continuation create(Object obj, Continuation continuation) { C06071 c06071 = new C06071(this.$this_circleClickEvents, continuation); c06071.L$0 = obj; return c06071; } @Override // kotlin.jvm.functions.Function2 public final Object invoke(ProducerScope producerScope, Continuation continuation) { return ((C06071) create(producerScope, continuation)).invokeSuspend(Unit.INSTANCE); } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Object invokeSuspend(Object obj) throws Throwable { Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { ResultKt.throwOnFailure(obj); final ProducerScope producerScope = (ProducerScope) this.L$0; this.$this_circleClickEvents.setOnCircleClickListener(new GoogleMap.OnCircleClickListener() { // from class: com.google.maps.android.ktx.GoogleMapKt$circleClickEvents$1$$ExternalSyntheticLambda0 @Override // com.google.android.gms.maps.GoogleMap.OnCircleClickListener public final void onCircleClick(Circle circle) { GoogleMapKt.C06071.invokeSuspend$lambda$0(producerScope, circle); } }); final GoogleMap googleMap = this.$this_circleClickEvents; this.label = 1; if (ProduceKt.awaitClose(producerScope, new Function0() { // from class: com.google.maps.android.ktx.GoogleMapKt.circleClickEvents.1.2 { super(0); } @Override // kotlin.jvm.functions.Function0 public /* bridge */ /* synthetic */ Unit invoke() { invoke2(); return Unit.INSTANCE; } /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2() { googleMap.setOnCircleClickListener(null); } }, this) == coroutine_suspended) { return coroutine_suspended; } } else { if (i != 1) { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } ResultKt.throwOnFailure(obj); } return Unit.INSTANCE; } /* JADX INFO: Access modifiers changed from: private */ public static final void invokeSuspend$lambda$0(ProducerScope producerScope, Circle it) { Intrinsics.checkNotNullExpressionValue(it, "it"); producerScope.mo9890trySendJP2dKIU(it); } } public static final Flow circleClickEvents(GoogleMap googleMap) { Intrinsics.checkNotNullParameter(googleMap, ""); return FlowKt.callbackFlow(new C06071(googleMap, null)); } /* JADX INFO: renamed from: com.google.maps.android.ktx.GoogleMapKt$groundOverlayClicks$1, reason: invalid class name and case insensitive filesystem */ /* JADX INFO: compiled from: GoogleMap.kt */ @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00030\u0002H\u008a@"}, d2 = {"", "", "Lkotlinx/coroutines/channels/ProducerScope;", "Lcom/google/android/gms/maps/model/GroundOverlay;"}, k = 3, mv = {1, 8, 0}, xi = 48) @DebugMetadata(c = "com.google.maps.android.ktx.GoogleMapKt$groundOverlayClicks$1", f = "GoogleMap.kt", i = {}, l = {245}, m = "invokeSuspend", n = {}, s = {}) static final class C06081 extends SuspendLambda implements Function2, Continuation, Object> { final /* synthetic */ GoogleMap $this_groundOverlayClicks; private /* synthetic */ Object L$0; int label; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ C06081(GoogleMap googleMap, Continuation continuation) { super(2, continuation); this.$this_groundOverlayClicks = googleMap; } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Continuation create(Object obj, Continuation continuation) { C06081 c06081 = new C06081(this.$this_groundOverlayClicks, continuation); c06081.L$0 = obj; return c06081; } @Override // kotlin.jvm.functions.Function2 public final Object invoke(ProducerScope producerScope, Continuation continuation) { return ((C06081) create(producerScope, continuation)).invokeSuspend(Unit.INSTANCE); } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Object invokeSuspend(Object obj) throws Throwable { Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { ResultKt.throwOnFailure(obj); final ProducerScope producerScope = (ProducerScope) this.L$0; this.$this_groundOverlayClicks.setOnGroundOverlayClickListener(new GoogleMap.OnGroundOverlayClickListener() { // from class: com.google.maps.android.ktx.GoogleMapKt$groundOverlayClicks$1$$ExternalSyntheticLambda0 @Override // com.google.android.gms.maps.GoogleMap.OnGroundOverlayClickListener public final void onGroundOverlayClick(GroundOverlay groundOverlay) { GoogleMapKt.C06081.invokeSuspend$lambda$0(producerScope, groundOverlay); } }); final GoogleMap googleMap = this.$this_groundOverlayClicks; this.label = 1; if (ProduceKt.awaitClose(producerScope, new Function0() { // from class: com.google.maps.android.ktx.GoogleMapKt.groundOverlayClicks.1.2 { super(0); } @Override // kotlin.jvm.functions.Function0 public /* bridge */ /* synthetic */ Unit invoke() { invoke2(); return Unit.INSTANCE; } /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2() { googleMap.setOnGroundOverlayClickListener(null); } }, this) == coroutine_suspended) { return coroutine_suspended; } } else { if (i != 1) { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } ResultKt.throwOnFailure(obj); } return Unit.INSTANCE; } /* JADX INFO: Access modifiers changed from: private */ public static final void invokeSuspend$lambda$0(ProducerScope producerScope, GroundOverlay it) { Intrinsics.checkNotNullExpressionValue(it, "it"); producerScope.mo9890trySendJP2dKIU(it); } } public static final Flow groundOverlayClicks(GoogleMap googleMap) { Intrinsics.checkNotNullParameter(googleMap, ""); return FlowKt.callbackFlow(new C06081(googleMap, null)); } /* JADX INFO: renamed from: com.google.maps.android.ktx.GoogleMapKt$indoorStateChangeEvents$1, reason: invalid class name and case insensitive filesystem */ /* JADX INFO: compiled from: GoogleMap.kt */ @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00030\u0002H\u008a@"}, d2 = {"", "", "Lkotlinx/coroutines/channels/ProducerScope;", "Lcom/google/maps/android/ktx/IndoorChangeEvent;"}, k = 3, mv = {1, 8, 0}, xi = 48) @DebugMetadata(c = "com.google.maps.android.ktx.GoogleMapKt$indoorStateChangeEvents$1", f = "GoogleMap.kt", i = {}, l = {266}, m = "invokeSuspend", n = {}, s = {}) static final class C06091 extends SuspendLambda implements Function2, Continuation, Object> { final /* synthetic */ GoogleMap $this_indoorStateChangeEvents; private /* synthetic */ Object L$0; int label; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ C06091(GoogleMap googleMap, Continuation continuation) { super(2, continuation); this.$this_indoorStateChangeEvents = googleMap; } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Continuation create(Object obj, Continuation continuation) { C06091 c06091 = new C06091(this.$this_indoorStateChangeEvents, continuation); c06091.L$0 = obj; return c06091; } @Override // kotlin.jvm.functions.Function2 public final Object invoke(ProducerScope producerScope, Continuation continuation) { return ((C06091) create(producerScope, continuation)).invokeSuspend(Unit.INSTANCE); } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Object invokeSuspend(Object obj) throws Throwable { Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { ResultKt.throwOnFailure(obj); final ProducerScope producerScope = (ProducerScope) this.L$0; this.$this_indoorStateChangeEvents.setOnIndoorStateChangeListener(new GoogleMap.OnIndoorStateChangeListener() { // from class: com.google.maps.android.ktx.GoogleMapKt.indoorStateChangeEvents.1.1 @Override // com.google.android.gms.maps.GoogleMap.OnIndoorStateChangeListener public void onIndoorBuildingFocused() { producerScope.mo9890trySendJP2dKIU(IndoorBuildingFocusedEvent.INSTANCE); } @Override // com.google.android.gms.maps.GoogleMap.OnIndoorStateChangeListener public void onIndoorLevelActivated(IndoorBuilding indoorBuilding) { Intrinsics.checkNotNullParameter(indoorBuilding, "indoorBuilding"); producerScope.mo9890trySendJP2dKIU(new IndoorLevelActivatedEvent(indoorBuilding)); } }); final GoogleMap googleMap = this.$this_indoorStateChangeEvents; this.label = 1; if (ProduceKt.awaitClose(producerScope, new Function0() { // from class: com.google.maps.android.ktx.GoogleMapKt.indoorStateChangeEvents.1.2 { super(0); } @Override // kotlin.jvm.functions.Function0 public /* bridge */ /* synthetic */ Unit invoke() { invoke2(); return Unit.INSTANCE; } /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2() { googleMap.setOnIndoorStateChangeListener(null); } }, this) == coroutine_suspended) { return coroutine_suspended; } } else { if (i != 1) { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } ResultKt.throwOnFailure(obj); } return Unit.INSTANCE; } } public static final Flow indoorStateChangeEvents(GoogleMap googleMap) { Intrinsics.checkNotNullParameter(googleMap, ""); return FlowKt.callbackFlow(new C06091(googleMap, null)); } /* JADX INFO: renamed from: com.google.maps.android.ktx.GoogleMapKt$infoWindowClickEvents$1, reason: invalid class name and case insensitive filesystem */ /* JADX INFO: compiled from: GoogleMap.kt */ @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00030\u0002H\u008a@"}, d2 = {"", "", "Lkotlinx/coroutines/channels/ProducerScope;", "Lcom/google/android/gms/maps/model/Marker;"}, k = 3, mv = {1, 8, 0}, xi = 48) @DebugMetadata(c = "com.google.maps.android.ktx.GoogleMapKt$infoWindowClickEvents$1", f = "GoogleMap.kt", i = {}, l = {281}, m = "invokeSuspend", n = {}, s = {}) static final class C06101 extends SuspendLambda implements Function2, Continuation, Object> { final /* synthetic */ GoogleMap $this_infoWindowClickEvents; private /* synthetic */ Object L$0; int label; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ C06101(GoogleMap googleMap, Continuation continuation) { super(2, continuation); this.$this_infoWindowClickEvents = googleMap; } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Continuation create(Object obj, Continuation continuation) { C06101 c06101 = new C06101(this.$this_infoWindowClickEvents, continuation); c06101.L$0 = obj; return c06101; } @Override // kotlin.jvm.functions.Function2 public final Object invoke(ProducerScope producerScope, Continuation continuation) { return ((C06101) create(producerScope, continuation)).invokeSuspend(Unit.INSTANCE); } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Object invokeSuspend(Object obj) throws Throwable { Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { ResultKt.throwOnFailure(obj); final ProducerScope producerScope = (ProducerScope) this.L$0; this.$this_infoWindowClickEvents.setOnInfoWindowClickListener(new GoogleMap.OnInfoWindowClickListener() { // from class: com.google.maps.android.ktx.GoogleMapKt$infoWindowClickEvents$1$$ExternalSyntheticLambda0 @Override // com.google.android.gms.maps.GoogleMap.OnInfoWindowClickListener public final void onInfoWindowClick(Marker marker) { GoogleMapKt.C06101.invokeSuspend$lambda$0(producerScope, marker); } }); final GoogleMap googleMap = this.$this_infoWindowClickEvents; this.label = 1; if (ProduceKt.awaitClose(producerScope, new Function0() { // from class: com.google.maps.android.ktx.GoogleMapKt.infoWindowClickEvents.1.2 { super(0); } @Override // kotlin.jvm.functions.Function0 public /* bridge */ /* synthetic */ Unit invoke() { invoke2(); return Unit.INSTANCE; } /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2() { googleMap.setOnInfoWindowClickListener(null); } }, this) == coroutine_suspended) { return coroutine_suspended; } } else { if (i != 1) { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } ResultKt.throwOnFailure(obj); } return Unit.INSTANCE; } /* JADX INFO: Access modifiers changed from: private */ public static final void invokeSuspend$lambda$0(ProducerScope producerScope, Marker it) { Intrinsics.checkNotNullExpressionValue(it, "it"); producerScope.mo9890trySendJP2dKIU(it); } } public static final Flow infoWindowClickEvents(GoogleMap googleMap) { Intrinsics.checkNotNullParameter(googleMap, ""); return FlowKt.callbackFlow(new C06101(googleMap, null)); } /* JADX INFO: renamed from: com.google.maps.android.ktx.GoogleMapKt$infoWindowCloseEvents$1, reason: invalid class name and case insensitive filesystem */ /* JADX INFO: compiled from: GoogleMap.kt */ @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00030\u0002H\u008a@"}, d2 = {"", "", "Lkotlinx/coroutines/channels/ProducerScope;", "Lcom/google/android/gms/maps/model/Marker;"}, k = 3, mv = {1, 8, 0}, xi = 48) @DebugMetadata(c = "com.google.maps.android.ktx.GoogleMapKt$infoWindowCloseEvents$1", f = "GoogleMap.kt", i = {}, l = {296}, m = "invokeSuspend", n = {}, s = {}) static final class C06111 extends SuspendLambda implements Function2, Continuation, Object> { final /* synthetic */ GoogleMap $this_infoWindowCloseEvents; private /* synthetic */ Object L$0; int label; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ C06111(GoogleMap googleMap, Continuation continuation) { super(2, continuation); this.$this_infoWindowCloseEvents = googleMap; } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Continuation create(Object obj, Continuation continuation) { C06111 c06111 = new C06111(this.$this_infoWindowCloseEvents, continuation); c06111.L$0 = obj; return c06111; } @Override // kotlin.jvm.functions.Function2 public final Object invoke(ProducerScope producerScope, Continuation continuation) { return ((C06111) create(producerScope, continuation)).invokeSuspend(Unit.INSTANCE); } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Object invokeSuspend(Object obj) throws Throwable { Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { ResultKt.throwOnFailure(obj); final ProducerScope producerScope = (ProducerScope) this.L$0; this.$this_infoWindowCloseEvents.setOnInfoWindowCloseListener(new GoogleMap.OnInfoWindowCloseListener() { // from class: com.google.maps.android.ktx.GoogleMapKt$infoWindowCloseEvents$1$$ExternalSyntheticLambda0 @Override // com.google.android.gms.maps.GoogleMap.OnInfoWindowCloseListener public final void onInfoWindowClose(Marker marker) { GoogleMapKt.C06111.invokeSuspend$lambda$0(producerScope, marker); } }); final GoogleMap googleMap = this.$this_infoWindowCloseEvents; this.label = 1; if (ProduceKt.awaitClose(producerScope, new Function0() { // from class: com.google.maps.android.ktx.GoogleMapKt.infoWindowCloseEvents.1.2 { super(0); } @Override // kotlin.jvm.functions.Function0 public /* bridge */ /* synthetic */ Unit invoke() { invoke2(); return Unit.INSTANCE; } /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2() { googleMap.setOnInfoWindowCloseListener(null); } }, this) == coroutine_suspended) { return coroutine_suspended; } } else { if (i != 1) { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } ResultKt.throwOnFailure(obj); } return Unit.INSTANCE; } /* JADX INFO: Access modifiers changed from: private */ public static final void invokeSuspend$lambda$0(ProducerScope producerScope, Marker it) { Intrinsics.checkNotNullExpressionValue(it, "it"); producerScope.mo9890trySendJP2dKIU(it); } } public static final Flow infoWindowCloseEvents(GoogleMap googleMap) { Intrinsics.checkNotNullParameter(googleMap, ""); return FlowKt.callbackFlow(new C06111(googleMap, null)); } /* JADX INFO: renamed from: com.google.maps.android.ktx.GoogleMapKt$infoWindowLongClickEvents$1, reason: invalid class name and case insensitive filesystem */ /* JADX INFO: compiled from: GoogleMap.kt */ @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00030\u0002H\u008a@"}, d2 = {"", "", "Lkotlinx/coroutines/channels/ProducerScope;", "Lcom/google/android/gms/maps/model/Marker;"}, k = 3, mv = {1, 8, 0}, xi = 48) @DebugMetadata(c = "com.google.maps.android.ktx.GoogleMapKt$infoWindowLongClickEvents$1", f = "GoogleMap.kt", i = {}, l = {311}, m = "invokeSuspend", n = {}, s = {}) static final class C06121 extends SuspendLambda implements Function2, Continuation, Object> { final /* synthetic */ GoogleMap $this_infoWindowLongClickEvents; private /* synthetic */ Object L$0; int label; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ C06121(GoogleMap googleMap, Continuation continuation) { super(2, continuation); this.$this_infoWindowLongClickEvents = googleMap; } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Continuation create(Object obj, Continuation continuation) { C06121 c06121 = new C06121(this.$this_infoWindowLongClickEvents, continuation); c06121.L$0 = obj; return c06121; } @Override // kotlin.jvm.functions.Function2 public final Object invoke(ProducerScope producerScope, Continuation continuation) { return ((C06121) create(producerScope, continuation)).invokeSuspend(Unit.INSTANCE); } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Object invokeSuspend(Object obj) throws Throwable { Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { ResultKt.throwOnFailure(obj); final ProducerScope producerScope = (ProducerScope) this.L$0; this.$this_infoWindowLongClickEvents.setOnInfoWindowLongClickListener(new GoogleMap.OnInfoWindowLongClickListener() { // from class: com.google.maps.android.ktx.GoogleMapKt$infoWindowLongClickEvents$1$$ExternalSyntheticLambda0 @Override // com.google.android.gms.maps.GoogleMap.OnInfoWindowLongClickListener public final void onInfoWindowLongClick(Marker marker) { GoogleMapKt.C06121.invokeSuspend$lambda$0(producerScope, marker); } }); final GoogleMap googleMap = this.$this_infoWindowLongClickEvents; this.label = 1; if (ProduceKt.awaitClose(producerScope, new Function0() { // from class: com.google.maps.android.ktx.GoogleMapKt.infoWindowLongClickEvents.1.2 { super(0); } @Override // kotlin.jvm.functions.Function0 public /* bridge */ /* synthetic */ Unit invoke() { invoke2(); return Unit.INSTANCE; } /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2() { googleMap.setOnInfoWindowLongClickListener(null); } }, this) == coroutine_suspended) { return coroutine_suspended; } } else { if (i != 1) { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } ResultKt.throwOnFailure(obj); } return Unit.INSTANCE; } /* JADX INFO: Access modifiers changed from: private */ public static final void invokeSuspend$lambda$0(ProducerScope producerScope, Marker it) { Intrinsics.checkNotNullExpressionValue(it, "it"); producerScope.mo9890trySendJP2dKIU(it); } } public static final Flow infoWindowLongClickEvents(GoogleMap googleMap) { Intrinsics.checkNotNullParameter(googleMap, ""); return FlowKt.callbackFlow(new C06121(googleMap, null)); } /* JADX INFO: renamed from: com.google.maps.android.ktx.GoogleMapKt$mapClickEvents$1, reason: invalid class name and case insensitive filesystem */ /* JADX INFO: compiled from: GoogleMap.kt */ @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00030\u0002H\u008a@"}, d2 = {"", "", "Lkotlinx/coroutines/channels/ProducerScope;", "Lcom/google/android/gms/maps/model/LatLng;"}, k = 3, mv = {1, 8, 0}, xi = 48) @DebugMetadata(c = "com.google.maps.android.ktx.GoogleMapKt$mapClickEvents$1", f = "GoogleMap.kt", i = {}, l = {325}, m = "invokeSuspend", n = {}, s = {}) static final class C06131 extends SuspendLambda implements Function2, Continuation, Object> { final /* synthetic */ GoogleMap $this_mapClickEvents; private /* synthetic */ Object L$0; int label; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ C06131(GoogleMap googleMap, Continuation continuation) { super(2, continuation); this.$this_mapClickEvents = googleMap; } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Continuation create(Object obj, Continuation continuation) { C06131 c06131 = new C06131(this.$this_mapClickEvents, continuation); c06131.L$0 = obj; return c06131; } @Override // kotlin.jvm.functions.Function2 public final Object invoke(ProducerScope producerScope, Continuation continuation) { return ((C06131) create(producerScope, continuation)).invokeSuspend(Unit.INSTANCE); } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Object invokeSuspend(Object obj) throws Throwable { Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { ResultKt.throwOnFailure(obj); final ProducerScope producerScope = (ProducerScope) this.L$0; this.$this_mapClickEvents.setOnMapClickListener(new GoogleMap.OnMapClickListener() { // from class: com.google.maps.android.ktx.GoogleMapKt$mapClickEvents$1$$ExternalSyntheticLambda0 @Override // com.google.android.gms.maps.GoogleMap.OnMapClickListener public final void onMapClick(LatLng latLng) { GoogleMapKt.C06131.invokeSuspend$lambda$0(producerScope, latLng); } }); final GoogleMap googleMap = this.$this_mapClickEvents; this.label = 1; if (ProduceKt.awaitClose(producerScope, new Function0() { // from class: com.google.maps.android.ktx.GoogleMapKt.mapClickEvents.1.2 { super(0); } @Override // kotlin.jvm.functions.Function0 public /* bridge */ /* synthetic */ Unit invoke() { invoke2(); return Unit.INSTANCE; } /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2() { googleMap.setOnMapClickListener(null); } }, this) == coroutine_suspended) { return coroutine_suspended; } } else { if (i != 1) { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } ResultKt.throwOnFailure(obj); } return Unit.INSTANCE; } /* JADX INFO: Access modifiers changed from: private */ public static final void invokeSuspend$lambda$0(ProducerScope producerScope, LatLng it) { Intrinsics.checkNotNullExpressionValue(it, "it"); producerScope.mo9890trySendJP2dKIU(it); } } public static final Flow mapClickEvents(GoogleMap googleMap) { Intrinsics.checkNotNullParameter(googleMap, ""); return FlowKt.callbackFlow(new C06131(googleMap, null)); } /* JADX INFO: renamed from: com.google.maps.android.ktx.GoogleMapKt$mapLongClickEvents$1, reason: invalid class name and case insensitive filesystem */ /* JADX INFO: compiled from: GoogleMap.kt */ @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00030\u0002H\u008a@"}, d2 = {"", "", "Lkotlinx/coroutines/channels/ProducerScope;", "Lcom/google/android/gms/maps/model/LatLng;"}, k = 3, mv = {1, 8, 0}, xi = 48) @DebugMetadata(c = "com.google.maps.android.ktx.GoogleMapKt$mapLongClickEvents$1", f = "GoogleMap.kt", i = {}, l = {339}, m = "invokeSuspend", n = {}, s = {}) static final class C06141 extends SuspendLambda implements Function2, Continuation, Object> { final /* synthetic */ GoogleMap $this_mapLongClickEvents; private /* synthetic */ Object L$0; int label; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ C06141(GoogleMap googleMap, Continuation continuation) { super(2, continuation); this.$this_mapLongClickEvents = googleMap; } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Continuation create(Object obj, Continuation continuation) { C06141 c06141 = new C06141(this.$this_mapLongClickEvents, continuation); c06141.L$0 = obj; return c06141; } @Override // kotlin.jvm.functions.Function2 public final Object invoke(ProducerScope producerScope, Continuation continuation) { return ((C06141) create(producerScope, continuation)).invokeSuspend(Unit.INSTANCE); } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Object invokeSuspend(Object obj) throws Throwable { Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { ResultKt.throwOnFailure(obj); final ProducerScope producerScope = (ProducerScope) this.L$0; this.$this_mapLongClickEvents.setOnMapLongClickListener(new GoogleMap.OnMapLongClickListener() { // from class: com.google.maps.android.ktx.GoogleMapKt$mapLongClickEvents$1$$ExternalSyntheticLambda0 @Override // com.google.android.gms.maps.GoogleMap.OnMapLongClickListener public final void onMapLongClick(LatLng latLng) { GoogleMapKt.C06141.invokeSuspend$lambda$0(producerScope, latLng); } }); final GoogleMap googleMap = this.$this_mapLongClickEvents; this.label = 1; if (ProduceKt.awaitClose(producerScope, new Function0() { // from class: com.google.maps.android.ktx.GoogleMapKt.mapLongClickEvents.1.2 { super(0); } @Override // kotlin.jvm.functions.Function0 public /* bridge */ /* synthetic */ Unit invoke() { invoke2(); return Unit.INSTANCE; } /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2() { googleMap.setOnMapLongClickListener(null); } }, this) == coroutine_suspended) { return coroutine_suspended; } } else { if (i != 1) { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } ResultKt.throwOnFailure(obj); } return Unit.INSTANCE; } /* JADX INFO: Access modifiers changed from: private */ public static final void invokeSuspend$lambda$0(ProducerScope producerScope, LatLng it) { Intrinsics.checkNotNullExpressionValue(it, "it"); producerScope.mo9890trySendJP2dKIU(it); } } public static final Flow mapLongClickEvents(GoogleMap googleMap) { Intrinsics.checkNotNullParameter(googleMap, ""); return FlowKt.callbackFlow(new C06141(googleMap, null)); } /* JADX INFO: renamed from: com.google.maps.android.ktx.GoogleMapKt$markerClickEvents$1, reason: invalid class name and case insensitive filesystem */ /* JADX INFO: compiled from: GoogleMap.kt */ @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00030\u0002H\u008a@"}, d2 = {"", "", "Lkotlinx/coroutines/channels/ProducerScope;", "Lcom/google/android/gms/maps/model/Marker;"}, k = 3, mv = {1, 8, 0}, xi = 48) @DebugMetadata(c = "com.google.maps.android.ktx.GoogleMapKt$markerClickEvents$1", f = "GoogleMap.kt", i = {}, l = {353}, m = "invokeSuspend", n = {}, s = {}) static final class C06151 extends SuspendLambda implements Function2, Continuation, Object> { final /* synthetic */ GoogleMap $this_markerClickEvents; private /* synthetic */ Object L$0; int label; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ C06151(GoogleMap googleMap, Continuation continuation) { super(2, continuation); this.$this_markerClickEvents = googleMap; } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Continuation create(Object obj, Continuation continuation) { C06151 c06151 = new C06151(this.$this_markerClickEvents, continuation); c06151.L$0 = obj; return c06151; } @Override // kotlin.jvm.functions.Function2 public final Object invoke(ProducerScope producerScope, Continuation continuation) { return ((C06151) create(producerScope, continuation)).invokeSuspend(Unit.INSTANCE); } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Object invokeSuspend(Object obj) throws Throwable { Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { ResultKt.throwOnFailure(obj); final ProducerScope producerScope = (ProducerScope) this.L$0; this.$this_markerClickEvents.setOnMarkerClickListener(new GoogleMap.OnMarkerClickListener() { // from class: com.google.maps.android.ktx.GoogleMapKt$markerClickEvents$1$$ExternalSyntheticLambda0 @Override // com.google.android.gms.maps.GoogleMap.OnMarkerClickListener public final boolean onMarkerClick(Marker marker) { return GoogleMapKt.C06151.invokeSuspend$lambda$0(producerScope, marker); } }); final GoogleMap googleMap = this.$this_markerClickEvents; this.label = 1; if (ProduceKt.awaitClose(producerScope, new Function0() { // from class: com.google.maps.android.ktx.GoogleMapKt.markerClickEvents.1.2 { super(0); } @Override // kotlin.jvm.functions.Function0 public /* bridge */ /* synthetic */ Unit invoke() { invoke2(); return Unit.INSTANCE; } /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2() { googleMap.setOnMarkerClickListener(null); } }, this) == coroutine_suspended) { return coroutine_suspended; } } else { if (i != 1) { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } ResultKt.throwOnFailure(obj); } return Unit.INSTANCE; } /* JADX INFO: Access modifiers changed from: private */ public static final boolean invokeSuspend$lambda$0(ProducerScope producerScope, Marker it) { Intrinsics.checkNotNullExpressionValue(it, "it"); return ChannelResult.m9911isSuccessimpl(producerScope.mo9890trySendJP2dKIU(it)); } } public static final Flow markerClickEvents(GoogleMap googleMap) { Intrinsics.checkNotNullParameter(googleMap, ""); return FlowKt.callbackFlow(new C06151(googleMap, null)); } /* JADX INFO: renamed from: com.google.maps.android.ktx.GoogleMapKt$markerDragEvents$1, reason: invalid class name and case insensitive filesystem */ /* JADX INFO: compiled from: GoogleMap.kt */ @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00030\u0002H\u008a@"}, d2 = {"", "", "Lkotlinx/coroutines/channels/ProducerScope;", "Lcom/google/maps/android/ktx/OnMarkerDragEvent;"}, k = 3, mv = {1, 8, 0}, xi = 48) @DebugMetadata(c = "com.google.maps.android.ktx.GoogleMapKt$markerDragEvents$1", f = "GoogleMap.kt", i = {}, l = {378}, m = "invokeSuspend", n = {}, s = {}) static final class C06161 extends SuspendLambda implements Function2, Continuation, Object> { final /* synthetic */ GoogleMap $this_markerDragEvents; private /* synthetic */ Object L$0; int label; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ C06161(GoogleMap googleMap, Continuation continuation) { super(2, continuation); this.$this_markerDragEvents = googleMap; } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Continuation create(Object obj, Continuation continuation) { C06161 c06161 = new C06161(this.$this_markerDragEvents, continuation); c06161.L$0 = obj; return c06161; } @Override // kotlin.jvm.functions.Function2 public final Object invoke(ProducerScope producerScope, Continuation continuation) { return ((C06161) create(producerScope, continuation)).invokeSuspend(Unit.INSTANCE); } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Object invokeSuspend(Object obj) throws Throwable { Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { ResultKt.throwOnFailure(obj); final ProducerScope producerScope = (ProducerScope) this.L$0; this.$this_markerDragEvents.setOnMarkerDragListener(new GoogleMap.OnMarkerDragListener() { // from class: com.google.maps.android.ktx.GoogleMapKt.markerDragEvents.1.1 @Override // com.google.android.gms.maps.GoogleMap.OnMarkerDragListener public void onMarkerDragStart(Marker marker) { Intrinsics.checkNotNullParameter(marker, "marker"); producerScope.mo9890trySendJP2dKIU(new MarkerDragStartEvent(marker)); } @Override // com.google.android.gms.maps.GoogleMap.OnMarkerDragListener public void onMarkerDrag(Marker marker) { Intrinsics.checkNotNullParameter(marker, "marker"); producerScope.mo9890trySendJP2dKIU(new MarkerDragEvent(marker)); } @Override // com.google.android.gms.maps.GoogleMap.OnMarkerDragListener public void onMarkerDragEnd(Marker marker) { Intrinsics.checkNotNullParameter(marker, "marker"); producerScope.mo9890trySendJP2dKIU(new MarkerDragEndEvent(marker)); } }); final GoogleMap googleMap = this.$this_markerDragEvents; this.label = 1; if (ProduceKt.awaitClose(producerScope, new Function0() { // from class: com.google.maps.android.ktx.GoogleMapKt.markerDragEvents.1.2 { super(0); } @Override // kotlin.jvm.functions.Function0 public /* bridge */ /* synthetic */ Unit invoke() { invoke2(); return Unit.INSTANCE; } /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2() { googleMap.setOnMarkerDragListener(null); } }, this) == coroutine_suspended) { return coroutine_suspended; } } else { if (i != 1) { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } ResultKt.throwOnFailure(obj); } return Unit.INSTANCE; } } public static final Flow markerDragEvents(GoogleMap googleMap) { Intrinsics.checkNotNullParameter(googleMap, ""); return FlowKt.callbackFlow(new C06161(googleMap, null)); } /* JADX INFO: renamed from: com.google.maps.android.ktx.GoogleMapKt$myLocationButtonClickEvents$1, reason: invalid class name and case insensitive filesystem */ /* JADX INFO: compiled from: GoogleMap.kt */ @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00010\u0002H\u008a@"}, d2 = {"", "", "Lkotlinx/coroutines/channels/ProducerScope;"}, k = 3, mv = {1, 8, 0}, xi = 48) @DebugMetadata(c = "com.google.maps.android.ktx.GoogleMapKt$myLocationButtonClickEvents$1", f = "GoogleMap.kt", i = {}, l = {393}, m = "invokeSuspend", n = {}, s = {}) static final class C06171 extends SuspendLambda implements Function2, Continuation, Object> { final /* synthetic */ GoogleMap $this_myLocationButtonClickEvents; private /* synthetic */ Object L$0; int label; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ C06171(GoogleMap googleMap, Continuation continuation) { super(2, continuation); this.$this_myLocationButtonClickEvents = googleMap; } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Continuation create(Object obj, Continuation continuation) { C06171 c06171 = new C06171(this.$this_myLocationButtonClickEvents, continuation); c06171.L$0 = obj; return c06171; } @Override // kotlin.jvm.functions.Function2 public final Object invoke(ProducerScope producerScope, Continuation continuation) { return ((C06171) create(producerScope, continuation)).invokeSuspend(Unit.INSTANCE); } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Object invokeSuspend(Object obj) throws Throwable { Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { ResultKt.throwOnFailure(obj); final ProducerScope producerScope = (ProducerScope) this.L$0; this.$this_myLocationButtonClickEvents.setOnMyLocationButtonClickListener(new GoogleMap.OnMyLocationButtonClickListener() { // from class: com.google.maps.android.ktx.GoogleMapKt$myLocationButtonClickEvents$1$$ExternalSyntheticLambda0 @Override // com.google.android.gms.maps.GoogleMap.OnMyLocationButtonClickListener public final boolean onMyLocationButtonClick() { return GoogleMapKt.C06171.invokeSuspend$lambda$0(producerScope); } }); final GoogleMap googleMap = this.$this_myLocationButtonClickEvents; this.label = 1; if (ProduceKt.awaitClose(producerScope, new Function0() { // from class: com.google.maps.android.ktx.GoogleMapKt.myLocationButtonClickEvents.1.2 { super(0); } @Override // kotlin.jvm.functions.Function0 public /* bridge */ /* synthetic */ Unit invoke() { invoke2(); return Unit.INSTANCE; } /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2() { googleMap.setOnMyLocationButtonClickListener(null); } }, this) == coroutine_suspended) { return coroutine_suspended; } } else { if (i != 1) { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } ResultKt.throwOnFailure(obj); } return Unit.INSTANCE; } /* JADX INFO: Access modifiers changed from: private */ public static final boolean invokeSuspend$lambda$0(ProducerScope producerScope) { return ChannelResult.m9911isSuccessimpl(producerScope.mo9890trySendJP2dKIU(Unit.INSTANCE)); } } public static final Flow myLocationButtonClickEvents(GoogleMap googleMap) { Intrinsics.checkNotNullParameter(googleMap, ""); return FlowKt.callbackFlow(new C06171(googleMap, null)); } /* JADX INFO: renamed from: com.google.maps.android.ktx.GoogleMapKt$myLocationClickEvents$1, reason: invalid class name and case insensitive filesystem */ /* JADX INFO: compiled from: GoogleMap.kt */ @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00030\u0002H\u008a@"}, d2 = {"", "", "Lkotlinx/coroutines/channels/ProducerScope;", "Landroid/location/Location;"}, k = 3, mv = {1, 8, 0}, xi = 48) @DebugMetadata(c = "com.google.maps.android.ktx.GoogleMapKt$myLocationClickEvents$1", f = "GoogleMap.kt", i = {}, l = {408}, m = "invokeSuspend", n = {}, s = {}) static final class C06181 extends SuspendLambda implements Function2, Continuation, Object> { final /* synthetic */ GoogleMap $this_myLocationClickEvents; private /* synthetic */ Object L$0; int label; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ C06181(GoogleMap googleMap, Continuation continuation) { super(2, continuation); this.$this_myLocationClickEvents = googleMap; } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Continuation create(Object obj, Continuation continuation) { C06181 c06181 = new C06181(this.$this_myLocationClickEvents, continuation); c06181.L$0 = obj; return c06181; } @Override // kotlin.jvm.functions.Function2 public final Object invoke(ProducerScope producerScope, Continuation continuation) { return ((C06181) create(producerScope, continuation)).invokeSuspend(Unit.INSTANCE); } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Object invokeSuspend(Object obj) throws Throwable { Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { ResultKt.throwOnFailure(obj); final ProducerScope producerScope = (ProducerScope) this.L$0; this.$this_myLocationClickEvents.setOnMyLocationClickListener(new GoogleMap.OnMyLocationClickListener() { // from class: com.google.maps.android.ktx.GoogleMapKt$myLocationClickEvents$1$$ExternalSyntheticLambda0 @Override // com.google.android.gms.maps.GoogleMap.OnMyLocationClickListener public final void onMyLocationClick(Location location) { GoogleMapKt.C06181.invokeSuspend$lambda$0(producerScope, location); } }); final GoogleMap googleMap = this.$this_myLocationClickEvents; this.label = 1; if (ProduceKt.awaitClose(producerScope, new Function0() { // from class: com.google.maps.android.ktx.GoogleMapKt.myLocationClickEvents.1.2 { super(0); } @Override // kotlin.jvm.functions.Function0 public /* bridge */ /* synthetic */ Unit invoke() { invoke2(); return Unit.INSTANCE; } /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2() { googleMap.setOnMyLocationClickListener(null); } }, this) == coroutine_suspended) { return coroutine_suspended; } } else { if (i != 1) { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } ResultKt.throwOnFailure(obj); } return Unit.INSTANCE; } /* JADX INFO: Access modifiers changed from: private */ public static final void invokeSuspend$lambda$0(ProducerScope producerScope, Location it) { Intrinsics.checkNotNullExpressionValue(it, "it"); producerScope.mo9890trySendJP2dKIU(it); } } public static final Flow myLocationClickEvents(GoogleMap googleMap) { Intrinsics.checkNotNullParameter(googleMap, ""); return FlowKt.callbackFlow(new C06181(googleMap, null)); } /* JADX INFO: renamed from: com.google.maps.android.ktx.GoogleMapKt$poiClickEvents$1, reason: invalid class name and case insensitive filesystem */ /* JADX INFO: compiled from: GoogleMap.kt */ @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00030\u0002H\u008a@"}, d2 = {"", "", "Lkotlinx/coroutines/channels/ProducerScope;", "Lcom/google/android/gms/maps/model/PointOfInterest;"}, k = 3, mv = {1, 8, 0}, xi = 48) @DebugMetadata(c = "com.google.maps.android.ktx.GoogleMapKt$poiClickEvents$1", f = "GoogleMap.kt", i = {}, l = {423}, m = "invokeSuspend", n = {}, s = {}) static final class C06191 extends SuspendLambda implements Function2, Continuation, Object> { final /* synthetic */ GoogleMap $this_poiClickEvents; private /* synthetic */ Object L$0; int label; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ C06191(GoogleMap googleMap, Continuation continuation) { super(2, continuation); this.$this_poiClickEvents = googleMap; } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Continuation create(Object obj, Continuation continuation) { C06191 c06191 = new C06191(this.$this_poiClickEvents, continuation); c06191.L$0 = obj; return c06191; } @Override // kotlin.jvm.functions.Function2 public final Object invoke(ProducerScope producerScope, Continuation continuation) { return ((C06191) create(producerScope, continuation)).invokeSuspend(Unit.INSTANCE); } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Object invokeSuspend(Object obj) throws Throwable { Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { ResultKt.throwOnFailure(obj); final ProducerScope producerScope = (ProducerScope) this.L$0; this.$this_poiClickEvents.setOnPoiClickListener(new GoogleMap.OnPoiClickListener() { // from class: com.google.maps.android.ktx.GoogleMapKt$poiClickEvents$1$$ExternalSyntheticLambda0 @Override // com.google.android.gms.maps.GoogleMap.OnPoiClickListener public final void onPoiClick(PointOfInterest pointOfInterest) { GoogleMapKt.C06191.invokeSuspend$lambda$0(producerScope, pointOfInterest); } }); final GoogleMap googleMap = this.$this_poiClickEvents; this.label = 1; if (ProduceKt.awaitClose(producerScope, new Function0() { // from class: com.google.maps.android.ktx.GoogleMapKt.poiClickEvents.1.2 { super(0); } @Override // kotlin.jvm.functions.Function0 public /* bridge */ /* synthetic */ Unit invoke() { invoke2(); return Unit.INSTANCE; } /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2() { googleMap.setOnPoiClickListener(null); } }, this) == coroutine_suspended) { return coroutine_suspended; } } else { if (i != 1) { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } ResultKt.throwOnFailure(obj); } return Unit.INSTANCE; } /* JADX INFO: Access modifiers changed from: private */ public static final void invokeSuspend$lambda$0(ProducerScope producerScope, PointOfInterest it) { Intrinsics.checkNotNullExpressionValue(it, "it"); producerScope.mo9890trySendJP2dKIU(it); } } public static final Flow poiClickEvents(GoogleMap googleMap) { Intrinsics.checkNotNullParameter(googleMap, ""); return FlowKt.callbackFlow(new C06191(googleMap, null)); } /* JADX INFO: renamed from: com.google.maps.android.ktx.GoogleMapKt$polygonClickEvents$1, reason: invalid class name and case insensitive filesystem */ /* JADX INFO: compiled from: GoogleMap.kt */ @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00030\u0002H\u008a@"}, d2 = {"", "", "Lkotlinx/coroutines/channels/ProducerScope;", "Lcom/google/android/gms/maps/model/Polygon;"}, k = 3, mv = {1, 8, 0}, xi = 48) @DebugMetadata(c = "com.google.maps.android.ktx.GoogleMapKt$polygonClickEvents$1", f = "GoogleMap.kt", i = {}, l = {437}, m = "invokeSuspend", n = {}, s = {}) static final class C06201 extends SuspendLambda implements Function2, Continuation, Object> { final /* synthetic */ GoogleMap $this_polygonClickEvents; private /* synthetic */ Object L$0; int label; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ C06201(GoogleMap googleMap, Continuation continuation) { super(2, continuation); this.$this_polygonClickEvents = googleMap; } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Continuation create(Object obj, Continuation continuation) { C06201 c06201 = new C06201(this.$this_polygonClickEvents, continuation); c06201.L$0 = obj; return c06201; } @Override // kotlin.jvm.functions.Function2 public final Object invoke(ProducerScope producerScope, Continuation continuation) { return ((C06201) create(producerScope, continuation)).invokeSuspend(Unit.INSTANCE); } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Object invokeSuspend(Object obj) throws Throwable { Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { ResultKt.throwOnFailure(obj); final ProducerScope producerScope = (ProducerScope) this.L$0; this.$this_polygonClickEvents.setOnPolygonClickListener(new GoogleMap.OnPolygonClickListener() { // from class: com.google.maps.android.ktx.GoogleMapKt$polygonClickEvents$1$$ExternalSyntheticLambda0 @Override // com.google.android.gms.maps.GoogleMap.OnPolygonClickListener public final void onPolygonClick(Polygon polygon) { GoogleMapKt.C06201.invokeSuspend$lambda$0(producerScope, polygon); } }); final GoogleMap googleMap = this.$this_polygonClickEvents; this.label = 1; if (ProduceKt.awaitClose(producerScope, new Function0() { // from class: com.google.maps.android.ktx.GoogleMapKt.polygonClickEvents.1.2 { super(0); } @Override // kotlin.jvm.functions.Function0 public /* bridge */ /* synthetic */ Unit invoke() { invoke2(); return Unit.INSTANCE; } /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2() { googleMap.setOnPolygonClickListener(null); } }, this) == coroutine_suspended) { return coroutine_suspended; } } else { if (i != 1) { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } ResultKt.throwOnFailure(obj); } return Unit.INSTANCE; } /* JADX INFO: Access modifiers changed from: private */ public static final void invokeSuspend$lambda$0(ProducerScope producerScope, Polygon it) { Intrinsics.checkNotNullExpressionValue(it, "it"); producerScope.mo9890trySendJP2dKIU(it); } } public static final Flow polygonClickEvents(GoogleMap googleMap) { Intrinsics.checkNotNullParameter(googleMap, ""); return FlowKt.callbackFlow(new C06201(googleMap, null)); } /* JADX INFO: renamed from: com.google.maps.android.ktx.GoogleMapKt$polylineClickEvents$1, reason: invalid class name and case insensitive filesystem */ /* JADX INFO: compiled from: GoogleMap.kt */ @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00030\u0002H\u008a@"}, d2 = {"", "", "Lkotlinx/coroutines/channels/ProducerScope;", "Lcom/google/android/gms/maps/model/Polyline;"}, k = 3, mv = {1, 8, 0}, xi = 48) @DebugMetadata(c = "com.google.maps.android.ktx.GoogleMapKt$polylineClickEvents$1", f = "GoogleMap.kt", i = {}, l = {451}, m = "invokeSuspend", n = {}, s = {}) static final class C06211 extends SuspendLambda implements Function2, Continuation, Object> { final /* synthetic */ GoogleMap $this_polylineClickEvents; private /* synthetic */ Object L$0; int label; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ C06211(GoogleMap googleMap, Continuation continuation) { super(2, continuation); this.$this_polylineClickEvents = googleMap; } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Continuation create(Object obj, Continuation continuation) { C06211 c06211 = new C06211(this.$this_polylineClickEvents, continuation); c06211.L$0 = obj; return c06211; } @Override // kotlin.jvm.functions.Function2 public final Object invoke(ProducerScope producerScope, Continuation continuation) { return ((C06211) create(producerScope, continuation)).invokeSuspend(Unit.INSTANCE); } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Object invokeSuspend(Object obj) throws Throwable { Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { ResultKt.throwOnFailure(obj); final ProducerScope producerScope = (ProducerScope) this.L$0; this.$this_polylineClickEvents.setOnPolylineClickListener(new GoogleMap.OnPolylineClickListener() { // from class: com.google.maps.android.ktx.GoogleMapKt$polylineClickEvents$1$$ExternalSyntheticLambda0 @Override // com.google.android.gms.maps.GoogleMap.OnPolylineClickListener public final void onPolylineClick(Polyline polyline) { GoogleMapKt.C06211.invokeSuspend$lambda$0(producerScope, polyline); } }); final GoogleMap googleMap = this.$this_polylineClickEvents; this.label = 1; if (ProduceKt.awaitClose(producerScope, new Function0() { // from class: com.google.maps.android.ktx.GoogleMapKt.polylineClickEvents.1.2 { super(0); } @Override // kotlin.jvm.functions.Function0 public /* bridge */ /* synthetic */ Unit invoke() { invoke2(); return Unit.INSTANCE; } /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2() { googleMap.setOnPolylineClickListener(null); } }, this) == coroutine_suspended) { return coroutine_suspended; } } else { if (i != 1) { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } ResultKt.throwOnFailure(obj); } return Unit.INSTANCE; } /* JADX INFO: Access modifiers changed from: private */ public static final void invokeSuspend$lambda$0(ProducerScope producerScope, Polyline it) { Intrinsics.checkNotNullExpressionValue(it, "it"); producerScope.mo9890trySendJP2dKIU(it); } } public static final Flow polylineClickEvents(GoogleMap googleMap) { Intrinsics.checkNotNullParameter(googleMap, ""); return FlowKt.callbackFlow(new C06211(googleMap, null)); } public static final GoogleMapOptions buildGoogleMapOptions(Function1 optionsActions) { Intrinsics.checkNotNullParameter(optionsActions, "optionsActions"); GoogleMapOptions googleMapOptions = new GoogleMapOptions(); optionsActions.invoke(googleMapOptions); return googleMapOptions; } private static final Object awaitAnimateCamera$$forInline(GoogleMap googleMap, CameraUpdate cameraUpdate, int i, Continuation continuation) { InlineMarker.mark(0); CancellableContinuationImpl cancellableContinuationImpl = new CancellableContinuationImpl(IntrinsicsKt.intercepted(continuation), 1); cancellableContinuationImpl.initCancellability(); googleMap.animateCamera(cameraUpdate, i, new GoogleMapKt$awaitAnimateCamera$2$1(cancellableContinuationImpl)); Unit unit = Unit.INSTANCE; if (cancellableContinuationImpl.getResult() == IntrinsicsKt.getCOROUTINE_SUSPENDED()) { DebugProbesKt.probeCoroutineSuspended(continuation); } InlineMarker.mark(1); return Unit.INSTANCE; } public static /* synthetic */ Object awaitAnimateCamera$default(GoogleMap googleMap, CameraUpdate cameraUpdate, int i, Continuation continuation, int i2, Object obj) { if ((i2 & 2) != 0) { i = 3000; } InlineMarker.mark(0); CancellableContinuationImpl cancellableContinuationImpl = new CancellableContinuationImpl(IntrinsicsKt.intercepted(continuation), 1); cancellableContinuationImpl.initCancellability(); googleMap.animateCamera(cameraUpdate, i, new GoogleMapKt$awaitAnimateCamera$2$1(cancellableContinuationImpl)); if (cancellableContinuationImpl.getResult() == IntrinsicsKt.getCOROUTINE_SUSPENDED()) { DebugProbesKt.probeCoroutineSuspended(continuation); } InlineMarker.mark(1); return Unit.INSTANCE; } public static final Object awaitAnimateCamera(GoogleMap googleMap, CameraUpdate cameraUpdate, int i, Continuation continuation) throws Throwable { CancellableContinuationImpl cancellableContinuationImpl = new CancellableContinuationImpl(IntrinsicsKt.intercepted(continuation), 1); cancellableContinuationImpl.initCancellability(); googleMap.animateCamera(cameraUpdate, i, new GoogleMapKt$awaitAnimateCamera$2$1(cancellableContinuationImpl)); Object result = cancellableContinuationImpl.getResult(); if (result == IntrinsicsKt.getCOROUTINE_SUSPENDED()) { DebugProbesKt.probeCoroutineSuspended(continuation); } return result == IntrinsicsKt.getCOROUTINE_SUSPENDED() ? result : Unit.INSTANCE; } public static final Circle addCircle(GoogleMap googleMap, Function1 optionsActions) { Intrinsics.checkNotNullParameter(googleMap, ""); Intrinsics.checkNotNullParameter(optionsActions, "optionsActions"); CircleOptions circleOptions = new CircleOptions(); optionsActions.invoke(circleOptions); Circle circleAddCircle = googleMap.addCircle(circleOptions); Intrinsics.checkNotNullExpressionValue(circleAddCircle, "this.addCircle(\n …ons(optionsActions)\n )"); return circleAddCircle; } public static final GroundOverlay addGroundOverlay(GoogleMap googleMap, Function1 optionsActions) { Intrinsics.checkNotNullParameter(googleMap, ""); Intrinsics.checkNotNullParameter(optionsActions, "optionsActions"); GroundOverlayOptions groundOverlayOptions = new GroundOverlayOptions(); optionsActions.invoke(groundOverlayOptions); return googleMap.addGroundOverlay(groundOverlayOptions); } public static final Marker addMarker(GoogleMap googleMap, Function1 optionsActions) { Intrinsics.checkNotNullParameter(googleMap, ""); Intrinsics.checkNotNullParameter(optionsActions, "optionsActions"); MarkerOptions markerOptions = new MarkerOptions(); optionsActions.invoke(markerOptions); return googleMap.addMarker(markerOptions); } public static final Polygon addPolygon(GoogleMap googleMap, Function1 optionsActions) { Intrinsics.checkNotNullParameter(googleMap, ""); Intrinsics.checkNotNullParameter(optionsActions, "optionsActions"); PolygonOptions polygonOptions = new PolygonOptions(); optionsActions.invoke(polygonOptions); Polygon polygonAddPolygon = googleMap.addPolygon(polygonOptions); Intrinsics.checkNotNullExpressionValue(polygonAddPolygon, "this.addPolygon(\n …ons(optionsActions)\n )"); return polygonAddPolygon; } public static final Polyline addPolyline(GoogleMap googleMap, Function1 optionsActions) { Intrinsics.checkNotNullParameter(googleMap, ""); Intrinsics.checkNotNullParameter(optionsActions, "optionsActions"); PolylineOptions polylineOptions = new PolylineOptions(); optionsActions.invoke(polylineOptions); Polyline polylineAddPolyline = googleMap.addPolyline(polylineOptions); Intrinsics.checkNotNullExpressionValue(polylineAddPolyline, "this.addPolyline(\n …ons(optionsActions)\n )"); return polylineAddPolyline; } public static final TileOverlay addTileOverlay(GoogleMap googleMap, Function1 optionsActions) { Intrinsics.checkNotNullParameter(googleMap, ""); Intrinsics.checkNotNullParameter(optionsActions, "optionsActions"); TileOverlayOptions tileOverlayOptions = new TileOverlayOptions(); optionsActions.invoke(tileOverlayOptions); return googleMap.addTileOverlay(tileOverlayOptions); } }