25 lines
1.5 KiB
TypeScript
25 lines
1.5 KiB
TypeScript
/* Metro module 8049; source: modules/activities/utils/getPlatform.tsx; dependencies: [1909, 2] */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ServerModule from '../../../flow/Server.tsx'; /* Metro dependency 1909 */
|
|
|
|
function _fun63815(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#63815, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8227:6, offset: 0x01b90b6a, size: 94 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/activities/utils/getPlatform.tsx');
|
|
exports.default = getPlatform_63816;
|
|
function getPlatform_63816(a0) { // fn#63816, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8227:176, offset: 0x01b90bc8, size: 133 bytes, params: 2, frame: 11
|
|
const EmbeddedActivitySupportedPlatforms = (ServerModule).EmbeddedActivitySupportedPlatforms;
|
|
if (a0 === 'android') {
|
|
return EmbeddedActivitySupportedPlatforms.ANDROID;
|
|
}
|
|
if (a0 === 'ios') {
|
|
return EmbeddedActivitySupportedPlatforms.IOS;
|
|
}
|
|
return EmbeddedActivitySupportedPlatforms.WEB;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun63815, 8049, [1909, 2]) /* metro module 8049, dependencies: [1909, 2] */;
|