Rabbit-R1/original r1/java/sources/androidx/compose/material3/SwipeableV2State$snapTo$2.java

52 lines
2.4 KiB
Java
Raw Normal View History

2024-05-21 16:08:36 -05:00
package androidx.compose.material3;
import androidx.exifinterface.media.ExifInterface;
import kotlin.Metadata;
import kotlin.ResultKt;
import kotlin.Unit;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.intrinsics.IntrinsicsKt;
import kotlin.coroutines.jvm.internal.DebugMetadata;
import kotlin.coroutines.jvm.internal.SuspendLambda;
import kotlin.jvm.functions.Function1;
/* JADX INFO: Access modifiers changed from: package-private */
/* compiled from: SwipeableV2.kt */
@Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u0002\n\u0000\u0010\u0000\u001a\u00020\u0001\"\u0004\b\u0000\u0010\u0002H\u008a@"}, d2 = {"<anonymous>", "", ExifInterface.GPS_DIRECTION_TRUE}, k = 3, mv = {1, 8, 0}, xi = 48)
@DebugMetadata(c = "androidx.compose.material3.SwipeableV2State$snapTo$2", f = "SwipeableV2.kt", i = {}, l = {}, m = "invokeSuspend", n = {}, s = {})
/* loaded from: classes.dex */
public final class SwipeableV2State$snapTo$2 extends SuspendLambda implements Function1<Continuation<? super Unit>, Object> {
final /* synthetic */ T $targetValue;
int label;
final /* synthetic */ SwipeableV2State<T> this$0;
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public SwipeableV2State$snapTo$2(SwipeableV2State<T> swipeableV2State, T t, Continuation<? super SwipeableV2State$snapTo$2> continuation) {
super(1, continuation);
this.this$0 = swipeableV2State;
this.$targetValue = t;
}
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
public final Continuation<Unit> create(Continuation<?> continuation) {
return new SwipeableV2State$snapTo$2(this.this$0, this.$targetValue, continuation);
}
@Override // kotlin.jvm.functions.Function1
public final Object invoke(Continuation<? super Unit> continuation) {
return ((SwipeableV2State$snapTo$2) create(continuation)).invokeSuspend(Unit.INSTANCE);
}
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
public final Object invokeSuspend(Object obj) {
IntrinsicsKt.getCOROUTINE_SUSPENDED();
if (this.label != 0) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
ResultKt.throwOnFailure(obj);
this.this$0.snap(this.$targetValue);
return Unit.INSTANCE;
}
}