decord/beta/source/modules/rtc/native/SecureFramesCallVerificationBottomSheet.tsx

55 lines
2.3 KiB
TypeScript
Raw Normal View History

// Module ID: 16938
// Function ID: 16939
// Name: SecureFramesCallVerificationBottomSheet
// Dependencies: [19, 4859, 1074, 21, 504, 9174, 7809, 9180, 1115, 9163, 2]
// Exports: default
// Module 16938 (SecureFramesCallVerificationBottomSheet)
2026-10-01 14:13:23 +00:00
import Fragment from "Fragment" /* 21 */;
import Constants from "Constants" /* 1074 */;
import showShareActionSheet from "showShareActionSheet" /* 7809 */;
import SecureFramesTracking from "SecureFramesTracking" /* 9174 */;
import SecureFramesVerificationBottomSheetDefault from "SecureFramesVerificationBottomSheet" /* 9180 */;
2026-10-01 14:13:23 +00:00
import react from "react" /* 19 */;
import RTCConnectionStore from "RTCConnectionStore" /* 4859 */;
2026-10-01 14:13:23 +00:00
import size from "module_2" /* 2 */;
2026-10-01 14:13:23 +00:00
let secureFramesState;
const AnalyticsSections = Constants.AnalyticsSections;
const jsx = Fragment.jsx;
let result = size.fileFinishedImporting("modules/rtc/native/SecureFramesCallVerificationBottomSheet.tsx");
export default function SecureFramesCallVerificationBottomSheet(channelId) {
2026-10-01 14:13:23 +00:00
let obj4;
channelId = channelId.channelId;
2026-10-01 14:13:23 +00:00
let obj = channelId(504);
const items = [RTCConnectionStore];
const items1 = [channelId];
2026-10-01 14:13:23 +00:00
const stateFromStores = obj.useStateFromStores(items, () => {
secureFramesState = secureFramesState.getSecureFramesState();
let epochAuthenticator;
if (secureFramesState != null) {
epochAuthenticator = secureFramesState.epochAuthenticator;
}
return epochAuthenticator;
});
2026-10-01 14:13:23 +00:00
const callback = react.useCallback((message) => {
const obj = SecureFramesTracking;
const obj2 = { channelId };
2026-10-01 14:13:23 +00:00
const result = obj.trackE2EECallVerificationShareClicked(obj2);
const obj3 = showShareActionSheet;
const obj4 = { message };
obj3.showShareActionSheet(obj4, AnalyticsSections.SECURE_FRAMES_STREAM_BOTTOM_SHEET);
}, items1);
2026-10-01 14:13:23 +00:00
SecureFramesVerificationBottomSheetDefault;
const intl = channelId(1115).intl;
const intl2 = channelId(1115).intl;
const intl3 = channelId(1115).intl;
2026-10-01 14:13:23 +00:00
const format = intl3.format;
let obj3 = { helpArticle: obj4.getSecureFramesHelpdeskArticle() };
const wKxADe = channelId(1115).t.wKxADe;
obj4 = channelId(9163);
return <tmp3 title={intl.string(channelId(1115).t.cTQI5t)} subtitle={intl2.string(channelId(1115).t["MPp7+C"])} footer={format(wKxADe, obj3)} epochAuthenticator={stateFromStores} onShareClick={callback} />;
};