/* Metro module 12734; source: design/void/Status/native/StatusUtils.tsx; dependencies: [1306, 12735, 2] */ import GetStatusContainerStyle from './getStatusContainerStyle.tsx'; /* Metro dependency 12735 */ import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as StatusConstantsModule from './StatusConstants.tsx'; /* Metro dependency 1306 */ function _fun97457(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#97457, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12924:6, offset: 0x02182206, size: 169 bytes, params: 8, frame: 18 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); (FileImportTrackerModule).fileFinishedImporting('design/void/Status/native/StatusUtils.tsx'); exports.getAnimatedTypingTranslateX = function(a0) { return a0 / 2 - 6; }; exports.getMobileStatusContainerRect = getMobileStatusContainerRect; exports.getVRStatusContainerRect = getVRStatusContainerRect; exports.getStatusTypingDimensions = getStatusTypingDimensions; function getMobileStatusContainerRect(a0) { // fn#97459, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12924:331, offset: 0x021822c2, size: 59 bytes, params: 2, frame: 3 const value = a0 + 2 * STATUS_PADDING; return {width: value, height: 1.4 * value, cornerRadius: value / 4}; } function getVRStatusContainerRect(a0) { // fn#97460, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12924:451, offset: 0x021822fd, size: 71 bytes, params: 2, frame: 15 let value = GetStatusContainerStyle; value = value(a0, false, true); return {width: value.width, height: value.height, cornerRadius: value.borderRadius}; } function getStatusTypingDimensions(a0) { // fn#97461, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12924:606, offset: 0x02182344, size: 110 bytes, params: 2, frame: 14 var r1; var r5; var REFRESH_MEDIUM_10; var value; const SMALL = StatusSizes.SMALL; if (SMALL === a0) { value = 22; r1 = 4; r5 = value; } else if (StatusSizes.XSMALL === a0) { value = 22; r1 = 4; r5 = value; } else { REFRESH_MEDIUM_10 = StatusSizes.REFRESH_MEDIUM_10; value = 28; if (REFRESH_MEDIUM_10 !== a0) { r1 = 6; r5 = value; } else { value = 22; r1 = 4; r5 = value; } } const object = {width: r5}; const Math = global.Math; object.height = Math.floor(r5 / 2.33); object.dotSize = r1; return object; } } global.__d(_fun97457, 12734, [1306, 12735, 2]) /* metro module 12734, dependencies: [1306, 12735, 2] */;