decord/source/modules/profile_customization/native/Banner.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

44 lines
1.5 KiB
TypeScript

// Module ID: 8254
// Function ID: 8255
// Name: ProfileBanner
// Dependencies: [19, 17, 1074, 21, 4560, 1091, 5587, 2]
// Exports: default
// Module 8254 (ProfileBanner)
import noopAll from "noop" /* 19 */;
import int2hslRaw from "int2hslRaw" /* 1091 */;
import preloadDefault from "preload" /* 5587 */;
import { View } from "get ActivityIndicator" /* 17 */;
import { BANNER_HEIGHT } from "ME" /* 1074 */;
import { jsx } from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4560 */;
require = arg1;
noopAll;
let closure_6 = createCacheKey.createStyles({ root: { width: "100%" }, image: { width: "100%", height: "100%" } });
const result = require("set").fileFinishedImporting("modules/profile_customization/native/Banner.tsx");
export default function ProfileBanner(bannerHeight) {
({ bannerSource, bannerSafeArea } = bannerHeight);
({ style, backgroundColor } = bannerHeight);
if (bannerSafeArea === undefined) {
bannerSafeArea = 0;
}
bannerHeight = bannerHeight.bannerHeight;
if (bannerHeight === undefined) {
bannerHeight = BANNER_HEIGHT;
}
const tmp = callback();
let obj = { backgroundColor: int2hslRaw.int2hex(backgroundColor), height: bannerHeight + bannerSafeArea };
obj = { style: items, children: null };
items = [tmp.root, obj, style];
let tmp3Result = null;
if (null != bannerSource) {
obj = { style: null, source: null };
obj[0] = tmp.image;
obj[1] = bannerSource;
tmp3Result = tmp3(preloadDefault, obj);
}
obj[1] = tmp3Result;
return <View style={items}>{null}</View>;
};