decord/source/modules/quests/native/QuestOrbsRewardModal.native.tsx

408 lines
15 KiB
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 11337
// Function ID: 11338
2026-07-29 08:29:29 +00:00
// Name: OrbsBalance
2026-08-25 06:04:03 +00:00
// Dependencies: [32, 5, 19, 17, 4372, 1922, 7019, 5268, 21, 4611, 11337, 2009, 4380, 712, 9554, 5383, 5432, 1236, 5374, 9533, 501, 11338, 9017, 11339, 11340, 11341, 11342, 589, 9568, 691, 10547, 11343, 11326, 5271, 5434, 4376, 4815, 2]
2026-07-20 16:05:17 +00:00
// Exports: default, openQuestOrbsRewardModal
2026-08-25 06:04:03 +00:00
// Module 11337 (OrbsBalance)
2026-08-24 06:08:38 +00:00
import PlatformTypes from "PlatformTypes" /* 501 */;
import ThemesDefault from "Themes" /* 712 */;
2026-08-25 06:04:03 +00:00
import _modDef4611 from "module_4611" /* 4611 */;
import preloadDefault from "preload" /* 5374 */;
import VideoComponent from "VideoComponent" /* 9017 */;
import OrbsIcon from "OrbsIcon" /* 9554 */;
import metadataDefault from "metadata" /* 11338 */;
import metadataDefault2 from "metadata" /* 11339 */;
import metadataDefault3 from "metadata" /* 11340 */;
2026-08-24 06:08:38 +00:00
import closure_3 from "_slicedToArray" /* 32 */;
import closure_4 from "asyncGeneratorStep" /* 5 */;
import importAllResult from "noop" /* 19 */;
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
2026-08-25 06:04:03 +00:00
import closure_9 from "maybeApplyNoTextColorForLightCustomTheme" /* 4372 */;
2026-08-24 06:08:38 +00:00
import closure_10 from "mergeGuildAvatar" /* 1922 */;
2026-08-25 06:04:03 +00:00
import closure_11 from "getState" /* 7019 */;
import { RewardFilterTypes } from "QuestsExperimentLocations" /* 5268 */;
2026-08-24 06:08:38 +00:00
import jsxProd from "jsxProd" /* 21 */;
2026-08-25 06:04:03 +00:00
import createCacheKey from "createCacheKey" /* 4380 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
2026-07-29 08:29:29 +00:00
function OrbsBalance(balance) {
const tmp = callback7();
let obj = { children: null };
2026-08-24 06:08:38 +00:00
obj = { size: "xs", color: ThemesDefault.colors.WHITE, style: tmp.orbsIcon };
const items = [callback3(OrbsIcon.OrbsIcon, obj), , ];
2026-07-29 08:29:29 +00:00
obj = { style: tmp.spacer };
items[1] = callback3(closure_8, obj);
items[2] = balance.balance;
obj[0] = items;
2026-08-12 06:57:52 +00:00
return callback4(closure_14, obj);
2026-07-29 08:29:29 +00:00
}
2026-07-20 16:05:17 +00:00
function CancelButton() {
2026-07-29 08:29:29 +00:00
const tmp = callback5();
2026-08-24 06:08:38 +00:00
const _require = tmp;
2026-07-20 16:05:17 +00:00
const obj = {
onPress() {
2026-08-12 06:57:52 +00:00
callback(table[9]).popWithKey(closure_16);
2026-07-20 16:05:17 +00:00
},
backImage() {
2026-08-24 06:08:38 +00:00
const style = [lib.closeButtonIcon];
return closure_1_13(lib(closure_1_2[16]).XSmallIcon, { size: "lg", style });
2026-07-29 08:29:29 +00:00
},
accessibilityLabel: null,
2026-08-06 08:05:19 +00:00
displayMode: "minimal",
2026-07-29 08:29:29 +00:00
style: null
2026-07-20 16:05:17 +00:00
};
2026-08-24 06:08:38 +00:00
const intl = _require(1236).intl;
obj[2] = intl.string(_require(1236).t.cpT0Cq);
2026-07-29 08:29:29 +00:00
obj[4] = tmp.closeButton;
2026-08-25 06:04:03 +00:00
return callback3(_require(5383).HeaderBackButton, obj);
2026-07-20 16:05:17 +00:00
}
function StaticOrb() {
2026-07-29 08:29:29 +00:00
let obj = { style: { width: "100%", height: "100%" }, children: null };
obj = { source: null, style: null, fade: false };
obj = { uri: null };
const tmp = callback8();
2026-08-24 06:08:38 +00:00
obj[0] = metadataDefault3;
2026-07-29 08:29:29 +00:00
obj[0] = obj;
obj[1] = tmp.animatedOrb;
2026-08-24 06:08:38 +00:00
obj[1] = callback3(preloadDefault, obj);
2026-07-20 16:05:17 +00:00
return callback3(closure_8, obj);
}
function AnimatedOrbContainer(isAppActive) {
isAppActive = isAppActive.isAppActive;
2026-07-29 08:29:29 +00:00
let first;
2026-08-24 06:08:38 +00:00
importDefault = undefined;
2026-07-29 08:29:29 +00:00
let first1;
let callback;
c4 = undefined;
const tmp = callback8();
2026-07-20 16:05:17 +00:00
const tmp2 = callback(importAllResult.useState(false), 2);
2026-07-29 08:29:29 +00:00
first = tmp2[0];
importDefault = tmp2[1];
2026-07-20 16:05:17 +00:00
const tmp4 = callback(importAllResult.useState(false), 2);
2026-07-29 08:29:29 +00:00
first1 = tmp4[0];
2026-07-23 10:11:24 +00:00
callback = tmp4[1];
2026-07-29 08:29:29 +00:00
[tmp7, c4] = callback(importAllResult.useState(true), 2);
2026-07-20 16:05:17 +00:00
callback = importAllResult.useCallback(() => {
callback(true);
}, []);
const items = [first, first1];
const callback1 = importAllResult.useCallback(() => {
callback2(true);
}, []);
const effect = importAllResult.useEffect(() => {
if (timeout) {
if (first1) {
const _setTimeout = setTimeout;
2026-07-23 10:11:24 +00:00
timeout = setTimeout(() => {
2026-07-29 08:29:29 +00:00
callback(false);
2026-07-20 16:05:17 +00:00
}, 1450);
return () => clearTimeout(closure_0);
}
}
}, items);
2026-07-29 08:29:29 +00:00
let obj = { style: { width: "100%", height: "100%" }, children: null };
2026-07-20 16:05:17 +00:00
let tmp13 = !first;
2026-07-29 08:29:29 +00:00
if (!first) {
2026-07-20 16:05:17 +00:00
tmp13 = !first1;
}
if (tmp13) {
2026-07-29 08:29:29 +00:00
obj = { style: null };
obj[0] = { height: "100%" };
tmp13 = callback3(tmp12, obj);
2026-07-20 16:05:17 +00:00
}
const items1 = [tmp13, , ];
2026-08-12 06:57:52 +00:00
obj = { uri: importDefault(first1[25]), style: null, onLoad: null, animate: null };
2026-07-20 16:05:17 +00:00
const items2 = [tmp.animatedOrb, ];
2026-08-24 06:08:38 +00:00
obj1 = tmp15Result;
2026-07-29 08:29:29 +00:00
if (!tmp15Result) {
obj1 = !first1;
}
if (obj1) {
obj1 = { opacity: 0 };
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
items2[1] = obj1;
obj[1] = items2;
obj[2] = callback1;
let tmp19 = !tmp15Result;
if (!tmp15Result) {
tmp19 = isAppActive;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
obj[3] = tmp19;
2026-08-12 06:57:52 +00:00
items1[1] = callback3(closure_24, obj);
2026-07-29 08:29:29 +00:00
if (tmp15Result) {
const obj2 = { uri: null, style: null, onLoad: null, animate: null };
2026-08-12 06:57:52 +00:00
obj2[0] = importDefault(first1[26]);
2026-07-20 16:05:17 +00:00
const items3 = [tmp.animatedOrb];
2026-07-29 08:29:29 +00:00
obj2[1] = items3;
obj2[2] = callback;
obj2[3] = isAppActive;
tmp15Result = tmp15(tmp16, obj2);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
items1[2] = tmp15Result;
obj[1] = items1;
2026-08-12 06:57:52 +00:00
return closure_15(closure_8, obj);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
let c5 = importAllResult;
2026-08-24 06:08:38 +00:00
({ ActivityIndicator: closure_6, StyleSheet: error, View: closure_8 } = get_ActivityIndicator);
2026-08-12 06:57:52 +00:00
({ jsx: map1, Fragment: closure_14, jsxs: closure_15 } = jsxProd);
2026-07-23 10:11:24 +00:00
const QuestOrbsRewardModal = "QuestOrbsRewardModal";
2026-07-29 08:29:29 +00:00
let obj = { closeButton: null, closeButtonIcon: null };
2026-08-24 06:08:38 +00:00
obj = { alignSelf: "flex-start", marginHorizontal: ThemesDefault.space.PX_16, zIndex: 999 };
2026-07-29 08:29:29 +00:00
obj[0] = obj;
2026-08-24 06:08:38 +00:00
createCacheKey = { tintColor: ThemesDefault.colors.WHITE };
2026-07-29 08:29:29 +00:00
obj[1] = createCacheKey;
2026-08-12 06:57:52 +00:00
let closure_17 = createCacheKey.createStyles(obj);
let closure_18 = createCacheKey.createStyles(() => {
2026-07-29 08:29:29 +00:00
let obj = { root: null, background: null, loading: null, header: null, main: null, animation: null, body: null, title: null, buttonsContainer: null };
2026-08-24 06:08:38 +00:00
obj = { flex: 1, backgroundColor: ThemesDefault.colors.BACKGROUND_BASE_LOW };
2026-07-29 08:29:29 +00:00
obj[0] = obj;
obj[1] = closure_7.absoluteFillObject;
2026-08-24 06:08:38 +00:00
obj = { justifyContent: "center", alignItems: "center", backgroundColor: ThemesDefault.colors.BACKGROUND_BASE_LOW };
2026-07-20 16:05:17 +00:00
const merged = Object.assign(closure_7.absoluteFillObject);
2026-07-29 08:29:29 +00:00
obj[2] = obj;
obj[3] = { flexDirection: "row", alignItems: "flex-end", justifyContent: "flex-end" };
obj[4] = { flex: 2 };
obj[5] = { flex: 3 };
2026-08-24 06:08:38 +00:00
obj[6] = { flex: 2, flexDirection: "column", justifyContent: "center", gap: ThemesDefault.space.PX_16 };
obj1 = { flex: 2, flexDirection: "column", justifyContent: "center", gap: ThemesDefault.space.PX_16 };
obj[7] = { textAlign: "center", marginHorizontal: ThemesDefault.space.PX_32 };
const obj2 = { textAlign: "center", marginHorizontal: ThemesDefault.space.PX_32 };
obj[8] = { padding: ThemesDefault.space.PX_24, gap: ThemesDefault.space.PX_16 };
2026-07-20 16:05:17 +00:00
return obj;
});
2026-07-29 08:29:29 +00:00
let items = [{ translateY: 3 }];
2026-08-12 06:57:52 +00:00
let closure_19 = createCacheKey.createStyles({ orbsIcon: { transform: items }, spacer: { width: 2 } });
let closure_22 = importAllResult.memo((onLoad) => {
2026-07-29 08:29:29 +00:00
const uri = onLoad.uri;
let enableAnimation = onLoad.animate;
if (enableAnimation === undefined) {
enableAnimation = true;
2026-07-20 16:05:17 +00:00
}
const items = [uri];
const effect = importAllResult.useEffect(() => {
2026-08-24 06:08:38 +00:00
closure_1_1(closure_1_2[18]).preload(uri);
2026-07-20 16:05:17 +00:00
}, items);
2026-08-24 06:08:38 +00:00
return callback3(preloadDefault, { source: { uri }, style: { width: "100%", height: "100%" }, resizeMode: "cover", enableAnimation, onLoad: onLoad.onLoad, usesSmallCache: false, fade: false }, "orb-animate-" + enableAnimation);
2026-07-20 16:05:17 +00:00
});
2026-08-12 06:57:52 +00:00
let closure_23 = importAllResult.memo((animate) => {
2026-07-20 16:05:17 +00:00
let flag = animate.animate;
({ uri, onLoad } = animate);
if (flag === undefined) {
flag = true;
}
2026-07-23 10:11:24 +00:00
let aPNGPlayerControls;
2026-07-20 16:05:17 +00:00
const ref = importAllResult.useRef(null);
2026-08-25 06:04:03 +00:00
aPNGPlayerControls = flag(9533).useAPNGPlayerControls(ref);
2026-07-20 16:05:17 +00:00
const items = [flag, aPNGPlayerControls];
const effect = importAllResult.useEffect(() => {
if (flag) {
obj.play();
} else {
obj.stop();
}
}, items);
2026-08-25 06:04:03 +00:00
return callback3(flag(9533).APNGPlayer, { ref, url, autoplay: false, style: { width: "100%", height: "100%" }, onLoad });
2026-07-20 16:05:17 +00:00
});
2026-08-12 06:57:52 +00:00
let closure_24 = importAllResult.memo((animate) => {
2026-07-20 16:05:17 +00:00
let flag = animate.animate;
({ uri, style, onLoad } = animate);
if (flag === undefined) {
flag = true;
}
2026-08-24 06:08:38 +00:00
let obj = PlatformTypes;
2026-08-12 06:57:52 +00:00
obj = { style, renderToHardwareTextureAndroid: true, needsOffscreenAlphaCompositing: true, children: callback3(obj.isAndroid() ? closure_23 : closure_22, { uri, onLoad, animate: flag }) };
2026-07-20 16:05:17 +00:00
return callback3(closure_8, obj);
});
2026-08-12 06:57:52 +00:00
let closure_25 = importAllResult.memo((arg0) => {
2026-07-29 08:29:29 +00:00
({ useReducedMotion, style } = arg0);
({ onStaticBgLoad, onAnimatedBgLoad, isAppActive } = arg0);
let obj = { source: null, style: null, resizeMode: "cover", onLoad: null };
2026-08-24 06:08:38 +00:00
obj = { uri: metadataDefault };
2026-07-29 08:29:29 +00:00
obj[0] = obj;
obj[1] = style;
obj[3] = onStaticBgLoad;
2026-08-24 06:08:38 +00:00
const children = [callback3(preloadDefault, obj), ];
2026-07-29 08:29:29 +00:00
let tmp2Result = !useReducedMotion;
if (!useReducedMotion) {
tmp2Result = isAppActive;
}
if (tmp2Result) {
obj = { source: null, style: null, resizeMode: "cover", onLoad: null, disableFocus: true, playInBackground: true, preventsDisplaySleepDuringVideoPlayback: false };
2026-08-24 06:08:38 +00:00
obj1 = { uri: null };
obj1[0] = metadataDefault2;
2026-07-29 08:29:29 +00:00
obj[0] = obj1;
obj[1] = style;
obj[3] = onAnimatedBgLoad;
2026-08-24 06:08:38 +00:00
tmp2Result = callback3(VideoComponent.VideoComponent, obj);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
children[1] = tmp2Result;
2026-08-12 06:57:52 +00:00
return closure_15(importAllResult.Fragment, { children });
2026-07-20 16:05:17 +00:00
});
2026-08-12 06:57:52 +00:00
let closure_26 = createCacheKey.createStyles({ animatedOrb: { position: "absolute", height: "130%", width: "130%", left: "-15%", top: "-15%", pointerEvents: "none" } });
2026-08-24 06:08:38 +00:00
let result = require("set").fileFinishedImporting("modules/quests/native/QuestOrbsRewardModal.native.tsx");
2026-07-20 16:05:17 +00:00
export default function QuestOrbsRewardModal(quest) {
quest = quest.quest;
2026-07-29 08:29:29 +00:00
let num;
c1 = undefined;
2026-08-24 06:08:38 +00:00
dependencyMap = undefined;
2026-07-29 08:29:29 +00:00
let tmp = callback6();
let stringResult = dependencyMap;
let obj = num(589);
2026-08-24 06:08:38 +00:00
const items = [closure_9];
2026-07-29 08:29:29 +00:00
const stateFromStores = obj.useStateFromStores(items, () => useReducedMotion.useReducedMotion);
2026-08-25 06:04:03 +00:00
obj1 = num(9568);
2026-07-29 08:29:29 +00:00
num = obj1.useFetchVirtualCurrencyBalance().balance;
let obj2 = importAllResult;
[tmp6, c1] = callback(importAllResult.useState(false), 2);
const tmp5 = callback(importAllResult.useState(false), 2);
[tmp8, c2] = callback(importAllResult.useState(false), 2);
let obj3 = num(589);
2026-08-24 06:08:38 +00:00
const items1 = [closure_11];
2026-07-29 08:29:29 +00:00
const stateFromStores1 = obj3.useStateFromStores(items1, () => state.getState());
let obj4 = num(589);
2026-07-20 16:05:17 +00:00
const items2 = [closure_10];
const userStatus = quest.userStatus;
2026-07-29 08:29:29 +00:00
let num2;
const stateFromStores2 = obj4.useStateFromStores(items2, () => currentUser.getCurrentUser());
if (userStatus != null) {
num2 = userStatus.orbQuantityClaimed;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
if (num2 == null) {
2026-08-25 06:04:03 +00:00
num2 = tmp2(10547).getQuestOrbRewardQuantityForUser(quest.config, stateFromStores2);
const tmp2Result = tmp2(10547);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
const tmp11 = stateFromStores1 === num(691).AppStates.ACTIVE;
const effect = obj2.useEffect(() => {
2026-08-12 06:57:52 +00:00
num(_undefined2[31]).applyOrientationLock("PORTRAIT");
2026-07-20 16:05:17 +00:00
return () => {
2026-08-12 06:57:52 +00:00
const result = callback(table[31]).restoreDefaultOrientationLock();
2026-07-20 16:05:17 +00:00
};
}, []);
2026-07-29 08:29:29 +00:00
callback = obj2.useCallback(() => {
_undefined(true);
2026-07-20 16:05:17 +00:00
}, []);
2026-07-29 08:29:29 +00:00
const callback1 = obj2.useCallback(() => {
_undefined2(true);
2026-07-20 16:05:17 +00:00
}, []);
2026-07-29 08:29:29 +00:00
let string = obj2.useCallback(() => {
2026-08-12 06:57:52 +00:00
let obj = _undefined(_undefined2[9]);
obj.popWithKey(closure_16);
obj = { filter: constants.VIRTUAL_CURRENCY, fromContent: num(_undefined2[33]).QuestContent.REWARD_MODAL };
num(_undefined2[32]).openQuestHome(obj);
2026-07-20 16:05:17 +00:00
}, []);
2026-07-29 08:29:29 +00:00
obj = { style: tmp.root, children: null };
2026-08-12 06:57:52 +00:00
obj = { style: closure_7.absoluteFill, accessible: false, accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", children: callback3(closure_25, obj1) };
2026-07-29 08:29:29 +00:00
obj1 = { useReducedMotion: stateFromStores, style: tmp.background, onStaticBgLoad: callback, onAnimatedBgLoad: callback1, isAppActive: tmp11 };
const items3 = [callback3(closure_8, obj), , ];
let tmp17Result = !tmp6;
if (!tmp6) {
let tmp19 = stateFromStores;
2026-07-20 16:05:17 +00:00
if (!stateFromStores) {
2026-07-29 08:29:29 +00:00
tmp19 = !tmp8;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
tmp17Result = tmp19;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
if (tmp17Result) {
obj2 = { style: null, children: null };
obj2[0] = tmp.loading;
obj2[1] = tmp17(closure_6, { animating: true });
tmp17Result = tmp17(tmp16, obj2);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
items3[1] = tmp17Result;
if (!tmp6) {
let tmp21 = !stateFromStores;
if (!stateFromStores) {
tmp21 = tmp8;
}
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
if (!tmp6) {
items3[2] = tmp6;
obj[1] = items3;
return tmp15(tmp16, obj);
} else {
obj3 = { style: null, top: true, bottom: true, left: true, right: true, children: null };
const items4 = [tmp.main];
obj3[0] = items4;
obj4 = { style: null, children: null };
obj4[0] = tmp.header;
obj4[1] = tmp17(CancelButton, {});
const items5 = [tmp17(tmp16, obj4), , , ];
const obj5 = { style: null, accessible: false, accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", children: null };
obj5[0] = tmp.animation;
2026-07-20 16:05:17 +00:00
if (stateFromStores) {
2026-07-29 08:29:29 +00:00
tmp17Result = tmp17(StaticOrb, {});
2026-07-20 16:05:17 +00:00
} else {
2026-07-29 08:29:29 +00:00
const obj6 = { isAppActive: null };
obj6[0] = tmp11;
tmp17Result = tmp17(AnimatedOrbContainer, obj6);
}
obj5[4] = tmp17Result;
items5[1] = tmp17(tmp16, obj5);
let obj7 = { style: null, children: null };
obj7[0] = tmp.body;
const obj8 = { variant: "heading-xl/bold", color: "text-overlay-light", style: null, children: null };
obj8[2] = tmp.title;
let intl = tmp2(1236).intl;
if (num2 == null) {
num2 = 0;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
const obj9 = { count: null };
obj9[0] = num2;
obj8[3] = intl.format(tmp2(1236).t.FIilK5, obj9);
2026-08-25 06:04:03 +00:00
let items6 = [tmp17(tmp2(4376).Heading, obj8), ];
2026-07-29 08:29:29 +00:00
let obj10 = { variant: "text-md/normal", color: "text-overlay-light", style: null, children: null };
obj10[2] = tmp.title;
if (num == null) {
num = 0;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
if (num >= 4100) {
const intl3 = tmp2(1236).intl;
const obj11 = { balanceHook: null, profileDecoHook: null };
obj11[0] = function balanceHook() {
2026-08-24 06:08:38 +00:00
return closure_1_13(closure_1_20, { balance: num }, "balance");
2026-07-20 16:05:17 +00:00
};
2026-07-29 08:29:29 +00:00
obj11[1] = function profileDecoHook() {
const obj = { variant: "text-md/semibold", color: "text-overlay-light", children: null };
2026-08-12 06:57:52 +00:00
const intl = num(_undefined2[17]).intl;
obj[2] = intl.string(num(_undefined2[17]).t.pGDUH9);
return callback(num(_undefined2[35]).Text, obj, "profileDeco");
2026-07-29 08:29:29 +00:00
};
let formatResult = intl3.format(tmp2(1236).t["2dz2AL"], obj11);
2026-07-20 16:05:17 +00:00
} else {
2026-07-29 08:29:29 +00:00
const intl2 = tmp2(1236).intl;
const obj12 = { balanceHook: null };
obj12[0] = function balanceHook() {
2026-08-24 06:08:38 +00:00
return closure_1_13(closure_1_20, { balance: num }, "balance");
2026-07-20 16:05:17 +00:00
};
2026-07-29 08:29:29 +00:00
formatResult = intl2.format(tmp2(1236).t.rKHvlX, obj12);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
obj10[3] = formatResult;
2026-08-25 06:04:03 +00:00
items6[1] = tmp17(tmp2(4376).Text, obj10);
2026-07-29 08:29:29 +00:00
obj7[1] = items6;
items5[2] = tmp15(tmp16, obj7);
const obj13 = { style: null, children: null };
obj13[0] = tmp.buttonsContainer;
2026-08-25 06:04:03 +00:00
items6 = tmp2(4815).Button;
2026-07-29 08:29:29 +00:00
const obj14 = { onPress: null, variant: "primary", size: "lg", text: null };
obj14[0] = string;
obj10 = tmp2(1236).intl;
string = obj10.string;
stringResult = string(tmp2(1236).t.uJAMFX);
obj14[3] = stringResult;
tmp = tmp17(items6, obj14);
obj13[1] = tmp;
obj7 = tmp17(tmp16, obj13);
items5[3] = obj7;
obj3[5] = items5;
2026-08-25 06:04:03 +00:00
tmp15(tmp2(5434).SafeAreaPaddingView, obj3);
2026-07-20 16:05:17 +00:00
}
};
export const openQuestOrbsRewardModal = function openQuestOrbsRewardModal(quest) {
2026-08-25 06:04:03 +00:00
_modDef4611.pushLazy(callback2(function*() {
2026-08-24 06:08:38 +00:00
yield v0(closure_1_2[11])(closure_1_2[10], closure_1_2.paths);
2026-08-04 21:03:28 +00:00
return arg1.default;
2026-07-29 08:29:29 +00:00
}), { quest: quest.quest }, QuestOrbsRewardModal);
2026-07-20 16:05:17 +00:00
};