2026-09-15 14:23:42 +00:00
|
|
|
// Module ID: 9150
|
|
|
|
|
// Function ID: 9151
|
2026-07-23 10:11:24 +00:00
|
|
|
// Name: UserProfileApplicationWidgetBottomStatsLayout
|
2026-09-15 14:23:42 +00:00
|
|
|
// Dependencies: [19, 17, 21, 4639, 576, 9058, 9145, 4635, 9146, 2]
|
2026-07-23 10:11:24 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-15 14:23:42 +00:00
|
|
|
// Module 9150 (UserProfileApplicationWidgetBottomStatsLayout)
|
2026-09-10 05:38:07 +00:00
|
|
|
import nativeDefault from "native" /* 576 */;
|
2026-09-15 14:23:42 +00:00
|
|
|
import resolvedValuesFromUserApplicationIdentityProfile from "resolvedValuesFromUserApplicationIdentityProfile" /* 9058 */;
|
|
|
|
|
import UserProfileApplicationWidgetFieldUtils from "UserProfileApplicationWidgetFieldUtils" /* 9145 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import noop from "module_19" /* 19 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
require = fn;
|
|
|
|
|
const View = fn(17).View;
|
|
|
|
|
const jsxProd = fn(21);
|
|
|
|
|
({ jsx: c3, jsxs: closure_4 } = jsxProd);
|
2026-09-15 14:23:42 +00:00
|
|
|
const createStyles = fn(4639);
|
2026-09-10 05:38:07 +00:00
|
|
|
let obj2 = { statsGrid: { flexDirection: "row", flexWrap: "wrap", rowGap: nativeDefault.space.PX_16, columnGap: nativeDefault.space.PX_12 }, stat: null };
|
|
|
|
|
let obj3 = { flexDirection: "row", flexWrap: "wrap", rowGap: nativeDefault.space.PX_16, columnGap: nativeDefault.space.PX_12 };
|
|
|
|
|
obj2.stat = { width: "47%", gap: nativeDefault.space.PX_4 };
|
|
|
|
|
let closure_5 = createStyles.createStyles(obj2);
|
|
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/application_widget/native/UserProfileApplicationWidgetBottomStatsLayout.tsx");
|
2026-07-23 10:11:24 +00:00
|
|
|
|
|
|
|
|
export default function UserProfileApplicationWidgetBottomStatsLayout(arg0) {
|
|
|
|
|
({ bottomConfig: require, resolveFieldValue: dependencyMap, numberFormat: View } = arg0);
|
2026-09-10 05:38:07 +00:00
|
|
|
const tmp = closure_5();
|
|
|
|
|
const stat = tmp;
|
2026-07-23 10:11:24 +00:00
|
|
|
let items = [1, 2, 3, 4, 5, 6];
|
2026-09-10 05:38:07 +00:00
|
|
|
const mapped = items.map((item) => resolvedValuesFromUserApplicationIdentityProfile.resolveStatComponentValues(components.components["stat_" + item], dependencyMap, View, UserProfileApplicationWidgetFieldUtils.formatDurationNarrow, true));
|
|
|
|
|
return stat(View, {
|
2026-07-23 10:11:24 +00:00
|
|
|
style: tmp.statsGrid,
|
2026-09-10 05:38:07 +00:00
|
|
|
children: mapped.map((item, index) => {
|
|
|
|
|
let iter = item;
|
|
|
|
|
if (null == item) {
|
2026-07-23 10:11:24 +00:00
|
|
|
return tmp;
|
|
|
|
|
} else {
|
2026-09-10 05:38:07 +00:00
|
|
|
const obj = { style: stat.stat, children: null };
|
|
|
|
|
let Text = require;
|
|
|
|
|
const obj2 = { field: iter.value, variant: "text-sm/medium", color: "text-default", skeletonWidthChars: 8 };
|
|
|
|
|
const items = [React3(UserProfileApplicationWidgetFieldUtils.FieldText, obj2), ];
|
2026-07-23 10:11:24 +00:00
|
|
|
if ("value" === iter.label.status) {
|
2026-09-15 14:23:42 +00:00
|
|
|
Text = Text(4635).Text;
|
2026-09-10 05:38:07 +00:00
|
|
|
const obj3 = { variant: "text-xs/normal", color: "text-muted", children: null };
|
2026-07-23 10:11:24 +00:00
|
|
|
iter = iter.label.text;
|
2026-09-10 05:38:07 +00:00
|
|
|
obj3.children = iter;
|
|
|
|
|
let tmp5Result = tmp5(Text, obj3);
|
2026-07-23 10:11:24 +00:00
|
|
|
} else {
|
2026-07-29 08:29:29 +00:00
|
|
|
tmp5Result = null;
|
2026-07-23 10:11:24 +00:00
|
|
|
if ("skeleton" === iter.label.status) {
|
2026-09-15 14:23:42 +00:00
|
|
|
tmp5Result = tmp5(Text(9146).TextSkeleton, { variant: "text-xs/normal", widthChars: 6 });
|
2026-07-23 10:11:24 +00:00
|
|
|
}
|
|
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
items[1] = tmp5Result;
|
2026-09-10 05:38:07 +00:00
|
|
|
obj.children = items;
|
|
|
|
|
React4(View, obj, index);
|
2026-07-23 10:11:24 +00:00
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
};
|