Files
discord-decomp/sources/lib/KeybindModKeys.tsx
T
2026-07-28 01:06:53 +03:00

39 lines
1.7 KiB
TypeScript

/* Metro module 12481; source: lib/KeybindModKeys.tsx; dependencies: [477, 2] */
import * as FileImportTrackerModule from '../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun95017(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#95017, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12671:6, offset: 0x0212eccb, size: 251 bytes, params: 8, frame: 19
var r4;
var r3;
var r1;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = require(477) /* metro dependency 477: PlatformUtils */;
if (value.isMac()) {
r4 = 'cmd';
} else {
value = require(477) /* metro dependency 477: PlatformUtils */;
value = value.isMacWeb();
r4 = value ? 'cmd' : 'ctrl';
}
if (Reflect.apply((require(477) /* metro dependency 477: PlatformUtils */).isMac, value, [])) {
r3 = 'opt';
} else {
value = require(477) /* metro dependency 477: PlatformUtils */;
value = value.isMacWeb();
r3 = value ? 'opt' : 'alt';
}
if (Reflect.apply((require(477) /* metro dependency 477: PlatformUtils */).isMac, value, [])) {
r1 = 'return';
} else {
value = require(477) /* metro dependency 477: PlatformUtils */;
value = value.isMacWeb();
r1 = value ? 'return' : 'enter';
}
(FileImportTrackerModule).fileFinishedImporting('lib/KeybindModKeys.tsx');
exports.modKey = r4;
exports.altKey = r3;
exports.returnKey = r1;
}
global.__d(_fun95017, 12481, [477, 2]) /* metro module 12481, dependencies: [477, 2] */;