package com.revenuecat.purchases.ui.revenuecatui.data.testdata.templates;

import com.revenuecat.purchases.PackageType;
import com.revenuecat.purchases.paywalls.PaywallColor;
import com.revenuecat.purchases.paywalls.PaywallData;
import com.revenuecat.purchases.ui.revenuecatui.data.testdata.TestData;
import java.net.URL;
import java.util.List;
import java.util.Map;
import kotlin.jvm.internal.h;
import kotlin.jvm.internal.o;
import n2.AbstractC2612c;
import w4.k;
import x4.AbstractC3229F;
import x4.AbstractC3252r;
import x4.y;

/* JADX INFO: loaded from: classes3.dex */
public final class Template7CustomPackagesTestDataKt {
    public static final PaywallData getTemplate7CustomPackages(TestData testData) {
        o.h(testData, "<this>");
        y yVar = y.f26065a;
        Map mapW = AbstractC3229F.w(new k("basic", new PaywallData.Configuration.Images("954459_1703109702.png", (String) null, (String) null, 6, (h) null)), new k("premium", new PaywallData.Configuration.Images("954459_1701267532.jpeg", (String) null, (String) null, 6, (h) null)));
        PackageType packageType = PackageType.ANNUAL;
        String identifier = packageType.getIdentifier();
        o.e(identifier);
        PackageType packageType2 = PackageType.MONTHLY;
        String identifier2 = packageType2.getIdentifier();
        o.e(identifier2);
        PackageType packageType3 = PackageType.SIX_MONTH;
        String identifier3 = packageType3.getIdentifier();
        o.e(identifier3);
        List listB = AbstractC3252r.B(identifier, identifier2, identifier3);
        String identifier4 = packageType.getIdentifier();
        o.e(identifier4);
        PaywallData.Configuration.Tier tier = new PaywallData.Configuration.Tier("basic", listB, identifier4);
        PackageType packageType4 = PackageType.LIFETIME;
        String identifier5 = packageType4.getIdentifier();
        o.e(identifier5);
        List listQ = AbstractC2612c.q(identifier5);
        String identifier6 = packageType4.getIdentifier();
        o.e(identifier6);
        PaywallData.Configuration configuration = new PaywallData.Configuration((List) yVar, (String) null, (PaywallData.Configuration.Images) null, (PaywallData.Configuration.Images) null, mapW, false, true, new URL("https://revenuecat.com/tos"), new URL("https://revenuecat.com/privacy"), new PaywallData.Configuration.ColorInformation(new PaywallData.Configuration.Colors(new PaywallColor("#FFFFFF"), new PaywallColor("#000000"), (PaywallColor) null, (PaywallColor) null, new PaywallColor("#45c186"), new PaywallColor("#ffffff"), (PaywallColor) null, (PaywallColor) null, (PaywallColor) null, (PaywallColor) null, (PaywallColor) null, (PaywallColor) null, (PaywallColor) null, (PaywallColor) null, (PaywallColor) null, 32716, (h) null), (PaywallData.Configuration.Colors) null, 2, (h) null), AbstractC3229F.w(new k("basic", new PaywallData.Configuration.ColorInformation(new PaywallData.Configuration.Colors(new PaywallColor("#FFFFFF"), new PaywallColor("#000000"), new PaywallColor("#ffffff"), new PaywallColor("#30A0F8AA"), new PaywallColor("#3fc1f7"), new PaywallColor("#ffffff"), (PaywallColor) null, new PaywallColor("#2d7fc1"), new PaywallColor("#7676801F"), new PaywallColor("#100031"), (PaywallColor) null, new PaywallColor("#eeeef0"), new PaywallColor("#000000"), new PaywallColor("#2d7fc1"), new PaywallColor("#000000"), 1088, (h) null), (PaywallData.Configuration.Colors) null, 2, (h) null)), new k("premium", new PaywallData.Configuration.ColorInformation(new PaywallData.Configuration.Colors(new PaywallColor("#FFFFFF"), new PaywallColor("#000000"), new PaywallColor("#ffffff"), new PaywallColor("#30A0F8AA"), new PaywallColor("#94d269"), new PaywallColor("#ffffff"), (PaywallColor) null, new PaywallColor("#76c343"), new PaywallColor("#7676801F"), new PaywallColor("#213711"), (PaywallColor) null, new PaywallColor("#eeeef0"), new PaywallColor("#000000"), new PaywallColor("#76c343"), new PaywallColor("#000000"), 1088, (h) null), (PaywallData.Configuration.Colors) null, 2, (h) null))), AbstractC3252r.B(tier, new PaywallData.Configuration.Tier("premium", listQ, identifier6)), (String) null, 4142, (h) null);
        TestData.Constants constants = TestData.Constants.INSTANCE;
        URL assetBaseURL = constants.getAssetBaseURL();
        Map mapV = AbstractC3229F.v(new k("en_US", new PaywallData.LocalizedConfiguration("Get started with our Basic plan", (String) null, "{{ price_per_period }}", (String) null, (String) null, "{{ total_price_and_per_month }}", (String) null, (String) null, "{{ sub_period }}", (List) null, (String) null, (Map) null, 3802, (h) null)));
        List listQ2 = AbstractC2612c.q(new PaywallData.LocalizedConfiguration.Feature("Access to all 150 of our cinematic LUTs", (String) null, "tick", 2, (h) null));
        String identifier7 = packageType2.getIdentifier();
        o.e(identifier7);
        k kVar = new k(identifier7, new PaywallData.LocalizedConfiguration.OfferOverride("{{ sub_period }}", "{{ total_price_and_per_month }}", (String) null, (String) null, (String) null, 12, (h) null));
        String identifier8 = packageType.getIdentifier();
        o.e(identifier8);
        k kVar2 = new k(identifier8, new PaywallData.LocalizedConfiguration.OfferOverride("NAME OVERRIDE {{ sub_period }}", "DETAIL OVERRIDE {{ total_price_and_per_month }}", (String) null, (String) null, (String) null, 12, (h) null));
        String identifier9 = packageType3.getIdentifier();
        o.e(identifier9);
        return new PaywallData((String) null, "7", configuration, assetBaseURL, 0, mapV, AbstractC3229F.v(new k("en_US", AbstractC3229F.w(new k("basic", new PaywallData.LocalizedConfiguration("Get started with our Basic plan", (String) null, "Subscribe for {{ price_per_period }}", "Start your {{ sub_offer_duration }} free trial", (String) null, "{{ total_price_and_per_month }}", "{{ total_price_and_per_month }} after {{ sub_offer_duration }} trial", (String) null, "{{ sub_period }}", listQ2, "Basic", AbstractC3229F.w(kVar, kVar2, new k(identifier9, new PaywallData.LocalizedConfiguration.OfferOverride("NAME OVERRIDE {{ sub_period }}", "DETAIL OVERRIDE {{ total_price_and_per_month }}", (String) null, (String) null, "BADGE OVERRIDE {{ sub_relative_discount }}", 12, (h) null))), 146, (h) null)), new k("premium", new PaywallData.LocalizedConfiguration("Master the art of video editing", (String) null, "Subscribe for {{ price_per_period }}", "Start your {{ sub_offer_duration }} free trial", (String) null, "{{ total_price_and_per_month }}", "{{ total_price_and_per_month }} after {{ sub_offer_duration }} trial", (String) null, "{{ sub_period }}", AbstractC3252r.B(new PaywallData.LocalizedConfiguration.Feature("Access to all 150 of our cinematic LUTs", (String) null, "tick", 2, (h) null), new PaywallData.LocalizedConfiguration.Feature("Custom design tools and transition effects", (String) null, "tick", 2, (h) null), new PaywallData.LocalizedConfiguration.Feature("100+ exclusive templates", (String) null, "tick", 2, (h) null)), "Premium", (Map) null, 2194, (h) null))))), constants.getZeroDecimalPlaceCountries(), (String) null, 273, (h) null);
    }
}
