decord/source/modules/user_profile/native/UserProfileSharedStyles.tsx
2026-08-08 06:10:11 +00:00

41 lines
2.3 KiB
TypeScript

// Module ID: 8835
// Function ID: 8836
// Name: useSharedStyles
// Dependencies: [5776, 4303, 712, 1348, 2]
// Exports: default
// Module 8835 (useSharedStyles)
import ARBITRARY_LARGE_OFFSET from "ARBITRARY_LARGE_OFFSET";
import createCacheKey from "createCacheKey";
let c3;
let c4;
let c5;
let closure_6;
let error;
let metroImportAll;
let obj1;
({ AVATAR_CONTAINER_SIZE: obj1, AVATAR_CUSTOM_STATUS_GAP: c3, AVATAR_PADDING: c4, CARD_PADDING: c5, PROFILE_CONTENT_BOTTOM_PADDING: closure_6, PROFILE_SIDE_PADDING: error, PROFILE_TOP_LAYER_Z_INDEX: metroImportAll } = ARBITRARY_LARGE_OFFSET);
let closure_9 = createCacheKey.createStyles((arg0) => {
obj = { avatarPosition: obj, avatarBackground: obj, avatar: obj1, profileContentWrapper: obj2, profileContent: obj3, customStatusBubble: obj4, customStatusBubbleInset: obj5, emojiOnlyCustomStatusBubble: { marginBottom: 4 }, primaryInfo: { rowGap: 12, paddingBottom: 12 }, primaryButtons: { paddingVertical: 12 }, bannerButtons: obj6, bannerButtonsWithPrivateBanner: { top: 54 }, profileTablist: null, cards: null, card: null };
obj = { position: "absolute", top: -closure_2 / 2, left: closure_7 - closure_4 };
obj = { width: closure_2, height: closure_2, borderRadius: closure_2, padding: closure_4, zIndex: 0 };
obj[12] = { paddingHorizontal: closure_7, marginBottom: importDefault(712).space.PX_16 };
obj[13] = { rowGap: 16 };
const radii = importDefault(712).radii;
obj1 = { margin: closure_4, zIndex: 1 };
obj2 = { flexGrow: 1, paddingBottom: closure_6, overflow: "visible" };
obj3 = { paddingHorizontal: closure_7 };
obj4 = { marginTop: 6, marginBottom: 12, marginLeft: closure_2 - closure_4 + closure_3 };
obj5 = { marginLeft: closure_7 + closure_2 - closure_4 + closure_3, marginRight: closure_7 };
obj6 = { flexDirection: "row", position: "absolute", top: 16, right: 16, gap: 8, zIndex: closure_8 };
const obj7 = { paddingHorizontal: closure_7, marginBottom: importDefault(712).space.PX_16 };
const tmp = importDefault;
obj[14] = { borderRadius: arg0 ? radii.md : radii.lg, padding: closure_5, borderWidth: 1, borderColor: importDefault(712).colors.BORDER_MUTED };
return obj;
});
const result = require("Themes").fileFinishedImporting("modules/user_profile/native/UserProfileSharedStyles.tsx");
export default function useSharedStyles() {
return callback(importDefault(1348)("UserProfileSharedStyles"));
};