80 lines
4.4 KiB
TypeScript
80 lines
4.4 KiB
TypeScript
/* Metro module 8098; source: modules/activities/ActivityShelfStore.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 _fun64941(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#64941, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8283:6, offset: 0x01bba7ab, size: 287 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
object = {usageByApplicationId: {}, shelfOrder: []};
|
|
const PersistedStore = (Flux).PersistedStore;
|
|
let value = _fun64945(PersistedStore);
|
|
value.displayName = 'ActivityShelfStore';
|
|
value.persistKey = 'ActivityShelfStore';
|
|
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */, {LOGOUT: function() {
|
|
env0_5 = {usageByApplicationId: {}, shelfOrder: []};
|
|
}});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/activities/ActivityShelfStore.tsx');
|
|
exports.default = value;
|
|
function _isNativeReflectConstruct_64942() { // fn#64942, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8283:148, offset: 0x01bba8ca, size: 94 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_64942_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun64945(a0) { // fn#64945, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8283:393, offset: 0x01bba928, size: 91 bytes, params: 2, frame: 16
|
|
const ActivityShelfStore2 = ActivityShelfStore;
|
|
Inherits(ActivityShelfStore2, a0);
|
|
return CreateClass(ActivityShelfStore2, [{key: 'initialize', value: value_64947}, {key: 'getState', value: value_64948}]);
|
|
function ActivityShelfStore() { // fn#64946, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8283:405, offset: 0x00c7a0d6, size: 113 bytes, params: 1, frame: 20
|
|
const value = environment.__proto__;
|
|
env1_0(this, ActivityShelfStore);
|
|
const value3 = env1_3(ActivityShelfStore);
|
|
return env1_2(this, _isNativeReflectConstruct_64942() ? global.Reflect.construct(value3, arguments,
|
|
env1_3(this).constructor) : value3.apply(this, arguments));
|
|
}
|
|
|
|
function value_64947(a0) { // fn#64947, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8283:713, offset: 0x01bba983, size: 50 bytes, params: 2, frame: 12
|
|
copyDataProperties({usageByApplicationId: {}, shelfOrder: []}, a0 ?? ({}), null);
|
|
value = environment.__proto__;
|
|
}
|
|
|
|
function value_64948() { // fn#64948, offset: 0x00e40571, size: 9 bytes, params: 1, frame: 1
|
|
return env1_5;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun64941, 8098, [6, 7, 15, 17, 18, 566, 694,
|
|
2]) /* metro module 8098, dependencies: [6, 7, 15, 17, 18, 566, 694, 2] */;
|