42 lines
3.0 KiB
TypeScript
42 lines
3.0 KiB
TypeScript
/* Metro module 15465; source: modules/rtc/native/SecureFramesCallVerificationBottomSheet.tsx; dependencies: [31, 4294, 661, 33, 566, 9284, 9212, 9290, 1244, 9275, 2] */
|
|
function _fun118382(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#118382, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15662:6, offset: 0x024d9c68, size: 180 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_3 = importAll(31) /* metro dependency 31 */;
|
|
const rtcConnectionStore = importDefault(4294) /* metro dependency 4294: RTCConnectionStore */;
|
|
const env0_5 = (require(661) /* metro dependency 661: Constants */).AnalyticsSections;
|
|
const env0_6 = (require(33) /* metro dependency 33 */).jsx;
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/rtc/native/SecureFramesCallVerificationBottomSheet.tsx');
|
|
exports.default = SecureFramesCallVerificationBottomSheet;
|
|
}
|
|
|
|
function SecureFramesCallVerificationBottomSheet({channelId}) { // fn#118383, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15662:265, offset: 0x024d9d1c, size: 322 bytes, params: 2, frame: 22
|
|
var object4;
|
|
const value2 = (require(566) /* metro dependency 566: flux */).useStateFromStores([RTCConnectionStore], _fun118384);
|
|
const value3 = env0_3.useCallback(function(a0) {
|
|
require(dependencyMap[5]).trackE2EECallVerificationShareClicked({channelId: channelId});
|
|
require(dependencyMap[6]).showShareActionSheet({message: a0},
|
|
AnalyticsSections.SECURE_FRAMES_STREAM_BOTTOM_SHEET);
|
|
}, [channelId]);
|
|
const secureFramesVerificationBottomSheet = importDefault(9290) /* metro dependency 9290: SecureFramesVerificationBottomSheet */;
|
|
object4 = {};
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
object4.title = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.cTQI5t);
|
|
object4.subtitle = intl.string((require(1244) /* metro dependency 1244: indexNative */).t['MPp7+C']);
|
|
const format = intl.format;
|
|
const wKxADe = (require(1244) /* metro dependency 1244: indexNative */).t.wKxADe;
|
|
const object3 = {};
|
|
object3.helpArticle = (require(9275) /* metro dependency 9275: SecureFramesUtils */).getSecureFramesHelpdeskArticle();
|
|
object4.footer = Reflect.apply(format, intl, [wKxADe, object3]);
|
|
object4.epochAuthenticator = value2;
|
|
object4.onShareClick = value3;
|
|
return ((Component) => <Component {...object4} />)(secureFramesVerificationBottomSheet);
|
|
}
|
|
|
|
function _fun118384() { // fn#118384, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15662:367, offset: 0x024d9e5e, size: 36 bytes, params: 1, frame: 10
|
|
const value = environment.__proto__;
|
|
return RTCConnectionStore.getSecureFramesState()?.epochAuthenticator;
|
|
}
|
|
|