decord/source/modules/oauth2/native/ErrorResult.tsx
github-actions 20a21ad13f chore: update source for alpha 346.5
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
2026-09-11 19:12:58 +00:00

55 lines
2.5 KiB
TypeScript

// Module ID: 9339
// Function ID: 9340
// Dependencies: [19, 17, 21, 4606, 576, 7196, 9340, 4602, 1114, 5026, 4809, 2]
// Exports: default
// Module 9339
import nativeDefault from "native" /* 576 */;
import Text_Text from "Text/Text" /* 4602 */;
import ModalActionCreatorsDefault from "ModalActionCreators" /* 4809 */;
import common_SafeAreaView from "common/SafeAreaView" /* 7196 */;
import _modDef9340 from "module_9340" /* 9340 */;
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(4606);
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: _modDef9340, style: tmp.image }), ];
const obj4 = { style: tmp.text, variant: "text-md/medium", children: null };
if (error == null) {
const intl = tmp3(1114).intl;
error = intl.string(tmp3(1114).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(1114).intl;
obj5.text = intl2.string(tmp3(1114).t.cpT0Cq);
obj5.onPress = function onPress() {
return ModalActionCreatorsDefault.pop();
};
tmp6Result = tmp6(tmp3(5026).Button, obj5);
}
items1[1] = tmp6Result;
obj.children = items1;
return timestampProducer(common_SafeAreaView.SafeAreaPaddingView, obj);
};