136 lines
4.5 KiB
TypeScript
136 lines
4.5 KiB
TypeScript
// Metro module 0 (f1).
|
|
import "./modules/debug/logAppStart";
|
|
import "./modules/gateway/native/fast_connect";
|
|
import "./polyfills.android";
|
|
import "./utils/checkEnv";
|
|
import * as _TTITracker from "./modules/tti_analytics/TTITracker";
|
|
import "./utils/SentryUtils.native";
|
|
import { isTTITest } from "./modules/tti_analytics/isTTITest";
|
|
import { installSystrace } from "./modules/systrace/native/installSystrace";
|
|
import { AppRegistry } from "react-native";
|
|
import * as _App from "./components_native/App";
|
|
import * as _executeRunnable from "./modules/app_startup/native/executeRunnable";
|
|
import * as _AppShare from "./modules/share/native/AppShare";
|
|
import * as _BackgroundSync from "./modules/headless_tasks/android/BackgroundSync";
|
|
import * as _TTITestAction from "./modules/headless_tasks/android/TTITestAction";
|
|
import * as _Disconnect from "./modules/headless_tasks/android/Disconnect";
|
|
import * as _MarkAsRead from "./modules/headless_tasks/android/MarkAsRead";
|
|
import * as _MuteAction from "./modules/headless_tasks/android/MuteAction";
|
|
import * as _ToggleDeafen from "./modules/headless_tasks/android/ToggleDeafen";
|
|
import * as _ToggleSelfMute from "./modules/headless_tasks/android/ToggleSelfMute";
|
|
import * as _DismissCallAction from "./modules/headless_tasks/android/DismissCallAction";
|
|
import * as _DirectReply from "./modules/headless_tasks/android/DirectReply";
|
|
import * as _SelectVoiceChannel from "./modules/headless_tasks/android/SelectVoiceChannel";
|
|
import * as _GenerateInvite from "./modules/headless_tasks/android/GenerateInvite";
|
|
function $mk64962($env) {
|
|
return () => {
|
|
let env23425 = {
|
|
$parent: $env
|
|
};
|
|
const r2 = $env.$parent;
|
|
env23425[0] = (0, r2[0])(r2[1][12]).default;
|
|
return (a0) => {
|
|
const r4 = env23425[0];
|
|
const r5 = env23425.$parent;
|
|
return r4(r5[0], r5[1], a0);
|
|
};
|
|
};
|
|
}
|
|
let c11_2, c11_3, c12_0, c12_1, c13_0, c13_1, c14_0, c14_1, c15_0, c15_1, c16_0, c16_1, c17_0, c17_1, c18_0, c18_1, c19_0, c19_1, c20_0, c20_1, c21_0, c21_1, c22_0, c22_1;
|
|
let env11;
|
|
const r4 = env11 = {};
|
|
_TTITracker.default.imports.polyfillsEnd.record();
|
|
_TTITracker.default.imports.sentryEnd.record();
|
|
if (isTTITest) {
|
|
(0, installSystrace)();
|
|
}
|
|
let env12;
|
|
let env13;
|
|
let env14;
|
|
let env15;
|
|
let env16;
|
|
let env17;
|
|
let env18;
|
|
let env19;
|
|
let env20;
|
|
let env21;
|
|
let env22;
|
|
AppRegistry.registerComponent("Discord", () => _App.default);
|
|
c11_2 = AppRegistry.getRunnable("Discord");
|
|
AppRegistry.registerRunnable("Discord", function(...c12091_0) {
|
|
return (0, _executeRunnable.default)("Main", () => {
|
|
c11_2.apply(void 0, [...c12091_0]);
|
|
});
|
|
});
|
|
AppRegistry.registerComponent("Share", () => _AppShare.default);
|
|
c11_3 = AppRegistry.getRunnable("Share");
|
|
AppRegistry.registerRunnable("Share", function(...c12092_0) {
|
|
return (0, _executeRunnable.default)("Share", () => c11_3.apply(void 0, [...c12092_0]));
|
|
});
|
|
const r56 = env12 = {
|
|
$parent: r4
|
|
};
|
|
c12_0 = "BackgroundSync";
|
|
c12_1 = () => _BackgroundSync;
|
|
AppRegistry.registerHeadlessTask("BackgroundSync", $mk64962(r56));
|
|
const r62 = env13 = {
|
|
$parent: r4
|
|
};
|
|
c13_0 = "TTITestAction";
|
|
c13_1 = () => _TTITestAction;
|
|
AppRegistry.registerHeadlessTask("TTITestAction", $mk64962(r62));
|
|
const r68 = env14 = {
|
|
$parent: r4
|
|
};
|
|
c14_0 = "Disconnect";
|
|
c14_1 = () => _Disconnect;
|
|
AppRegistry.registerHeadlessTask("Disconnect", $mk64962(r68));
|
|
const r74 = env15 = {
|
|
$parent: r4
|
|
};
|
|
c15_0 = "MarkAsRead";
|
|
c15_1 = () => _MarkAsRead;
|
|
AppRegistry.registerHeadlessTask("MarkAsRead", $mk64962(r74));
|
|
const r80 = env16 = {
|
|
$parent: r4
|
|
};
|
|
c16_0 = "MuteAction";
|
|
c16_1 = () => _MuteAction;
|
|
AppRegistry.registerHeadlessTask("MuteAction", $mk64962(r80));
|
|
const r86 = env17 = {
|
|
$parent: r4
|
|
};
|
|
c17_0 = "ToggleDeafen";
|
|
c17_1 = () => _ToggleDeafen;
|
|
AppRegistry.registerHeadlessTask("ToggleDeafen", $mk64962(r86));
|
|
const r92 = env18 = {
|
|
$parent: r4
|
|
};
|
|
c18_0 = "ToggleSelfMute";
|
|
c18_1 = () => _ToggleSelfMute;
|
|
AppRegistry.registerHeadlessTask("ToggleSelfMute", $mk64962(r92));
|
|
const r98 = env19 = {
|
|
$parent: r4
|
|
};
|
|
c19_0 = "DismissCallAction";
|
|
c19_1 = () => _DismissCallAction;
|
|
AppRegistry.registerHeadlessTask("DismissCallAction", $mk64962(r98));
|
|
const r104 = env20 = {
|
|
$parent: r4
|
|
};
|
|
c20_0 = "DirectReply";
|
|
c20_1 = () => _DirectReply;
|
|
AppRegistry.registerHeadlessTask("DirectReply", $mk64962(r104));
|
|
const r110 = env21 = {
|
|
$parent: r4
|
|
};
|
|
c21_0 = "SelectVoiceChannel";
|
|
c21_1 = () => _SelectVoiceChannel;
|
|
AppRegistry.registerHeadlessTask("SelectVoiceChannel", $mk64962(r110));
|
|
const r116 = env22 = {
|
|
$parent: r4
|
|
};
|
|
c22_0 = "GenerateInvite";
|
|
c22_1 = () => _GenerateInvite;
|
|
AppRegistry.registerHeadlessTask("GenerateInvite", $mk64962(r116));
|