/* Metro module 9279; source: modules/rtc/SecureFramesPlatformUtils.native.tsx; dependencies: [1379, 4294, 9277, 661, 5080, 9280, 1962, 4080, 9289, 1244, 4496, 1305, 6837, 9292, 2] */ function _fun72576(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#72576, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9465:6, offset: 0x01d4a246, size: 251 bytes, params: 8, frame: 19 var object2; const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */; const rtcConnectionStore = importDefault(4294) /* metro dependency 4294: RTCConnectionStore */; let value = require(9277) /* metro dependency 9277: SecureFramesConstants */; const env0_5 = value.SECURE_FRAMES_LINKING_BOTTOM_SHEET_KEY; const env0_6 = value.SECURE_FRAMES_STREAM_VERIFICATION_BOTTOM_SHEET_KEY; const env0_7 = value.SECURE_FRAMES_USER_VERIFICATION_MODAL_KEY; value = require(661) /* metro dependency 661: Constants */; const env0_8 = value.ME; const env0_9 = value.Routes; object2 = {openSecureFramesStreamVerification: function(a0, a1) { importDefault(dependencyMap[7]).openLazy(require(dependencyMap[6])(dependencyMap[8], dependencyMap.paths), SECURE_FRAMES_STREAM_VERIFICATION_BOTTOM_SHEET_KEY, {streamKey: a0, channelId: a1}); }, openSecureFramesUserVerificationModal: openSecureFramesUserVerificationModal, openSecureFramesUpdateConfirmation: openSecureFramesUpdateConfirmation, handleSecureFramesUserVerificationLink: handleSecureFramesUserVerificationLink}; (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/rtc/SecureFramesPlatformUtils.native.tsx'); exports.default = object2; } function openSecureFramesUserVerificationModal(a0, a1, a2) { // fn#72578, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9465:496, offset: 0x01d4a3a0, size: 104 bytes, params: 4, frame: 17 var defaultImport; if (a2()) { defaultImport = importDefault(dependencyMap[4]); defaultImport.pushLazy(require(dependencyMap[6])(dependencyMap[5], dependencyMap.paths), {userId: a0, channelId: a1}, SECURE_FRAMES_USER_VERIFICATION_MODAL_KEY); } } function openSecureFramesUpdateConfirmation({title, subtitle, confirmText, onConfirm}) { // fn#72579, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9465:656, offset: 0x01d4a408, size: 249 bytes, params: 2, frame: 19 const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; const t = (require(1244) /* metro dependency 1244: indexNative */).t; const r6 = confirmText !== undefined ? confirmText : intl.string(t['cY+Oob']); const defaultImport = importDefault(4496) /* metro dependency 4496: AlertActionCreators */; const confirm = defaultImport.confirm; const object2 = {title: title, body: subtitle, confirmText: r6}; object2.cancelText = intl.string(t['ETE/oC']); const ButtonColors = (require(1305) /* metro dependency 1305: native */).ButtonColors; const RED = ButtonColors.RED; object2.confirmColor = RED; Reflect.apply(confirm, defaultImport, [object2]).then(_fun72580); } function handleSecureFramesUserVerificationLink({userId, fingerprint}) { // fn#72581, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9465:989, offset: 0x01d4a518, size: 353 bytes, params: 2, frame: 25 var defaultImport; var show; var object2; const intl = require(dependencyMap[9]).intl; const t = require(dependencyMap[9]).t; var defaultImport3; const channelId = RTCConnectionStore.getChannelId(); const channel = ChannelStore.getChannel(channelId); let r7 = channel?.getGuildId(); r7 = r7 ?? ME; if (channelId == null) { defaultImport = importDefault(dependencyMap[10]); show = defaultImport.show; object2 = {}; object2.title = intl.string(t['5ICxE6']); object2.body = intl.string(t['v1eXp/']); Reflect.apply(show, defaultImport, [object2]); } else if (channel != null) { importDefault(dependencyMap[12])(Routes.CHANNEL(r7, channelId)); defaultImport3 = importDefault(dependencyMap[7]); defaultImport3.openLazy(require(dependencyMap[6])(dependencyMap[13], dependencyMap.paths), SECURE_FRAMES_LINKING_BOTTOM_SHEET_KEY, {userId: userId, channelId: channelId, guildId: r7, fingerprint: fingerprint}); } else { defaultImport = importDefault(dependencyMap[10]); show = defaultImport.show; object2 = {}; object2.title = intl.string(t['5ICxE6']); object2.body = intl.string(t['v1eXp/']); Reflect.apply(show, defaultImport, [object2]); } }