Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
51 lines
2.3 KiB
TypeScript
51 lines
2.3 KiB
TypeScript
// Module ID: 9258
|
|
// Function ID: 9259
|
|
// Name: SecureFramesStreamVerificationBottomSheet
|
|
// Dependencies: [19, 4646, 1074, 21, 504, 9253, 8449, 9259, 1114, 9242, 2]
|
|
// Exports: default
|
|
|
|
// Module 9258 (SecureFramesStreamVerificationBottomSheet)
|
|
import showShareActionSheet from "showShareActionSheet" /* 8449 */;
|
|
import SecureFramesTracking from "SecureFramesTracking" /* 9253 */;
|
|
import noop from "module_19" /* 19 */;
|
|
import StreamRTCConnectionStore from "StreamRTCConnectionStore" /* 4646 */;
|
|
|
|
require = fn;
|
|
const AnalyticsSections = fn(1074).AnalyticsSections;
|
|
const jsx = fn(21).jsx;
|
|
const size = fn(2);
|
|
let result = size.fileFinishedImporting("modules/rtc/native/SecureFramesStreamVerificationBottomSheet.tsx");
|
|
|
|
export default function SecureFramesStreamVerificationBottomSheet(channelId) {
|
|
channelId = channelId.channelId;
|
|
const streamKey = channelId.streamKey;
|
|
const items = [StreamRTCConnectionStore];
|
|
const items1 = [channelId];
|
|
const stateFromStores = channelId(504).useStateFromStores(items, () => {
|
|
const secureFramesState = StreamRTCConnectionStore.getSecureFramesState(streamKey);
|
|
let epochAuthenticator;
|
|
if (secureFramesState != null) {
|
|
epochAuthenticator = secureFramesState.epochAuthenticator;
|
|
}
|
|
return epochAuthenticator;
|
|
});
|
|
const callback = noop.useCallback((message) => {
|
|
const result = SecureFramesTracking.trackE2EEStreamVerificationShareClicked({ channelId });
|
|
const obj2 = { channelId };
|
|
showShareActionSheet.showShareActionSheet({ message }, AnalyticsSections.SECURE_FRAMES_STREAM_BOTTOM_SHEET);
|
|
}, items1);
|
|
let obj2 = { title: null, subtitle: null, footer: null, epochAuthenticator: null, onShareClick: null };
|
|
let obj = channelId(504);
|
|
const intl = channelId(1114).intl;
|
|
obj2.title = intl.string(channelId(1114).t.QogHld);
|
|
const intl2 = channelId(1114).intl;
|
|
obj2.subtitle = intl2.string(channelId(1114).t.qODBkW);
|
|
const intl3 = channelId(1114).intl;
|
|
const obj3 = { helpArticle: null };
|
|
const tmp3 = streamKey(9259);
|
|
obj3.helpArticle = channelId(9242).getSecureFramesHelpdeskArticle();
|
|
obj2.footer = intl3.format(channelId(1114).t["H3+ktv"], obj3);
|
|
obj2.epochAuthenticator = stateFromStores;
|
|
obj2.onShareClick = callback;
|
|
return <tmp3 title={null} subtitle={null} footer={null} epochAuthenticator={null} onShareClick={null} />;
|
|
};
|