decord/source/modules/rtc/native/SecureFramesCallVerificationBottomSheet.tsx
2026-08-24 06:08:38 +00:00

50 lines
2.1 KiB
TypeScript

// Module ID: 16426
// Function ID: 16427
// Name: SecureFramesCallVerificationBottomSheet
// Dependencies: [19, 4544, 676, 21, 589, 9756, 9104, 9762, 1236, 9747, 2]
// Exports: default
// Module 16426 (SecureFramesCallVerificationBottomSheet)
import SecureFramesVerificationBottomSheetDefault from "SecureFramesVerificationBottomSheet" /* 9762 */;
import closure_3 from "noop" /* 19 */;
import closure_4 from "createRTCConnection" /* 4544 */;
import { AnalyticsSections } from "ME" /* 676 */;
import { jsx } from "jsxProd" /* 21 */;
const require = arg1;
let result = require("set").fileFinishedImporting("modules/rtc/native/SecureFramesCallVerificationBottomSheet.tsx");
export default function SecureFramesCallVerificationBottomSheet(channelId) {
channelId = channelId.channelId;
let obj = channelId(589);
const items = [closure_4];
const items1 = [channelId];
const stateFromStores = obj.useStateFromStores(items, () => {
secureFramesState = secureFramesState.getSecureFramesState();
let epochAuthenticator;
if (secureFramesState != null) {
epochAuthenticator = secureFramesState.epochAuthenticator;
}
return epochAuthenticator;
});
const callback = React.useCallback((message) => {
let obj = channelId(closure_1_2[5]);
obj = { channelId };
const result = obj.trackE2EECallVerificationShareClicked(obj);
obj = { message };
channelId(closure_1_2[6]).showShareActionSheet(obj, closure_1_5.SECURE_FRAMES_STREAM_BOTTOM_SHEET);
}, items1);
obj = { title: null, subtitle: null, footer: null, epochAuthenticator: null, onShareClick: null };
const intl = channelId(1236).intl;
obj[0] = intl.string(channelId(1236).t.cTQI5t);
const intl2 = channelId(1236).intl;
obj[1] = intl2.string(channelId(1236).t["MPp7+C"]);
const intl3 = channelId(1236).intl;
obj = { helpArticle: null };
const tmp3 = SecureFramesVerificationBottomSheetDefault;
obj[0] = channelId(9747).getSecureFramesHelpdeskArticle();
obj[2] = intl3.format(channelId(1236).t.wKxADe, obj);
obj[3] = stateFromStores;
obj[4] = callback;
return <tmp3 helpArticle={null} />;
};