Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
55 lines
2.5 KiB
TypeScript
55 lines
2.5 KiB
TypeScript
// Module ID: 9392
|
|
// Function ID: 9393
|
|
// Dependencies: [19, 17, 21, 4638, 576, 7233, 9393, 4634, 1115, 5060, 4841, 2]
|
|
// Exports: default
|
|
|
|
// Module 9392
|
|
import nativeDefault from "native" /* 576 */;
|
|
import Text_Text from "Text/Text" /* 4634 */;
|
|
import ModalActionCreatorsDefault from "ModalActionCreators" /* 4841 */;
|
|
import common_SafeAreaView from "common/SafeAreaView" /* 7233 */;
|
|
import _modDef9393 from "module_9393" /* 9393 */;
|
|
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(4638);
|
|
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: _modDef9393, 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(5060).Button, obj5);
|
|
}
|
|
items1[1] = tmp6Result;
|
|
obj.children = items1;
|
|
return timestampProducer(common_SafeAreaView.SafeAreaPaddingView, obj);
|
|
};
|