91 lines
4.9 KiB
TypeScript
91 lines
4.9 KiB
TypeScript
/* Metro module 12621; source: modules/parent_tools/FamilyCenterPendingConnectionStore.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 _fun96792(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#96792, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12811:6, offset: 0x02167425, size: 305 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const PersistedStore = (Flux).PersistedStore;
|
|
let value = _fun96796(PersistedStore);
|
|
value.displayName = 'FamilyCenterPendingConnectionStore';
|
|
value.persistKey = 'FamilyCenterPendingConnectionStore';
|
|
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */,
|
|
{FAMILY_CENTER_PENDING_CONNECTION_SET: function({teenId, linkCode}) {
|
|
env0_5 = {teenId: teenId, linkCode: linkCode};
|
|
}, FAMILY_CENTER_PENDING_CONNECTION_CLEAR: function() {
|
|
env0_5 = null;
|
|
}, LOGOUT: function() {
|
|
env0_5 = null;
|
|
}});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/parent_tools/FamilyCenterPendingConnectionStore.tsx');
|
|
exports.default = value;
|
|
function _isNativeReflectConstruct_96793() { // fn#96793, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12811:148, offset: 0x02167556, 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_96793_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun96796(a0) { // fn#96796, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12811:358, offset: 0x021675b8, size: 124 bytes, params: 2, frame: 16
|
|
const FamilyCenterPendingConnectionStore2 = FamilyCenterPendingConnectionStore;
|
|
Inherits(FamilyCenterPendingConnectionStore2, a0);
|
|
return CreateClass(FamilyCenterPendingConnectionStore2, [{key: 'initialize', value: value_96798}, {key: 'getState',
|
|
value: value_96799}, {key: 'getPendingConnection', value: value_96800}]);
|
|
function FamilyCenterPendingConnectionStore() { // fn#96797, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12811:370, offset: 0x00c7a0d6, size: 113 bytes, params: 1, frame: 20
|
|
const value = environment.__proto__;
|
|
env1_0(this, FamilyCenterPendingConnectionStore);
|
|
const value3 = env1_3(FamilyCenterPendingConnectionStore);
|
|
return env1_2(this, _isNativeReflectConstruct_96793() ? global.Reflect.construct(value3, arguments,
|
|
env1_3(this).constructor) : value3.apply(this, arguments));
|
|
}
|
|
|
|
function value_96798(a0) { // fn#96798, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12811:758, offset: 0x02167634, size: 26 bytes, params: 2, frame: 3
|
|
let value = a0;
|
|
const value2 = null;
|
|
const r1 = value2 != value ? value : value2;
|
|
value = environment.__proto__;
|
|
}
|
|
|
|
function value_96799() { // fn#96799, offset: 0x00e40571, size: 9 bytes, params: 1, frame: 1
|
|
return env1_5;
|
|
}
|
|
|
|
function value_96800() { // fn#96800, offset: 0x00e40571, size: 9 bytes, params: 1, frame: 1
|
|
return env1_5;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun96792, 12621, [6, 7, 15, 17, 18, 566, 694,
|
|
2]) /* metro module 12621, dependencies: [6, 7, 15, 17, 18, 566, 694, 2] */;
|