decord/source/modules/premium/fractional/native/LargeCountDownPill.tsx

50 lines
2.4 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 12950
// Function ID: 12951
2026-07-20 16:05:17 +00:00
// Name: LargeCountDownPill
2026-08-24 06:08:38 +00:00
// Dependencies: [17, 21, 4668, 712, 4097, 1236, 4334, 4739, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-24 06:08:38 +00:00
// Module 12950 (LargeCountDownPill)
import set from "set" /* 2 */;
import ThemesDefault from "Themes" /* 712 */;
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
import jsxProd from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4668 */;
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
({ TouchableOpacity: c3, View: c4 } = get_ActivityIndicator);
({ jsx: c5, jsxs: closure_6 } = jsxProd);
let obj = { largeCountdownPill: null, largeCountdownPillText: null, iconStyle: null };
2026-08-24 06:08:38 +00:00
obj = { flexDirection: "row", justifyContent: "center", alignItems: "center", borderRadius: ThemesDefault.radii.round, backgroundColor: "rgba(255, 255, 255, 0.1)", alignSelf: "center", paddingHorizontal: 16, marginBottom: 10 };
2026-07-29 08:29:29 +00:00
obj[0] = obj;
2026-08-24 06:08:38 +00:00
obj[1] = { paddingVertical: 8, color: ThemesDefault.colors.TEXT_STATUS_IDLE, fontSize: 14, lineHeight: 16, marginRight: 8 };
2026-07-29 08:29:29 +00:00
obj[2] = { width: 16, height: 16 };
let closure_7 = createCacheKey.createStyles(obj);
2026-08-24 06:08:38 +00:00
const obj1 = { paddingVertical: 8, color: ThemesDefault.colors.TEXT_STATUS_IDLE, fontSize: 14, lineHeight: 16, marginRight: 8 };
const result = set.fileFinishedImporting("modules/premium/fractional/native/LargeCountDownPill.tsx");
2026-07-20 16:05:17 +00:00
export default function LargeCountDownPill(countdownText) {
2026-07-29 08:29:29 +00:00
let _require;
2026-07-20 16:05:17 +00:00
const tmp = callback3();
2026-07-29 08:29:29 +00:00
_require = tmp;
2026-07-20 16:05:17 +00:00
let obj = {
onPress() {
2026-08-24 06:08:38 +00:00
let obj = closure_1_1(closure_1_2[4]);
2026-07-29 08:29:29 +00:00
obj = { key: "LARGE_COUNTDOWN_PILL_TOAST", content: null, icon: null, iconColor: null };
2026-08-24 06:08:38 +00:00
const intl = callback(closure_1_2[5]).intl;
obj[1] = intl.string(callback(closure_1_2[5]).t["Mv4E/M"]);
2026-07-29 08:29:29 +00:00
obj[2] = function icon() {
2026-08-24 06:08:38 +00:00
return closure_1_5(closure_1_0(closure_1_2[6]).CircleInformationIcon, { style: iconStyle.iconStyle, color: closure_1_1(closure_1_2[3]).colors.STATUS_WARNING });
2026-07-20 16:05:17 +00:00
};
2026-08-24 06:08:38 +00:00
obj[3] = closure_1_1(closure_1_2[3]).colors.STATUS_WARNING;
2026-07-20 16:05:17 +00:00
obj.open(obj);
2026-07-29 08:29:29 +00:00
},
children: null
2026-07-20 16:05:17 +00:00
};
2026-07-29 08:29:29 +00:00
obj = { style: tmp.largeCountdownPill, children: null };
2026-08-24 06:08:38 +00:00
obj = { variant: "text-xs/bold", style: tmp.largeCountdownPillText, children: countdownText.countdownText.toUpperCase() };
const items = [callback(_require(4739).Text, obj), callback(_require(4334).CircleInformationIcon, { style: tmp.iconStyle, color: ThemesDefault.colors.TEXT_STATUS_IDLE })];
2026-07-29 08:29:29 +00:00
obj[1] = items;
obj[1] = callback2(closure_4, obj);
2026-07-20 16:05:17 +00:00
return callback(closure_3, obj);
};