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

import a0.I;
import androidx.compose.runtime.internal.StabilityInferred;
import androidx.media3.common.C;
import androidx.media3.extractor.ts.PsExtractor;
import com.revenuecat.purchases.Offering;
import com.revenuecat.purchases.Package;
import com.revenuecat.purchases.PackageType;
import com.revenuecat.purchases.PresentedOfferingContext;
import com.revenuecat.purchases.models.Period;
import com.revenuecat.purchases.models.Price;
import com.revenuecat.purchases.models.TestStoreProduct;
import com.revenuecat.purchases.paywalls.PaywallData;
import com.revenuecat.purchases.paywalls.components.PackageComponent;
import com.revenuecat.purchases.paywalls.components.StackComponent;
import com.revenuecat.purchases.paywalls.components.common.Background;
import com.revenuecat.purchases.paywalls.components.common.PromoOfferConfig;
import com.revenuecat.purchases.paywalls.components.properties.Badge;
import com.revenuecat.purchases.paywalls.components.properties.Border;
import com.revenuecat.purchases.paywalls.components.properties.ColorScheme;
import com.revenuecat.purchases.paywalls.components.properties.Dimension;
import com.revenuecat.purchases.paywalls.components.properties.Padding;
import com.revenuecat.purchases.paywalls.components.properties.Shadow;
import com.revenuecat.purchases.paywalls.components.properties.Shape;
import com.revenuecat.purchases.paywalls.components.properties.Size;
import com.revenuecat.purchases.ui.revenuecatui.data.testdata.templates.Template1TestDataKt;
import com.revenuecat.purchases.ui.revenuecatui.data.testdata.templates.Template2TestDataKt;
import com.revenuecat.purchases.ui.revenuecatui.data.testdata.templates.Template3TestDataKt;
import com.revenuecat.purchases.ui.revenuecatui.data.testdata.templates.Template4TestDataKt;
import com.revenuecat.purchases.ui.revenuecatui.data.testdata.templates.Template5TestDataKt;
import com.revenuecat.purchases.ui.revenuecatui.data.testdata.templates.Template7CustomPackagesTestDataKt;
import com.revenuecat.purchases.ui.revenuecatui.data.testdata.templates.Template7TestDataKt;
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 p0.C2714u;
import x4.AbstractC3252r;
import x4.y;
import x4.z;

/* JADX INFO: loaded from: classes3.dex */
@StabilityInferred(parameters = 0)
public final class TestData {
    public static final int $stable;
    public static final TestData INSTANCE;
    private static final String TEMPLATE_1_ID = "Template1";
    private static final String TEMPLATE_2_ID = "Template2";
    private static final String TEMPLATE_3_ID = "Template3";
    private static final String TEMPLATE_4_ID = "Template4";
    private static final String TEMPLATE_5_ID = "Template5";
    private static final String TEMPLATE_7_CUSTOM_PACKAGE_ID = "Template7CustomPackage";
    private static final String TEMPLATE_7_ID = "Template7";
    private static final Offering offeringWithNoPaywall;
    private static final Offering template1Offering;
    private static final Offering template1OfferingNoFooter;
    private static final Offering template2Offering;
    private static final Offering template3Offering;
    private static final Offering template4Offering;
    private static final Offering template5Offering;
    private static final Offering template7CustomPackageOffering;
    private static final Offering template7Offering;

    @StabilityInferred(parameters = 1)
    public static final class Components {
        public static final int $stable = 0;
        public static final Components INSTANCE = new Components();
        private static final PackageComponent monthlyPackageComponent;

        static {
            String identifier = PackageType.MONTHLY.getIdentifier();
            o.e(identifier);
            monthlyPackageComponent = new PackageComponent(identifier, false, new StackComponent(y.f26065a, (Boolean) null, (Dimension) null, (Size) null, (Float) null, (ColorScheme) null, (Background) null, (Padding) null, (Padding) null, (Shape) null, (Border) null, (Shadow) null, (Badge) null, (StackComponent.Overflow) null, (List) null, 32766, (h) null), (PromoOfferConfig) null, 8, (h) null);
        }

        private Components() {
        }

        public final PackageComponent getMonthlyPackageComponent() {
            return monthlyPackageComponent;
        }
    }

    @StabilityInferred(parameters = 0)
    public static final class Constants {
        public static final int $stable;
        private static final I currentColorScheme;
        public static final Constants INSTANCE = new Constants();
        private static final PaywallData.Configuration.Images images = new PaywallData.Configuration.Images("9a17e0a7_1689854430..jpeg", "9a17e0a7_1689854342..jpg", "9a17e0a7_1689854430..jpeg");
        private static final URL assetBaseURL = new URL("https://assets.pawwalls.com");
        private static final List<String> zeroDecimalPlaceCountries = AbstractC3252r.B("PH", "KZ", "TW", "MX", "TH");
        private static final PaywallData.LocalizedConfiguration localization = new PaywallData.LocalizedConfiguration("Call to action for _better_ conversion.", "Lorem ipsum is simply dummy text of the ~printing and~ typesetting industry.", "Subscribe for {{ sub_price_per_month }}/mo", (String) null, (String) null, "{{ total_price_and_per_month }}", "{{ total_price_and_per_month }} after {{ sub_offer_duration }} trial", (String) null, "{{ sub_period }}", y.f26065a, (String) null, (Map) null, 3224, (h) null);

        static {
            long j4 = C2714u.f22939f;
            long j6 = C2714u.f22941h;
            long j7 = C2714u.f22935b;
            long j8 = C2714u.f22944k;
            long j9 = C2714u.f22937d;
            long j10 = C2714u.f22936c;
            long j11 = C2714u.f22938e;
            long j12 = C2714u.f22940g;
            long j13 = C2714u.l;
            long j14 = C2714u.f22945m;
            currentColorScheme = new I(j4, j4, j4, j4, j6, j7, j7, j7, j7, j8, j7, j9, j4, j4, j7, j9, j7, j10, j4, j11, j7, j4, j12, j4, j12, j4, j13, j11, j9, j14, j14, j14, j14, j14, j14, j14, j14, j14, j14, j14, j14, j14, j14, j14, j14, j14, j14, j14);
            $stable = 8;
        }

        private Constants() {
        }

        public final URL getAssetBaseURL() {
            return assetBaseURL;
        }

        public final I getCurrentColorScheme() {
            return currentColorScheme;
        }

        public final PaywallData.Configuration.Images getImages() {
            return images;
        }

        public final PaywallData.LocalizedConfiguration getLocalization() {
            return localization;
        }

        public final List<String> getZeroDecimalPlaceCountries() {
            return zeroDecimalPlaceCountries;
        }
    }

    @StabilityInferred(parameters = 0)
    public static final class Packages {
        public static final int $stable;
        public static final Packages INSTANCE = new Packages();
        private static final Package annual;
        private static final Package annualEuros;
        private static final Package annualTaiwan;
        private static final Package bimonthly;
        private static final Package custom;
        private static final Package lifetime;
        private static final Package monthly;
        private static final Package monthlyMexico;
        private static final Package quarterly;
        private static final Package quarterlyThailand;
        private static final Package semester;
        private static final Package unknown;
        private static final Package weekly;

        static {
            PackageType packageType = PackageType.WEEKLY;
            String identifier = packageType.getIdentifier();
            o.e(identifier);
            Price price = new Price("$1.49", 1490000L, "USD");
            Period.Unit unit = Period.Unit.WEEK;
            weekly = new Package(identifier, packageType, new TestStoreProduct("com.revenuecat.weekly_product", "Weekly", "Weekly (App name)", "Weekly", price, new Period(1, unit, "P1W"), null, null, PsExtractor.AUDIO_STREAM, null), "offering");
            PackageType packageType2 = PackageType.MONTHLY;
            String identifier2 = packageType2.getIdentifier();
            o.e(identifier2);
            Price price2 = new Price("$7.99", 7990000L, "USD");
            Period.Unit unit2 = Period.Unit.MONTH;
            monthly = new Package(identifier2, packageType2, new TestStoreProduct("com.revenuecat.monthly_product", "Monthly", "Monthly (App name)", "Monthly", price2, new Period(1, unit2, "P1M"), null, null, PsExtractor.AUDIO_STREAM, null), new PresentedOfferingContext("offering"), new URL("https://test-web-billing.revenuecat.com?rc_package=" + packageType2.getIdentifier()));
            PackageType packageType3 = PackageType.ANNUAL;
            String identifier3 = packageType3.getIdentifier();
            o.e(identifier3);
            Price price3 = new Price("$67.99", 67990000L, "USD");
            Period.Unit unit3 = Period.Unit.YEAR;
            annual = new Package(identifier3, packageType3, new TestStoreProduct("com.revenuecat.annual_product", "Annual", "Annual (App name)", "Annual", price3, new Period(1, unit3, "P1Y"), new Period(1, unit2, "P1M"), null, 128, null), new PresentedOfferingContext("offering"), new URL("https://test-web-billing.revenuecat.com?rc_package=" + packageType3.getIdentifier()));
            String identifier4 = packageType3.getIdentifier();
            o.e(identifier4);
            annualEuros = new Package(identifier4, packageType3, new TestStoreProduct("com.revenuecat.annual_product", "Annual", "Annual (App name)", "Annual", new Price("67,99 €", 67990000L, "EUR"), new Period(1, unit3, "P1Y"), new Period(1, unit2, "P1M"), null, 128, null), "offering");
            PackageType packageType4 = PackageType.LIFETIME;
            String identifier5 = packageType4.getIdentifier();
            o.e(identifier5);
            lifetime = new Package(identifier5, packageType4, new TestStoreProduct("com.revenuecat.lifetime_product", "Lifetime", "Lifetime (App name)", "Lifetime", new Price("$1,000", C.NANOS_PER_SECOND, "USD"), null, null, null, PsExtractor.AUDIO_STREAM, null), "offering");
            PackageType packageType5 = PackageType.TWO_MONTH;
            String identifier6 = packageType5.getIdentifier();
            o.e(identifier6);
            bimonthly = new Package(identifier6, packageType5, new TestStoreProduct("com.revenuecat.bimonthly_product", "2 month", "2 month (App name)", "2 month", new Price("$15.99", 15990000L, "USD"), new Period(2, unit2, "P2M"), null, new Price("$3.99", 3990000L, "USD"), 64, null), "offering");
            PackageType packageType6 = PackageType.THREE_MONTH;
            String identifier7 = packageType6.getIdentifier();
            o.e(identifier7);
            quarterly = new Package(identifier7, packageType6, new TestStoreProduct("com.revenuecat.quarterly_product", "3 month", "3 month (App name)", "3 month", new Price("$23.99", 23990000L, "USD"), new Period(3, unit2, "P3M"), new Period(2, unit, "P2W"), new Price("$3.99", 3990000L, "USD")), "offering");
            PackageType packageType7 = PackageType.SIX_MONTH;
            String identifier8 = packageType7.getIdentifier();
            o.e(identifier8);
            semester = new Package(identifier8, packageType7, new TestStoreProduct("com.revenuecat.semester_product", "6 month", "6 month (App name)", "6 month", new Price("$39.99", 39990000L, "USD"), new Period(6, unit2, "P6M"), null, null, PsExtractor.AUDIO_STREAM, null), "offering");
            custom = new Package("Custom", PackageType.CUSTOM, new TestStoreProduct("com.revenuecat.semester_product", "6 month", "6 month (App name)", "6 month", new Price("$39.99", 39990000L, "USD"), new Period(6, unit2, "P6M"), null, null, PsExtractor.AUDIO_STREAM, null), "offering");
            unknown = new Package("Unknown", PackageType.UNKNOWN, new TestStoreProduct("com.revenuecat.semester_product", "6 month", "6 month (App name)", "6 month", new Price("$39.99", 39990000L, "USD"), new Period(6, unit2, "P6M"), null, null, PsExtractor.AUDIO_STREAM, null), "offering");
            String identifier9 = packageType3.getIdentifier();
            o.e(identifier9);
            annualTaiwan = new Package(identifier9, packageType3, new TestStoreProduct("com.revenuecat.annual_product", "Annual", "Annual (App name)", "Annual", new Price("NT$67.00", 67000000L, "TWD"), new Period(1, unit3, "P1Y"), new Period(1, unit2, "P1M"), null, 128, null), "offering");
            String identifier10 = packageType2.getIdentifier();
            o.e(identifier10);
            monthlyMexico = new Package(identifier10, packageType2, new TestStoreProduct("com.revenuecat.monthly_product", "Monthly", "Monthly (App name)", "Monthly", new Price("$8.00", 8000000L, "MXN"), new Period(1, unit2, "P1M"), null, null, PsExtractor.AUDIO_STREAM, null), "offering");
            String identifier11 = packageType6.getIdentifier();
            o.e(identifier11);
            quarterlyThailand = new Package(identifier11, packageType6, new TestStoreProduct("com.revenuecat.quarterly_product", "3 month", "3 month (App name)", "3 month", new Price("THB24.00", 24000000L, "THB"), new Period(3, unit2, "P3M"), null, new Price("THB4.00", 4000000L, "THB"), 64, null), "offering");
            $stable = 8;
        }

        private Packages() {
        }

        public final Package getAnnual() {
            return annual;
        }

        public final Package getAnnualEuros() {
            return annualEuros;
        }

        public final Package getAnnualTaiwan() {
            return annualTaiwan;
        }

        public final Package getBimonthly() {
            return bimonthly;
        }

        public final Package getCustom() {
            return custom;
        }

        public final Package getLifetime() {
            return lifetime;
        }

        public final Package getMonthly() {
            return monthly;
        }

        public final Package getMonthlyMexico() {
            return monthlyMexico;
        }

        public final Package getQuarterly() {
            return quarterly;
        }

        public final Package getQuarterlyThailand() {
            return quarterlyThailand;
        }

        public final Package getSemester() {
            return semester;
        }

        public final Package getUnknown() {
            return unknown;
        }

        public final Package getWeekly() {
            return weekly;
        }
    }

    static {
        TestData testData = new TestData();
        INSTANCE = testData;
        Packages packages = Packages.INSTANCE;
        List listQ = AbstractC2612c.q(testData.copy(packages.getMonthly(), TEMPLATE_1_ID));
        z zVar = z.f26066a;
        offeringWithNoPaywall = new Offering(TEMPLATE_1_ID, "", zVar, listQ, null, null, null, 96, null);
        template1Offering = new Offering(TEMPLATE_1_ID, "", zVar, AbstractC2612c.q(testData.copy(packages.getMonthly(), TEMPLATE_1_ID)), Template1TestDataKt.getTemplate1(testData), null, null, 96, null);
        template1OfferingNoFooter = new Offering(TEMPLATE_1_ID, "", zVar, AbstractC2612c.q(testData.copy(packages.getMonthly(), TEMPLATE_1_ID)), PaywallData.copy$default(Template1TestDataKt.getTemplate1(testData), null, PaywallData.Configuration.copy$default(Template1TestDataKt.getTemplate1(testData).getConfig(), null, null, null, null, null, false, false, null, null, null, null, null, null, 7743, null), null, 0, null, null, null, null, 253, null), null, null, 96, null);
        template2Offering = new Offering(TEMPLATE_2_ID, "", zVar, AbstractC3252r.B(testData.copy(packages.getWeekly(), TEMPLATE_2_ID), testData.copy(packages.getMonthly(), TEMPLATE_2_ID), testData.copy(packages.getAnnual(), TEMPLATE_2_ID), testData.copy(packages.getLifetime(), TEMPLATE_2_ID)), Template2TestDataKt.getTemplate2(testData), null, null, 96, null);
        template3Offering = new Offering(TEMPLATE_3_ID, "", zVar, AbstractC2612c.q(testData.copy(packages.getMonthly(), TEMPLATE_3_ID)), Template3TestDataKt.getTemplate3(testData), null, null, 96, null);
        template4Offering = new Offering(TEMPLATE_4_ID, "", zVar, AbstractC3252r.B(testData.copy(packages.getMonthly(), TEMPLATE_4_ID), testData.copy(packages.getSemester(), TEMPLATE_4_ID), testData.copy(packages.getAnnual(), TEMPLATE_4_ID), testData.copy(packages.getWeekly(), TEMPLATE_4_ID)), Template4TestDataKt.getTemplate4(testData), null, null, 96, null);
        template5Offering = new Offering(TEMPLATE_5_ID, "", zVar, AbstractC3252r.B(testData.copy(packages.getMonthly(), TEMPLATE_5_ID), testData.copy(packages.getAnnual(), TEMPLATE_5_ID)), Template5TestDataKt.getTemplate5(testData), null, null, 96, null);
        template7Offering = new Offering(TEMPLATE_7_ID, "", zVar, AbstractC3252r.B(testData.copy(packages.getMonthly(), TEMPLATE_7_ID), testData.copy(packages.getAnnual(), TEMPLATE_7_ID), testData.copy(packages.getBimonthly(), TEMPLATE_7_ID), testData.copy(packages.getQuarterly(), TEMPLATE_7_ID), testData.copy(packages.getSemester(), TEMPLATE_7_ID), testData.copy(packages.getLifetime(), TEMPLATE_7_ID)), Template7TestDataKt.getTemplate7(testData), null, null, 96, null);
        template7CustomPackageOffering = new Offering(TEMPLATE_7_CUSTOM_PACKAGE_ID, "", zVar, AbstractC3252r.B(testData.copy(packages.getMonthly(), TEMPLATE_7_CUSTOM_PACKAGE_ID), testData.copy(packages.getAnnual(), TEMPLATE_7_CUSTOM_PACKAGE_ID), testData.copy(packages.getBimonthly(), TEMPLATE_7_CUSTOM_PACKAGE_ID), testData.copy(packages.getQuarterly(), TEMPLATE_7_CUSTOM_PACKAGE_ID), testData.copy(packages.getSemester(), TEMPLATE_7_CUSTOM_PACKAGE_ID), testData.copy(packages.getLifetime(), TEMPLATE_7_CUSTOM_PACKAGE_ID)), Template7CustomPackagesTestDataKt.getTemplate7CustomPackages(testData), null, null, 96, null);
        $stable = 8;
    }

    private TestData() {
    }

    public final Package copy(Package r8, String offeringId) {
        o.h(r8, "<this>");
        o.h(offeringId, "offeringId");
        PresentedOfferingContext presentedOfferingContext = new PresentedOfferingContext(offeringId);
        return new Package(r8.getIdentifier(), r8.getPackageType(), r8.getProduct().copyWithPresentedOfferingContext(presentedOfferingContext), presentedOfferingContext, r8.getWebCheckoutURL());
    }

    public final Offering getOfferingWithNoPaywall() {
        return offeringWithNoPaywall;
    }

    public final Offering getTemplate1Offering() {
        return template1Offering;
    }

    public final Offering getTemplate1OfferingNoFooter() {
        return template1OfferingNoFooter;
    }

    public final Offering getTemplate2Offering() {
        return template2Offering;
    }

    public final Offering getTemplate3Offering() {
        return template3Offering;
    }

    public final Offering getTemplate4Offering() {
        return template4Offering;
    }

    public final Offering getTemplate5Offering() {
        return template5Offering;
    }

    public final Offering getTemplate7CustomPackageOffering() {
        return template7CustomPackageOffering;
    }

    public final Offering getTemplate7Offering() {
        return template7Offering;
    }
}
