// Module ID: 13443 // Function ID: 13444 // Name: textLogoTier2 // Dependencies: [19, 17, 7186, 1923, 21, 4478, 709, 4940, 688, 4139, 13444, 13445, 7986, 8365, 10713, 10714, 5609, 2] // Exports: default // Module 13443 (textLogoTier2) import noopAll from "noop" /* 19 */; import keys from "keys" /* 688 */; import ThemesDefault from "Themes" /* 709 */; import getPremiumPlanItem from "getPremiumPlanItem" /* 4139 */; import LinearGradientDefault from "LinearGradient" /* 4940 */; import PressableCard from "PressableCard" /* 5609 */; import get_ActivityIndicator from "get ActivityIndicator" /* 17 */; import { getPremiumGradientColor } from "items" /* 7186 */; import { PremiumTypes } from "GuildFeatures" /* 1923 */; import jsxProd from "jsxProd" /* 21 */; import createCacheKey from "createCacheKey" /* 4478 */; require = arg1; noopAll; ({ View: c3, Image: c4 } = get_ActivityIndicator); ({ jsx: error, Fragment: closure_8, jsxs: c9 } = jsxProd); createCacheKey = { header: { marginTop: 24, padding: 16 }, textLogoTier0: { width: 158, height: 32 }, textLogoTier1: { width: 185, height: 32 }, textLogoTier2: { width: 80, height: 32 }, wumpusLogo: { position: "absolute", top: 0, right: 24, zIndex: 1 }, wumpusLogoTier0: { width: 83, height: 100 }, wumpusLogoTier1: { width: 86, height: 100 }, wumpusLogoTier2: { width: 133, height: 100 }, body: null }; createCacheKey = { padding: 16, borderBottomRightRadius: ThemesDefault.radii.xs, borderBottomLeftRadius: ThemesDefault.radii.xs }; createCacheKey[8] = createCacheKey; let closure_10 = createCacheKey.createStyles(createCacheKey); const result = require("set").fileFinishedImporting("components_native/premium/PremiumTierCard.tsx"); export default function _default(premiumType) { premiumType = premiumType.premiumType; ({ children, style } = premiumType); const tmp = callback(); let obj = { style: tmp.header, start: keys.HorizontalGradient.START, end: keys.HorizontalGradient.END, colors: getPremiumGradientColor(premiumType), children: null }; obj = { accessible: true, accessibilityLabel: null, accessibilityRole: "header", style: null, source: null }; let obj2 = getPremiumPlanItem; obj[1] = obj2.getPremiumTypeDisplayName(premiumType); if (PremiumTypes.TIER_0 === premiumType) { let textLogoTier2 = tmp.textLogoTier0; } else if (tmp10.TIER_1 === premiumType) { textLogoTier2 = tmp.textLogoTier1; } else if (tmp10.TIER_2 === premiumType) { textLogoTier2 = tmp.textLogoTier2; } obj[3] = textLogoTier2; if (PremiumTypes.TIER_0 === premiumType) { let tmp5Result = tmp5(13444); } else if (tmp10.TIER_1 === premiumType) { tmp5Result = tmp5(13445); } else if (tmp10.TIER_2 === premiumType) { tmp5Result = tmp5(7986); } obj[4] = tmp5Result; obj[4] = closure_7(closure_4, obj); const items = [closure_7(LinearGradientDefault, obj), , ]; const items1 = [tmp.wumpusLogo, ]; if (PremiumTypes.TIER_0 === premiumType) { let wumpusLogoTier2 = tmp.wumpusLogoTier0; } else if (tmp10.TIER_1 === premiumType) { wumpusLogoTier2 = tmp.wumpusLogoTier1; } else if (tmp10.TIER_2 === premiumType) { wumpusLogoTier2 = tmp.wumpusLogoTier2; } obj = { accessible: false, importantForAccessibility: "no", style: items1, source: null }; items1[1] = wumpusLogoTier2; if (PremiumTypes.TIER_0 === premiumType) { tmp5Result = tmp5(8365); } else if (tmp10.TIER_1 === premiumType) { tmp5Result = tmp5(10713); } else if (tmp10.TIER_2 === premiumType) { tmp5Result = tmp5(10714); } obj1 = { children: null }; obj[3] = tmp5Result; items[1] = closure_7(closure_4, obj); obj2 = { style: tmp.body, children }; items[2] = closure_7(closure_3, obj2); obj1[0] = items; children = closure_9(closure_8, obj1); return closure_7(PressableCard.Card, { variant: "surface-high", style, children }); };