// Module ID: 16664 // Function ID: 16665 // Name: UploadLogsActionSheet // Dependencies: [19, 17, 676, 21, 4668, 712, 6988, 6987, 1236, 4739, 4750, 10170, 698, 4346, 2] // Exports: default // 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 */; require = arg1; noopAll; ({ AnalyticEvents: c4, DebugLogCategory: c5 } = ME); ({ jsx: closure_6, jsxs: error } = jsxProd); createCacheKey = { container: null, body: null, buttonSpacer: null }; createCacheKey = { padding: ThemesDefault.space.PX_16 }; createCacheKey[0] = createCacheKey; 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"); export default function UploadLogsActionSheet(arg0) { ({ mediaSessionId: require, rtcConnectionId: importDefault } = arg0); let tmp = callback3(); let obj = { header: null, children: null }; obj = { title: null }; const intl = getSystemLocale.intl; obj[0] = intl.string(getSystemLocale.t.KTjjrG); obj[0] = callback(RedesignBottomSheetTitleHeaderBase.BottomSheetTitleHeader, obj); obj = { style: tmp.container, children: null }; 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), , , ]; let obj2 = { text: null, onPress: null }; const intl3 = getSystemLocale.intl; obj2[0] = intl3.string(getSystemLocale.t.EbwFfR); obj2[1] = function onPress() { let obj = closure_1_0(closure_1_2[11]); obj.uploadDebugLogFiles(closure_1_5.RTC); let tmp4 = closure_0; if (closure_0 == null) { tmp4 = null; } obj = { media_session_id: tmp4, rtc_connection_id: null }; let tmp5 = closure_1; if (closure_1 == null) { tmp5 = null; } obj[1] = tmp5; 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(); }; items[1] = callback(Button.Button, obj2); items[2] = callback(View, { style: tmp.buttonSpacer }); const obj4 = { text: null, variant: "secondary", onPress: null }; const intl4 = getSystemLocale.intl; obj4[0] = intl4.string(getSystemLocale.t["ETE/oC"]); obj4[2] = function onPress() { return callback(table[13]).hideActionSheet(); }; items[3] = callback(Button.Button, obj4); obj[1] = items; obj[1] = callback2(View, obj); return callback(Background.BottomSheet, obj); };