Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
81 lines
2.7 KiB
TypeScript
81 lines
2.7 KiB
TypeScript
// Module ID: 16860
|
|
// Function ID: 16861
|
|
// Name: ICYMIHeader
|
|
// Dependencies: [19, 17, 21, 16794, 580, 558, 568, 1119, 4754, 2]
|
|
|
|
// Module 16860 (ICYMIHeader)
|
|
import c from "c" /* 568 */;
|
|
import nativeDefault from "native" /* 580 */;
|
|
import util from "util" /* 1119 */;
|
|
import Text_Text from "Text/Text" /* 4754 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
require = fn;
|
|
const View = fn(17).View;
|
|
const jsxProd = fn(21);
|
|
({ jsx: closure_4, Fragment: hasOwnProperty, jsxs: metroRequire } = jsxProd);
|
|
const createICYMIStyles = fn(16794);
|
|
let closure_7 = createICYMIStyles.createICYMIStyles((margin) => {
|
|
const obj = { text: { flexDirection: "row", justifyContent: "space-between", marginHorizontal: margin.margin }, separator: null };
|
|
const size = { height: 1, width: "100%", backgroundColor: nativeDefault.colors.BORDER_SUBTLE, marginBottom: nativeDefault.space.PX_16 };
|
|
obj.separator = size;
|
|
return obj;
|
|
});
|
|
const ReactCompilerGating = fn(558);
|
|
let size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/icymi/native/ICYMIHeader.tsx");
|
|
|
|
export default ReactCompilerGating.isReactCompilerEnabled() ? (() => {
|
|
const cResult = c.c(8);
|
|
const tmp4 = closure_7();
|
|
if (cResult[0] !== tmp4.separator) {
|
|
const obj2 = { style: tmp4.separator };
|
|
const tmp8 = React4(View, obj2);
|
|
cResult[0] = tmp4.separator;
|
|
cResult[1] = tmp8;
|
|
let tmp5 = tmp8;
|
|
} else {
|
|
tmp5 = cResult[1];
|
|
}
|
|
if (cResult[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
const intl = tmp(1119).intl;
|
|
const stringResult = intl.string(tmp(1119).t["jnXV/V"]);
|
|
cResult[2] = stringResult;
|
|
let tmp9 = stringResult;
|
|
} else {
|
|
tmp9 = cResult[2];
|
|
}
|
|
if (cResult[3] !== tmp4.text) {
|
|
const obj3 = { style: tmp4.text, variant: "heading-md/semibold", color: "mobile-text-heading-primary", children: tmp9 };
|
|
const tmp13 = React4(tmp(4754).Text, obj3);
|
|
cResult[3] = tmp4.text;
|
|
cResult[4] = tmp13;
|
|
let tmp11 = tmp13;
|
|
} else {
|
|
tmp11 = cResult[4];
|
|
}
|
|
if (cResult[5] === tmp5) {
|
|
if (cResult[6] === tmp11) {
|
|
let tmp14 = cResult[7];
|
|
}
|
|
return tmp14;
|
|
}
|
|
const obj4 = { children: null };
|
|
const items = [tmp5, tmp11];
|
|
obj4.children = items;
|
|
const tmp15 = timestampProducer(hasOwnProperty, obj4);
|
|
cResult[5] = tmp5;
|
|
cResult[6] = tmp11;
|
|
cResult[7] = tmp15;
|
|
tmp14 = tmp15;
|
|
}) : (() => {
|
|
const tmp = closure_7();
|
|
const obj = { children: null };
|
|
const items = [React4(View, { style: tmp.separator }), ];
|
|
const obj3 = { style: tmp.text, variant: "heading-md/semibold", color: "mobile-text-heading-primary", children: null };
|
|
const intl = util.intl;
|
|
obj3.children = intl.string(util.t["jnXV/V"]);
|
|
items[1] = React4(Text_Text.Text, obj3);
|
|
obj.children = items;
|
|
return timestampProducer(hasOwnProperty, obj);
|
|
});
|