2026-07-27 11:26:19 +00:00
|
|
|
// Module ID: 11986
|
|
|
|
|
// Function ID: 92620
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: CustomStatusBubble
|
2026-07-27 11:26:19 +00:00
|
|
|
// Dependencies: [57, 31, 27, 8606, 1838, 3768, 1850, 7877, 5630, 8043, 5510, 653, 5188, 1345, 33, 8017, 566, 4099, 11912, 1935, 11906, 11902, 8045, 5462, 8850, 3970, 6625, 11987, 1212, 11650, 11988, 4071, 8033, 4320, 5490, 3831, 8317, 9738, 11920, 4544, 9034, 689, 5666, 11990, 11991, 8305, 8314, 1557, 11989, 12107, 12108, 6018, 11897, 7890, 8015, 8019, 1324, 8605, 7829, 12109, 12104, 12110, 12111, 12112, 12113, 11657, 12114, 11922, 12119, 11891, 5485, 11974, 12120, 11977, 12125, 12132, 8162, 8042, 8315, 12139, 3992, 12140, 12149, 12150, 12154, 12155, 5449, 11646, 8685, 12159, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-27 11:26:19 +00:00
|
|
|
// Module 11986 (CustomStatusBubble)
|
2026-07-24 07:16:23 +00:00
|
|
|
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
|
2026-07-23 10:11:24 +00:00
|
|
|
import importAllResult from "UserPlatformIcon";
|
|
|
|
|
import get_ActivityIndicator from "UserCheckIcon";
|
|
|
|
|
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
|
2026-07-24 07:16:23 +00:00
|
|
|
import closure_8 from "_createForOfIteratorHelperLoose";
|
2026-07-23 10:11:24 +00:00
|
|
|
import closure_9 from "_isNativeReflectConstruct";
|
|
|
|
|
import closure_10 from "_isNativeReflectConstruct";
|
|
|
|
|
import closure_11 from "_isNativeReflectConstruct";
|
|
|
|
|
import closure_12 from "_isNativeReflectConstruct";
|
|
|
|
|
import { UserProfileSections } from "USER_PROFILE_TOOLTIP_DELAY";
|
|
|
|
|
import ARBITRARY_LARGE_OFFSET from "ARBITRARY_LARGE_OFFSET";
|
|
|
|
|
import { RelationshipTypes } from "ME";
|
|
|
|
|
import { ACTION_SHEET_MAX_WIDTH } from "ACTION_SHEET_START_HEIGHT_RATIO";
|
|
|
|
|
import { ContentDismissActionType } from "ContentDismissActionType";
|
|
|
|
|
import jsxProd from "getNickname";
|
|
|
|
|
|
|
|
|
|
let closure_14;
|
|
|
|
|
let closure_15;
|
|
|
|
|
let closure_19;
|
|
|
|
|
let closure_20;
|
|
|
|
|
let closure_21;
|
|
|
|
|
let closure_5;
|
|
|
|
|
let closure_6;
|
|
|
|
|
const require = arg1;
|
2026-07-20 16:05:17 +00:00
|
|
|
function CustomStatusBubble(guildId) {
|
|
|
|
|
let bubbleRef;
|
|
|
|
|
let customStatusActivity;
|
|
|
|
|
let hasCustomProfileTheme;
|
|
|
|
|
let user;
|
|
|
|
|
({ customStatusActivity, user } = guildId);
|
|
|
|
|
guildId = guildId.guildId;
|
|
|
|
|
const channelId = guildId.channelId;
|
|
|
|
|
const isPreviewingChanges = guildId.isPreviewingChanges;
|
|
|
|
|
({ hasCustomProfileTheme, bubbleRef } = guildId);
|
2026-07-23 10:11:24 +00:00
|
|
|
const tmp = guildId(channelId[15])();
|
|
|
|
|
let obj = user(channelId[16]);
|
2026-07-20 16:05:17 +00:00
|
|
|
const items = [closure_10];
|
|
|
|
|
const items1 = [user];
|
|
|
|
|
let stateFromStores = obj.useStateFromStores(items, () => {
|
2026-07-23 10:11:24 +00:00
|
|
|
const currentUser = outer1_10.getCurrentUser();
|
2026-07-20 16:05:17 +00:00
|
|
|
let id;
|
|
|
|
|
if (null != currentUser) {
|
|
|
|
|
id = currentUser.id;
|
|
|
|
|
}
|
|
|
|
|
return id === user.id;
|
|
|
|
|
}, items1);
|
|
|
|
|
const items2 = [channelId, guildId, user];
|
|
|
|
|
let tmp5 = null;
|
|
|
|
|
const callback = importAllResult.useCallback(() => {
|
|
|
|
|
let obj = guildId(channelId[17]);
|
|
|
|
|
obj = { user, guildId, channelId };
|
|
|
|
|
obj.openLazy(user(channelId[19])(channelId[18], channelId.paths), "UserProfileCustomStatusActionSheet", obj, "stack");
|
|
|
|
|
}, items2);
|
|
|
|
|
if (null == customStatusActivity) {
|
|
|
|
|
tmp5 = null;
|
|
|
|
|
if (stateFromStores) {
|
|
|
|
|
tmp5 = null;
|
|
|
|
|
if (!isPreviewingChanges) {
|
2026-07-23 10:11:24 +00:00
|
|
|
tmp5 = guildId(channelId[20])();
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
const ref = importAllResult.useRef(tmp5);
|
|
|
|
|
let labelResult;
|
|
|
|
|
if (null != ref.current) {
|
|
|
|
|
const current = ref.current;
|
|
|
|
|
labelResult = current.label();
|
|
|
|
|
}
|
|
|
|
|
obj = { ref: bubbleRef, customStatusActivity, hasCustomProfileTheme };
|
|
|
|
|
if (stateFromStores) {
|
|
|
|
|
stateFromStores = !isPreviewingChanges;
|
|
|
|
|
}
|
|
|
|
|
obj.editEnabled = stateFromStores;
|
|
|
|
|
let tmp12;
|
|
|
|
|
if (!isPreviewingChanges) {
|
|
|
|
|
tmp12 = callback;
|
|
|
|
|
}
|
|
|
|
|
obj.onPressTruncatedStatus = tmp12;
|
|
|
|
|
const items3 = [, ];
|
|
|
|
|
({ customStatusBubble: arr4[0], customStatusBubbleInset: arr4[1] } = tmp);
|
|
|
|
|
obj.style = items3;
|
|
|
|
|
obj.emojiOnlyStyle = tmp.emojiOnlyCustomStatusBubble;
|
|
|
|
|
obj.placeholderText = labelResult;
|
|
|
|
|
obj.prompt = ref.current;
|
2026-07-23 10:11:24 +00:00
|
|
|
return closure_19(guildId(channelId[21]), obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
function RemoveFriendIconButton(user) {
|
|
|
|
|
user = user.user;
|
2026-07-23 10:11:24 +00:00
|
|
|
let trackUserProfileAction;
|
|
|
|
|
let newestAnalyticsLocation;
|
2026-07-20 16:05:17 +00:00
|
|
|
function handleConfirm() {
|
|
|
|
|
trackUserProfileAction({ action: "REMOVE_FRIEND" });
|
|
|
|
|
let obj = trackUserProfileAction(newestAnalyticsLocation[24]);
|
|
|
|
|
obj = { location: newestAnalyticsLocation };
|
|
|
|
|
obj.removeFriend(user.id, obj);
|
|
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
let obj = user(newestAnalyticsLocation[22]);
|
|
|
|
|
trackUserProfileAction = obj.useUserProfileAnalyticsContext().trackUserProfileAction;
|
|
|
|
|
newestAnalyticsLocation = trackUserProfileAction(newestAnalyticsLocation[23])().newestAnalyticsLocation;
|
2026-07-24 07:16:23 +00:00
|
|
|
let _createForOfIteratorHelperLoose = trackUserProfileAction(newestAnalyticsLocation[25]).useName(user);
|
2026-07-23 10:11:24 +00:00
|
|
|
obj = { size: "sm", variant: "secondary-overlay", icon: callback(user(newestAnalyticsLocation[27]).UserCheckIcon, { size: "sm", color: "white" }) };
|
|
|
|
|
const intl = user(newestAnalyticsLocation[28]).intl;
|
|
|
|
|
obj.accessibilityLabel = intl.string(user(newestAnalyticsLocation[28]).t.cvSt1J);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj.onPress = function onPress() {
|
|
|
|
|
let obj = user(newestAnalyticsLocation[29]);
|
2026-07-24 07:16:23 +00:00
|
|
|
obj = { userDisplayName: _createForOfIteratorHelperLoose, onConfirm: handleConfirm };
|
2026-07-20 16:05:17 +00:00
|
|
|
obj.confirmRemoveFriend(obj);
|
|
|
|
|
};
|
2026-07-23 10:11:24 +00:00
|
|
|
return callback(user(newestAnalyticsLocation[26]).IconButton, obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
function RemoveGameFriendIconButton(user) {
|
|
|
|
|
user = user.user;
|
|
|
|
|
const guildId = user.guildId;
|
|
|
|
|
const channelId = user.channelId;
|
|
|
|
|
const items = [channelId, guildId, user];
|
|
|
|
|
const callback = importAllResult.useCallback(() => {
|
|
|
|
|
let obj = guildId(channelId[17]);
|
|
|
|
|
obj = { user, guildId, channelId };
|
|
|
|
|
obj.openLazy(user(channelId[19])(channelId[30], channelId.paths), "UserProfileGameFriendActionSheet", obj, "stack");
|
|
|
|
|
}, items);
|
2026-07-23 10:11:24 +00:00
|
|
|
let obj = { size: "sm", variant: "secondary-overlay", icon: callback(user(channelId[31]).UserPlatformIcon, { size: "sm", color: "white" }) };
|
|
|
|
|
const intl = user(channelId[28]).intl;
|
|
|
|
|
obj.accessibilityLabel = intl.string(user(channelId[28]).t.cvSt1J);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj.onPress = callback;
|
2026-07-23 10:11:24 +00:00
|
|
|
return callback(user(channelId[26]).IconButton, obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
class PrimaryInfo {
|
|
|
|
|
constructor(arg0) {
|
|
|
|
|
({ user, displayProfile, displayNameOverride, pronounsOverride, badgesOverride, isPreviewingChanges } = global);
|
2026-07-23 10:11:24 +00:00
|
|
|
trackUserProfileAction = undefined;
|
2026-07-20 16:05:17 +00:00
|
|
|
({ channelId, pendingDisplayNameStyles, style, badgeContainerBackground } = global);
|
2026-07-23 10:11:24 +00:00
|
|
|
obj = require("conceal");
|
2026-07-20 16:05:17 +00:00
|
|
|
userTag = obj.useUserTag(user);
|
2026-07-23 10:11:24 +00:00
|
|
|
useUserTag = userTag;
|
|
|
|
|
tmp2 = require("useBadges")(displayProfile);
|
|
|
|
|
obj2 = require("getNickname");
|
2026-07-20 16:05:17 +00:00
|
|
|
guildId = undefined;
|
|
|
|
|
if (null != displayProfile) {
|
|
|
|
|
guildId = displayProfile.guildId;
|
|
|
|
|
}
|
|
|
|
|
name = obj2.useName(guildId, channelId, user);
|
|
|
|
|
tmp5 = name;
|
|
|
|
|
if (null != displayNameOverride) {
|
|
|
|
|
num = 0;
|
|
|
|
|
tmp5 = name;
|
|
|
|
|
if (displayNameOverride.trim().length > 0) {
|
|
|
|
|
tmp5 = displayNameOverride;
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
obj3 = require("UserProfileAnalyticsProvider");
|
2026-07-20 16:05:17 +00:00
|
|
|
trackUserProfileAction = obj3.useUserProfileAnalyticsContext().trackUserProfileAction;
|
|
|
|
|
items = [, ];
|
|
|
|
|
items[0] = trackUserProfileAction;
|
|
|
|
|
items[1] = userTag;
|
|
|
|
|
callback = defineProperty.useCallback(() => {
|
|
|
|
|
trackUserProfileAction({ action: "COPY_USERNAME" });
|
2026-07-23 10:11:24 +00:00
|
|
|
userTag(outer1_2[34]).copy(userTag);
|
|
|
|
|
const obj = userTag(outer1_2[34]);
|
|
|
|
|
const result = userTag(outer1_2[35]).presentUsernameCopied();
|
2026-07-20 16:05:17 +00:00
|
|
|
}, items);
|
|
|
|
|
tmp7 = jsx;
|
|
|
|
|
obj = { user };
|
|
|
|
|
guildId1 = undefined;
|
2026-07-23 10:11:24 +00:00
|
|
|
tmp8 = require("getStyleConfig");
|
2026-07-20 16:05:17 +00:00
|
|
|
if (null != displayProfile) {
|
|
|
|
|
guildId1 = displayProfile.guildId;
|
|
|
|
|
}
|
|
|
|
|
obj.guildId = guildId1;
|
|
|
|
|
obj.displayName = tmp5;
|
|
|
|
|
if (null == pronounsOverride) {
|
|
|
|
|
pronouns = undefined;
|
|
|
|
|
if (null != displayProfile) {
|
|
|
|
|
pronouns = displayProfile.pronouns;
|
|
|
|
|
}
|
|
|
|
|
pronounsOverride = pronouns;
|
|
|
|
|
}
|
|
|
|
|
obj.pronouns = pronounsOverride;
|
|
|
|
|
if (null != badgesOverride) {
|
|
|
|
|
tmp2 = badgesOverride;
|
|
|
|
|
}
|
|
|
|
|
obj.badges = tmp2;
|
|
|
|
|
obj.style = style;
|
|
|
|
|
obj.badgeContainerBackground = badgeContainerBackground;
|
|
|
|
|
tmp11 = undefined;
|
|
|
|
|
if (!isPreviewingChanges) {
|
|
|
|
|
tmp11 = callback;
|
|
|
|
|
}
|
|
|
|
|
obj.onPressDisplayName = tmp11;
|
2026-07-23 10:11:24 +00:00
|
|
|
intl = require("getSystemLocale").intl;
|
|
|
|
|
obj.displayNameAccessibilityHint = intl.string(require("getSystemLocale").t.y5MwJy);
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp12 = undefined;
|
|
|
|
|
if (!isPreviewingChanges) {
|
|
|
|
|
tmp12 = callback;
|
|
|
|
|
}
|
|
|
|
|
obj.onPressUserTag = tmp12;
|
|
|
|
|
fn = undefined;
|
|
|
|
|
if (!isPreviewingChanges) {
|
|
|
|
|
fn = () => {
|
|
|
|
|
trackUserProfileAction({ action: "PRESS_PRONOUNS" });
|
2026-07-23 10:11:24 +00:00
|
|
|
userTag(outer1_2[35]).presentUserPronouns();
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
obj.onPressPronouns = fn;
|
|
|
|
|
obj.showBadgeToastOnPress = !isPreviewingChanges;
|
|
|
|
|
obj.pendingDisplayNameStyles = pendingDisplayNameStyles;
|
|
|
|
|
return tmp7(tmp8, obj);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
function EditSection(guildId) {
|
2026-07-23 10:11:24 +00:00
|
|
|
guildId = guildId.guildId;
|
2026-07-25 08:10:48 +00:00
|
|
|
let obj = guildId(8045);
|
2026-07-23 10:11:24 +00:00
|
|
|
const trackUserProfileAction = obj.useUserProfileAnalyticsContext().trackUserProfileAction;
|
|
|
|
|
let obj1 = guildId(566);
|
2026-07-24 07:16:23 +00:00
|
|
|
const items = [closure_8];
|
2026-07-23 10:11:24 +00:00
|
|
|
const stateFromStores = obj1.useStateFromStores(items, () => outer1_8.getGuild(guildId));
|
2026-07-25 08:10:48 +00:00
|
|
|
const dependencyMap = trackUserProfileAction(9738)();
|
|
|
|
|
let _createForOfIteratorHelperLoose = trackUserProfileAction(9738)({ guild: stateFromStores });
|
|
|
|
|
obj = { style: trackUserProfileAction(8017)().primaryButtons, maxWidth: ACTION_SHEET_MAX_WIDTH };
|
|
|
|
|
const tmp = trackUserProfileAction(8017)();
|
2026-07-23 10:11:24 +00:00
|
|
|
const tmp3 = callback;
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { variant: "primary" };
|
2026-07-23 10:11:24 +00:00
|
|
|
obj1 = { size: "sm", color: trackUserProfileAction(689).colors.WHITE };
|
2026-07-25 08:10:48 +00:00
|
|
|
obj.icon = callback(guildId(9034).PencilIcon, obj1);
|
2026-07-20 16:05:17 +00:00
|
|
|
if (null != stateFromStores) {
|
2026-07-23 10:11:24 +00:00
|
|
|
const intl2 = guildId(1212).intl;
|
|
|
|
|
let stringResult = intl2.string(guildId(1212).t.HmFaFB);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-07-23 10:11:24 +00:00
|
|
|
const intl = guildId(1212).intl;
|
|
|
|
|
stringResult = intl.string(guildId(1212).t.s5vZlQ);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
obj.text = stringResult;
|
|
|
|
|
obj.onPress = function onPress() {
|
|
|
|
|
trackUserProfileAction({ action: "EDIT_PROFILE" });
|
2026-07-25 08:10:48 +00:00
|
|
|
trackUserProfileAction(4099).hideActionSheet();
|
|
|
|
|
trackUserProfileAction(5666)();
|
2026-07-23 10:11:24 +00:00
|
|
|
dependencyMap();
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
obj.grow = true;
|
2026-07-25 08:10:48 +00:00
|
|
|
obj.primaryButton = callback(guildId(4544).Button, obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
let tmp11;
|
|
|
|
|
if (null != stateFromStores) {
|
|
|
|
|
const obj2 = { variant: "primary" };
|
2026-07-23 10:11:24 +00:00
|
|
|
const obj3 = { size: "sm", color: trackUserProfileAction(689).colors.WHITE };
|
2026-07-25 08:10:48 +00:00
|
|
|
obj2.icon = callback(guildId(9034).PencilIcon, obj3);
|
2026-07-23 10:11:24 +00:00
|
|
|
const intl3 = guildId(1212).intl;
|
|
|
|
|
obj2.text = intl3.string(guildId(1212).t["PKQB/H"]);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj2.onPress = function onPress() {
|
|
|
|
|
trackUserProfileAction({ action: "EDIT_GUILD_PROFILE" });
|
2026-07-25 08:10:48 +00:00
|
|
|
trackUserProfileAction(4099).hideActionSheet();
|
|
|
|
|
trackUserProfileAction(5666)();
|
2026-07-23 10:11:24 +00:00
|
|
|
callback();
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
obj2.grow = true;
|
2026-07-25 08:10:48 +00:00
|
|
|
tmp11 = callback(guildId(4544).Button, obj2);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
obj.secondaryButton = tmp11;
|
2026-07-27 11:26:19 +00:00
|
|
|
return tmp3(trackUserProfileAction(11920), obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-24 07:16:23 +00:00
|
|
|
function UserProfileWidgetsBoardContainer(isCurrentUser) {
|
2026-07-20 16:05:17 +00:00
|
|
|
let containerBackground;
|
|
|
|
|
let isVisible;
|
|
|
|
|
let userId;
|
2026-07-24 07:16:23 +00:00
|
|
|
isCurrentUser = isCurrentUser.isCurrentUser;
|
|
|
|
|
({ userId, isVisible, containerBackground } = isCurrentUser);
|
2026-07-25 08:10:48 +00:00
|
|
|
const tmp = importDefault(8017)();
|
2026-07-20 16:05:17 +00:00
|
|
|
const items = [tmp.card, { backgroundColor: containerBackground }];
|
2026-07-24 07:16:23 +00:00
|
|
|
const obj = { style: tmp.profileContent };
|
|
|
|
|
if (isCurrentUser) {
|
2026-07-27 11:26:19 +00:00
|
|
|
isCurrentUser = callback(importDefault(11990), {});
|
2026-07-24 07:16:23 +00:00
|
|
|
}
|
2026-07-27 11:26:19 +00:00
|
|
|
const items1 = [isCurrentUser, callback(importDefault(11991), { userId, isVisible, cardStyle: items })];
|
2026-07-24 07:16:23 +00:00
|
|
|
obj.children = items1;
|
|
|
|
|
return closure_20(closure_6, obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
({ ScrollView: closure_5, View: closure_6 } = get_ActivityIndicator);
|
|
|
|
|
({ PROFILE_CONTENT_BOTTOM_PADDING: closure_14, PROFILE_CONTENT_WITHOUT_STATUS_TOP_PADDING: closure_15 } = ARBITRARY_LARGE_OFFSET);
|
|
|
|
|
({ jsx: closure_19, jsxs: closure_20, Fragment: closure_21 } = jsxProd);
|
2026-07-20 16:05:17 +00:00
|
|
|
const memoResult = importAllResult.memo(function UserProfileContent(user) {
|
|
|
|
|
let _location;
|
|
|
|
|
let activeProfileTabSection;
|
|
|
|
|
let activeProfileTabSectionIndex;
|
|
|
|
|
let avatarBackground;
|
|
|
|
|
let bannerImageAnimatedStyle;
|
|
|
|
|
let blurAnimatedProps;
|
|
|
|
|
let contentAnimatedStyle;
|
|
|
|
|
let disableCalls;
|
|
|
|
|
let disableMessage;
|
|
|
|
|
let disableStatus;
|
|
|
|
|
let fillHeight;
|
|
|
|
|
let handleTabChange;
|
|
|
|
|
let initialSection;
|
|
|
|
|
let isPreviewingChanges;
|
|
|
|
|
let measureFill;
|
|
|
|
|
let pagerRef;
|
|
|
|
|
let pendingAccentColor;
|
|
|
|
|
let pendingAvatar;
|
|
|
|
|
let pendingAvatarDecoration;
|
|
|
|
|
let pendingBanner;
|
|
|
|
|
let pendingDisplayNameStyles;
|
|
|
|
|
let pendingGlobalName;
|
|
|
|
|
let pendingLegacyUsernameDisabled;
|
|
|
|
|
let pendingPronouns;
|
|
|
|
|
let pendingThemeColors;
|
|
|
|
|
let scrollPosition;
|
|
|
|
|
let secondaryColor;
|
|
|
|
|
let setActiveProfileTabSection;
|
|
|
|
|
let showBlur;
|
|
|
|
|
let statusBackground;
|
|
|
|
|
let theme;
|
|
|
|
|
user = user.user;
|
|
|
|
|
const channel = user.channel;
|
|
|
|
|
const displayProfile = user.displayProfile;
|
|
|
|
|
const showUserProfileActionSheet = user.showUserProfileActionSheet;
|
|
|
|
|
({ disableCalls, isPreviewingChanges } = user);
|
|
|
|
|
const navigateToPremium = user.navigateToPremium;
|
|
|
|
|
const navigateToShop = user.navigateToShop;
|
2026-07-23 10:11:24 +00:00
|
|
|
let c10;
|
|
|
|
|
let userProfileGameFriendApplicationIds;
|
|
|
|
|
let guild_id;
|
|
|
|
|
let name;
|
2026-07-20 16:05:17 +00:00
|
|
|
let pendingBio;
|
2026-07-23 10:11:24 +00:00
|
|
|
let c15;
|
|
|
|
|
let containerBackground;
|
|
|
|
|
let c17;
|
|
|
|
|
let stateFromStores1;
|
2026-07-20 16:05:17 +00:00
|
|
|
let stateFromStores2;
|
|
|
|
|
let isEligibleForSocialLayerStorefrontMobilePurchasing;
|
2026-07-23 10:11:24 +00:00
|
|
|
let c21;
|
|
|
|
|
let c22;
|
|
|
|
|
let boardTabIndex;
|
|
|
|
|
let wishlistTabIndex;
|
|
|
|
|
let closure_25;
|
|
|
|
|
let handlePageContentSize;
|
2026-07-20 16:05:17 +00:00
|
|
|
let isVisible;
|
|
|
|
|
let markAsDismissed;
|
|
|
|
|
setActiveProfileTabSection = undefined;
|
|
|
|
|
let restoreActiveIndex;
|
2026-07-23 10:11:24 +00:00
|
|
|
let c31;
|
|
|
|
|
let c32;
|
2026-07-20 16:05:17 +00:00
|
|
|
let callback2;
|
|
|
|
|
let callback3;
|
|
|
|
|
let callback4;
|
|
|
|
|
let callback5;
|
|
|
|
|
let segmentedControlState;
|
|
|
|
|
let obj5;
|
|
|
|
|
({ disableMessage, disableStatus, location: _location, initialSection, scrollPosition } = user);
|
2026-07-23 10:11:24 +00:00
|
|
|
let id3 = channel(displayProfile[15])();
|
2026-07-24 07:16:23 +00:00
|
|
|
const tmp2 = channel(displayProfile[45])(c17);
|
|
|
|
|
const tmp3 = channel(displayProfile[46])({ scrollPosition, bannerHeight: tmp2 });
|
2026-07-20 16:05:17 +00:00
|
|
|
const bannerAnimatedStyle = tmp3.bannerAnimatedStyle;
|
|
|
|
|
({ bannerImageAnimatedStyle, contentAnimatedStyle, blurAnimatedProps, showBlur } = tmp3);
|
2026-07-23 10:11:24 +00:00
|
|
|
let obj = user(displayProfile[22]);
|
2026-07-20 16:05:17 +00:00
|
|
|
const trackUserProfileAction = obj.useUserProfileAnalyticsContext().trackUserProfileAction;
|
2026-07-23 10:11:24 +00:00
|
|
|
let obj1 = user(displayProfile[16]);
|
|
|
|
|
let items = [c10];
|
|
|
|
|
const stateFromStores = obj1.useStateFromStores(items, () => _undefined.getCurrentUser());
|
2026-07-20 16:05:17 +00:00
|
|
|
let id;
|
|
|
|
|
if (null != stateFromStores) {
|
|
|
|
|
id = stateFromStores.id;
|
|
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
c10 = tmp6;
|
|
|
|
|
let obj2 = user(displayProfile[16]);
|
|
|
|
|
let items1 = [stateFromStores];
|
2026-07-20 16:05:17 +00:00
|
|
|
const stateFromStoresObject = obj2.useStateFromStoresObject(items1, () => ({ relationshipType: stateFromStores.getRelationshipType(user.id), originApplicationId: stateFromStores.getOriginApplicationId(user.id) }));
|
|
|
|
|
const relationshipType = stateFromStoresObject.relationshipType;
|
2026-07-24 07:16:23 +00:00
|
|
|
let obj3 = user(displayProfile[48]);
|
2026-07-20 16:05:17 +00:00
|
|
|
const incomingGameRelationshipsForUser = obj3.useIncomingGameRelationshipsForUser(user.id);
|
2026-07-24 07:16:23 +00:00
|
|
|
let obj4 = user(displayProfile[49]);
|
2026-07-20 16:05:17 +00:00
|
|
|
const isGameFriends = obj4.useIsGameFriends(user.id);
|
2026-07-24 07:16:23 +00:00
|
|
|
obj5 = user(displayProfile[50]);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { userId: user.id };
|
2026-07-23 10:11:24 +00:00
|
|
|
userProfileGameFriendApplicationIds = obj5.useUserProfileGameFriendApplicationIds(obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
if (null != displayProfile) {
|
|
|
|
|
const guildId = displayProfile.guildId;
|
|
|
|
|
let tmp10;
|
|
|
|
|
if (null != guildId) {
|
|
|
|
|
tmp10 = guildId;
|
|
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
guild_id = tmp10;
|
2026-07-20 16:05:17 +00:00
|
|
|
} else if (null != channel) {
|
|
|
|
|
guild_id = channel.guild_id;
|
|
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
let obj7 = channel(displayProfile[33]);
|
2026-07-20 16:05:17 +00:00
|
|
|
let id1;
|
|
|
|
|
if (null != channel) {
|
|
|
|
|
id1 = channel.id;
|
|
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
name = obj7.useName(guild_id, id1, user);
|
|
|
|
|
let items2 = [guild_id, user];
|
|
|
|
|
const memo = isPreviewingChanges.useMemo(() => {
|
2026-07-20 16:05:17 +00:00
|
|
|
if (null != guild_id) {
|
|
|
|
|
if (null != user) {
|
|
|
|
|
const obj = {};
|
|
|
|
|
const items = [user.id];
|
|
|
|
|
obj[guild_id] = items;
|
|
|
|
|
}
|
|
|
|
|
return {};
|
|
|
|
|
}
|
|
|
|
|
}, items2);
|
2026-07-24 07:16:23 +00:00
|
|
|
let obj8 = user(displayProfile[51]);
|
2026-07-20 16:05:17 +00:00
|
|
|
const subscribeGuildMembers = obj8.useSubscribeGuildMembers(memo, "UserProfileContent");
|
2026-07-24 07:16:23 +00:00
|
|
|
let tmp15 = channel(displayProfile[52])(user.id);
|
2026-07-23 10:11:24 +00:00
|
|
|
let obj9 = user(displayProfile[16]);
|
|
|
|
|
const items3 = [userProfileGameFriendApplicationIds];
|
2026-07-20 16:05:17 +00:00
|
|
|
const stateFromStoresObject1 = obj9.useStateFromStoresObject(items3, () => userProfileGameFriendApplicationIds.getPendingChanges());
|
|
|
|
|
pendingBio = stateFromStoresObject1.pendingBio;
|
|
|
|
|
({ pendingAccentColor, pendingThemeColors } = stateFromStoresObject1);
|
|
|
|
|
({ pendingBanner, pendingAvatar, pendingAvatarDecoration, pendingGlobalName, pendingPronouns, pendingLegacyUsernameDisabled, pendingDisplayNameStyles } = stateFromStoresObject1);
|
2026-07-24 07:16:23 +00:00
|
|
|
let obj10 = user(displayProfile[53]);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { userId: user.id, image: pendingAvatar };
|
|
|
|
|
const pendingAvatarSrc = obj10.getPendingAvatarSrc(obj);
|
|
|
|
|
obj1 = { user, displayProfile };
|
|
|
|
|
let tmp20;
|
2026-07-23 10:11:24 +00:00
|
|
|
const tmp18 = channel(displayProfile[32])(displayProfile, pendingLegacyUsernameDisabled);
|
2026-07-20 16:05:17 +00:00
|
|
|
if (isPreviewingChanges) {
|
|
|
|
|
tmp20 = pendingThemeColors;
|
|
|
|
|
}
|
|
|
|
|
obj1.pendingThemeColors = tmp20;
|
2026-07-24 07:16:23 +00:00
|
|
|
const tmp19Result = channel(displayProfile[54])(obj1);
|
2026-07-20 16:05:17 +00:00
|
|
|
const primaryColor = tmp19Result.primaryColor;
|
2026-07-23 10:11:24 +00:00
|
|
|
c15 = tmp22;
|
2026-07-20 16:05:17 +00:00
|
|
|
({ theme, secondaryColor } = tmp19Result);
|
2026-07-24 07:16:23 +00:00
|
|
|
let obj13 = user(displayProfile[55]);
|
2026-07-20 16:05:17 +00:00
|
|
|
const userProfileColors = obj13.useUserProfileColors({ theme, primaryColor, secondaryColor });
|
2026-07-23 10:11:24 +00:00
|
|
|
containerBackground = userProfileColors.containerBackground;
|
2026-07-20 16:05:17 +00:00
|
|
|
({ avatarBackground, statusBackground } = userProfileColors);
|
2026-07-24 07:16:23 +00:00
|
|
|
const tmp24 = channel(displayProfile[56])("UserProfileContent");
|
2026-07-23 10:11:24 +00:00
|
|
|
c17 = tmp24;
|
2026-07-24 07:16:23 +00:00
|
|
|
const tmp19 = channel(displayProfile[54]);
|
2026-07-20 16:05:17 +00:00
|
|
|
const ref1 = isPreviewingChanges.useRef(null);
|
2026-07-23 10:11:24 +00:00
|
|
|
let obj14 = user(displayProfile[16]);
|
|
|
|
|
const items4 = [guild_id];
|
|
|
|
|
stateFromStores1 = obj14.useStateFromStores(items4, () => guild_id.getFirstWishlistId(user.id));
|
2026-07-24 07:16:23 +00:00
|
|
|
let obj15 = user(displayProfile[57]);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj2 = { wishlistId: stateFromStores1, userId: user.id };
|
|
|
|
|
const fetchWishlist = obj15.useFetchWishlist(obj2);
|
2026-07-23 10:11:24 +00:00
|
|
|
let obj17 = user(displayProfile[16]);
|
|
|
|
|
const items5 = [id3];
|
2026-07-20 16:05:17 +00:00
|
|
|
const items6 = [stateFromStores1];
|
|
|
|
|
stateFromStores2 = obj17.useStateFromStores(items5, () => {
|
|
|
|
|
let wishlist = null;
|
|
|
|
|
if (null != stateFromStores1) {
|
|
|
|
|
wishlist = id3.getWishlist(stateFromStores1);
|
|
|
|
|
}
|
|
|
|
|
return wishlist;
|
|
|
|
|
}, items6);
|
2026-07-24 07:16:23 +00:00
|
|
|
let obj18 = user(displayProfile[58]);
|
2026-07-20 16:05:17 +00:00
|
|
|
isEligibleForSocialLayerStorefrontMobilePurchasing = obj18.useIsEligibleForSocialLayerStorefrontMobilePurchasing({ location: "user_profile_content" });
|
|
|
|
|
const items7 = [stateFromStores2, id === user.id, isEligibleForSocialLayerStorefrontMobilePurchasing];
|
2026-07-23 10:11:24 +00:00
|
|
|
let tmp31 = tmp6;
|
2026-07-20 16:05:17 +00:00
|
|
|
if (id !== user.id) {
|
|
|
|
|
let tmp32 = null != stateFromStores2;
|
|
|
|
|
if (tmp32) {
|
|
|
|
|
tmp32 = arr10.length > 0;
|
|
|
|
|
}
|
|
|
|
|
tmp31 = tmp32;
|
|
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
c21 = tmp31;
|
2026-07-24 07:16:23 +00:00
|
|
|
let obj19 = user(displayProfile[60]);
|
2026-07-23 10:11:24 +00:00
|
|
|
const tmp33 = obj19.useDisplayableBoardWidgets(user.id).length > 0;
|
|
|
|
|
c22 = tmp33;
|
2026-07-24 07:16:23 +00:00
|
|
|
let obj20 = user(displayProfile[61]);
|
2026-07-20 16:05:17 +00:00
|
|
|
const profileTabIndices = obj20.useProfileTabIndices(tmp33, tmp31);
|
2026-07-23 10:11:24 +00:00
|
|
|
boardTabIndex = profileTabIndices.boardTabIndex;
|
|
|
|
|
wishlistTabIndex = profileTabIndices.wishlistTabIndex;
|
|
|
|
|
const tmp35 = showUserProfileActionSheet(isPreviewingChanges.useState(0), 2);
|
|
|
|
|
closure_25 = tmp35[1];
|
|
|
|
|
const callback = isPreviewingChanges.useCallback((nativeEvent) => {
|
2026-07-20 16:05:17 +00:00
|
|
|
callback(nativeEvent.nativeEvent.layout.width);
|
|
|
|
|
}, []);
|
2026-07-24 07:16:23 +00:00
|
|
|
let obj21 = user(displayProfile[62]);
|
2026-07-20 16:05:17 +00:00
|
|
|
const pageHeights = obj21.usePageHeights();
|
2026-07-23 10:11:24 +00:00
|
|
|
handlePageContentSize = pageHeights.handlePageContentSize;
|
2026-07-24 07:16:23 +00:00
|
|
|
let obj22 = user(displayProfile[63]);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj3 = { isCurrentUser: tmp6, shouldShowWishlistTab: tmp31 };
|
|
|
|
|
const wishlistViewerCoachmark = obj22.useWishlistViewerCoachmark(obj3);
|
|
|
|
|
isVisible = wishlistViewerCoachmark.isVisible;
|
|
|
|
|
markAsDismissed = wishlistViewerCoachmark.markAsDismissed;
|
|
|
|
|
const items8 = [trackUserProfileAction, isVisible, markAsDismissed];
|
2026-07-23 10:11:24 +00:00
|
|
|
const callback1 = isPreviewingChanges.useCallback((section) => {
|
2026-07-20 16:05:17 +00:00
|
|
|
trackUserProfileAction({ action: "PRESS_SECTION", section });
|
|
|
|
|
if (tmp2) {
|
|
|
|
|
markAsDismissed(stateFromStores1.INDIRECT_ACTION);
|
|
|
|
|
}
|
|
|
|
|
}, items8);
|
2026-07-24 07:16:23 +00:00
|
|
|
let obj24 = user(displayProfile[61]);
|
2026-07-20 16:05:17 +00:00
|
|
|
const profileSectionTabs = obj24.useProfileSectionTabs({ initialUserProfileSection: initialSection, wishlistTabIndex, boardTabIndex, onTabChange: callback1 });
|
|
|
|
|
({ activeProfileTabSection, setActiveProfileTabSection } = profileSectionTabs);
|
|
|
|
|
restoreActiveIndex = profileSectionTabs.restoreActiveIndex;
|
2026-07-23 10:11:24 +00:00
|
|
|
c31 = tmp41;
|
|
|
|
|
c32 = tmp42;
|
2026-07-20 16:05:17 +00:00
|
|
|
const items9 = [navigateToPremium];
|
|
|
|
|
({ handleTabChange, activeProfileTabSectionIndex } = profileSectionTabs);
|
2026-07-23 10:11:24 +00:00
|
|
|
callback2 = isPreviewingChanges.useCallback(() => {
|
2026-07-20 16:05:17 +00:00
|
|
|
channel(displayProfile[17]).hideActionSheet();
|
|
|
|
|
if (null != navigateToPremium) {
|
|
|
|
|
navigateToPremium();
|
|
|
|
|
}
|
|
|
|
|
}, items9);
|
|
|
|
|
const items10 = [navigateToShop];
|
2026-07-23 10:11:24 +00:00
|
|
|
callback3 = isPreviewingChanges.useCallback(() => {
|
2026-07-20 16:05:17 +00:00
|
|
|
channel(displayProfile[17]).hideActionSheet();
|
|
|
|
|
if (null != navigateToShop) {
|
|
|
|
|
navigateToShop();
|
|
|
|
|
}
|
|
|
|
|
}, items10);
|
2026-07-23 10:11:24 +00:00
|
|
|
const items11 = [user, stateFromStores, containerBackground, id3, isPreviewingChanges, tmp24, callback2, callback3, null != primaryColor, guild_id, userProfileGameFriendApplicationIds, displayProfile, name, pendingBio, channel, showUserProfileActionSheet];
|
|
|
|
|
callback4 = isPreviewingChanges.useCallback(() => {
|
2026-07-20 16:05:17 +00:00
|
|
|
if (null != user) {
|
|
|
|
|
if (null != stateFromStores) {
|
|
|
|
|
const items = [id3.card, ];
|
|
|
|
|
let obj = { backgroundColor: containerBackground };
|
|
|
|
|
items[1] = obj;
|
|
|
|
|
obj = {};
|
|
|
|
|
const items1 = [, ];
|
|
|
|
|
({ cards: arr3[0], profileContent: arr3[1] } = id3);
|
|
|
|
|
obj.style = items1;
|
|
|
|
|
let _private;
|
|
|
|
|
if (null != displayProfile) {
|
|
|
|
|
_private = displayProfile.private;
|
|
|
|
|
}
|
|
|
|
|
if (_private) {
|
|
|
|
|
obj = { username: name, containerBackground };
|
2026-07-24 07:16:23 +00:00
|
|
|
_private = stateFromStores2(channel(displayProfile[64]), obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
const items2 = [_private, , , , , , , , , , ];
|
|
|
|
|
let isProvisional = user.isProvisional;
|
|
|
|
|
if (isProvisional) {
|
|
|
|
|
const obj1 = { style: items, userId: user.id, iconSize: 16 };
|
2026-07-24 07:16:23 +00:00
|
|
|
isProvisional = stateFromStores2(user(displayProfile[65]).UserProfileProvisionalAccountExplainerCard, obj1);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
items2[1] = isProvisional;
|
|
|
|
|
let tmp15 = user.id === stateFromStores.id;
|
|
|
|
|
if (tmp15) {
|
|
|
|
|
tmp15 = !isPreviewingChanges;
|
|
|
|
|
}
|
|
|
|
|
if (tmp15) {
|
2026-07-23 10:11:24 +00:00
|
|
|
const obj2 = { navigateToPremium: callback2, navigateToShop: callback3, hasCustomProfileTheme: c15 };
|
2026-07-24 07:16:23 +00:00
|
|
|
tmp15 = stateFromStores2(channel(displayProfile[66]), obj2);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
items2[2] = tmp15;
|
|
|
|
|
const obj3 = { user, currentUser: stateFromStores, guildId: guild_id, style: items };
|
2026-07-24 07:16:23 +00:00
|
|
|
items2[3] = stateFromStores2(channel(displayProfile[67]), obj3);
|
2026-07-20 16:05:17 +00:00
|
|
|
let tmp31Result = userProfileGameFriendApplicationIds.length > 0;
|
|
|
|
|
if (tmp31Result) {
|
|
|
|
|
const obj4 = { userId: user.id, applicationIds: userProfileGameFriendApplicationIds };
|
|
|
|
|
let tmp38;
|
2026-07-23 10:11:24 +00:00
|
|
|
if (!c17) {
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp38 = items;
|
|
|
|
|
}
|
|
|
|
|
obj4.style = tmp38;
|
2026-07-24 07:16:23 +00:00
|
|
|
tmp31Result = stateFromStores2(channel(displayProfile[68]), obj4);
|
2026-07-20 16:05:17 +00:00
|
|
|
const tmp31 = stateFromStores2;
|
2026-07-24 07:16:23 +00:00
|
|
|
const tmp34 = channel(displayProfile[68]);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
items2[4] = tmp31Result;
|
|
|
|
|
const obj5 = { userId: user.id, displayProfile };
|
|
|
|
|
let tmp46;
|
|
|
|
|
if (isPreviewingChanges) {
|
|
|
|
|
tmp46 = pendingBio;
|
|
|
|
|
}
|
|
|
|
|
obj5.pendingBio = tmp46;
|
|
|
|
|
let tmp48;
|
2026-07-23 10:11:24 +00:00
|
|
|
if (!c17) {
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp48 = items;
|
|
|
|
|
}
|
|
|
|
|
obj5.style = tmp48;
|
2026-07-24 07:16:23 +00:00
|
|
|
items2[5] = stateFromStores2(channel(displayProfile[69]), obj5);
|
2026-07-20 16:05:17 +00:00
|
|
|
let tmp51Result = null != guild_id;
|
|
|
|
|
if (tmp51Result) {
|
|
|
|
|
const obj6 = { userId: user.id, guildId: guild_id };
|
|
|
|
|
let tmp58;
|
2026-07-23 10:11:24 +00:00
|
|
|
if (!c17) {
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp58 = items;
|
|
|
|
|
}
|
|
|
|
|
obj6.style = tmp58;
|
2026-07-24 07:16:23 +00:00
|
|
|
tmp51Result = stateFromStores2(channel(displayProfile[70]), obj6);
|
2026-07-20 16:05:17 +00:00
|
|
|
const tmp51 = stateFromStores2;
|
2026-07-24 07:16:23 +00:00
|
|
|
const tmp54 = channel(displayProfile[70]);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
items2[6] = tmp51Result;
|
2026-07-23 10:11:24 +00:00
|
|
|
guild_id = undefined;
|
2026-07-20 16:05:17 +00:00
|
|
|
if (null != channel) {
|
|
|
|
|
guild_id = channel.guild_id;
|
|
|
|
|
}
|
|
|
|
|
let tmp63Result = null != guild_id;
|
|
|
|
|
if (tmp63Result) {
|
|
|
|
|
const obj7 = { user, currentUser: stateFromStores };
|
|
|
|
|
({ guild_id: obj8.guildId, id: obj8.channelId } = channel);
|
|
|
|
|
obj7.showUserProfile = showUserProfileActionSheet;
|
|
|
|
|
let tmp72;
|
2026-07-23 10:11:24 +00:00
|
|
|
if (!c17) {
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp72 = items;
|
|
|
|
|
}
|
|
|
|
|
obj7.style = tmp72;
|
2026-07-24 07:16:23 +00:00
|
|
|
tmp63Result = stateFromStores2(channel(displayProfile[71]), obj7);
|
2026-07-20 16:05:17 +00:00
|
|
|
const tmp63 = stateFromStores2;
|
2026-07-24 07:16:23 +00:00
|
|
|
const tmp66 = channel(displayProfile[71]);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
items2[7] = tmp63Result;
|
|
|
|
|
const obj8 = { userId: user.id };
|
|
|
|
|
let tmp78;
|
2026-07-23 10:11:24 +00:00
|
|
|
if (!c17) {
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp78 = items;
|
|
|
|
|
}
|
|
|
|
|
obj8.style = tmp78;
|
2026-07-24 07:16:23 +00:00
|
|
|
items2[8] = stateFromStores2(user(displayProfile[72]).UserProfileAccountConnectionsCard, obj8);
|
2026-07-20 16:05:17 +00:00
|
|
|
const obj9 = { userId: user.id };
|
|
|
|
|
let tmp84;
|
2026-07-23 10:11:24 +00:00
|
|
|
if (!c17) {
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp84 = items;
|
|
|
|
|
}
|
|
|
|
|
obj9.style = tmp84;
|
2026-07-24 07:16:23 +00:00
|
|
|
items2[9] = stateFromStores2(user(displayProfile[72]).UserProfileApplicationRoleConnectionsCard, obj9);
|
2026-07-20 16:05:17 +00:00
|
|
|
let tmp87Result = !isPreviewingChanges;
|
|
|
|
|
if (tmp87Result) {
|
|
|
|
|
const obj10 = { userId: user.id };
|
|
|
|
|
let tmp93;
|
2026-07-23 10:11:24 +00:00
|
|
|
if (!c17) {
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp93 = items;
|
|
|
|
|
}
|
|
|
|
|
obj10.style = tmp93;
|
|
|
|
|
obj10.onBack = showUserProfileActionSheet;
|
2026-07-24 07:16:23 +00:00
|
|
|
tmp87Result = stateFromStores2(channel(displayProfile[73]), obj10);
|
2026-07-20 16:05:17 +00:00
|
|
|
const tmp87 = stateFromStores2;
|
2026-07-24 07:16:23 +00:00
|
|
|
const tmp90 = channel(displayProfile[73]);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
items2[10] = tmp87Result;
|
|
|
|
|
obj.children = items2;
|
|
|
|
|
return isEligibleForSocialLayerStorefrontMobilePurchasing(navigateToShop, obj);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return null;
|
|
|
|
|
}, items11);
|
2026-07-23 10:11:24 +00:00
|
|
|
const items12 = [id3.profileContent, stateFromStores1, activeProfileTabSection === name.WISHLIST, user.id, id === user.id];
|
|
|
|
|
callback5 = isPreviewingChanges.useCallback(() => {
|
2026-07-20 16:05:17 +00:00
|
|
|
let obj = { style: id3.profileContent };
|
|
|
|
|
if (null == stateFromStores1) {
|
2026-07-24 07:16:23 +00:00
|
|
|
let tmp9 = stateFromStores2(user(displayProfile[74]).WishlistEmptyState, {});
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-07-23 10:11:24 +00:00
|
|
|
obj = { wishlistId: stateFromStores1, maxWidth: c17, isVisible: c31 };
|
2026-07-24 07:16:23 +00:00
|
|
|
tmp9 = stateFromStores2(channel(displayProfile[74]), obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
const items = [tmp9, ];
|
2026-07-23 10:11:24 +00:00
|
|
|
let tmp13 = c10;
|
|
|
|
|
if (c10) {
|
|
|
|
|
obj = { userId: user.id, wishlistId: stateFromStores1, maxWidth: c17 };
|
2026-07-24 07:16:23 +00:00
|
|
|
tmp13 = stateFromStores2(channel(displayProfile[75]), obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
items[1] = tmp13;
|
|
|
|
|
obj.children = items;
|
|
|
|
|
return isEligibleForSocialLayerStorefrontMobilePurchasing(navigateToShop, obj);
|
|
|
|
|
}, items12);
|
2026-07-24 07:16:23 +00:00
|
|
|
const items13 = [handlePageContentSize, callback4, callback5, tmp33, tmp31, boardTabIndex, wishlistTabIndex, user.id, activeProfileTabSection === name.WIDGETS, id === user.id, containerBackground];
|
2026-07-23 10:11:24 +00:00
|
|
|
const memo1 = isPreviewingChanges.useMemo(() => {
|
2026-07-20 16:05:17 +00:00
|
|
|
let obj = { id: "main" };
|
|
|
|
|
const intl = user(displayProfile[28]).intl;
|
|
|
|
|
obj.label = intl.string(user(displayProfile[28]).t.LXw470);
|
|
|
|
|
obj = {
|
|
|
|
|
scrollEnabled: false,
|
|
|
|
|
onContentSizeChange(arg0, arg1) {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_26(0, arg0, arg1);
|
2026-07-20 16:05:17 +00:00
|
|
|
},
|
|
|
|
|
children: callback4()
|
|
|
|
|
};
|
|
|
|
|
obj.page = stateFromStores2(navigateToPremium, obj);
|
|
|
|
|
const items = [obj];
|
2026-07-23 10:11:24 +00:00
|
|
|
if (c22) {
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { id: "board" };
|
|
|
|
|
const intl2 = user(displayProfile[28]).intl;
|
|
|
|
|
obj.label = intl2.string(user(displayProfile[28]).t.laViwx);
|
|
|
|
|
const obj1 = {
|
|
|
|
|
scrollEnabled: false,
|
|
|
|
|
onContentSizeChange(arg0, arg1) {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_26(outer1_23, arg0, arg1);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
2026-07-24 07:16:23 +00:00
|
|
|
const obj2 = { userId: user.id, isVisible: c32, isCurrentUser: c10, containerBackground };
|
2026-07-23 10:11:24 +00:00
|
|
|
obj1.children = stateFromStores2(isVisible, obj2);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj.page = stateFromStores2(navigateToPremium, obj1, boardTabIndex);
|
|
|
|
|
items.push(obj);
|
|
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
if (c21) {
|
2026-07-20 16:05:17 +00:00
|
|
|
const obj3 = { id: "wishlist" };
|
|
|
|
|
const intl3 = user(displayProfile[28]).intl;
|
2026-07-23 10:11:24 +00:00
|
|
|
obj3.label = intl3.string(user(displayProfile[28]).t["7lZ31J"]);
|
2026-07-20 16:05:17 +00:00
|
|
|
const obj4 = {
|
|
|
|
|
scrollEnabled: false,
|
|
|
|
|
onContentSizeChange(arg0, arg1) {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_26(outer1_24, arg0, arg1);
|
2026-07-20 16:05:17 +00:00
|
|
|
},
|
|
|
|
|
children: callback5()
|
|
|
|
|
};
|
|
|
|
|
obj3.page = stateFromStores2(navigateToPremium, obj4, wishlistTabIndex);
|
|
|
|
|
items.push(obj3);
|
|
|
|
|
}
|
|
|
|
|
return items;
|
|
|
|
|
}, items13);
|
2026-07-24 07:16:23 +00:00
|
|
|
let obj25 = user(displayProfile[76]);
|
2026-07-23 10:11:24 +00:00
|
|
|
obj4 = { pageWidth: tmp35[0], defaultIndex: activeProfileTabSectionIndex, itemSpacing: channel(displayProfile[41]).space.PX_24, items: memo1, onPageChange: handleTabChange };
|
2026-07-20 16:05:17 +00:00
|
|
|
segmentedControlState = obj25.useSegmentedControlState(obj4);
|
2026-07-24 07:16:23 +00:00
|
|
|
let obj27 = user(displayProfile[62]);
|
2026-07-20 16:05:17 +00:00
|
|
|
const pagerFillHeight = obj27.usePagerFillHeight();
|
|
|
|
|
const items14 = [segmentedControlState, restoreActiveIndex];
|
|
|
|
|
({ pagerRef, fillHeight, measureFill } = pagerFillHeight);
|
2026-07-23 10:11:24 +00:00
|
|
|
const layoutEffect = isPreviewingChanges.useLayoutEffect(() => {
|
2026-07-20 16:05:17 +00:00
|
|
|
restoreActiveIndex(segmentedControlState);
|
|
|
|
|
}, items14);
|
2026-07-24 07:16:23 +00:00
|
|
|
let obj28 = user(displayProfile[62]);
|
2026-07-20 16:05:17 +00:00
|
|
|
const items15 = [segmentedControlState, wishlistTabIndex, markAsDismissed, setActiveProfileTabSection];
|
|
|
|
|
const pagesHeightStyle = obj28.usePagesHeightStyle(segmentedControlState, pageHeights.pageHeights, fillHeight);
|
|
|
|
|
if (null != user) {
|
|
|
|
|
if (null != stateFromStores) {
|
|
|
|
|
obj5 = { backgroundColor: containerBackground };
|
|
|
|
|
if (isPreviewingChanges) {
|
2026-07-24 07:16:23 +00:00
|
|
|
let OpenableUserProfileAvatar = channel(displayProfile[77]);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-07-24 07:16:23 +00:00
|
|
|
OpenableUserProfileAvatar = user(displayProfile[77]).OpenableUserProfileAvatar;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
let obj6 = {};
|
2026-07-20 16:05:17 +00:00
|
|
|
obj7 = { user, displayProfile, bannerHeight: tmp2 };
|
|
|
|
|
let tmp62;
|
|
|
|
|
if (isPreviewingChanges) {
|
|
|
|
|
tmp62 = pendingBanner;
|
|
|
|
|
}
|
|
|
|
|
obj7.pendingBanner = tmp62;
|
|
|
|
|
let tmp63;
|
|
|
|
|
if (isPreviewingChanges) {
|
|
|
|
|
tmp63 = pendingAvatarSrc;
|
|
|
|
|
}
|
|
|
|
|
obj7.pendingAvatarSrc = tmp63;
|
|
|
|
|
let tmp64;
|
|
|
|
|
if (isPreviewingChanges) {
|
|
|
|
|
if (null != pendingAccentColor) {
|
|
|
|
|
tmp64 = pendingAccentColor;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
obj7.pendingAccentColor = tmp64;
|
|
|
|
|
let tmp65;
|
|
|
|
|
if (isPreviewingChanges) {
|
|
|
|
|
if (null != pendingThemeColors) {
|
|
|
|
|
tmp65 = pendingThemeColors;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
obj7.pendingThemeColors = tmp65;
|
|
|
|
|
obj7.disableInteraction = isPreviewingChanges;
|
|
|
|
|
obj7.bannerAnimatedStyle = bannerAnimatedStyle;
|
|
|
|
|
obj7.bannerImageAnimatedStyle = bannerImageAnimatedStyle;
|
|
|
|
|
obj7.blurAnimatedProps = blurAnimatedProps;
|
|
|
|
|
obj7.showBlur = showBlur;
|
|
|
|
|
let _private;
|
|
|
|
|
if (null != displayProfile) {
|
|
|
|
|
_private = displayProfile.private;
|
|
|
|
|
}
|
|
|
|
|
let tmp67;
|
|
|
|
|
if (true === _private) {
|
|
|
|
|
obj8 = { primaryColor };
|
2026-07-24 07:16:23 +00:00
|
|
|
tmp67 = stateFromStores2(channel(displayProfile[79]), obj8);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
obj7.privateBanner = tmp67;
|
2026-07-24 07:16:23 +00:00
|
|
|
const items16 = [stateFromStores2(channel(displayProfile[78]), obj7), , ];
|
2026-07-20 16:05:17 +00:00
|
|
|
let tmp72Result = !isPreviewingChanges;
|
|
|
|
|
if (tmp72Result) {
|
|
|
|
|
obj9 = {};
|
|
|
|
|
const items17 = [id3.bannerButtons, , ];
|
|
|
|
|
let _private1;
|
|
|
|
|
if (null != displayProfile) {
|
|
|
|
|
_private1 = displayProfile.private;
|
|
|
|
|
}
|
|
|
|
|
if (_private1) {
|
|
|
|
|
_private1 = id3.bannerButtonsWithPrivateBanner;
|
|
|
|
|
}
|
|
|
|
|
items17[1] = _private1;
|
|
|
|
|
items17[2] = bannerAnimatedStyle;
|
|
|
|
|
obj9.style = items17;
|
|
|
|
|
let tmp76 = null;
|
|
|
|
|
if (null != stateFromStores) {
|
|
|
|
|
tmp76 = null;
|
|
|
|
|
if (user.id !== stateFromStores.id) {
|
|
|
|
|
tmp76 = null;
|
|
|
|
|
if (!user.bot) {
|
2026-07-23 10:11:24 +00:00
|
|
|
if (relationshipType === containerBackground.FRIEND) {
|
2026-07-20 16:05:17 +00:00
|
|
|
obj10 = { user };
|
2026-07-23 10:11:24 +00:00
|
|
|
let tmp78 = stateFromStores2(boardTabIndex, obj10);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
|
|
|
|
tmp78 = null;
|
|
|
|
|
if (isGameFriends) {
|
|
|
|
|
const obj11 = { user };
|
2026-07-23 10:11:24 +00:00
|
|
|
tmp78 = stateFromStores2(wishlistTabIndex, obj11);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
const items18 = [tmp76, ];
|
|
|
|
|
const obj12 = { user, currentUser: stateFromStores, displayProfile, channel };
|
2026-07-24 07:16:23 +00:00
|
|
|
items18[1] = stateFromStores2(channel(displayProfile[81]), obj12);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj9.children = items18;
|
2026-07-24 07:16:23 +00:00
|
|
|
tmp72Result = isEligibleForSocialLayerStorefrontMobilePurchasing(channel(displayProfile[80]).View, obj9);
|
2026-07-23 10:11:24 +00:00
|
|
|
let tmp72 = isEligibleForSocialLayerStorefrontMobilePurchasing;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
items16[1] = tmp72Result;
|
|
|
|
|
obj13 = { style: contentAnimatedStyle };
|
|
|
|
|
obj14 = { user, guildId: guild_id, disableStatus };
|
|
|
|
|
let tmp91;
|
|
|
|
|
if (isPreviewingChanges) {
|
|
|
|
|
tmp91 = pendingAvatarSrc;
|
|
|
|
|
}
|
|
|
|
|
obj14.pendingAvatarSrc = tmp91;
|
|
|
|
|
let tmp92;
|
|
|
|
|
if (isPreviewingChanges) {
|
|
|
|
|
tmp92 = pendingAvatarDecoration;
|
|
|
|
|
}
|
|
|
|
|
obj14.pendingAvatarDecoration = tmp92;
|
|
|
|
|
obj14.backgroundColor = avatarBackground;
|
|
|
|
|
obj15 = { backgroundColor: statusBackground };
|
|
|
|
|
obj14.statusStyle = obj15;
|
|
|
|
|
const items19 = [stateFromStores2(OpenableUserProfileAvatar, obj14), ];
|
|
|
|
|
const obj16 = {};
|
|
|
|
|
const items20 = [id3.profileContentWrapper, ];
|
|
|
|
|
obj17 = {};
|
|
|
|
|
if (!tmp6) {
|
|
|
|
|
let num9 = 0;
|
|
|
|
|
if (null == tmp15) {
|
2026-07-23 10:11:24 +00:00
|
|
|
num9 = c15;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
num9 = 0;
|
|
|
|
|
}
|
|
|
|
|
obj17.paddingTop = num9;
|
2026-07-24 07:16:23 +00:00
|
|
|
obj17.paddingBottom = channel(displayProfile[47])().bottom + pendingBio;
|
2026-07-20 16:05:17 +00:00
|
|
|
items20[1] = obj17;
|
|
|
|
|
obj16.style = items20;
|
|
|
|
|
obj18 = { customStatusActivity: tmp15, user, guildId: guild_id };
|
|
|
|
|
let id2;
|
|
|
|
|
if (null != channel) {
|
|
|
|
|
id2 = channel.id;
|
|
|
|
|
}
|
|
|
|
|
obj18.channelId = id2;
|
|
|
|
|
obj18.hasCustomProfileTheme = tmp22;
|
|
|
|
|
obj18.showUserProfileActionSheet = showUserProfileActionSheet;
|
|
|
|
|
obj18.isPreviewingChanges = isPreviewingChanges;
|
|
|
|
|
obj18.bubbleRef = ref;
|
2026-07-23 10:11:24 +00:00
|
|
|
const items21 = [stateFromStores2(c22, obj18), , ];
|
2026-07-20 16:05:17 +00:00
|
|
|
let id3Result = null;
|
|
|
|
|
if (null != stateFromStores) {
|
|
|
|
|
obj19 = {};
|
|
|
|
|
const items22 = [, ];
|
2026-07-23 10:11:24 +00:00
|
|
|
({ primaryInfo: arr26[0], profileContent: arr26[1] } = id3);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj19.style = items22;
|
|
|
|
|
obj20 = { user };
|
|
|
|
|
id3 = undefined;
|
|
|
|
|
id3 = isEligibleForSocialLayerStorefrontMobilePurchasing;
|
|
|
|
|
id3 = navigateToShop;
|
|
|
|
|
id3 = stateFromStores2;
|
2026-07-23 10:11:24 +00:00
|
|
|
id3 = closure_25;
|
2026-07-20 16:05:17 +00:00
|
|
|
if (null != channel) {
|
|
|
|
|
id3 = channel.id;
|
|
|
|
|
}
|
|
|
|
|
obj20.channelId = id3;
|
|
|
|
|
obj20.displayProfile = displayProfile;
|
|
|
|
|
id3 = undefined;
|
|
|
|
|
if (isPreviewingChanges) {
|
|
|
|
|
id3 = pendingGlobalName;
|
|
|
|
|
}
|
|
|
|
|
obj20.displayNameOverride = id3;
|
|
|
|
|
id3 = undefined;
|
|
|
|
|
if (isPreviewingChanges) {
|
|
|
|
|
id3 = pendingPronouns;
|
|
|
|
|
}
|
|
|
|
|
obj20.pronounsOverride = id3;
|
|
|
|
|
id3 = undefined;
|
|
|
|
|
if (isPreviewingChanges) {
|
|
|
|
|
id3 = tmp18;
|
|
|
|
|
}
|
|
|
|
|
obj20.badgesOverride = id3;
|
|
|
|
|
id3 = undefined;
|
|
|
|
|
if (isPreviewingChanges) {
|
|
|
|
|
id3 = pendingDisplayNameStyles;
|
|
|
|
|
}
|
|
|
|
|
obj20.pendingDisplayNameStyles = id3;
|
|
|
|
|
obj20.badgeContainerBackground = containerBackground;
|
|
|
|
|
obj20.isPreviewingChanges = isPreviewingChanges;
|
|
|
|
|
const items23 = [id3(id3, obj20), , , , , , ];
|
|
|
|
|
id3 = user.id !== stateFromStores.id;
|
|
|
|
|
if (id3) {
|
|
|
|
|
id3 = stateFromStores2;
|
2026-07-23 10:11:24 +00:00
|
|
|
id3 = channel;
|
|
|
|
|
id3 = displayProfile;
|
2026-07-20 16:05:17 +00:00
|
|
|
obj21 = { user, guildId: guild_id };
|
2026-07-24 07:16:23 +00:00
|
|
|
id3 = stateFromStores2(channel(displayProfile[82]), obj21);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
items23[1] = id3;
|
2026-07-23 10:11:24 +00:00
|
|
|
id3 = containerBackground;
|
|
|
|
|
id3 = relationshipType === containerBackground.PENDING_INCOMING;
|
2026-07-20 16:05:17 +00:00
|
|
|
if (id3) {
|
2026-07-23 10:11:24 +00:00
|
|
|
id3 = channel;
|
|
|
|
|
id3 = displayProfile;
|
2026-07-20 16:05:17 +00:00
|
|
|
id3 = stateFromStores2;
|
|
|
|
|
obj22 = { user };
|
|
|
|
|
id3 = undefined;
|
2026-07-24 07:16:23 +00:00
|
|
|
id3 = channel(displayProfile[83]);
|
2026-07-20 16:05:17 +00:00
|
|
|
if (null != channel) {
|
|
|
|
|
id3 = channel.id;
|
|
|
|
|
}
|
|
|
|
|
obj22.channelId = id3;
|
|
|
|
|
obj22.guildId = guild_id;
|
|
|
|
|
obj22.applicationId = stateFromStoresObject.originApplicationId;
|
|
|
|
|
obj22.style = obj5;
|
|
|
|
|
obj22.showUserProfile = showUserProfileActionSheet;
|
|
|
|
|
id3 = id3(id3, obj22);
|
|
|
|
|
}
|
|
|
|
|
items23[2] = id3;
|
|
|
|
|
items23[3] = incomingGameRelationshipsForUser.map((applicationId) => {
|
|
|
|
|
const obj = { user, isGameRelationship: true, applicationId: applicationId.applicationId };
|
|
|
|
|
let id;
|
|
|
|
|
if (null != channel) {
|
|
|
|
|
id = channel.id;
|
|
|
|
|
}
|
|
|
|
|
obj.channelId = id;
|
|
|
|
|
obj.guildId = guild_id;
|
|
|
|
|
obj.style = obj5;
|
|
|
|
|
obj.showUserProfile = showUserProfileActionSheet;
|
2026-07-24 07:16:23 +00:00
|
|
|
return stateFromStores2(channel(displayProfile[83]), obj, applicationId.applicationId);
|
2026-07-20 16:05:17 +00:00
|
|
|
});
|
|
|
|
|
id3 = stateFromStores2;
|
2026-07-23 10:11:24 +00:00
|
|
|
id3 = channel;
|
|
|
|
|
id3 = displayProfile;
|
2026-07-20 16:05:17 +00:00
|
|
|
const obj23 = { user, style: obj5 };
|
2026-07-24 07:16:23 +00:00
|
|
|
items23[4] = stateFromStores2(channel(displayProfile[84]), obj23);
|
2026-07-20 16:05:17 +00:00
|
|
|
id3 = user.id === stateFromStores.id && !isPreviewingChanges;
|
|
|
|
|
if (id3) {
|
|
|
|
|
id3 = stateFromStores2;
|
2026-07-23 10:11:24 +00:00
|
|
|
id3 = handlePageContentSize;
|
2026-07-20 16:05:17 +00:00
|
|
|
obj24 = { guildId: guild_id };
|
2026-07-23 10:11:24 +00:00
|
|
|
id3 = stateFromStores2(handlePageContentSize, obj24);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
items23[5] = id3;
|
|
|
|
|
id3 = user.id !== stateFromStores.id;
|
|
|
|
|
if (id3) {
|
2026-07-23 10:11:24 +00:00
|
|
|
id3 = channel;
|
|
|
|
|
id3 = displayProfile;
|
2026-07-20 16:05:17 +00:00
|
|
|
id3 = stateFromStores2;
|
|
|
|
|
obj25 = { user };
|
2026-07-24 07:16:23 +00:00
|
|
|
id3 = channel(displayProfile[85]);
|
2026-07-20 16:05:17 +00:00
|
|
|
if (!disableCalls) {
|
2026-07-23 10:11:24 +00:00
|
|
|
id3 = containerBackground;
|
|
|
|
|
disableCalls = relationshipType === containerBackground.BLOCKED;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
if (!disableCalls) {
|
|
|
|
|
disableCalls = user.isProvisional;
|
|
|
|
|
}
|
|
|
|
|
obj25.disableCalls = disableCalls;
|
|
|
|
|
obj25.disableMessage = disableMessage;
|
|
|
|
|
obj25.location = _location;
|
|
|
|
|
obj25.hasCustomProfileTheme = tmp22;
|
|
|
|
|
obj25.style = id3.primaryButtons;
|
|
|
|
|
id3 = id3(id3, obj25);
|
|
|
|
|
}
|
|
|
|
|
items23[6] = id3;
|
|
|
|
|
obj19.children = items23;
|
|
|
|
|
id3Result = id3(id3, obj19);
|
|
|
|
|
}
|
|
|
|
|
items21[1] = id3Result;
|
|
|
|
|
if (!tmp31) {
|
|
|
|
|
if (!tmp33) {
|
|
|
|
|
id3 = callback4();
|
|
|
|
|
}
|
|
|
|
|
items21[2] = id3;
|
|
|
|
|
obj16.children = items21;
|
|
|
|
|
items19[1] = tmp93(tmp94, obj16);
|
|
|
|
|
obj13.children = items19;
|
2026-07-24 07:16:23 +00:00
|
|
|
items16[2] = tmp87(channel(displayProfile[80]).View, obj13);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj6.children = items16;
|
|
|
|
|
return tmp56(tmp57, obj6);
|
|
|
|
|
}
|
|
|
|
|
const obj26 = { onLayout: callback };
|
2026-07-23 10:11:24 +00:00
|
|
|
id3 = user;
|
|
|
|
|
id3 = displayProfile;
|
2026-07-20 16:05:17 +00:00
|
|
|
id3 = stateFromStores2;
|
|
|
|
|
id3 = navigateToShop;
|
2026-07-24 07:16:23 +00:00
|
|
|
id3 = isEligibleForSocialLayerStorefrontMobilePurchasing;
|
2026-07-20 16:05:17 +00:00
|
|
|
obj27 = {};
|
|
|
|
|
obj28 = { style: id3.profileTablist };
|
2026-07-24 07:16:23 +00:00
|
|
|
id3 = isEligibleForSocialLayerStorefrontMobilePurchasing;
|
2026-07-20 16:05:17 +00:00
|
|
|
id3 = navigateToShop;
|
|
|
|
|
id3 = stateFromStores2;
|
|
|
|
|
const obj29 = { state: segmentedControlState };
|
|
|
|
|
let str;
|
|
|
|
|
if (tmp22) {
|
|
|
|
|
str = "gradient-background";
|
|
|
|
|
}
|
|
|
|
|
obj29.variant = str;
|
2026-07-24 07:16:23 +00:00
|
|
|
const items24 = [id3(user(displayProfile[87]).Tabs, obj29), ];
|
2026-07-20 16:05:17 +00:00
|
|
|
id3 = stateFromStores2;
|
|
|
|
|
id3 = navigateToShop;
|
|
|
|
|
const obj30 = { ref: ref1 };
|
2026-07-23 10:11:24 +00:00
|
|
|
const obj31 = { position: "absolute", left: null, top: 0, right: 0, bottom: 0 };
|
2026-07-20 16:05:17 +00:00
|
|
|
id3 = globalThis;
|
|
|
|
|
const _Math = Math;
|
2026-07-23 10:11:24 +00:00
|
|
|
obj31.left = `${Math.max(wishlistTabIndex, 0) / arr17.length * 100}%`;
|
2026-07-20 16:05:17 +00:00
|
|
|
obj30.style = obj31;
|
|
|
|
|
obj30.collapsable = false;
|
|
|
|
|
obj30.pointerEvents = "box-none";
|
|
|
|
|
items24[1] = stateFromStores2(navigateToShop, obj30);
|
|
|
|
|
obj28.children = items24;
|
|
|
|
|
const items25 = [id3(id3, obj28), , ];
|
|
|
|
|
id3 = stateFromStores2;
|
2026-07-23 10:11:24 +00:00
|
|
|
id3 = channel;
|
|
|
|
|
id3 = displayProfile;
|
2026-07-20 16:05:17 +00:00
|
|
|
const obj32 = { ref: pagerRef, onLayout: measureFill, style: pagesHeightStyle };
|
|
|
|
|
id3 = stateFromStores2;
|
2026-07-23 10:11:24 +00:00
|
|
|
id3 = user;
|
2026-07-20 16:05:17 +00:00
|
|
|
const obj33 = { state: segmentedControlState };
|
2026-07-24 07:16:23 +00:00
|
|
|
obj32.children = stateFromStores2(user(displayProfile[88]).SegmentedControlPages, obj33);
|
|
|
|
|
items25[1] = stateFromStores2(channel(displayProfile[80]).View, obj32);
|
2026-07-20 16:05:17 +00:00
|
|
|
id3 = stateFromStores2;
|
|
|
|
|
const obj34 = { anchorRef: ref1, isVisible, markAsDismissed, onViewWishlist: tmp51 };
|
2026-07-24 07:16:23 +00:00
|
|
|
items25[2] = stateFromStores2(channel(displayProfile[89]), obj34);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj27.children = items25;
|
2026-07-24 07:16:23 +00:00
|
|
|
obj26.children = id3(user(displayProfile[86]).LayerScope, obj27);
|
2026-07-20 16:05:17 +00:00
|
|
|
id3 = id3(id3, obj26);
|
2026-07-23 10:11:24 +00:00
|
|
|
tmp56 = isEligibleForSocialLayerStorefrontMobilePurchasing;
|
|
|
|
|
tmp57 = c21;
|
|
|
|
|
let tmp58 = stateFromStores2;
|
2026-07-24 07:16:23 +00:00
|
|
|
const tmp61 = channel(displayProfile[78]);
|
2026-07-23 10:11:24 +00:00
|
|
|
tmp87 = isEligibleForSocialLayerStorefrontMobilePurchasing;
|
|
|
|
|
let tmp90 = stateFromStores2;
|
|
|
|
|
tmp93 = isEligibleForSocialLayerStorefrontMobilePurchasing;
|
|
|
|
|
tmp94 = navigateToShop;
|
2026-07-20 16:05:17 +00:00
|
|
|
const tmp96 = stateFromStores2;
|
2026-07-23 10:11:24 +00:00
|
|
|
const tmp97 = c22;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return null;
|
|
|
|
|
});
|
2026-07-23 10:11:24 +00:00
|
|
|
let result = require("get ActivityIndicator").fileFinishedImporting("modules/user_profile/native/UserProfileContent.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default memoResult;
|
|
|
|
|
export { PrimaryInfo };
|