// Module ID: 14469 // Function ID: 14470 // Name: BountiesScrollRecapFooter // Dependencies: [19, 17, 4669, 21, 4668, 712, 500, 1236, 4739, 9275, 589, 4107, 2] // Exports: BountiesScrollRecapFooter, BountiesScrollRecapFooterGradient // Module 14469 (BountiesScrollRecapFooter) import noopAll from "noop" /* 19 */; import initialize from "initialize" /* 589 */; import ThemesDefault from "Themes" /* 712 */; import getSystemLocale from "getSystemLocale" /* 1236 */; import ManaContext from "ManaContext" /* 4107 */; import Text from "Text" /* 4739 */; import OrbsIcon from "OrbsIcon" /* 9275 */; import { View } from "get ActivityIndicator" /* 17 */; import closure_4 from "maybeApplyNoTextColorForLightCustomTheme" /* 4669 */; import jsxProd from "jsxProd" /* 21 */; import createCacheKey from "createCacheKey" /* 4668 */; require = arg1; noopAll; ({ jsx: c5, jsxs: closure_6 } = jsxProd); let closure_7 = createCacheKey.createStyles(() => { let obj = { container: null, headerLabel: null, orbRow: null, rive: null, orbAmount: null }; obj = { flex: 1, alignItems: "center", justifyContent: "center", gap: ThemesDefault.space.PX_4 }; obj[0] = obj; obj[1] = { textTransform: "uppercase" }; obj = { flexDirection: "row", alignItems: "center", gap: ThemesDefault.space.PX_4 }; obj[2] = obj; obj[3] = { flex: 1, width: "100%" }; let num = 0; if (obj4.isIOS()) { num = 6; } obj[4] = { marginTop: num }; return obj; }); const result = require("set").fileFinishedImporting("modules/quests/native/BountiesModal/BountiesScrollRecapFooter.tsx"); export const BountiesScrollRecapFooter = function BountiesScrollRecapFooter(orbAmount) { orbAmount = orbAmount.orbAmount; const tmp = callback3(); const intl = getSystemLocale.intl; const stringResult = intl.string(getSystemLocale.t.d6Rrn6); let obj = { style: tmp.container, pointerEvents: "none", accessible: true, accessibilityRole: "text", accessibilityLabel: "" + stringResult + ", +" + orbAmount, children: null }; obj = { variant: "text-xs/bold", color: "text-brand", style: tmp.headerLabel, accessible: false, children: stringResult }; const items = [callback(Text.Text, obj), ]; obj = { style: tmp.orbRow, accessible: false, importantForAccessibility: "no-hide-descendants", children: null }; const items1 = [callback(OrbsIcon.OrbsIcon, { size: "sm", color: "icon-strong", accessible: false }), callback(Text.Text, { variant: "display-sm", color: "text-strong", accessible: false, style: tmp.orbAmount, children: "+" + orbAmount })]; obj[3] = items1; items[1] = callback2(View, obj); obj[5] = items; return callback2(View, obj); }; export const BountiesScrollRecapFooterGradient = function BountiesScrollRecapFooterGradient() { let obj = initialize; const items = [closure_4]; obj = { style: callback3().rive, children: null }; const stateFromStores = obj.useStateFromStores(items, () => useReducedMotion.useReducedMotion); let str = "play"; if (stateFromStores) { str = "halt"; } obj[1] = closure_5(ManaContext.BountiesScrollGradientRive, { stateMachine: "State Machine 1", fit: "fill", alignment: "bottom-center", withReducedMotion: str }); return closure_5(View, obj); };