decord/source/modules/user_profile/native/UserProfileSharedStyles.tsx

38 lines
2.5 KiB
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 8982
// Function ID: 8983
2026-07-20 16:05:17 +00:00
// Name: useSharedStyles
2026-08-25 06:04:03 +00:00
// Dependencies: [5882, 4380, 712, 1367, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-25 06:04:03 +00:00
// Module 8982 (useSharedStyles)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import ThemesDefault from "Themes" /* 712 */;
import useIsMobileVisualRefreshExperimentEnabledDefault from "useIsMobileVisualRefreshExperimentEnabled" /* 1367 */;
2026-08-25 06:04:03 +00:00
import ARBITRARY_LARGE_OFFSET from "ARBITRARY_LARGE_OFFSET" /* 5882 */;
import createCacheKey from "createCacheKey" /* 4380 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
({ 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: closure_8 } = ARBITRARY_LARGE_OFFSET);
2026-07-29 08:29:29 +00:00
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 };
2026-07-20 16:05:17 +00:00
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 };
2026-08-24 06:08:38 +00:00
obj[12] = { paddingHorizontal: closure_7, marginBottom: ThemesDefault.space.PX_16 };
2026-07-29 08:29:29 +00:00
obj[13] = { rowGap: 16 };
2026-08-24 06:08:38 +00:00
const radii = ThemesDefault.radii;
2026-07-29 08:29:29 +00:00
obj1 = { margin: closure_4, zIndex: 1 };
2026-07-23 10:11:24 +00:00
obj2 = { flexGrow: 1, paddingBottom: closure_6, overflow: "visible" };
2026-07-29 08:29:29 +00:00
obj3 = { paddingHorizontal: closure_7 };
2026-07-23 10:11:24 +00:00
obj4 = { marginTop: 6, marginBottom: 12, marginLeft: closure_2 - closure_4 + closure_3 };
2026-07-29 08:29:29 +00:00
obj5 = { marginLeft: closure_7 + closure_2 - closure_4 + closure_3, marginRight: closure_7 };
2026-07-23 10:11:24 +00:00
obj6 = { flexDirection: "row", position: "absolute", top: 16, right: 16, gap: 8, zIndex: closure_8 };
2026-08-24 06:08:38 +00:00
const obj7 = { paddingHorizontal: closure_7, marginBottom: ThemesDefault.space.PX_16 };
2026-07-29 08:29:29 +00:00
const tmp = importDefault;
2026-08-24 06:08:38 +00:00
obj[14] = { borderRadius: arg0 ? radii.md : radii.lg, padding: closure_5, borderWidth: 1, borderColor: ThemesDefault.colors.BORDER_MUTED };
2026-07-20 16:05:17 +00:00
return obj;
});
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("modules/user_profile/native/UserProfileSharedStyles.tsx");
2026-07-20 16:05:17 +00:00
export default function useSharedStyles() {
2026-08-24 06:08:38 +00:00
return callback(useIsMobileVisualRefreshExperimentEnabledDefault("UserProfileSharedStyles"));
2026-07-20 16:05:17 +00:00
};