This commit is contained in:
janisslsm committed 2026-07-28 01:06:53 +03:00
1 parent af3b49f756
commit 1781d25a15
22448 files changed
+2731829 -2650550

No files matched your search

@@ -1,103 +1,121 @@
/* Metro module 11662; source: modules/app_launcher/AppLauncherLastUsedCommandStore.tsx; dependencies: [6, 7, 15, 17, 18, 672, 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 Durations from '../../utils/Durations.tsx'; /* Metro dependency 672 */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun89399(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#89399, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11848:6, offset: 0x0200c8b0, size: 324 bytes, params: 8, frame: 18
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 */;
const Millis = (importDefault(672) /* metro dependency 672: Durations */).Millis;
const Millis = (Durations).Millis;
const MINUTE = Millis.MINUTE;
const env0_5 = 10 * MINUTE;
const env0_6 = {'lastUsedCommandId': null, 'lastUsedTimeMs': null};
const PersistedStore = (importDefault(566) /* metro dependency 566: flux */).PersistedStore;
const PersistedStore = (Flux).PersistedStore;
let value = _fun89403(PersistedStore);
value.displayName = 'AppLauncherLastUsedCommandStore';
value.persistKey = 'AppLauncherLastUsedCommandStore';
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */,
{APPLICATION_COMMAND_USED: APPLICATION_COMMAND_USED_89408});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/app_launcher/AppLauncherLastUsedCommandStore.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/app_launcher/AppLauncherLastUsedCommandStore.tsx');
exports.default = value;
}
function _isNativeReflectConstruct_89400() { // fn#89400, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11848:148, offset: 0x0200c9f4, 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_89400_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun89403(a0) { // fn#89403, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11848:425, offset: 0x0200ca56, size: 124 bytes, params: 2, frame: 16
const closure = AppLauncherLastUsedCommandStore;
env0_4(closure, a0);
return env0_1(closure, [{key: 'initialize', value: value_89405}, {key: 'getState', value: value_89406},
{key: 'getLastUsedCommandId', value: value_89407}]);
}
function APPLICATION_COMMAND_USED_89408({command}) { // fn#89408, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11848:1340, offset: 0x0200cb6c, size: 54 bytes, params: 2, frame: 10
const binding = env0_6;
binding.lastUsedCommandId = command.id;
const Date = global.Date;
binding.lastUsedTimeMs = Date.now();
}
function value_89405(a0) { // fn#89405, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11848:810, offset: 0x0200cad2, size: 44 bytes, params: 2, frame: 3
var value;
var binding;
if (a0 != null) {
value = environment.__proto__;
binding = env1_6;
binding.lastUsedCommandId = a0.lastUsedCommandId;
binding.lastUsedTimeMs = a0.lastUsedTimeMs;
}
}
function value_89407() { // fn#89407, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11848:987, offset: 0x0200cafe, size: 110 bytes, params: 1, frame: 13
var lastUsedCommandId;
var binding;
const Date = global.Date;
const value = Date.now();
const lastUsedTimeMs = env1_6.lastUsedTimeMs;
const value3 = null;
if (value3 == lastUsedTimeMs) {
lastUsedCommandId = value3;
} else {
lastUsedCommandId = env1_6.lastUsedCommandId;
if (value3 == lastUsedCommandId) {
lastUsedCommandId = value3;
} else {
if (value > env1_6.lastUsedTimeMs + env1_5) {
binding = env1_6;
binding.lastUsedCommandId = value3;
binding.lastUsedTimeMs = value3;
}
lastUsedCommandId = env1_6.lastUsedCommandId;
function _isNativeReflectConstruct_89400() { // fn#89400, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11848:148, offset: 0x0200c9f4, 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_89400_isNativeReflectConstruct = function() {
return !!result;
})();
}
return lastUsedCommandId;
function _fun89403(a0) { // fn#89403, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11848:425, offset: 0x0200ca56, size: 124 bytes, params: 2, frame: 16
const AppLauncherLastUsedCommandStore2 = AppLauncherLastUsedCommandStore;
Inherits(AppLauncherLastUsedCommandStore2, a0);
return CreateClass(AppLauncherLastUsedCommandStore2, [{key: 'initialize', value: value_89405}, {key: 'getState',
value: value_89406}, {key: 'getLastUsedCommandId', value: value_89407}]);
function AppLauncherLastUsedCommandStore() { // fn#89404, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11848:437, offset: 0x00e3db8d, size: 113 bytes, params: 1, frame: 20
const value = environment.__proto__;
env1_0(this, AppLauncherLastUsedCommandStore);
const value3 = env1_3(AppLauncherLastUsedCommandStore);
return env1_2(this, _isNativeReflectConstruct_89400() ? global.Reflect.construct(value3, arguments,
env1_3(this).constructor) : value3.apply(this, arguments));
}
function value_89405(a0) { // fn#89405, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11848:810, offset: 0x0200cad2, size: 44 bytes, params: 2, frame: 3
var value;
var binding;
if (a0 != null) {
value = environment.__proto__;
binding = env1_6;
binding.lastUsedCommandId = a0.lastUsedCommandId;
binding.lastUsedTimeMs = a0.lastUsedTimeMs;
}
}
function value_89406() { // fn#89406, offset: 0x00c82288, size: 9 bytes, params: 1, frame: 1
return env1_6;
}
function value_89407() { // fn#89407, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11848:987, offset: 0x0200cafe, size: 110 bytes, params: 1, frame: 13
var lastUsedCommandId;
var binding;
const Date = global.Date;
const value = Date.now();
const lastUsedTimeMs = env1_6.lastUsedTimeMs;
const value3 = null;
if (value3 == lastUsedTimeMs) {
lastUsedCommandId = value3;
} else {
lastUsedCommandId = env1_6.lastUsedCommandId;
if (value3 == lastUsedCommandId) {
lastUsedCommandId = value3;
} else {
if (value > env1_6.lastUsedTimeMs + env1_5) {
binding = env1_6;
binding.lastUsedCommandId = value3;
binding.lastUsedTimeMs = value3;
}
lastUsedCommandId = env1_6.lastUsedCommandId;
}
}
return lastUsedCommandId;
}
}
function APPLICATION_COMMAND_USED_89408({command}) { // fn#89408, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11848:1340, offset: 0x0200cb6c, size: 54 bytes, params: 2, frame: 10
const binding = env0_6;
binding.lastUsedCommandId = command.id;
const Date = global.Date;
binding.lastUsedTimeMs = Date.now();
}
}
global.__d(_fun89399, 11662, [6, 7, 15, 17, 18, 672, 566, 694,
2]) /* metro module 11662, dependencies: [6, 7, 15, 17, 18, 672, 566, 694, 2] */;