95 lines
5.1 KiB
TypeScript
95 lines
5.1 KiB
TypeScript
/* Metro module 4256; source: modules/nuf/NewUserStore.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 _fun35377(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#35377, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4428:6, offset: 0x0107119b, size: 293 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const PersistedStore = (Flux).PersistedStore;
|
|
let value = _fun35381(PersistedStore);
|
|
value.displayName = 'NewUserStore';
|
|
value.persistKey = 'nuf';
|
|
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */, {NUF_NEW_USER: NUF_NEW_USER,
|
|
NUF_COMPLETE: NUF_COMPLETE});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/nuf/NewUserStore.tsx');
|
|
exports.default = value;
|
|
function _isNativeReflectConstruct_35378() { // fn#35378, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4428:148, offset: 0x010712c0, 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_35378_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun35381(a0) { // fn#35381, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4428:358, offset: 0x0107131e, size: 114 bytes, params: 2, frame: 16
|
|
const NewUserStore2 = NewUserStore;
|
|
Inherits(NewUserStore2, a0);
|
|
return CreateClass(NewUserStore2, [{key: 'initialize', value: value_35383}, {key: 'getType', value: value_35384},
|
|
{key: 'getState', value: value_35385}]);
|
|
function NewUserStore() { // fn#35382, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4428:370, offset: 0x00e3db8d, size: 113 bytes, params: 1, frame: 20
|
|
const value = environment.__proto__;
|
|
env1_0(this, NewUserStore);
|
|
const value3 = env1_3(NewUserStore);
|
|
return env1_2(this, _isNativeReflectConstruct_35378() ? global.Reflect.construct(value3, arguments,
|
|
env1_3(this).constructor) : value3.apply(this, arguments));
|
|
}
|
|
|
|
function value_35383(a0) { // fn#35383, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4428:648, offset: 0x01071390, size: 42 bytes, params: 2, frame: 5
|
|
let value = null;
|
|
const value2 = undefined;
|
|
const type = value == a0 ? value2 : a0.type;
|
|
const r2 = value != type ? type : value;
|
|
value = environment.__proto__;
|
|
return value2;
|
|
}
|
|
|
|
function value_35384() { // fn#35384, offset: 0x00e40571, size: 9 bytes, params: 1, frame: 1
|
|
return env1_5;
|
|
}
|
|
|
|
function value_35385() { // fn#35385, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4428:774, offset: 0x010713ba, size: 15 bytes, params: 1, frame: 2
|
|
return {type: env1_5};
|
|
}
|
|
|
|
}
|
|
|
|
function NUF_NEW_USER({newUserType}) { // fn#35386, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4428:911, offset: 0x010713c9, size: 34 bytes, params: 2, frame: 9
|
|
env0_6.persist();
|
|
}
|
|
|
|
function NUF_COMPLETE() { // fn#35387, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4428:981, offset: 0x010713eb, size: 27 bytes, params: 1, frame: 9
|
|
env0_6.persist();
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun35377, 4256, [6, 7, 15, 17, 18, 566, 694,
|
|
2]) /* metro module 4256, dependencies: [6, 7, 15, 17, 18, 566, 694, 2] */;
|