92 lines
5.2 KiB
TypeScript
92 lines
5.2 KiB
TypeScript
/* Metro module 15825; source: modules/settings/native/renderer/SettingTreeCacheLifecycleManager.tsx; dependencies: [7, 6, 15, 17, 18, 14147, 4860, 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 AutomaticLifecycleManager from '../../../../lib/AutomaticLifecycleManager.tsx'; /* Metro dependency 4860 */
|
|
import SettingTreeManager from './SettingTreeManager.tsx'; /* Metro dependency 14147 */
|
|
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun121627(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#121627, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16033:6, offset: 0x0254c730, size: 226 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = AutomaticLifecycleManager;
|
|
value = _fun121631(value);
|
|
value = new value();
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/settings/native/renderer/SettingTreeCacheLifecycleManager.tsx');
|
|
exports.default = value;
|
|
function _isNativeReflectConstruct_121628() { // fn#121628, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16033:148, offset: 0x0254c812, 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_121628_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun121631(a0) { // fn#121631, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16033:351, offset: 0x0254c874, size: 42 bytes, params: 2, frame: 14
|
|
const SettingTreeManagerLifecycleManager2 = SettingTreeManagerLifecycleManager;
|
|
Inherits(SettingTreeManagerLifecycleManager2, a0);
|
|
return CreateClass(SettingTreeManagerLifecycleManager2);
|
|
function SettingTreeManagerLifecycleManager(a0) { // fn#121632, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16033:363, offset: 0x0254c89e, size: 165 bytes, params: 2, frame: 20
|
|
var r0;
|
|
var Reflect;
|
|
let value = copyRestArgs(0, undefined);
|
|
let binding = env1_3;
|
|
binding(this, SettingTreeManagerLifecycleManager);
|
|
const items2 = [];
|
|
arraySpread(items2, value, 0, items2);
|
|
value = env1_5(SettingTreeManagerLifecycleManager);
|
|
binding = env1_4;
|
|
if (_isNativeReflectConstruct_121628()) {
|
|
Reflect = global.Reflect;
|
|
value = Reflect.construct(value, items2, env1_5(this).constructor);
|
|
r0 = value;
|
|
} else {
|
|
value = value.apply(this, items2);
|
|
r0 = value;
|
|
}
|
|
value = binding(this, r0);
|
|
value.actions = {POST_CONNECTION_OPEN: POST_CONNECTION_OPEN_121633};
|
|
value.handleConnectionOpen = handleConnectionOpen_121634;
|
|
return value;
|
|
function SettingTreeManagerLifecycleManagerPOST_CONNECTION_OPEN() { // fn#121633, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16033:683, owner: SettingTreeManagerLifecycleManager.POST_CONNECTION_OPEN, offset: 0x00eed68e, size: 19 bytes, params: 1, frame: 9
|
|
return env0_0.handleConnectionOpen();
|
|
}
|
|
|
|
function SettingTreeManagerLifecycleManagerHandleConnectionOpen() { // fn#121634, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16033:736, owner: SettingTreeManagerLifecycleManager.handleConnectionOpen, offset: 0x0254c943, size: 37 bytes, params: 1, frame: 11
|
|
const value = environment.__proto__.__proto__;
|
|
(SettingTreeManager).clearCaches();
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun121627, 15825, [7, 6, 15, 17, 18, 14147, 4860,
|
|
2]) /* metro module 15825, dependencies: [7, 6, 15, 17, 18, 14147, 4860, 2] */;
|