Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,161 @@
|
||||
/* Metro module 1247; source: modules/asset_json/native/AssetJsonUtils.tsx; dependencies: [5, 27, 1248, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 1259, 1260, 1261, 1262, 1263, 1264, 1265, 1266, 1267, 1268, 1269, 1270, 1271, 1272, 1273, 1274, 1275, 1276, 1277, 1278, 477, 1279, 2] */
|
||||
function _fun14024(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#14024, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1374:6, offset: 0x00df99f1, size: 537 bytes, params: 8, frame: 20
|
||||
const env0_0 = require;
|
||||
const closure = function() {
|
||||
return _loadJsonAsset.apply(this, arguments);
|
||||
};
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = importDefault(5) /* metro dependency 5 */;
|
||||
const value = require(27) /* metro dependency 27 */;
|
||||
const env0_4 = value.Image;
|
||||
const env0_5 = value.NativeModules;
|
||||
const env0_6 = {};
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/asset_json/native/AssetJsonUtils.tsx');
|
||||
exports.jsonAssets = {i18n_bg: function() {
|
||||
return loadJsonAsset(require(dependencyMap[2]));
|
||||
}, i18n_cs: function() {
|
||||
return loadJsonAsset(require(dependencyMap[3]));
|
||||
}, i18n_da: function() {
|
||||
return loadJsonAsset(require(dependencyMap[4]));
|
||||
}, i18n_de: function() {
|
||||
return loadJsonAsset(require(dependencyMap[5]));
|
||||
}, i18n_el: function() {
|
||||
return loadJsonAsset(require(dependencyMap[6]));
|
||||
}, i18n_enGB: function() {
|
||||
return loadJsonAsset(require(dependencyMap[7]));
|
||||
}, i18n_esES: function() {
|
||||
return loadJsonAsset(require(dependencyMap[8]));
|
||||
}, i18n_es419: function() {
|
||||
return loadJsonAsset(require(dependencyMap[9]));
|
||||
}, i18n_fi: function() {
|
||||
return loadJsonAsset(require(dependencyMap[10]));
|
||||
}, i18n_fr: function() {
|
||||
return loadJsonAsset(require(dependencyMap[11]));
|
||||
}, i18n_hr: function() {
|
||||
return loadJsonAsset(require(dependencyMap[12]));
|
||||
}, i18n_hu: function() {
|
||||
return loadJsonAsset(require(dependencyMap[13]));
|
||||
}, i18n_it: function() {
|
||||
return loadJsonAsset(require(dependencyMap[14]));
|
||||
}, i18n_ja: function() {
|
||||
return loadJsonAsset(require(dependencyMap[15]));
|
||||
}, i18n_ko: function() {
|
||||
return loadJsonAsset(require(dependencyMap[16]));
|
||||
}, i18n_lt: function() {
|
||||
return loadJsonAsset(require(dependencyMap[17]));
|
||||
}, i18n_nl: function() {
|
||||
return loadJsonAsset(require(dependencyMap[18]));
|
||||
}, i18n_no: function() {
|
||||
return loadJsonAsset(require(dependencyMap[19]));
|
||||
}, i18n_pl: function() {
|
||||
return loadJsonAsset(require(dependencyMap[20]));
|
||||
}, i18n_ptBR: function() {
|
||||
return loadJsonAsset(require(dependencyMap[21]));
|
||||
}, i18n_ro: function() {
|
||||
return loadJsonAsset(require(dependencyMap[22]));
|
||||
}, i18n_ru: function() {
|
||||
return loadJsonAsset(require(dependencyMap[23]));
|
||||
}, i18n_svSE: function() {
|
||||
return loadJsonAsset(require(dependencyMap[24]));
|
||||
}, i18n_th: function() {
|
||||
return loadJsonAsset(require(dependencyMap[25]));
|
||||
}, i18n_tr: function() {
|
||||
return loadJsonAsset(require(dependencyMap[26]));
|
||||
}, i18n_uk: function() {
|
||||
return loadJsonAsset(require(dependencyMap[27]));
|
||||
}, i18n_vi: function() {
|
||||
return loadJsonAsset(require(dependencyMap[28]));
|
||||
}, i18n_zhCN: function() {
|
||||
return loadJsonAsset(require(dependencyMap[29]));
|
||||
}, i18n_zhTW: function() {
|
||||
return loadJsonAsset(require(dependencyMap[30]));
|
||||
}, i18n_hi: function() {
|
||||
return loadJsonAsset(require(dependencyMap[31]));
|
||||
}};
|
||||
exports.loadJsonAsset = closure;
|
||||
}
|
||||
|
||||
function _loadJsonAsset() { // fn#14026, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1374:1309, offset: 0x00df9c28, size: 48 bytes, params: 1, frame: 14
|
||||
return env0_3(_fun14028).apply(this, arguments);
|
||||
}
|
||||
|
||||
async function _fun14028(a0) { // fn#14028, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1374:1360, offset: 0x00df9c6a, size: 343 bytes, params: 2, frame: 22
|
||||
var r4;
|
||||
var binding;
|
||||
var uri;
|
||||
var value6;
|
||||
var value10;
|
||||
var value12;
|
||||
let value = a1;
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
const value4 = undefined;
|
||||
const r6 = !(value !== value4) || value;
|
||||
await value4;
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
value = environment.__proto__.__proto__;
|
||||
if (env2_6[a0] == null) {
|
||||
binding = env2_4;
|
||||
uri = binding.resolveAssetSource(a0).uri;
|
||||
binding = env2_0;
|
||||
value6 = binding(env2_2[32]);
|
||||
r4 = value6.isAndroid() ? env2_1(env2_2[33]) == null ? value4 : env2_1(env2_2[33]).readAsset(uri,
|
||||
'utf8') : env2_5.DCDFileManager.readAsset(uri, 'utf8');
|
||||
if (r4 == null) {
|
||||
throw new global.Error("RTNFileManager doesn't exist?");
|
||||
}
|
||||
await r4;
|
||||
value10 = undefined;
|
||||
if (false) {
|
||||
return value10;
|
||||
}
|
||||
if (value10 == null) {
|
||||
return null;
|
||||
}
|
||||
if (env2_6[a0] == null) {
|
||||
value12 = global.JSON.parse(value10);
|
||||
env2_6[a0] = value12;
|
||||
return value12;
|
||||
}
|
||||
if (r6) {
|
||||
return env2_6[a0];
|
||||
}
|
||||
value12 = global.JSON.parse(value10);
|
||||
} else {
|
||||
if (r6) {
|
||||
return env2_6[a0];
|
||||
}
|
||||
binding = env2_4;
|
||||
uri = binding.resolveAssetSource(a0).uri;
|
||||
value6 = env2_0(env2_2[32]);
|
||||
r4 = value6.isAndroid() ? env2_1(env2_2[33]) == null ? value4 : env2_1(env2_2[33]).readAsset(uri,
|
||||
'utf8') : env2_5.DCDFileManager.readAsset(uri, 'utf8');
|
||||
if (r4 == null) {
|
||||
throw new global.Error("RTNFileManager doesn't exist?");
|
||||
}
|
||||
await r4;
|
||||
value10 = undefined;
|
||||
if (false) {
|
||||
return value10;
|
||||
}
|
||||
if (value10 == null) {
|
||||
return null;
|
||||
}
|
||||
if (env2_6[a0] == null) {
|
||||
value12 = global.JSON.parse(value10);
|
||||
env2_6[a0] = value12;
|
||||
return value12;
|
||||
}
|
||||
if (r6) {
|
||||
return env2_6[a0];
|
||||
}
|
||||
value12 = global.JSON.parse(value10);
|
||||
}
|
||||
env2_6[a0] = value12;
|
||||
return value12;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user