/* Metro module 1244; source: intl/index.native.tsx; dependencies: [31, 661, 33, 27, 477, 651, 1245, 1282, 1305, 6767, 2, 12825, 12828] */ import * as FileImportTrackerModule from '../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as ReactModule from '../by-id/module-00031-React.js'; /* Metro dependency 31 */ import * as JsxRuntimeModule from '../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */ import * as ConstantsModule from '../Constants.tsx'; /* Metro dependency 661 */ import * as UtilModule from './util.tsx'; /* Metro dependency 1245 */ import * as Module01282Module from '../by-id/module-01282.js'; /* Metro dependency 1282 */ import * as NativeModule from '../design/void/native.tsx'; /* Metro dependency 1305 */ import * as MigrationModule from './native/migration.tsx'; /* Metro dependency 6767 */ function _fun13936(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#13936, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1371:6, offset: 0x00df8841, size: 591 bytes, params: 8, frame: 25 const env0_0 = require; const closure = function(a0) { var r2; var value = a0; r2 = require(dependencyMap[4]).isAndroid() ? require(dependencyMap[5]).default : require(dependencyMap[3]).NativeModules.LocalizationManager; return r2 == null ? value : r2.getConstants().Language; }; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); ReactModule; const Fonts = (ConstantsModule).Fonts; object = {}; const PRIMARY_SEMIBOLD = Fonts.PRIMARY_SEMIBOLD; object.strong = {fontFamily: PRIMARY_SEMIBOLD}; object.italic = {fontStyle: 'italic'}; const CODE_NORMAL = Fonts.CODE_NORMAL; object.code = {fontFamily: CODE_NORMAL}; object.del = {'textDecorationLine': 'line-through', 'textDecorationStyle': 'solid'}; let value = closure('en-US'); const normalizedLocale = (UtilModule).getNormalizedLocale(value, 'en-US'); const reactFormatter = Module01282Module.makeReactFormatter({$i: $i, $b: $b, $del: $del, $p: $p, $code: $code, $link: $link}); const IntlManager = Module01282Module.IntlManager; const intlManager = new IntlManager({initialLocale: normalizedLocale, defaultLocale: 'en-US'}); const withFormatters = intlManager.withFormatters; object = {format: reactFormatter}; object.formatToPlainString = Module01282Module.stringFormatter; object.formatToMarkdownString = Module01282Module.markdownFormatter; object.formatToParts = Module01282Module.astFormatter; const value7 = Reflect.apply(withFormatters, intlManager, [object]); (FileImportTrackerModule).fileFinishedImporting('intl/index.native.tsx'); exports.intl = value7; exports.getSystemLocale = closure; const getAvailableLocales = (UtilModule).getAvailableLocales; exports.getAvailableLocales = getAvailableLocales; const getLanguages = (UtilModule).getLanguages; exports.getLanguages = getLanguages; exports.useSyncMessages = useSyncMessages; exports.t = (require(12825) /* metro dependency 12825: defaultMessageProxy */)._defaultMessages; exports.international = importDefault(12828) /* metro dependency 12828: internationalMessages */; exports.systemLocale = value; exports.initialLocale = normalizedLocale; function $i(a0, a1) { // fn#13938, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1371:569, offset: 0x00df8b04, size: 70 bytes, params: 3, frame: 15 const LegacyText = (NativeModule).LegacyText; return ( {a0} ); } function $b(a0, a1) { // fn#13939, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1371:631, offset: 0x00df8b4a, size: 70 bytes, params: 3, frame: 15 const LegacyText = (NativeModule).LegacyText; return ( {a0} ); } function $del(a0, a1) { // fn#13940, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1371:695, offset: 0x00df8b90, size: 70 bytes, params: 3, frame: 15 const LegacyText = (NativeModule).LegacyText; return ( {a0} ); } function $p(a0, a1) { // fn#13941, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1371:754, offset: 0x00df8bd6, size: 56 bytes, params: 3, frame: 15 const LegacyText = (NativeModule).LegacyText; return ; } function $code(a0, a1) { // fn#13942, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1371:804, offset: 0x00df8c0e, size: 69 bytes, params: 3, frame: 15 const LegacyText = (NativeModule).LegacyText; return ( {a0} ); } function $link(a0, a1, a2) { // fn#13943, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1371:867, offset: 0x00df8c53, size: 92 bytes, params: 4, frame: 16 const iterator = a2[Symbol.iterator](); let item2 = iterator.next(); const item = item2.value; item2 = item2.done ? undefined : iterator; const value = undefined; const value2 = item2 === value; const r0 = value2 ? value : item; if (!value2) { item2.return(); } const IntlLink = (MigrationModule).IntlLink; return ; } function useSyncMessages(a0) { // fn#13944, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1371:1350, offset: 0x00df8caf, size: 46 bytes, params: 2, frame: 13 return (UtilModule).useSyncMessages(a0, env0_4); } } global.__d(_fun13936, 1244, [31, 661, 33, 27, 477, 651, 1245, 1282, 1305, 6767, 2, 12825, 12828]) /* metro module 1244, dependencies: [31, 661, 33, 27, 477, 651, 1245, 1282, 1305, 6767, 2, 12825, 12828] */;