68 lines
3.9 KiB
TypeScript
68 lines
3.9 KiB
TypeScript
/* Metro module 7327; source: modules/billing/native/BlockedPaymentsCountryDisplay.tsx; dependencies: [31, 27, 661, 33, 4501, 697, 4048, 1305, 1244, 1948, 4002, 7328, 7329, 2] */
|
|
import Native from '../../../external/discord_common/js/packages/tokens/native.tsx'; /* Metro dependency 697 */
|
|
import HelpdeskUtils from '../../../utils/HelpdeskUtils.tsx'; /* Metro dependency 1948 */
|
|
import UseTheme from '../../../hooks/useTheme.tsx'; /* Metro dependency 4048 */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ReactNativeModule from '../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
|
|
import * as ReactModule from '../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
|
|
import * as ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */
|
|
import * as IndexNativeModule from '../../../intl/index.native.tsx'; /* Metro dependency 1244 */
|
|
import * as NativeModule from '../../../design/void/native.tsx'; /* Metro dependency 1305 */
|
|
|
|
function _fun59024(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#59024, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7505:6, offset: 0x016de838, size: 301 bytes, params: 8, frame: 21
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
ReactModule;
|
|
let value = ReactNativeModule;
|
|
const env0_3 = value.View;
|
|
const env0_4 = value.Image;
|
|
value = require(33) /* metro dependency 33 */;
|
|
const env0_6 = value.jsx;
|
|
const env0_7 = value.jsxs;
|
|
value = require(4501) /* metro dependency 4501: createStyles */;
|
|
const createStyles = value.createStyles;
|
|
const TEXT_SUBTLE = (Native).colors.TEXT_SUBTLE;
|
|
const env0_8 = Reflect.apply(createStyles, value, [{container: {alignItems: 'center'}, header: {'fontSize': 20,
|
|
'fontWeight': '700', 'color': null, 'marginBottom': 16, color: TEXT_SUBTLE}, image: {marginTop: 38}}]);
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/billing/native/BlockedPaymentsCountryDisplay.tsx');
|
|
exports.default = BlockedPaymentsCountryDisplay;
|
|
function BlockedPaymentsCountryDisplay() { // fn#59025, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7505:454, offset: 0x016de965, size: 380 bytes, params: 1, frame: 29
|
|
const styles = useStyles();
|
|
const value2 = (UseTheme)();
|
|
const LegacyText = (NativeModule).LegacyText;
|
|
const intl = (IndexNativeModule).intl;
|
|
const items2 = [
|
|
<LegacyText style={styles.header}>
|
|
{intl.string((IndexNativeModule).t.vwMEHS)}
|
|
</LegacyText>,
|
|
];
|
|
const format = intl.format;
|
|
const IHxEJU = (IndexNativeModule).t.IHxEJU;
|
|
const defaultImport = HelpdeskUtils;
|
|
const getArticleURL = defaultImport.getArticleURL;
|
|
const BLOCKED_PAYMENTS = HelpdeskArticles.BLOCKED_PAYMENTS;
|
|
items2[1] = (
|
|
<LegacyText>
|
|
{Reflect.apply(format, intl, [IHxEJU, {helpdeskArticle: Reflect.apply(getArticleURL, defaultImport,
|
|
[BLOCKED_PAYMENTS])}])}
|
|
</LegacyText>
|
|
);
|
|
items2[2] = (
|
|
<Image
|
|
style={styles.image}
|
|
source={(require(4002) /* metro dependency 4002: shared */).isThemeDark(value2) ? importDefault(7328) /* metro dependency 7328 */ : importDefault(7329) /* metro dependency 7329 */}
|
|
/>
|
|
);
|
|
return (
|
|
<View style={styles.container}>
|
|
{items2}
|
|
</View>
|
|
);
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun59024, 7327, [31, 27, 661, 33, 4501, 697, 4048, 1305, 1244, 1948, 4002, 7328, 7329,
|
|
2]) /* metro module 7327, dependencies: [31, 27, 661, 33, 4501, 697, 4048, 1305, 1244, 1948, 4002, 7328, 7329, 2] */;
|