Files
discord-decomp/sources/modules/rtc/native/SecureFramesStreamVerificationBottomSheet.tsx
T
2026-07-28 01:06:53 +03:00

50 lines
3.7 KiB
TypeScript

/* Metro module 9289; source: modules/rtc/native/SecureFramesStreamVerificationBottomSheet.tsx; dependencies: [31, 4395, 661, 33, 566, 9284, 9212, 9290, 1244, 9275, 2] */
import StreamRTCConnectionStore from '../../../stores/StreamRTCConnectionStore.tsx'; /* Metro dependency 4395 */
import SecureFramesVerificationBottomSheet from './SecureFramesVerificationBottomSheet.tsx'; /* Metro dependency 9290 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactModule from '../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as JsxRuntimeModule from '../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
import * as FluxModule from '../../../external/discord_common/js/packages/flux/index.tsx'; /* Metro dependency 566 */
import * as ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */
function _fun72654(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#72654, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9475:6, offset: 0x01d4cf60, size: 180 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('modules/rtc/native/SecureFramesStreamVerificationBottomSheet.tsx');
exports.default = SecureFramesStreamVerificationBottomSheet;
function SecureFramesStreamVerificationBottomSheet({channelId, streamKey}) { // fn#72655, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9475:267, offset: 0x01d4d014, size: 332 bytes, params: 2, frame: 22
var object2;
const value2 = (FluxModule).useStateFromStores([StreamRTCConnectionStore],
_fun72656);
const value3 = ReactModule.useCallback(function(a0) {
require(dependencyMap[5]).trackE2EEStreamVerificationShareClicked({channelId: channelId});
require(dependencyMap[6]).showShareActionSheet({message: a0},
AnalyticsSections.SECURE_FRAMES_STREAM_BOTTOM_SHEET);
}, [channelId]);
object2 = {};
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
const string = intl.string;
const QogHld = (require(1244) /* metro dependency 1244: indexNative */).t.QogHld;
object2.title = Reflect.apply(string, intl, [QogHld]);
object2.subtitle = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.qODBkW);
const format = intl.format;
const property = (require(1244) /* metro dependency 1244: indexNative */).t['H3+ktv'];
const object = {};
object.helpArticle = (require(9275) /* metro dependency 9275: SecureFramesUtils */).getSecureFramesHelpdeskArticle();
object2.footer = Reflect.apply(format, intl, [property, object]);
object2.epochAuthenticator = value2;
object2.onShareClick = value3;
return ((Component) => <Component {...object2} />)(SecureFramesVerificationBottomSheet);
function _fun72656() { // fn#72656, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9475:383, offset: 0x01d4d160, size: 44 bytes, params: 1, frame: 11
const value = environment.__proto__;
return StreamRTCConnectionStore.getSecureFramesState(streamKey)?.epochAuthenticator;
}
}
}
global.__d(_fun72654, 9289, [31, 4395, 661, 33, 566, 9284, 9212, 9290, 1244, 9275,
2]) /* metro module 9289, dependencies: [31, 4395, 661, 33, 566, 9284, 9212, 9290, 1244, 9275, 2] */;