25 lines
1.7 KiB
TypeScript
25 lines
1.7 KiB
TypeScript
/* Metro module 11957; source: modules/chat/native/placeholder/getChatPlaceholderRowHeight.tsx; dependencies: [697, 1305, 2] */
|
|
function _fun91751(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#91751, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12143:6, offset: 0x02070b2a, size: 237 bytes, params: 8, frame: 21
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const PX_24 = (importDefault(697) /* metro dependency 697: native */).space.PX_24;
|
|
const AVATAR_SIZE_MAP = (require(1305) /* metro dependency 1305: native */).AVATAR_SIZE_MAP;
|
|
const AvatarSizes = (require(1305) /* metro dependency 1305: native */).AvatarSizes;
|
|
const NORMAL = AvatarSizes.NORMAL;
|
|
const property = AVATAR_SIZE_MAP[NORMAL];
|
|
const PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
|
|
const PX_12 = (importDefault(697) /* metro dependency 697: native */).space.PX_12;
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/chat/native/placeholder/getChatPlaceholderRowHeight.tsx');
|
|
exports.default = getChatPlaceholderRowHeight;
|
|
exports.CHAT_PLACEHOLDER_ROW_MARGIN_TOP = PX_24;
|
|
exports.CHAT_PLACEHOLDER_ROW_AVATAR_HEIGHT = property;
|
|
exports.CHAT_PLACEHOLDER_ROW_LINE_HEIGHT = PX_16;
|
|
exports.CHAT_PLACEHOLDER_ROW_LINE_MARGIN_TOP = PX_12;
|
|
}
|
|
|
|
function getChatPlaceholderRowHeight(a0) { // fn#91752, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12143:323, offset: 0x02070c17, size: 59 bytes, params: 2, frame: 16
|
|
const Math = global.Math;
|
|
return PX_24 + Math.max(env0_1, PX_16 + a0 * (PX_16 + PX_12));
|
|
}
|
|
|