Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,144 @@
|
||||
/* Metro module 9474; source: modules/premium_apps/ApplicationSubscriptionsHttpApi.tsx; dependencies: [5, 661, 507, 694, 4132, 2] */
|
||||
function _fun73671(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#73671, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9660:6, offset: 0x01d74837, size: 217 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 */;
|
||||
const env0_4 = (require(661) /* metro dependency 661: Constants */).Endpoints;
|
||||
const value = _fun73675();
|
||||
const value2 = _fun73679();
|
||||
const value3 = _fun73683();
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/premium_apps/ApplicationSubscriptionsHttpApi.tsx');
|
||||
exports.getApplicationSubscriptionGroupListingsForApplication = value;
|
||||
exports.getEntitlementsForGuild = value2;
|
||||
exports.getSubscriptionGroupForSubscriptionPlan = value3;
|
||||
exports.fetchApplication = fetchApplication_73687;
|
||||
exports.fetchEligibleApplicationSubscriptionGuilds = function() {
|
||||
return _fetchEligibleApplicationSubscriptionGuilds.apply(this, arguments);
|
||||
};
|
||||
}
|
||||
|
||||
function _fetchEligibleApplicationSubscriptionGuilds() { // fn#73672, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9660:736, offset: 0x01d74910, size: 50 bytes, params: 1, frame: 14
|
||||
return env0_3(_fun73674).apply(this, arguments);
|
||||
}
|
||||
|
||||
function _fun73675() { // fn#73675, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9660:130, offset: 0x01d749c1, size: 36 bytes, params: 1, frame: 12
|
||||
const env0_0 = env0_3(_fun73677);
|
||||
return _fun73678;
|
||||
}
|
||||
|
||||
function _fun73679() { // fn#73679, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9660:331, offset: 0x01d74a59, size: 36 bytes, params: 1, frame: 12
|
||||
const env0_0 = env0_3(_fun73681);
|
||||
return _fun73682;
|
||||
}
|
||||
|
||||
function _fun73683() { // fn#73683, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9660:548, offset: 0x01d74b00, size: 36 bytes, params: 1, frame: 12
|
||||
const env0_0 = env0_3(_fun73685);
|
||||
return _fun73686;
|
||||
}
|
||||
|
||||
function fetchApplication_73687(a0, a1) { // fn#73687, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9660:1268, offset: 0x01d74b94, size: 161 bytes, params: 3, frame: 17
|
||||
var object2;
|
||||
const env0_0 = a0;
|
||||
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'APPLICATION_FETCH', applicationId: a0});
|
||||
const HTTP = (require(507) /* metro dependency 507: HTTPUtils */).HTTP;
|
||||
const get = HTTP.get;
|
||||
object2 = {};
|
||||
object2.url = Endpoints.APPLICATION_PUBLIC(a0);
|
||||
object2.signal = a1;
|
||||
object2.rejectWithError = false;
|
||||
let value = Reflect.apply(get, HTTP, [object2]);
|
||||
value = value.then(_fun73688);
|
||||
return value.catch(_fun73689);
|
||||
}
|
||||
|
||||
function* _fun73674(a0, a1) { // fn#73674, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9660:845, offset: 0x01d7494d, size: 116 bytes, params: 3, frame: 14
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
value = environment.__proto__.__proto__;
|
||||
const HTTP = env2_0(env2_2[2]).HTTP;
|
||||
const get = HTTP.get;
|
||||
const ELIGIBLE_APPLICATION_SUBSCRIPTION_GUILDS = env2_4.ELIGIBLE_APPLICATION_SUBSCRIPTION_GUILDS;
|
||||
yield Reflect.apply(get, HTTP, [{url: ELIGIBLE_APPLICATION_SUBSCRIPTION_GUILDS, query: {application_id: a0,
|
||||
sku_id: a1}, rejectWithError: false}]);
|
||||
value = undefined;
|
||||
if (false) {
|
||||
return value;
|
||||
}
|
||||
return value.body;
|
||||
}
|
||||
|
||||
function* _fun73677(a0, a1) { // fn#73677, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9660:150, offset: 0x01d749f0, size: 105 bytes, params: 3, frame: 17
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
value = environment.__proto__.__proto__;
|
||||
const HTTP = env2_0(env2_2[2]).HTTP;
|
||||
const get = HTTP.get;
|
||||
const object2 = {};
|
||||
object2.url = env2_4.APPLICATION_SUBSCRIPTION_GROUP_LISTING(a0, a1);
|
||||
object2.rejectWithError = false;
|
||||
yield Reflect.apply(get, HTTP, [object2]);
|
||||
value = undefined;
|
||||
if (false) {
|
||||
return value;
|
||||
}
|
||||
return value.body;
|
||||
}
|
||||
|
||||
function* _fun73681(a0) { // fn#73681, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9660:351, offset: 0x01d74a88, size: 120 bytes, params: 2, frame: 15
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
value = environment.__proto__.__proto__;
|
||||
const HTTP = env2_0(env2_2[2]).HTTP;
|
||||
const get = HTTP.get;
|
||||
const object2 = {};
|
||||
object2.url = env2_4.GUILD_ENTITLEMENTS(a0);
|
||||
object2.query = {'with_sku': true, 'with_application': true};
|
||||
object2.rejectWithError = false;
|
||||
yield Reflect.apply(get, HTTP, [object2]);
|
||||
value = undefined;
|
||||
if (false) {
|
||||
return value;
|
||||
}
|
||||
return value.body;
|
||||
}
|
||||
|
||||
function* _fun73685(a0) { // fn#73685, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9660:568, offset: 0x01d74b2f, size: 101 bytes, params: 2, frame: 15
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
value = environment.__proto__.__proto__;
|
||||
const HTTP = env2_0(env2_2[2]).HTTP;
|
||||
const get = HTTP.get;
|
||||
const object2 = {};
|
||||
object2.url = env2_4.SUBSCRIPTION_PLAN_GROUP_LISTING(a0);
|
||||
object2.rejectWithError = false;
|
||||
yield Reflect.apply(get, HTTP, [object2]);
|
||||
value = undefined;
|
||||
if (false) {
|
||||
return value;
|
||||
}
|
||||
return value.body;
|
||||
}
|
||||
|
||||
function _fun73688(a0) { // fn#73688, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9660:1449, offset: 0x01d74c35, size: 70 bytes, params: 2, frame: 13
|
||||
const value = environment.__proto__;
|
||||
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({'type': 'APPLICATION_FETCH_SUCCESS',
|
||||
'application': null, 'isHydrated': true, application: a0.body});
|
||||
return a0.body;
|
||||
}
|
||||
|
||||
function _fun73689(a0) { // fn#73689, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9660:1556, offset: 0x01d74c7b, size: 112 bytes, params: 2, frame: 15
|
||||
let value = environment.__proto__;
|
||||
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'APPLICATION_FETCH_FAIL',
|
||||
applicationId: env0_0});
|
||||
const Promise = global.Promise;
|
||||
const reject = Promise.reject;
|
||||
value = importDefault(4132) /* metro dependency 4132: APIError */;
|
||||
value = new value(a0);
|
||||
return Reflect.apply(reject, Promise, [value]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user