2026-07-24 07:16:23 +00:00
|
|
|
// Module ID: 12162
|
|
|
|
|
// Function ID: 95277
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: UserProfilePrivateBanner
|
2026-07-24 07:16:23 +00:00
|
|
|
// Dependencies: [31, 27, 5510, 33, 4130, 689, 665, 4652, 4126, 1212, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-07-24 07:16:23 +00:00
|
|
|
// Module 12162 (UserProfilePrivateBanner)
|
2026-07-23 10:11:24 +00:00
|
|
|
import "result";
|
|
|
|
|
import { View } from "get ActivityIndicator";
|
|
|
|
|
import jsxProd from "jsxProd";
|
|
|
|
|
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
|
|
|
|
|
|
|
|
|
|
let closure_4;
|
|
|
|
|
let closure_5;
|
|
|
|
|
const require = arg1;
|
|
|
|
|
({ jsx: closure_4, jsxs: closure_5 } = jsxProd);
|
|
|
|
|
_createForOfIteratorHelperLoose = {};
|
|
|
|
|
_createForOfIteratorHelperLoose = { flexDirection: "row", alignItems: "center", justifyContent: "center", gap: 6, paddingTop: 18, paddingBottom: require("_createForOfIteratorHelperLoose").space.PX_12, paddingHorizontal: require("_createForOfIteratorHelperLoose").space.PX_8, backgroundColor: require("_createForOfIteratorHelperLoose").colors.BACKGROUND_SURFACE_HIGH, position: "relative", zIndex: require("ARBITRARY_LARGE_OFFSET").PROFILE_TOP_LAYER_Z_INDEX };
|
|
|
|
|
_createForOfIteratorHelperLoose.banner = _createForOfIteratorHelperLoose;
|
|
|
|
|
_createForOfIteratorHelperLoose = _createForOfIteratorHelperLoose.createStyles(_createForOfIteratorHelperLoose);
|
|
|
|
|
const result = require("ARBITRARY_LARGE_OFFSET").fileFinishedImporting("modules/user_profile/native/UserProfilePrivateBanner.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function UserProfilePrivateBanner(primaryColor) {
|
|
|
|
|
primaryColor = primaryColor.primaryColor;
|
|
|
|
|
let obj = {};
|
2026-07-23 10:11:24 +00:00
|
|
|
const items = [_createForOfIteratorHelperLoose().banner, ];
|
2026-07-20 16:05:17 +00:00
|
|
|
let tmp3 = null != primaryColor;
|
|
|
|
|
if (tmp3) {
|
2026-07-23 10:11:24 +00:00
|
|
|
obj = { backgroundColor: require(665) /* pad2 */.int2hex(primaryColor) };
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp3 = obj;
|
2026-07-23 10:11:24 +00:00
|
|
|
const obj3 = require(665) /* pad2 */;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
items[1] = tmp3;
|
|
|
|
|
obj.style = items;
|
2026-07-23 10:11:24 +00:00
|
|
|
obj = { size: "xs", color: importDefault(689).colors.TEXT_DEFAULT };
|
|
|
|
|
const items1 = [callback(require(4652) /* LockIcon */.LockIcon, obj), ];
|
|
|
|
|
const obj1 = { variant: "text-sm/medium", color: "text-default" };
|
|
|
|
|
const intl = require(1212) /* getSystemLocale */.intl;
|
|
|
|
|
obj1.children = intl.string(require(1212) /* getSystemLocale */.t.KPnd2O);
|
|
|
|
|
items1[1] = callback(require(4126) /* Text */.Text, obj1);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj.children = items1;
|
|
|
|
|
return closure_5(View, obj);
|
|
|
|
|
};
|