Files
2026-07-28 01:06:53 +03:00

44 lines
2.8 KiB
JavaScript

/* Metro module 96; source: unknown; dependencies: [6, 7, 97] */
import ClassCallCheck from './module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
import CreateClass from './module-00007-CreateClass.js'; /* Metro dependency 7 */
import * as Module00097Module from './module-00097.js'; /* Metro dependency 97 */
function _fun1547(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#1547, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:121:6, offset: 0x00c617a4, size: 104 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
exports.default = _fun1548();
function _fun1548() { // fn#1548, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:121:118, offset: 0x00c6180c, size: 152 bytes, params: 1, frame: 16
return CreateClass(PixelRatio, null, [{key: 'get', value: function() {
return require(dependencyMap[2]).default.get('window').scale;
}}, {key: 'getFontScale', value: value_1551}, {key: 'getPixelSizeForLayoutSize', value: value_1552},
{key: 'roundToNearestPixel', value: value_1553}, {key: 'startDetecting', value: function() {
}}]);
function PixelRatio() { // fn#1549, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:121:129, offset: 0x00c618a4, size: 27 bytes, params: 1, frame: 13
env1_2(this, PixelRatio);
}
function value_1551() { // fn#1551, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:121:299, offset: 0x00c618f3, size: 71 bytes, params: 1, frame: 11
const value = environment.__proto__;
const property = (Module00097Module).default;
const get = property.get;
return Reflect.apply(get, property, ['window']).fontScale || PixelRatio.get();
}
function value_1552(a0) { // fn#1552, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:121:429, offset: 0x00c6193a, size: 43 bytes, params: 2, frame: 12
const Math = global.Math;
return Math.round(a0 * PixelRatio.get());
}
function value_1553(a0) { // fn#1553, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:121:540, offset: 0x00c61965, size: 47 bytes, params: 2, frame: 12
const value = PixelRatio.get();
const Math = global.Math;
return Math.round(a0 * value) / value;
}
}
}
global.__d(_fun1547, 96, [6, 7, 97]) /* metro module 96, dependencies: [6, 7, 97] */;