62 lines
2.8 KiB
TypeScript
62 lines
2.8 KiB
TypeScript
/* Metro module 14307; source: modules/age_gate/AgeGateStore.tsx; dependencies: [6, 7, 15, 17, 18, 1229, 566, 694, 2] */
|
|
function _fun108278(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#108278, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14504:6, offset: 0x0231ad70, size: 301 bytes, params: 8, frame: 19
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_0 = importDefault(6) /* metro dependency 6 */;
|
|
const env0_1 = importDefault(7) /* metro dependency 7 */;
|
|
const env0_2 = importDefault(15) /* metro dependency 15 */;
|
|
const env0_3 = importDefault(17) /* metro dependency 17 */;
|
|
const env0_4 = importDefault(18) /* metro dependency 18 */;
|
|
(require(1229) /* metro dependency 1229: AgeGateConstants */).AGE_GATE_REGISTER_TIMEOUT_MS;
|
|
const Store = (importDefault(566) /* metro dependency 566: flux */).Store;
|
|
let value = _fun108282(Store);
|
|
value.displayName = 'AgeGateStore';
|
|
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */,
|
|
{AGE_GATE_PREVENT_UNDERAGE_REGISTRATION: function() {
|
|
env0_5 = true;
|
|
var Date = global.Date;
|
|
Date.now();
|
|
}, LOGIN_SUCCESS: function() {
|
|
env0_5 = false;
|
|
}});
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/age_gate/AgeGateStore.tsx');
|
|
exports.default = value;
|
|
}
|
|
|
|
function _isNativeReflectConstruct_108279() { // fn#108279, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14504:185, offset: 0x0231ae9d, 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_108279_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun108282(a0) { // fn#108282, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14504:393, offset: 0x0231aeff, size: 74 bytes, params: 2, frame: 15
|
|
const closure = AgeGateStore;
|
|
env0_4(closure, a0);
|
|
return env0_1(closure, [{key: 'isUnderageAnonymous', value: value_108284}]);
|
|
}
|
|
|