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

53 lines
2.4 KiB
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 12428
// Function ID: 96426
2026-07-20 16:05:17 +00:00
// Name: LargeCountDownPill
2026-07-25 08:10:48 +00:00
// Dependencies: [27, 33, 4131, 689, 3832, 1212, 4087, 4127, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-27 11:26:19 +00:00
// Module 12428 (LargeCountDownPill)
2026-07-23 10:11:24 +00:00
import get_ActivityIndicator from "get ActivityIndicator";
import jsxProd from "jsxProd";
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
let closure_3;
let closure_4;
let closure_5;
let closure_6;
({ TouchableOpacity: closure_3, View: closure_4 } = get_ActivityIndicator);
({ jsx: closure_5, jsxs: closure_6 } = jsxProd);
2026-07-20 16:05:17 +00:00
let obj = {};
2026-07-23 10:11:24 +00:00
obj = { flexDirection: "row", justifyContent: "center", alignItems: "center", borderRadius: require("_createForOfIteratorHelperLoose").radii.round, backgroundColor: "rgba(255, 255, 255, 0.1)", alignSelf: "center", paddingHorizontal: 16, marginBottom: 10 };
2026-07-20 16:05:17 +00:00
obj.largeCountdownPill = obj;
2026-07-23 10:11:24 +00:00
let obj1 = { paddingVertical: 8, color: require("_createForOfIteratorHelperLoose").colors.TEXT_STATUS_IDLE, fontSize: 14, lineHeight: 16, marginRight: 8 };
2026-07-20 16:05:17 +00:00
obj.largeCountdownPillText = obj1;
2026-07-23 10:11:24 +00:00
obj.iconStyle = { width: 16, height: 16 };
let closure_7 = _createForOfIteratorHelperLoose.createStyles(obj);
const result = require("_createForOfIteratorHelperLoose").fileFinishedImporting("modules/premium/fractional/native/LargeCountDownPill.tsx");
2026-07-20 16:05:17 +00:00
export default function LargeCountDownPill(countdownText) {
const tmp = callback3();
const require = tmp;
let obj = {
onPress() {
2026-07-23 10:11:24 +00:00
let obj = outer1_1(outer1_2[4]);
2026-07-20 16:05:17 +00:00
obj = { key: "LARGE_COUNTDOWN_PILL_TOAST" };
2026-07-23 10:11:24 +00:00
const intl = tmp(outer1_2[5]).intl;
obj.content = intl.string(tmp(outer1_2[5]).t["Mv4E/M"]);
2026-07-20 16:05:17 +00:00
obj.icon = function icon() {
2026-07-23 10:11:24 +00:00
const obj = { style: outer1_0.iconStyle, color: outer2_1(outer2_2[3]).colors.STATUS_WARNING };
return outer2_5(callback(outer2_2[6]).CircleInformationIcon, obj);
2026-07-20 16:05:17 +00:00
};
2026-07-23 10:11:24 +00:00
obj.iconColor = outer1_1(outer1_2[3]).colors.STATUS_WARNING;
2026-07-20 16:05:17 +00:00
obj.open(obj);
}
};
obj = { style: tmp.largeCountdownPill };
obj = { variant: "text-xs/bold", style: tmp.largeCountdownPillText, children: countdownText.countdownText.toUpperCase() };
2026-07-25 08:10:48 +00:00
const items = [callback(require(4127) /* Text */.Text, obj), ];
2026-07-23 10:11:24 +00:00
const obj1 = { style: tmp.iconStyle, color: importDefault(689).colors.TEXT_STATUS_IDLE };
2026-07-25 08:10:48 +00:00
items[1] = callback(require(4087) /* CircleInformationIcon */.CircleInformationIcon, obj1);
2026-07-20 16:05:17 +00:00
obj.children = items;
obj.children = callback2(closure_4, obj);
return callback(closure_3, obj);
};