27 lines
1.2 KiB
JavaScript
27 lines
1.2 KiB
JavaScript
/* Metro module 5435; source: unknown; dependencies: [5434] */
|
|
import Module05434 from './module-05434.js'; /* Metro dependency 5434 */
|
|
|
|
function _fun47834(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#47834, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5613:6, offset: 0x011cf81b, size: 66 bytes, params: 8, frame: 16
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.default = getDistanceForDirection;
|
|
function getDistanceForDirection(a0, a1) { // fn#47835, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5613:102, offset: 0x011cf85d, size: 95 bytes, params: 3, frame: 13
|
|
const value = (Module05434)(a1);
|
|
if (a1 === 'vertical') {
|
|
return a0.height * value;
|
|
}
|
|
if (a1 === 'vertical-inverted') {
|
|
return a0.height * value;
|
|
}
|
|
if (a1 === 'horizontal') {
|
|
return a0.width * value;
|
|
}
|
|
if (a1 === 'horizontal-inverted') {
|
|
return a0.width * value;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun47834, 5435, [5434]) /* metro module 5435, dependencies: [5434] */;
|