decord/source/modules/oauth2/native/ErrorResult.tsx
github-actions 03cf168fbc chore: update source for alpha 347.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4825.js (118.4 MB)
2026-09-17 08:17:09 +00:00

55 lines
2.5 KiB
TypeScript

// Module ID: 9403
// Function ID: 9404
// Dependencies: [19, 17, 21, 4640, 576, 7237, 9404, 4636, 1115, 5062, 4843, 2]
// Exports: default
// Module 9403
import nativeDefault from "native" /* 576 */;
import Text_Text from "Text/Text" /* 4636 */;
import ModalActionCreatorsDefault from "ModalActionCreators" /* 4843 */;
import common_SafeAreaView from "common/SafeAreaView" /* 7237 */;
import _modDef9404 from "module_9404" /* 9404 */;
import noop from "module_19" /* 19 */;
require = fn;
get_ActivityIndicator = fn(17);
({ Image: c3, View: closure_4 } = get_ActivityIndicator);
const jsxProd = fn(21);
({ jsx: hasOwnProperty, jsxs: metroRequire } = jsxProd);
const createStyles = fn(4640);
let obj2 = { container: { flex: 1, backgroundColor: nativeDefault.colors.BACKGROUND_BASE_LOWER, gap: 16, paddingHorizontal: 16, justifyContent: "center", flexDirection: "column" }, inner: { flex: 1, flexDirection: "column", alignItems: "center", justifyContent: "center" }, text: { marginTop: 24, textAlign: "center" }, image: null };
const obj3 = { flex: 1, backgroundColor: nativeDefault.colors.BACKGROUND_BASE_LOWER, gap: 16, paddingHorizontal: 16, justifyContent: "center", flexDirection: "column" };
obj2.image = { tintColor: nativeDefault.colors.TEXT_FEEDBACK_WARNING };
let closure_7 = createStyles.createStyles(obj2);
const size = fn(2);
const result = size.fileFinishedImporting("modules/oauth2/native/ErrorResult.tsx");
export default function ErrorResult(error) {
error = error.error;
const tmp = closure_7();
const obj = { bottom: true, style: tmp.container, children: null };
const obj2 = { style: tmp.inner, children: null };
const items = [hasOwnProperty(React3, { source: _modDef9404, style: tmp.image }), ];
const obj4 = { style: tmp.text, variant: "text-md/medium", children: null };
if (error == null) {
const intl = tmp3(1115).intl;
error = intl.string(tmp3(1115).t.mqn873);
}
obj4.children = error;
items[1] = hasOwnProperty(Text_Text.Text, obj4);
obj2.children = items;
const items1 = [timestampProducer(React4, obj2), ];
let tmp6Result = null;
if (!error.hideFooter) {
const obj5 = { size: "lg", text: null, onPress: null };
const intl2 = tmp3(1115).intl;
obj5.text = intl2.string(tmp3(1115).t.cpT0Cq);
obj5.onPress = function onPress() {
return ModalActionCreatorsDefault.pop();
};
tmp6Result = tmp6(tmp3(5062).Button, obj5);
}
items1[1] = tmp6Result;
obj.children = items1;
return timestampProducer(common_SafeAreaView.SafeAreaPaddingView, obj);
};