Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,50 @@
|
||||
/* Metro module 7341; source: unknown; dependencies: [5, 27] */
|
||||
function _fun59106(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#59106, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7519:6, offset: 0x016e151e, size: 108 bytes, params: 8, frame: 17
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_0 = importDefault(5) /* metro dependency 5 */;
|
||||
const NativeModules = (require(27) /* metro dependency 27 */).NativeModules;
|
||||
const env0_1 = NativeModules.RNIapAmazonModule;
|
||||
exports.fillProductsWithAdditionalData = _fun59107();
|
||||
}
|
||||
|
||||
function _fun59107() { // fn#59107, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7519:150, offset: 0x016e158a, size: 32 bytes, params: 1, frame: 12
|
||||
const env0_0Binding = env0_0(_fun59109);
|
||||
return fillProductsWithAdditionalData;
|
||||
}
|
||||
|
||||
function* _fun59109(a0) { // fn#59109, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7519:170, offset: 0x016e15b3, size: 106 bytes, params: 2, frame: 14
|
||||
var environment;
|
||||
var binding;
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
var env0_0;
|
||||
value = environment.__proto__.__proto__;
|
||||
if (env2_1) {
|
||||
binding = env2_1;
|
||||
yield binding.getUser();
|
||||
value = undefined;
|
||||
if (false) {
|
||||
return value;
|
||||
}
|
||||
env0_0 = ({'CA': 'CAD', 'ES': 'EUR', 'AU': 'AUD', 'DE': 'EUR', 'IN': 'INR', 'US': 'USD', 'JP': 'JPY',
|
||||
'GB': 'GBP',
|
||||
'IT': 'EUR', 'BR': 'BRL', 'FR': 'EUR'})[value.userMarketplaceAmazon];
|
||||
a0.forEach(_fun59110);
|
||||
}
|
||||
return a0;
|
||||
}
|
||||
|
||||
function _fun59110(a0) { // fn#59110, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7519:350, offset: 0x016e161d, size: 76 bytes, params: 2, frame: 6
|
||||
var originalPrice;
|
||||
var value;
|
||||
if (env0_0) {
|
||||
originalPrice = a0.originalPrice;
|
||||
a0.currency = env0_0;
|
||||
value = '0.0';
|
||||
a0.price = originalPrice ?? value;
|
||||
a0.localizedPrice = originalPrice ?? value;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user