decord/source/modules/feedback/native/UploadLogsActionSheet.tsx

82 lines
3.3 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 16664
// Function ID: 16665
2026-07-20 16:05:17 +00:00
// Name: UploadLogsActionSheet
2026-08-24 06:08:38 +00:00
// Dependencies: [19, 17, 676, 21, 4668, 712, 6988, 6987, 1236, 4739, 4750, 10170, 698, 4346, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-24 06:08:38 +00:00
// Module 16664 (UploadLogsActionSheet)
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 712 */;
import getSystemLocale from "getSystemLocale" /* 1236 */;
import Text from "Text" /* 4739 */;
import Button from "Button" /* 4750 */;
import RedesignBottomSheetTitleHeaderBase from "RedesignBottomSheetTitleHeaderBase" /* 6987 */;
import Background from "Background" /* 6988 */;
import { View } from "get ActivityIndicator" /* 17 */;
import ME from "ME" /* 676 */;
import jsxProd from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4668 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
noopAll;
2026-07-29 08:29:29 +00:00
({ AnalyticEvents: c4, DebugLogCategory: c5 } = ME);
({ jsx: closure_6, jsxs: error } = jsxProd);
createCacheKey = { container: null, body: null, buttonSpacer: null };
2026-08-24 06:08:38 +00:00
createCacheKey = { padding: ThemesDefault.space.PX_16 };
2026-07-29 08:29:29 +00:00
createCacheKey[0] = createCacheKey;
2026-08-24 06:08:38 +00:00
createCacheKey[1] = { textAlign: "center", marginBottom: ThemesDefault.space.PX_16 };
let obj1 = { textAlign: "center", marginBottom: ThemesDefault.space.PX_16 };
createCacheKey[2] = { height: ThemesDefault.space.PX_8 };
let closure_8 = createCacheKey.createStyles(createCacheKey);
let obj2 = { height: ThemesDefault.space.PX_8 };
const result = require("set").fileFinishedImporting("modules/feedback/native/UploadLogsActionSheet.tsx");
2026-07-20 16:05:17 +00:00
export default function UploadLogsActionSheet(arg0) {
2026-07-23 10:11:24 +00:00
({ mediaSessionId: require, rtcConnectionId: importDefault } = arg0);
2026-08-24 06:08:38 +00:00
let tmp = callback3();
2026-07-29 08:29:29 +00:00
let obj = { header: null, children: null };
obj = { title: null };
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
obj[0] = intl.string(getSystemLocale.t.KTjjrG);
obj[0] = callback(RedesignBottomSheetTitleHeaderBase.BottomSheetTitleHeader, obj);
2026-07-29 08:29:29 +00:00
obj = { style: tmp.container, children: null };
2026-08-24 06:08:38 +00:00
obj1 = { variant: "text-sm/normal", color: "text-muted", style: tmp.body, children: null };
const intl2 = getSystemLocale.intl;
obj1[3] = intl2.string(getSystemLocale.t["ZvRR/t"]);
const items = [callback(Text.Text, obj1), , , ];
2026-07-29 08:29:29 +00:00
let obj2 = { text: null, onPress: null };
2026-08-24 06:08:38 +00:00
const intl3 = getSystemLocale.intl;
obj2[0] = intl3.string(getSystemLocale.t.EbwFfR);
2026-07-29 08:29:29 +00:00
obj2[1] = function onPress() {
2026-08-24 06:08:38 +00:00
let obj = closure_1_0(closure_1_2[11]);
obj.uploadDebugLogFiles(closure_1_5.RTC);
2026-07-29 08:29:29 +00:00
let tmp4 = closure_0;
if (closure_0 == null) {
tmp4 = null;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
obj = { media_session_id: tmp4, rtc_connection_id: null };
let tmp5 = closure_1;
if (closure_1 == null) {
tmp5 = null;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
obj[1] = tmp5;
2026-08-24 06:08:38 +00:00
closure_1_1(closure_1_2[12]).track(closure_1_4.DEBUG_LOG_UPLOADED, obj);
const obj2 = closure_1_1(closure_1_2[12]);
const tmp = closure_1_2;
const tmp3 = closure_1_1;
closure_1_1(closure_1_2[13]).hideActionSheet();
2026-07-20 16:05:17 +00:00
};
2026-08-24 06:08:38 +00:00
items[1] = callback(Button.Button, obj2);
2026-07-20 16:05:17 +00:00
items[2] = callback(View, { style: tmp.buttonSpacer });
2026-07-29 08:29:29 +00:00
const obj4 = { text: null, variant: "secondary", onPress: null };
2026-08-24 06:08:38 +00:00
const intl4 = getSystemLocale.intl;
obj4[0] = intl4.string(getSystemLocale.t["ETE/oC"]);
2026-07-29 08:29:29 +00:00
obj4[2] = function onPress() {
return callback(table[13]).hideActionSheet();
2026-07-20 16:05:17 +00:00
};
2026-08-24 06:08:38 +00:00
items[3] = callback(Button.Button, obj4);
2026-07-29 08:29:29 +00:00
obj[1] = items;
obj[1] = callback2(View, obj);
2026-08-24 06:08:38 +00:00
return callback(Background.BottomSheet, obj);
2026-07-20 16:05:17 +00:00
};