// Module ID: 8940 // Function ID: 8941 // Name: ProfileEffectSampleV2 // Dependencies: [17, 8939, 21, 4638, 576, 5673, 8941, 8942, 2] // Exports: default // Module 8940 (ProfileEffectSampleV2) import _mod17 from "module_17" /* 17 */; import nativeDefault from "native" /* 576 */; import FastImageDefault from "FastImage" /* 5673 */; import CollectiblesPreviewConstants from "CollectiblesPreviewConstants" /* 8939 */; import _modDef8941 from "module_8941" /* 8941 */; import ProfileEffectDefault from "ProfileEffect" /* 8942 */; import jsxProd from "jsxProd" /* 21 */; import createStyles from "createStyles" /* 4638 */; import size_mod from "module_2" /* 2 */; const View = _mod17.View; ({ jsx: c3, jsxs: closure_4 } = jsxProd); let obj = { profileContainer: { position: "absolute", display: "flex", height: "100%", width: "100%" }, profileBackground: { backgroundColor: nativeDefault.colors.BACKGROUND_MOD_SUBTLE }, sampleProfileImage: { aspectRatio: CollectiblesPreviewConstants.SAMPLE_PROFILE_ASPECT_RATIO }, profileBorder: null }; let size = { position: "absolute", height: "100%", width: "100%", borderWidth: 1, borderColor: nativeDefault.colors.BORDER_MUTED }; obj.profileBorder = size; let closure_5 = createStyles.createStyles(obj); let size = size_mod; const result = size.fileFinishedImporting("modules/collectibles/native/ProfileEffectSampleV2.tsx"); export default function ProfileEffectSample(hideBackground) { let flag = hideBackground.hideBackground; if (flag === undefined) { flag = false; } const tmp = closure_5(); const items = [tmp.profileContainer, ]; let profileBackground = !flag; if (!flag) { profileBackground = tmp.profileBackground; } const obj = { style: items, children: null }; items[1] = profileBackground; const obj2 = { style: null, source: null, accessible: false, resizeMode: "cover" }; const items1 = [tmp.sampleProfileImage]; obj2.style = items1; const obj3 = { uri: _modDef8941 }; obj2.source = obj3; const items2 = [React3(FastImageDefault, obj2), , ]; let tmp4Result = !flag; if (!flag) { const obj4 = { style: tmp.profileBorder }; tmp4Result = tmp4(tmp3, obj4); } items2[1] = tmp4Result; items2[2] = React3(ProfileEffectDefault, { skuId: hideBackground.item.skuId, bannerAdjustment: 0, useThumbnail: true }); obj.children = items2; return React4(View, obj); };