Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,107 @@
|
||||
/* Metro module 15840; source: modules/user_settings/UserSettingsManager.tsx; dependencies: [6, 7, 15, 17, 18, 3829, 4860, 2] */
|
||||
function _fun121779(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#121779, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16048:6, offset: 0x02551129, size: 238 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = importDefault(6) /* metro dependency 6 */;
|
||||
const env0_3 = importDefault(7) /* metro dependency 7 */;
|
||||
const env0_4 = importDefault(15) /* metro dependency 15 */;
|
||||
const env0_5 = importDefault(17) /* metro dependency 17 */;
|
||||
const env0_6 = importDefault(18) /* metro dependency 18 */;
|
||||
let value = importDefault(4860) /* metro dependency 4860: AutomaticLifecycleManager */;
|
||||
value = _fun121783(value);
|
||||
const value3 = new value();
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/user_settings/UserSettingsManager.tsx');
|
||||
exports.default = value3;
|
||||
exports.UserSettingsManager = value;
|
||||
}
|
||||
|
||||
function _isNativeReflectConstruct_121780() { // fn#121780, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16048:148, offset: 0x02551217, 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_121780_isNativeReflectConstruct = function() {
|
||||
return !!result;
|
||||
})();
|
||||
}
|
||||
|
||||
function _fun121783(a0) { // fn#121783, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16048:352, offset: 0x02551279, size: 99 bytes, params: 2, frame: 16
|
||||
const closure = UserSettingsManager;
|
||||
env0_6(closure, a0);
|
||||
return env0_3(closure, [{key: 'setVerifyTimezone', value: function() {
|
||||
env1_7 = true;
|
||||
}}, {key: 'ensureTimezoneUpdated', value: value_121787}]);
|
||||
}
|
||||
|
||||
function UserSettingsManager(a0) { // fn#121784, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16048:364, offset: 0x025512dc, size: 176 bytes, params: 2, frame: 20
|
||||
var r0;
|
||||
var Reflect;
|
||||
let value = copyRestArgs(0, undefined);
|
||||
let binding = env1_2;
|
||||
binding(this, UserSettingsManager);
|
||||
const items = [];
|
||||
arraySpread(items, value, 0, items);
|
||||
value = env1_5(UserSettingsManager);
|
||||
binding = env1_4;
|
||||
if (_isNativeReflectConstruct_121780()) {
|
||||
Reflect = global.Reflect;
|
||||
value = Reflect.construct(value, items, env1_5(this).constructor);
|
||||
r0 = value;
|
||||
} else {
|
||||
value = value.apply(this, items);
|
||||
r0 = value;
|
||||
}
|
||||
value = binding(this, r0);
|
||||
value.actions = {POST_CONNECTION_OPEN: POST_CONNECTION_OPEN_121785, OVERLAY_INITIALIZE: value.setVerifyTimezone,
|
||||
USER_SETTINGS_PROTO_UPDATE: value.ensureTimezoneUpdated};
|
||||
return value;
|
||||
}
|
||||
|
||||
function value_121787() { // fn#121787, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16048:899, offset: 0x025513ae, size: 124 bytes, params: 1, frame: 14
|
||||
var Date;
|
||||
var value2;
|
||||
var date;
|
||||
var timezoneOffset;
|
||||
var TimezoneOffset;
|
||||
if (env1_7) {
|
||||
Date = global.Date;
|
||||
value2 = Object.create(Date.prototype, {constructor: {value: Date}});
|
||||
date = new Date();
|
||||
timezoneOffset = (date instanceof Object ? date : value2).getTimezoneOffset();
|
||||
TimezoneOffset = (require(3829) /* metro dependency 3829: UserSettings */).TimezoneOffset;
|
||||
if (TimezoneOffset.getSetting() !== timezoneOffset) {
|
||||
global.setImmediate(_fun121788);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function UserSettingsManagerPOST_CONNECTION_OPEN() { // fn#121785, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16048:639, owner: UserSettingsManager.POST_CONNECTION_OPEN, offset: 0x0255138c, size: 21 bytes, params: 1, frame: 9
|
||||
env0_0.setVerifyTimezone();
|
||||
}
|
||||
|
||||
function _fun121788() { // fn#121788, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16048:1013, offset: 0x0255142a, size: 51 bytes, params: 1, frame: 11
|
||||
const TimezoneOffset = (require(3829) /* metro dependency 3829: UserSettings */).TimezoneOffset;
|
||||
return TimezoneOffset.updateSetting(env0_0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user