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

import J4.a;
import com.revenuecat.purchases.ui.revenuecatui.components.PresentedIconPartial;
import com.revenuecat.purchases.ui.revenuecatui.components.style.IconComponentStyle;
import kotlin.jvm.internal.p;

/* JADX INFO: loaded from: classes3.dex */
public final class IconComponentState$iconBackground$2 extends p implements a {
    final /* synthetic */ IconComponentState this$0;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public IconComponentState$iconBackground$2(IconComponentState iconComponentState) {
        super(0);
        this.this$0 = iconComponentState;
    }

    @Override // J4.a
    public final IconComponentStyle.Background invoke() {
        IconComponentStyle.Background background;
        PresentedIconPartial presentedPartial = this.this$0.getPresentedPartial();
        return (presentedPartial == null || (background = presentedPartial.getBackground()) == null) ? this.this$0.style.getIconBackground() : background;
    }
}
