87 lines
4.8 KiB
TypeScript
87 lines
4.8 KiB
TypeScript
/* Metro module 11436; source: modules/connections/GuildRoleConnectionEligibilityStore.tsx; dependencies: [6, 7, 15, 17, 18, 566, 694, 2] */
|
|
import ClassCallCheck from '../../by-id/module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
|
|
import CreateClass from '../../by-id/module-00007-CreateClass.js'; /* Metro dependency 7 */
|
|
import PossibleConstructorReturn from '../../by-id/module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */
|
|
import Module00017 from '../../by-id/module-00017.js'; /* Metro dependency 17 */
|
|
import Inherits from '../../by-id/module-00018-Inherits.js'; /* Metro dependency 18 */
|
|
import Flux from '../../external/discord_common/js/packages/flux/index.tsx'; /* Metro dependency 566 */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun87535(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#87535, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11622:6, offset: 0x01fc27d2, size: 297 bytes, params: 8, frame: 19
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const Map = global.Map;
|
|
let map = new Map();
|
|
const Store = (Flux).Store;
|
|
_fun87539(Store).displayName = 'GuildRoleConnectionEligibilityStore';
|
|
map = new map(importDefault(694) /* metro dependency 694: Dispatcher */,
|
|
{GUILD_ROLE_CONNECTION_ELIGIBILITY_FETCH_SUCCESS: GUILD_ROLE_CONNECTION_ELIGIBILITY_FETCH_SUCCESS});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/connections/GuildRoleConnectionEligibilityStore.tsx');
|
|
exports.default = map;
|
|
function _isNativeReflectConstruct_87536() { // fn#87536, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11622:148, offset: 0x01fc28fb, size: 98 bytes, params: 1, frame: 18
|
|
var Boolean;
|
|
var prototype;
|
|
var valueOf;
|
|
var call;
|
|
var Reflect;
|
|
var construct;
|
|
var closure;
|
|
var value;
|
|
var error;
|
|
try {
|
|
Boolean = global.Boolean;
|
|
prototype = Boolean.prototype;
|
|
valueOf = prototype.valueOf;
|
|
call = valueOf.call;
|
|
Reflect = global.Reflect;
|
|
construct = Reflect.construct;
|
|
Boolean = global.Boolean;
|
|
closure = function() {
|
|
};
|
|
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
|
|
value = Reflect.apply(call, valueOf, [value]);
|
|
var result = !value;
|
|
} catch (error) {
|
|
}
|
|
return (_isNativeReflectConstruct_87536_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun87539(a0) { // fn#87539, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11622:357, offset: 0x01fc295d, size: 74 bytes, params: 2, frame: 15
|
|
const GuildRoleConnectionEligibilityStore2 = GuildRoleConnectionEligibilityStore;
|
|
Inherits(GuildRoleConnectionEligibilityStore2, a0);
|
|
return CreateClass(GuildRoleConnectionEligibilityStore2, [{key: 'getGuildRoleConnectionEligibility',
|
|
value: value_87541}]);
|
|
function GuildRoleConnectionEligibilityStore() { // fn#87540, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11622:369, offset: 0x00c7a0d6, size: 113 bytes, params: 1, frame: 20
|
|
const value = environment.__proto__;
|
|
env1_0(this, GuildRoleConnectionEligibilityStore);
|
|
const value3 = env1_3(GuildRoleConnectionEligibilityStore);
|
|
return env1_2(this, _isNativeReflectConstruct_87536() ? global.Reflect.construct(value3, arguments,
|
|
env1_3(this).constructor) : value3.apply(this, arguments));
|
|
}
|
|
|
|
function value_87541(a0) { // fn#87541, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11622:785, offset: 0x01fc29a7, size: 33 bytes, params: 2, frame: 12
|
|
var r0;
|
|
let value = undefined;
|
|
if (a0 != null) {
|
|
value = environment.__proto__;
|
|
value = env1_5.get(a0);
|
|
r0 = value;
|
|
} else {
|
|
r0 = value;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
}
|
|
|
|
function GUILD_ROLE_CONNECTION_ELIGIBILITY_FETCH_SUCCESS({roleId, roleConnectionEligibility}) { // fn#87542, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11622:969, offset: 0x01fc29c8, size: 37 bytes, params: 2, frame: 13
|
|
env0_5.set(roleId, roleConnectionEligibility);
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun87535, 11436, [6, 7, 15, 17, 18, 566, 694,
|
|
2]) /* metro module 11436, dependencies: [6, 7, 15, 17, 18, 566, 694, 2] */;
|