Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

+35
View File
@@ -0,0 +1,35 @@
/* Metro module 7138; source: modules/device/DeviceState.tsx; dependencies: [7139, 2, 7140] */
function _fun57125(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#57125, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7316:6, offset: 0x013dd188, size: 164 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/device/DeviceState.tsx');
const DeviceState = (require(7140) /* metro dependency 7140: DeviceState */).DeviceState;
exports.DeviceState = DeviceState;
const ThermalState = (require(7140) /* metro dependency 7140: DeviceState */).ThermalState;
exports.ThermalState = ThermalState;
const getDeviceState = (require(7139) /* metro dependency 7139: DeviceState */).getDeviceState;
exports.getDeviceState = getDeviceState;
exports.logDeviceState = logDeviceState;
}
function logDeviceState(a0) { // fn#57126, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7316:283, offset: 0x013dd22c, size: 287 bytes, params: 2, frame: 20
var value;
const logger = (require(7139) /* metro dependency 7139: DeviceState */).logger;
var info;
var isLowPowerMode;
if (a0 !== null) {
logger.info('Device State Information:');
logger.info('- Thermal State: ' + a0.thermalState);
info = logger.info;
value = 100 * a0.batteryLevel;
Reflect.apply(info, logger, ['- Battery Level: ' + value + '%']);
info = logger.info;
isLowPowerMode = a0.isLowPowerMode;
value = 'Disabled';
Reflect.apply(info, logger, ['- Low Power Mode: ' + (isLowPowerMode ? 'Enabled' : value)]);
} else {
logger.info('Device state not available');
}
}