Files
discord-decomp/sources/modules/summaries/SummaryConstants.tsx
T
2026-07-28 01:06:53 +03:00

56 lines
3.1 KiB
TypeScript

/* Metro module 9866; source: modules/summaries/SummaryConstants.tsx; dependencies: [672, 1244, 2] */
import Durations from '../../utils/Durations.tsx'; /* Metro dependency 672 */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as IndexNativeModule from '../../intl/index.native.tsx'; /* Metro dependency 1244 */
function _fun77431(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#77431, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10052:6, offset: 0x01dfbb6b, size: 311 bytes, params: 8, frame: 20
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const Millis = (Durations).Millis;
const SECOND = Millis.SECOND;
const value = 5 * SECOND;
(FileImportTrackerModule).fileFinishedImporting('modules/summaries/SummaryConstants.tsx');
exports.SUMMARY_POLL_INTERVAL = value;
exports.SummariesSidebarToggledSource = {TOOLBAR_BUTTON: 'toolbar button', PILL: 'pill'};
exports.SummariesTopicClickedSource = {SIDEBAR: 'sidebar', PILL_DROPDOWN: 'pill dropdown',
PILL_NEXT_ARROW: 'pill next arrow', PILL_PREVIOUS_ARROW: 'pill previous arrow'};
exports.SummaryFeedbackReasons = {DUPLICATED: 'DUPLICATED', TOO_GENERIC: 'TOO_GENERIC', TOO_MANY: 'TOO_MANY',
INACCURATE: 'INACCURATE', NOT_USEFUL: 'NOT_USEFUL', OTHER: 'OTHER'};
exports.getSummaryFeedbackReasons = getSummaryFeedbackReasons;
function getSummaryFeedbackReasons() { // fn#77432, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10052:749, offset: 0x01dfbca2, size: 422 bytes, params: 1, frame: 18
let object = {};
const binding = env0_2;
const DUPLICATED = binding.DUPLICATED;
object.value = DUPLICATED;
const intl = (IndexNativeModule).intl;
let string = intl.string;
const t = (IndexNativeModule).t;
object.label = Reflect.apply(string, intl, [t.wwXl5h]);
const items2 = [object];
object = {};
const TOO_GENERIC = binding.TOO_GENERIC;
object.value = TOO_GENERIC;
object.label = intl.string(t['t+6knu']);
items2[1] = object;
const TOO_MANY = binding.TOO_MANY;
items2[2] = {value: TOO_MANY, label: intl.string(t.xnKDnv)};
const INACCURATE = binding.INACCURATE;
string = intl.string;
const JW5VFj = t.JW5VFj;
items2[3] = {value: INACCURATE, label: Reflect.apply(string, intl, [JW5VFj])};
const NOT_USEFUL = binding.NOT_USEFUL;
string = intl.string;
const ZtCNiY = t.ZtCNiY;
items2[4] = {value: NOT_USEFUL, label: Reflect.apply(string, intl, [ZtCNiY])};
const OTHER = binding.OTHER;
string = intl.string;
const BufsKk = t.BufsKk;
items2[5] = {value: OTHER, label: Reflect.apply(string, intl, [BufsKk])};
return items2;
}
}
global.__d(_fun77431, 9866, [672, 1244, 2]) /* metro module 9866, dependencies: [672, 1244, 2] */;