74 lines
3.8 KiB
TypeScript
74 lines
3.8 KiB
TypeScript
/* Metro module 11069; source: modules/stickers/native/premium/openStickersPremiumUpsellAlert.tsx; dependencies: [5, 31, 661, 33, 683, 6847, 4223, 4496, 11070, 1962, 2] */
|
|
function _fun84752(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#84752, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11255:6, offset: 0x01f56264, size: 197 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_3 = importDefault(5) /* metro dependency 5 */;
|
|
importAll(31) /* metro dependency 31 */;
|
|
const constantsModule = require(661) /* metro dependency 661: Constants */;
|
|
const env0_4 = constantsModule.AnalyticEvents;
|
|
const env0_5 = constantsModule.AnalyticsSections;
|
|
const env0_6 = (require(33) /* metro dependency 33 */).jsx;
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/stickers/native/premium/openStickersPremiumUpsellAlert.tsx');
|
|
exports.default = function() {
|
|
return _openStickersPremiumUpsellAlert.apply(this, arguments);
|
|
};
|
|
}
|
|
|
|
function _openStickersPremiumUpsellAlert() { // fn#84753, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11255:181, offset: 0x01f56329, size: 50 bytes, params: 1, frame: 14
|
|
return env0_3(_fun84755).apply(this, arguments);
|
|
}
|
|
|
|
function* _fun84755(a0) { // fn#84755, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11255:266, offset: 0x01f56366, size: 228 bytes, params: 2, frame: 20
|
|
var environment;
|
|
if (true) {
|
|
var env0_0 = a0;
|
|
value = environment.__proto__.__proto__;
|
|
var binding = env2_1;
|
|
var binding2 = env2_2;
|
|
var value3 = binding(binding2[4]);
|
|
var track = value3.track;
|
|
var OPEN_MODAL = env2_4.OPEN_MODAL;
|
|
var STICKER_PREMIUM_TIER_2_UPSELL_MODAL = env2_5.STICKER_PREMIUM_TIER_2_UPSELL_MODAL;
|
|
Reflect.apply(track, value3, [OPEN_MODAL, {type: STICKER_PREMIUM_TIER_2_UPSELL_MODAL, location: a0}]);
|
|
var Promise = global.Promise;
|
|
var all = Promise.all;
|
|
binding = env2_0;
|
|
items = [binding(binding2[5]).fetchPremiumSubscriptionPlans()];
|
|
var value5 = binding(binding2[6]);
|
|
items[1] = value5.fetchPaymentSources();
|
|
yield Reflect.apply(all, Promise, [items]);
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
value = env2_1(env2_2[7]);
|
|
value.openLazy({importer: importer_84756});
|
|
}
|
|
}
|
|
|
|
function importer_84756() { // fn#84756, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11255:481, offset: 0x01f5644a, size: 64 bytes, params: 1, frame: 13
|
|
var environment;
|
|
let value = environment.__proto__.__proto__.__proto__;
|
|
const binding = env3_0;
|
|
const binding2 = env3_2;
|
|
value = binding(binding2[9]);
|
|
value = value(binding2[8], binding2.paths);
|
|
return value.then(function({default: env0_0}) {
|
|
return _fun84758;
|
|
});
|
|
}
|
|
|
|
function _fun84757({default: env0_0}) { // fn#84757, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11255:513, offset: 0x01f5648a, size: 23 bytes, params: 2, frame: 2
|
|
return _fun84758;
|
|
}
|
|
|
|
function _fun84758(a0) { // fn#84758, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11255:528, offset: 0x01f564a1, size: 52 bytes, params: 2, frame: 14
|
|
const binding = env5_6;
|
|
const binding2 = env0_0;
|
|
const object2 = {};
|
|
copyDataProperties(object2, a0, undefined);
|
|
object2['analyticsLocation'] = env2_0;
|
|
return binding(binding2, object2);
|
|
}
|
|
|