93 lines
4.3 KiB
TypeScript
93 lines
4.3 KiB
TypeScript
// Module ID: 12378
|
|
// Function ID: 94653
|
|
// Name: textLogoTier2
|
|
// Dependencies: []
|
|
// Exports: default
|
|
|
|
// Module 12378 (textLogoTier2)
|
|
importAll(dependencyMap[0]);
|
|
({ View: closure_3, Image: closure_4 } = arg1(dependencyMap[1]));
|
|
const getPremiumGradientColor = arg1(dependencyMap[2]).getPremiumGradientColor;
|
|
const PremiumTypes = arg1(dependencyMap[3]).PremiumTypes;
|
|
const tmp3 = arg1(dependencyMap[1]);
|
|
({ jsx: closure_7, Fragment: closure_8, jsxs: closure_9 } = arg1(dependencyMap[4]));
|
|
let obj = arg1(dependencyMap[5]);
|
|
obj = { header: {}, textLogoTier0: { "Null": "<string:40927553>", "Null": "<string:617500928>" }, textLogoTier1: { "Null": null, "Null": null }, textLogoTier2: {}, wumpusLogo: { "Null": "white", "Null": "M82.5 96L79 99.8199V105.195L82.5 109L86 105.18V99.8199L82.5 96Z", "Null": "white", "Null": "M249.5 78L246 81.2322V85.7808L249.5 89L253 85.7678V81.2322L249.5 78Z" }, wumpusLogoTier0: { "Null": "white", "Null": true }, wumpusLogoTier1: { "Null": "https://www.googleapis.com/youtube/v3/liveBroadcasts", "Null": null }, wumpusLogoTier2: { "Null": 16, "Null": 16 } };
|
|
obj = { padding: 16, borderBottomRightRadius: importDefault(dependencyMap[6]).radii.xs, borderBottomLeftRadius: importDefault(dependencyMap[6]).radii.xs };
|
|
obj.body = obj;
|
|
const tmp4 = arg1(dependencyMap[4]);
|
|
obj.bodyLegacy = { backgroundColor: arg1(dependencyMap[7]).DARK_PRIMARY_630_LIGHT_PRIMARY_100 };
|
|
let closure_10 = obj.createStyles(obj);
|
|
const obj1 = { backgroundColor: arg1(dependencyMap[7]).DARK_PRIMARY_630_LIGHT_PRIMARY_100 };
|
|
const result = arg1(dependencyMap[19]).fileFinishedImporting("components_native/premium/PremiumTierCard.tsx");
|
|
|
|
export default function _default(children) {
|
|
let premiumType;
|
|
let style;
|
|
({ premiumType, style } = children);
|
|
const tmp = callback();
|
|
const tmp2 = importDefault(dependencyMap[8])("PremiumTierCard");
|
|
let obj = {};
|
|
obj = { style: tmp.header, start: arg1(dependencyMap[10]).HorizontalGradient.START, end: arg1(dependencyMap[10]).HorizontalGradient.END, colors: getPremiumGradientColor(premiumType) };
|
|
obj = { mediaContentContainer: "r", pQ3bLk: "BWD8fs", LANDING_FRAME_NAME: "Array" };
|
|
let obj3 = arg1(dependencyMap[11]);
|
|
obj.accessibilityLabel = obj3.getPremiumTypeDisplayName(premiumType);
|
|
if (PremiumTypes.TIER_0 === premiumType) {
|
|
let textLogoTier2 = tmp.textLogoTier0;
|
|
} else if (PremiumTypes.TIER_1 === premiumType) {
|
|
textLogoTier2 = tmp.textLogoTier1;
|
|
} else if (PremiumTypes.TIER_2 === premiumType) {
|
|
textLogoTier2 = tmp.textLogoTier2;
|
|
}
|
|
obj.style = textLogoTier2;
|
|
if (PremiumTypes.TIER_0 === premiumType) {
|
|
let tmp12 = importDefault(dependencyMap[12]);
|
|
} else if (PremiumTypes.TIER_1 === premiumType) {
|
|
tmp12 = importDefault(dependencyMap[13]);
|
|
} else if (PremiumTypes.TIER_2 === premiumType) {
|
|
tmp12 = importDefault(dependencyMap[14]);
|
|
}
|
|
obj.source = tmp12;
|
|
obj.children = closure_7(closure_4, obj);
|
|
const items = [closure_7(importDefault(dependencyMap[9]), obj), , ];
|
|
const obj1 = {};
|
|
const items1 = [tmp.wumpusLogo, ];
|
|
if (PremiumTypes.TIER_0 === premiumType) {
|
|
let wumpusLogoTier2 = tmp.wumpusLogoTier0;
|
|
} else if (PremiumTypes.TIER_1 === premiumType) {
|
|
wumpusLogoTier2 = tmp.wumpusLogoTier1;
|
|
} else if (PremiumTypes.TIER_2 === premiumType) {
|
|
wumpusLogoTier2 = tmp.wumpusLogoTier2;
|
|
}
|
|
items1[1] = wumpusLogoTier2;
|
|
obj1.style = items1;
|
|
if (PremiumTypes.TIER_0 === premiumType) {
|
|
let tmp23 = importDefault(dependencyMap[15]);
|
|
} else if (PremiumTypes.TIER_1 === premiumType) {
|
|
tmp23 = importDefault(dependencyMap[16]);
|
|
} else if (PremiumTypes.TIER_2 === premiumType) {
|
|
tmp23 = importDefault(dependencyMap[17]);
|
|
}
|
|
obj1.source = tmp23;
|
|
items[1] = closure_7(closure_4, obj1);
|
|
const obj2 = {};
|
|
const items2 = [tmp.body, ];
|
|
let bodyLegacy = !tmp2;
|
|
if (bodyLegacy) {
|
|
bodyLegacy = tmp.bodyLegacy;
|
|
}
|
|
items2[1] = bodyLegacy;
|
|
obj2.style = items2;
|
|
obj2.children = children.children;
|
|
items[2] = closure_7(closure_3, obj2);
|
|
obj.children = items;
|
|
const tmp3Result = closure_9(closure_8, obj);
|
|
if (tmp2) {
|
|
obj3 = { variant: "surface-high", style, children: tmp3Result };
|
|
let tmp32Result = tmp32(arg1(dependencyMap[18]).Card, obj3);
|
|
} else {
|
|
const obj4 = { style, children: tmp3Result };
|
|
tmp32Result = tmp32(closure_3, obj4);
|
|
}
|
|
return tmp32Result;
|
|
};
|