package com.revenuecat.purchases.ui.revenuecatui.components.stack;

import J4.e;
import com.revenuecat.purchases.ui.revenuecatui.components.ktx.ShapeKt;
import com.revenuecat.purchases.ui.revenuecatui.components.modifier.BorderKt;
import com.revenuecat.purchases.ui.revenuecatui.components.properties.BorderStyle;
import com.revenuecat.purchases.ui.revenuecatui.components.style.StackComponentStyle;
import i0.InterfaceC2255s;
import kotlin.jvm.internal.o;
import kotlin.jvm.internal.p;

/* JADX INFO: loaded from: classes3.dex */
public final class StackComponentViewKt$StackWithLongEdgeToEdgeBadge$2$1$backgroundMeasurable$1$backgroundModifier$1$3 extends p implements e {
    final /* synthetic */ StackComponentStyle $badgeStack;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public StackComponentViewKt$StackWithLongEdgeToEdgeBadge$2$1$backgroundMeasurable$1$backgroundModifier$1$3(StackComponentStyle stackComponentStyle) {
        super(2);
        this.$badgeStack = stackComponentStyle;
    }

    @Override // J4.e
    public final InterfaceC2255s invoke(InterfaceC2255s applyIfNotNull, BorderStyle it) {
        o.h(applyIfNotNull, "$this$applyIfNotNull");
        o.h(it, "it");
        return BorderKt.border(applyIfNotNull, it, ShapeKt.toShape(this.$badgeStack.getShape()));
    }
}
