package androidx.slidingpanelayout.widget;

import android.view.animation.PathInterpolator;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.intrinsics.CoroutineSingletons;
import r3.d0;

/* JADX INFO: loaded from: classes.dex */
public final class a implements kotlinx.coroutines.flow.g {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ d f4255a;

    public a(d dVar) {
        this.f4255a = dVar;
    }

    @Override // kotlinx.coroutines.flow.g
    public final Object c(Object obj, Continuation continuation) {
        kd.e eVar;
        androidx.window.layout.f fVar = (androidx.window.layout.f) obj;
        e eVar2 = this.f4255a.f4264d;
        kd.e eVar3 = kd.e.f29109a;
        if (eVar2 == null) {
            eVar = null;
        } else {
            SlidingPaneLayout slidingPaneLayout = eVar2.f4265a;
            slidingPaneLayout.f4240a0 = fVar;
            r3.e eVar4 = new r3.e();
            eVar4.f32452c = 300L;
            eVar4.setInterpolator(new PathInterpolator(0.2f, 0.0f, 0.0f, 1.0f));
            d0.beginDelayedTransition(slidingPaneLayout, eVar4);
            slidingPaneLayout.requestLayout();
            eVar = eVar3;
        }
        return eVar == CoroutineSingletons.f29226a ? eVar : eVar3;
    }
}
