81 lines
3.3 KiB
TypeScript
81 lines
3.3 KiB
TypeScript
// Module ID: 17356
|
|
// Function ID: 17357
|
|
// Name: UploadLogsActionSheet
|
|
// Dependencies: [19, 17, 1074, 21, 4560, 576, 7150, 7149, 1114, 4556, 4975, 10188, 1242, 4527, 2]
|
|
// Exports: default
|
|
|
|
// Module 17356 (UploadLogsActionSheet)
|
|
import noopAll from "noop" /* 19 */;
|
|
import ThemesDefault from "Themes" /* 576 */;
|
|
import getSystemLocale from "getSystemLocale" /* 1114 */;
|
|
import Text from "Text" /* 4556 */;
|
|
import Button from "Button" /* 4975 */;
|
|
import RedesignBottomSheetTitleHeaderBase from "RedesignBottomSheetTitleHeaderBase" /* 7149 */;
|
|
import Background from "Background" /* 7150 */;
|
|
import { View } from "get ActivityIndicator" /* 17 */;
|
|
import ME from "ME" /* 1074 */;
|
|
import jsxProd from "jsxProd" /* 21 */;
|
|
import createCacheKey from "createCacheKey" /* 4560 */;
|
|
|
|
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);
|
|
};
|