package com.revenuecat.purchases.ui.revenuecatui.customercenter;

import J4.c;
import com.revenuecat.purchases.ui.revenuecatui.customercenter.data.CustomerCenterState;
import com.revenuecat.purchases.ui.revenuecatui.customercenter.navigation.CustomerCenterAnimations;
import com.revenuecat.purchases.ui.revenuecatui.customercenter.navigation.CustomerCenterDestination;
import kotlin.jvm.internal.o;
import kotlin.jvm.internal.p;
import p.C2644F;
import p.C2676t;
import p.InterfaceC2670n;

/* JADX INFO: loaded from: classes3.dex */
public final class InternalCustomerCenterKt$CustomerCenterNavHost$1$1 extends p implements c {
    final /* synthetic */ CustomerCenterState.Success $customerCenterState;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public InternalCustomerCenterKt$CustomerCenterNavHost$1$1(CustomerCenterState.Success success) {
        super(1);
        this.$customerCenterState = success;
    }

    @Override // J4.c
    public final C2644F invoke(InterfaceC2670n AnimatedContent) {
        o.h(AnimatedContent, "$this$AnimatedContent");
        C2676t c2676t = (C2676t) AnimatedContent;
        return CustomerCenterAnimations.INSTANCE.getTransitionForNavigation((CustomerCenterDestination) c2676t.b(), (CustomerCenterDestination) c2676t.c(), this.$customerCenterState.getNavigationState());
    }
}
