decord/beta/source/modules/markup/Timestamp.native.tsx
2026-10-07 22:43:51 +00:00

87 lines
2.5 KiB
TypeScript

// Module ID: 11706
// Function ID: 11707
// Name: Timestamp
// Dependencies: [19, 21, 4890, 587, 558, 576, 11707, 4568, 1188, 2]
// Module 11706 (Timestamp)
import Fragment from "Fragment" /* 21 */;
import nativeDefault from "native" /* 587 */;
import ToastActionCreatorsDefault from "ToastActionCreators" /* 4568 */;
import useFormattedTimestampDefault from "useFormattedTimestamp" /* 11707 */;
import react from "react" /* 19 */;
import createStyles from "createStyles" /* 4890 */;
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
import size from "module_2" /* 2 */;
let node;
let obj2;
const jsx = Fragment.jsx;
let obj = { timestamp: obj2 };
obj2 = { color: nativeDefault.colors.TEXT_DEFAULT, backgroundColor: nativeDefault.colors.BORDER_SUBTLE };
let closure_4 = createStyles.createStyles(obj);
let tmp3 = ReactCompilerGating.isReactCompilerEnabled() ? ((node) => {
let tmp6;
let obj = node(576);
const cResult = obj.c(6);
const tmp = node;
node = node.node;
const style = node.style;
const tmp4 = closure_4();
const tmp5 = useFormattedTimestampDefault(node);
let timestamp = tmp4.timestamp;
if (timestamp == null) {
timestamp = style;
}
if (cResult[0] !== node.full) {
const fn = function o() {
const obj = ToastActionCreatorsDefault;
const obj2 = { key: "TIMESTAMP", content: node.full };
obj.open(obj2);
};
cResult[0] = node.full;
cResult[1] = fn;
tmp6 = fn;
} else {
tmp6 = cResult[1];
}
if (cResult[2] === tmp5) {
if (cResult[3] === timestamp) {
let tmp7;
if (cResult[4] === tmp6) {
tmp7 = cResult[5];
}
return tmp7;
}
}
const tmp8 = jsx(tmp(1188).LegacyText, { style: timestamp, onPress: tmp6, children: tmp5 });
cResult[2] = tmp5;
cResult[3] = timestamp;
cResult[4] = tmp6;
cResult[5] = tmp8;
tmp7 = tmp8;
}) : ((node) => {
node = node.node;
const style = node.style;
let timestamp = closure_4().timestamp;
const tmp = closure_4();
const tmp2 = useFormattedTimestampDefault(node);
const LegacyText = node(1188).LegacyText;
const tmp3 = jsx;
if (timestamp == null) {
timestamp = style;
}
let obj = {
style: timestamp,
onPress() {
const obj = ToastActionCreatorsDefault;
const obj2 = { key: "TIMESTAMP", content: node.full };
obj.open(obj2);
},
children: tmp2
};
return tmp3(LegacyText, obj);
});
const result = size.fileFinishedImporting("modules/markup/Timestamp.native.tsx");
export default tmp3;