2026-08-24 06:08:38 +00:00
|
|
|
// Module ID: 9761
|
|
|
|
|
// Function ID: 9762
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: SecureFramesStreamVerificationBottomSheet
|
2026-08-24 06:08:38 +00:00
|
|
|
// Dependencies: [19, 4563, 676, 21, 589, 9756, 9104, 9762, 1236, 9747, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
// Module 9761 (SecureFramesStreamVerificationBottomSheet)
|
|
|
|
|
import closure_3 from "noop" /* 19 */;
|
|
|
|
|
import closure_4 from "initialize" /* 4563 */;
|
|
|
|
|
import { AnalyticsSections } from "ME" /* 676 */;
|
|
|
|
|
import { jsx } from "jsxProd" /* 21 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
|
|
|
|
const require = arg1;
|
2026-08-24 06:08:38 +00:00
|
|
|
let result = require("set").fileFinishedImporting("modules/rtc/native/SecureFramesStreamVerificationBottomSheet.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function SecureFramesStreamVerificationBottomSheet(channelId) {
|
|
|
|
|
channelId = channelId.channelId;
|
2026-07-23 10:11:24 +00:00
|
|
|
const streamKey = channelId.streamKey;
|
2026-07-29 08:29:29 +00:00
|
|
|
let obj = channelId(589);
|
2026-08-24 06:08:38 +00:00
|
|
|
const items = [closure_4];
|
2026-07-20 16:05:17 +00:00
|
|
|
const items1 = [channelId];
|
|
|
|
|
const stateFromStores = obj.useStateFromStores(items, () => {
|
2026-08-24 06:08:38 +00:00
|
|
|
const secureFramesState = closure_1_4.getSecureFramesState(streamKey);
|
2026-07-20 16:05:17 +00:00
|
|
|
let epochAuthenticator;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (secureFramesState != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
epochAuthenticator = secureFramesState.epochAuthenticator;
|
|
|
|
|
}
|
|
|
|
|
return epochAuthenticator;
|
|
|
|
|
});
|
|
|
|
|
const callback = React.useCallback((message) => {
|
2026-08-24 06:08:38 +00:00
|
|
|
let obj = channelId(closure_1_2[5]);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { channelId };
|
|
|
|
|
const result = obj.trackE2EEStreamVerificationShareClicked(obj);
|
|
|
|
|
obj = { message };
|
2026-08-24 06:08:38 +00:00
|
|
|
channelId(closure_1_2[6]).showShareActionSheet(obj, closure_1_5.SECURE_FRAMES_STREAM_BOTTOM_SHEET);
|
2026-07-20 16:05:17 +00:00
|
|
|
}, items1);
|
2026-07-29 08:29:29 +00:00
|
|
|
obj = { title: null, subtitle: null, footer: null, epochAuthenticator: null, onShareClick: null };
|
|
|
|
|
const intl = channelId(1236).intl;
|
|
|
|
|
obj[0] = intl.string(channelId(1236).t.QogHld);
|
|
|
|
|
const intl2 = channelId(1236).intl;
|
|
|
|
|
obj[1] = intl2.string(channelId(1236).t.qODBkW);
|
|
|
|
|
const intl3 = channelId(1236).intl;
|
|
|
|
|
obj = { helpArticle: null };
|
2026-08-24 06:08:38 +00:00
|
|
|
const tmp3 = streamKey(9762);
|
|
|
|
|
obj[0] = channelId(9747).getSecureFramesHelpdeskArticle();
|
2026-07-29 08:29:29 +00:00
|
|
|
obj[2] = intl3.format(channelId(1236).t["H3+ktv"], obj);
|
|
|
|
|
obj[3] = stateFromStores;
|
|
|
|
|
obj[4] = callback;
|
|
|
|
|
return <tmp3 helpArticle={null} />;
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|