decord/beta/source/modules/billing/native/BlockedPaymentsCountryDisplay.tsx
2026-10-07 22:43:51 +00:00

155 lines
4.8 KiB
TypeScript

// Module ID: 11094
// Function ID: 11095
// Name: BlockedPaymentsCountryDisplay
// Dependencies: [19, 17, 1085, 21, 4890, 587, 558, 576, 4791, 1126, 1188, 2115, 4729, 11095, 11096, 2]
// Module 11094 (BlockedPaymentsCountryDisplay)
import react2 from "react" /* 576 */;
import nativeDefault from "native" /* 587 */;
import Constants from "Constants" /* 1085 */;
import intl3 from "intl" /* 1126 */;
import native from "native" /* 1188 */;
import HelpdeskUtilsDefault from "HelpdeskUtils" /* 2115 */;
import shared from "shared" /* 4729 */;
import useThemeDefault from "useTheme" /* 4791 */;
import react from "react" /* 19 */;
import react_native from "react-native" /* 17 */;
import Fragment from "Fragment" /* 21 */;
import createStyles from "createStyles" /* 4890 */;
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
import size from "module_2" /* 2 */;
let c3;
let closure_4;
let metroImportDefault;
let metroRequire;
let obj2;
({ View: c3, Image: closure_4 } = react_native);
const HelpdeskArticles = Constants.HelpdeskArticles;
({ jsx: metroRequire, jsxs: metroImportDefault } = Fragment);
let obj = { container: { alignItems: "center" }, header: obj2, image: { marginTop: 38 } };
obj2 = { fontSize: 20, fontWeight: "700", color: nativeDefault.colors.TEXT_SUBTLE, marginBottom: 16 };
let closure_8 = createStyles.createStyles(obj);
let tmp5 = ReactCompilerGating.isReactCompilerEnabled() ? (() => {
let IHxEJU;
let container;
let first;
let format;
let header;
let items;
let obj4;
let tmp12;
let tmp5Result;
let tmp5Result2;
let tmp9;
const obj = react2;
const cResult = obj.c(11);
const tmp4 = closure_8();
({ container, header } = tmp4);
const tmp6 = useThemeDefault();
if (cResult[0] === Symbol.for("react.memo_cache_sentinel")) {
const intl = tmp(1126).intl;
const stringResult = intl.string(intl3.t.vwMEHS);
cResult[0] = stringResult;
first = stringResult;
} else {
first = cResult[0];
}
if (cResult[1] !== tmp4.header) {
const obj2 = { style: header, children: first };
const tmp11 = metroRequire(native.LegacyText, obj2);
cResult[1] = tmp4.header;
cResult[2] = tmp11;
tmp9 = tmp11;
} else {
tmp9 = cResult[2];
}
if (cResult[3] === Symbol.for("react.memo_cache_sentinel")) {
const obj3 = { children: format(IHxEJU, obj4) };
const LegacyText = tmp(1188).LegacyText;
const intl2 = tmp(1126).intl;
format = intl2.format;
obj4 = { helpdeskArticle: tmp5Result.getArticleURL(HelpdeskArticles.BLOCKED_PAYMENTS) };
IHxEJU = tmp(1126).t.IHxEJU;
tmp5Result = HelpdeskUtilsDefault;
const tmp15 = metroRequire(LegacyText, obj3);
cResult[3] = tmp15;
tmp12 = tmp15;
} else {
tmp12 = cResult[3];
}
const tmpResult = shared;
if (tmpResult.isThemeDark(tmp6)) {
tmp5Result2 = tmp5(11095);
} else {
tmp5Result2 = tmp5(11096);
}
if (cResult[4] === tmp4.image) {
let tmp17;
if (cResult[5] === tmp5Result2) {
tmp17 = cResult[6];
}
if (cResult[7] === tmp4.container) {
if (cResult[8] === tmp9) {
let tmp19;
if (cResult[9] === tmp17) {
tmp19 = cResult[10];
}
return tmp19;
}
}
const obj5 = { style: container, children: items };
items = [tmp9, tmp12, tmp17];
const tmp22 = metroImportDefault(_false, obj5);
cResult[7] = tmp4.container;
cResult[8] = tmp9;
cResult[9] = tmp17;
cResult[10] = tmp22;
tmp19 = tmp22;
}
const obj6 = { style: tmp4.image, source: tmp5Result2 };
const tmp18 = metroRequire(React3, obj6);
cResult[4] = tmp4.image;
cResult[5] = tmp5Result2;
cResult[6] = tmp18;
tmp17 = tmp18;
}) : (() => {
let IHxEJU;
let format;
let intl;
let items;
let obj4;
let obj5;
let tmp2Result;
const tmp = closure_8();
const obj = { style: tmp.container, children: items };
const obj2 = { style: tmp.header, children: intl.string(intl3.t.vwMEHS) };
const tmp4 = useThemeDefault();
const LegacyText = native.LegacyText;
intl = intl3.intl;
items = [metroRequire(LegacyText, obj2), , ];
const obj3 = { children: format(IHxEJU, obj4) };
const LegacyText2 = native.LegacyText;
const intl2 = intl3.intl;
format = intl2.format;
obj4 = { helpdeskArticle: obj5.getArticleURL(HelpdeskArticles.BLOCKED_PAYMENTS) };
IHxEJU = intl3.t.IHxEJU;
obj5 = HelpdeskUtilsDefault;
items[1] = metroRequire(LegacyText2, obj3);
const obj6 = { style: tmp.image, source: tmp2Result };
const obj7 = shared;
const tmp5 = metroImportDefault;
const tmp6 = _false;
const tmp7 = metroRequire;
const tmp8 = React3;
if (obj7.isThemeDark(tmp4)) {
tmp2Result = tmp2(11095);
} else {
tmp2Result = tmp2(11096);
}
items[2] = tmp7(tmp8, obj6);
return tmp5(tmp6, obj);
});
const result = size.fileFinishedImporting("modules/billing/native/BlockedPaymentsCountryDisplay.tsx");
export default tmp5;