Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

@@ -0,0 +1,174 @@
/* Metro module 10749; source: components_native/calls/CallPTTButton.tsx; dependencies: [57, 31, 1379, 4259, 4294, 661, 33, 4501, 697, 4000, 566, 10659, 10665, 10750, 5321, 4017, 1305, 1244, 2] */
function _fun82650(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#82650, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10935:6, offset: 0x01efd291, size: 568 bytes, params: 8, frame: 28
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importDefault(57) /* metro dependency 57 */;
let value = importAll(31) /* metro dependency 31 */;
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
const mediaEngineStore = importDefault(4259) /* metro dependency 4259: MediaEngineStore */;
const rtcConnectionStore = importDefault(4294) /* metro dependency 4294: RTCConnectionStore */;
const env0_8 = (require(661) /* metro dependency 661: Constants */).InputModes;
const env0_9 = (require(33) /* metro dependency 33 */).jsx;
const createStylesModule = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = createStylesModule.createStyles;
const object = {};
object.button = {margin: 13};
const object3 = {};
object3.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.xs;
object3.overflow = 'hidden';
const colorUtilsModule = require(4000) /* metro dependency 4000: ColorUtils */;
let hexWithOpacity = colorUtilsModule.hexWithOpacity;
const WHITE = (importDefault(697) /* metro dependency 697: native */).unsafe_rawColors.WHITE;
object3.backgroundColor = Reflect.apply(hexWithOpacity, colorUtilsModule, [WHITE, 0.24]);
object.container = object3;
object.buttonBlur = {backgroundColor: 'transparent'};
const value4 = colorUtilsModule;
hexWithOpacity = value4.hexWithOpacity;
const BLACK = (importDefault(697) /* metro dependency 697: native */).unsafe_rawColors.BLACK;
object.buttonBlurPressed = {backgroundColor: Reflect.apply(hexWithOpacity, value4, [BLACK, 0.6])};
object.textStyle = {fontSize: 16};
const BACKGROUND_BASE_LOW = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOW;
object.brandButtonContainer = {backgroundColor: BACKGROUND_BASE_LOW};
const env0_11 = Reflect.apply(createStyles, createStylesModule, [object]);
const env0_12 = {code: 'function CallPTTButtonTsx1(){const{runOnJS,setDragging}=this.__closure;runOnJS(setDragging)(false);}'};
const env0_13 = {code: 'function CallPTTButtonTsx2(){const{runOnJS,setDragging,setPressed,setIsSwipeToChatDisabled}=this.__closure;runOnJS(setDragging)(true);runOnJS(setPressed)(false);if(setIsSwipeToChatDisabled!=null){runOnJS(setIsSwipeToChatDisabled)(false);}}'};
value = value.memo(_fun82651);
(require(2) /* metro dependency 2 */).fileFinishedImporting('components_native/calls/CallPTTButton.tsx');
exports.default = value;
exports.CallPTTButtonLooks = {BRAND: 'brand', BLUR: 'blur'};
}
function _fun82651({look = env0_10.BRAND, style, sendCallback, stopCallback}) { // fn#82651, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10935:1027, offset: 0x01efd4c9, size: 1019 bytes, params: 2, frame: 34
var r0;
var GestureDetector;
var View;
var object3;
var Button;
var intl;
const env0_3 = undefined;
let env0_4 = undefined;
const styles = useStyles();
const fluxModule = require(566) /* metro dependency 566: flux */;
const useStateFromStores = fluxModule.useStateFromStores;
let object = [MediaEngineStore];
const mode = Reflect.apply(useStateFromStores, fluxModule, [object, function() {
return MediaEngineStore.getMode();
}]);
const channelId = fluxModule.useStateFromStores([RTCConnectionStore], function() {
return RTCConnectionStore.getChannelId();
});
const value4 = fluxModule.useStateFromStores([ChannelStore], function() {
return ChannelStore.getChannel(channelId);
}, [channelId]);
const value5 = (importDefault(10659) /* metro dependency 10659: useCanSpeakInChannel */)(channelId);
const binding = env0_4;
let useState = binding.useState;
const value6 = Reflect.apply(useState, binding, [false]);
const binding2 = env0_3;
const value7 = binding2(value6, 2);
const property = value7[0];
const property2 = value7[1];
env0_4 = property2;
useState = binding.useState;
const value8 = binding2(Reflect.apply(useState, binding, [false]), 2);
const property3 = value8[0];
const property4 = value8[1];
let r7 = value4?.isGuildStageVoice() && !value5;
const value11 = env0_4.useRef(false);
const setIsSwipeToChatDisabled = (require(10665) /* metro dependency 10665: VoiceChatModalContext */).useVoiceChatNavigationContext()?.setIsSwipeToChatDisabled;
env0_4.useEffect(_fun82655, [value11, property, property3, sendCallback, stopCallback]);
const Gesture = (require(5321) /* metro dependency 5321 */).Gesture;
const value13 = Gesture.Pan();
const onStart = value13.onStart;
let closure = G_82656;
closure.__closure = {runOnJS: (require(4017) /* metro dependency 4017: ReanimatedRexport */).runOnJS,
setDragging: property4, setPressed: property2, setIsSwipeToChatDisabled: setIsSwipeToChatDisabled};
closure.__workletHash = 10056118853836;
closure.__initData = env0_13;
const value14 = Reflect.apply(onStart, value13, [closure]);
const onEnd = value14.onEnd;
closure = F_82657;
closure.__closure = {runOnJS: (require(4017) /* metro dependency 4017: ReanimatedRexport */).runOnJS,
setDragging: property4};
closure.__workletHash = 8439106360958;
closure.__initData = env0_12;
if (channelId == null) {
r0 = null;
} else if (InputModes.VOICE_ACTIVITY === mode) {
r0 = null;
} else if (r7) {
r0 = null;
} else {
if (look === env0_10.BRAND) {
r7 = [styles.brandButtonContainer];
look = [styles.button, style];
} else {
look = property || property3 ? styles.buttonBlurPressed : styles.buttonBlur;
r7 = [styles.button, styles.container, style];
}
GestureDetector = (require(5321) /* metro dependency 5321 */).GestureDetector;
object = {gesture: Reflect.apply(onEnd, value14, [closure])};
View = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
object3 = {style: r7};
Button = (require(1305) /* metro dependency 1305: native */).Button;
var buttonProps = {style: look, textStyle: styles.textStyle};
intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
buttonProps.text = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.Q8gkVL);
buttonProps.onTouchStart = onTouchStart;
buttonProps.onTouchEnd = onTouchEnd;
buttonProps.darkenOnPress = true;
r0 = <GestureDetector {...object}><View {...object3}><Button {...buttonProps} /></View></GestureDetector>;
}
return r0;
}
function _fun82655() { // fn#82655, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10935:1524, offset: 0x01efd904, size: 118 bytes, params: 1, frame: 13
var value2;
const r1 = env0_3 || env0_5;
if (r1 !== env0_7.current) {
value2 = environment.__proto__;
(require(10750) /* metro dependency 10750: MediaEngineActionCreators */).setPushToTalkState(r1);
if (r1) {
if (sendCallback != null) {
sendCallback();
}
} else if (stopCallback != null) {
stopCallback();
}
}
env0_7.current = r1;
}
function G_82656() { // fn#82656, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10935:1691, offset: 0x01efd97a, size: 127 bytes, params: 1, frame: 17
let value = environment.__proto__;
(require(4017) /* metro dependency 4017: ReanimatedRexport */).runOnJS(env0_6)(true);
(require(4017) /* metro dependency 4017: ReanimatedRexport */).runOnJS(env0_4)(false);
if (setIsSwipeToChatDisabled != null) {
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
value.runOnJS(setIsSwipeToChatDisabled)(false);
}
}
function F_82657() { // fn#82657, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10935:1936, offset: 0x01efd9f9, size: 51 bytes, params: 1, frame: 12
let value = environment.__proto__;
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
value = value.runOnJS(env0_6);
value(false);
}
function onTouchStart() { // fn#82658, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10935:2432, offset: 0x01efda2c, size: 48 bytes, params: 1, frame: 13
env0_4(true);
env0_6(false);
if (setIsSwipeToChatDisabled != null) {
setIsSwipeToChatDisabled(true);
}
}
function onTouchEnd() { // fn#82659, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10935:2482, offset: 0x01efda5c, size: 37 bytes, params: 1, frame: 13
env0_4(false);
if (setIsSwipeToChatDisabled != null) {
setIsSwipeToChatDisabled(false);
}
}
@@ -0,0 +1,351 @@
/* Metro module 10864; source: components_native/calls/RTCDebugOverlay.tsx; dependencies: [31, 27, 1379, 1867, 4294, 10865, 4395, 1878, 4291, 33, 4501, 4000, 697, 1305, 566, 4805, 10867, 10866, 694, 6618, 4578, 1244, 2] */
function _fun83197(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#83197, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11050:6, offset: 0x01f10f6e, size: 700 bytes, params: 8, frame: 27
var object3;
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const value = importAll(31) /* metro dependency 31 */;
const value2 = require(27) /* metro dependency 27 */;
const StyleSheet = value2.StyleSheet;
const env0_5 = value2.View;
const env0_6 = value2.ScrollView;
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
const guildStore = importDefault(1867) /* metro dependency 1867: GuildStore */;
const rtcConnectionStore = importDefault(4294) /* metro dependency 4294: RTCConnectionStore */;
const rtcDebugStore = importDefault(10865) /* metro dependency 10865: RTCDebugStore */;
const streamRTCConnectionStore = importDefault(4395) /* metro dependency 4395: StreamRTCConnectionStore */;
const userStore = importDefault(1878) /* metro dependency 1878: UserStore */;
const MediaEngineContextTypes = (require(4291) /* metro dependency 4291: Constants */).MediaEngineContextTypes;
const value3 = require(33) /* metro dependency 33 */;
const env0_14 = value3.jsx;
const env0_15 = value3.jsxs;
const env0_16 = value3.Fragment;
const asString_83212 = function(a0) {
return String(a0);
};
const createStylesModule = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = createStylesModule.createStyles;
object3 = {};
const object4 = {};
copyDataProperties(object4, StyleSheet.absoluteFillObject, undefined);
const colorUtilsModule = require(4000) /* metro dependency 4000: ColorUtils */;
const hexWithOpacity = colorUtilsModule.hexWithOpacity;
const BLACK = (importDefault(697) /* metro dependency 697: native */).unsafe_rawColors.BLACK;
object4['backgroundColor'] = Reflect.apply(hexWithOpacity, colorUtilsModule, [BLACK, 0.7]);
object3.container = object4;
object3.scroller = {'flex': 1, 'margin': 8};
object3.indent = {marginLeft: 16};
object3.row = {flexDirection: 'row'};
const WHITE = (importDefault(697) /* metro dependency 697: native */).unsafe_rawColors.WHITE;
object3.text = {color: WHITE, fontSize: 14};
object3.buttonClose = {'flexGrow': 0, 'margin': 8};
const env0_18 = Reflect.apply(createStyles, createStylesModule, [object3]);
const env0_19 = value.memo(_fun83213);
const env0_20 = value.memo(_fun83214);
object3 = {};
const DEFAULT = MediaEngineContextTypes.DEFAULT;
object3[DEFAULT] = DefaultContextInfo;
const STREAM = MediaEngineContextTypes.STREAM;
object3[STREAM] = StreamContextInfo;
(require(2) /* metro dependency 2 */).fileFinishedImporting('components_native/calls/RTCDebugOverlay.tsx');
exports.default = RTCDebugOverlay;
}
function Text(a0) { // fn#83198, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11050:636, offset: 0x01f1122a, size: 77 bytes, params: 2, frame: 15
const styles = useStyles();
const LegacyText = (require(1305) /* metro dependency 1305: native */).LegacyText;
return <LegacyText {...a0} {...{['style']: styles.text}} />;
}
function Section({title, children}) { // fn#83199, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11050:714, offset: 0x01f11277, size: 122 bytes, params: 2, frame: 20
const styles = useStyles();
return (
<>
<Text>
{title}
{':'}
</Text>
<View style={styles.indent}>
{children}
</View>
</>
);
}
function ObjectKV({obj}) { // fn#83200, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11050:848, offset: 0x01f112f1, size: 66 bytes, params: 2, frame: 12
const env0_0 = useStyles();
const Object = global.Object;
return Object.entries(obj).map(_fun83201);
}
function RTCDebugGeneral() { // fn#83202, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11050:1485, offset: 0x01f1146b, size: 295 bytes, params: 1, frame: 24
const {guildId,
channelId} = (require(566) /* metro dependency 566: flux */).useStateFromStoresObject([RTCConnectionStore],
function() {
var object = {};
object.guildId = RTCConnectionStore.getGuildId();
object.channelId = RTCConnectionStore.getChannelId();
return object;
}, []);
const fluxModule = require(566) /* metro dependency 566: flux */;
let useStateFromStores = fluxModule.useStateFromStores;
const value3 = Reflect.apply(useStateFromStores, fluxModule, [[GuildStore], function() {
return GuildStore.getGuild(guildId);
}, [guildId]]);
const moduleValue3 = fluxModule;
useStateFromStores = moduleValue3.useStateFromStores;
const value5 = (importDefault(4805) /* metro dependency 4805: useChannelName */)(Reflect.apply(useStateFromStores,
moduleValue3, [[ChannelStore], function() {
return ChannelStore.getChannel(channelId);
}, [channelId]]));
const value = null;
return (
<Section title="general">
<ObjectKV
obj={{guild: {id: guildId, name: value != value3 ? value3.name : value}, channel: {id: channelId,
name: value5}}}
/>
</Section>
);
}
function renderContextInfo(a0) { // fn#83206, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11050:2579, offset: 0x01f115bd, size: 39 bytes, params: 2, frame: 14
const property = env0_21[a0];
const value2 = null;
return value2 != property ? ((Component) => <Component />)(property) : value2;
}
function RTCDebugContext({context}) { // fn#83207, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11050:2648, offset: 0x01f115e4, size: 121 bytes, params: 2, frame: 16
var r0;
let value = (require(566) /* metro dependency 566: flux */).useStateFromStores([RTCDebugStore], function() {
return RTCDebugStore.getAllStats(context);
}, [context]);
if (value == null) {
r0 = null;
} else if (value.length === 0) {
r0 = null;
} else {
value = value.map(_fun83209);
r0 = value;
}
return r0;
}
function _fun83213({data}) { // fn#83213, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11050:1194, offset: 0x01f11805, size: 88 bytes, params: 2, frame: 17
const type = data.type;
let value = Object.create(null);
value.type = 0;
value = copyDataProperties({}, data, value, undefined);
return (
<Section title={type}>
<ObjectKV obj={value} />
</Section>
);
}
function _fun83214({userId, data}) { // fn#83214, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11050:1284, offset: 0x01f1185d, size: 199 bytes, params: 2, frame: 20
const value2 = (require(566) /* metro dependency 566: flux */).useStateFromStores([UserStore], function() {
return UserStore.getUser(userId);
}, [userId]);
const value3 = '' + userId;
return (
<Section title={value2 == null ? value3 : value3 + (' (' + value2.toString() + ')')}>
{data.map(_fun83216)}
</Section>
);
}
function DefaultContextInfo() { // fn#83217, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11050:1929, offset: 0x01f11961, size: 86 bytes, params: 1, frame: 17
return (
<ObjectKV
obj={(require(566) /* metro dependency 566: flux */).useStateFromStoresObject([RTCConnectionStore],
_fun83218, [])}
/>
);
}
function StreamContextInfo() { // fn#83219, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11050:2312, offset: 0x01f11a7b, size: 110 bytes, params: 1, frame: 18
return (
<ObjectKV
obj={(require(566) /* metro dependency 566: flux */).useStateFromStoresObject([StreamRTCConnectionStore],
_fun83220, [StreamRTCConnectionStore.getAllActiveStreamKeys()[0]])}
/>
);
}
function RTCDebugOverlay({onClose, style}) { // fn#83221, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11050:3321, offset: 0x01f11b4c, size: 364 bytes, params: 2, frame: 26
const styles = useStyles();
env0_4.useEffect(_fun83222, []);
const SafeAreaPaddingView = (require(6618) /* metro dependency 6618: SafeAreaView */).SafeAreaPaddingView;
const items3 = [styles.container, style];
const items2 = [<RTCDebugGeneral />];
const Object = global.Object;
const value3 = Object.values(MediaEngineContextTypes);
items2[1] = value3.map(_fun83224);
const scrollView = <ScrollView style={styles.scroller} indicatorStyle="white">{items2}</ScrollView>;
const Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
return (
<SafeAreaPaddingView
top
left
right
bottom
style={items3}
>
{scrollView}
<View style={styles.buttonClose}>
<Button
text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t.cpT0Cq)}
onPress={onClose}
/>
</View>
</SafeAreaPaddingView>
);
}
function _fun83201(a0) { // fn#83201, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11050:915, offset: 0x01f11333, size: 312 bytes, params: 2, frame: 22
var r0;
var r1;
var r2;
var r9;
var item3;
var value3;
var value4;
var value7;
var object;
var items2;
var value9;
const iterator = a0[Symbol.iterator]();
const iterator2 = iterator.next;
let item2 = Reflect.apply(iterator2, iterator, []);
let item = item2.value;
item2 = item2.done ? undefined : iterator;
const value = undefined;
const value2 = item2 === value;
const r4 = value2 ? value : item;
if (value2) {
r0 = item2;
r1 = value2;
r2 = value;
} else {
item3 = Reflect.apply(iterator2, item2, []);
item = item3.value;
item3 = item3.done ? undefined : item2;
value3 = item3 === value;
if (value3) {
r0 = item3;
r1 = value3;
r2 = value;
} else {
r0 = item3;
r1 = value3;
r2 = item;
}
}
if (!r1) {
r0.return();
}
const Array = global.Array;
if (Array.isArray(r2)) {
value4 = r2.at(-1);
r9 = typeof (value4 == null ? value : value4.value) !== 'number' ? r2 : r2.at(-1).value;
} else {
r9 = r2;
}
if (r9 == null) {
value7 = environment.__proto__;
var viewProps = {style: styles.row};
items2 = [r4, ': '];
items2[2] = asString_83212(r9);
r0 = <View {...viewProps} key={r4}><Text>{items2}</Text></View>;
} else if (typeof r9 === 'object') {
value9 = environment.__proto__;
r0 = <Section title={r4} key={r4}><ObjectKV obj={r9} /></Section>;
} else {
value7 = environment.__proto__;
var viewProps = {style: styles.row};
items2 = [r4, ': '];
items2[2] = asString_83212(r9);
r0 = <View {...viewProps} key={r4}><Text>{items2}</Text></View>;
}
return r0;
}
function _fun83209(a0) { // fn#83209, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11050:2794, offset: 0x01f11678, size: 309 bytes, params: 2, frame: 25
var environment;
const value = environment.__proto__;
const object2 = {};
const contextBinding = context;
object2.title = '' + contextBinding + ' - ' + a0.mediaEngineConnectionId;
const items2 = [renderContextInfo(contextBinding)];
items2[1] = <Section title="transport"><ObjectKV obj={a0.transport} /></Section>;
items2[2] = <Section title="outbound">{a0.rtp.outbound.map(_fun83210)}</Section>;
const inbound = a0.rtp.inbound;
const Object = global.Object;
const value4 = Object.keys(inbound);
items2[3] = value4.length === 0 ? null : <Section title="inbound">{value4.map(_fun83211)}</Section>;
return (
<Section {...object2} key={a0.mediaEngineConnectionId}>
{items2}
</Section>
);
}
function _fun83216(a0, a1) { // fn#83216, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11050:1455, offset: 0x01f1193f, size: 34 bytes, params: 3, frame: 15
return ((Component) => <Component data={a0} key={a1} />)(env1_19);
}
function _fun83218() { // fn#83218, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11050:2005, offset: 0x01f119b7, size: 196 bytes, params: 1, frame: 14
const object2 = {};
object2.mediaSessionId = RTCConnectionStore.getMediaSessionId();
object2.state = RTCConnectionStore.getState();
const defaultImport = importDefault(10867) /* metro dependency 10867: RTCConnectionUtils */;
const getShortHostname = defaultImport.getShortHostname;
const getHostname = RTCConnectionStore.getHostname;
object2.hostname = Reflect.apply(getShortHostname, defaultImport, [Reflect.apply(getHostname, RTCConnectionStore,
[])]);
object2.quality = RTCConnectionStore.getQuality();
object2.averagePing = RTCConnectionStore.getAveragePing();
object2.lastPing = RTCConnectionStore.getLastPing();
object2.outboundLossRate = RTCConnectionStore.getOutboundLossRate();
object2.duration = RTCConnectionStore.getDuration();
return object2;
}
function _fun83220() { // fn#83220, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11050:2419, offset: 0x01f11ae9, size: 99 bytes, params: 1, frame: 14
const object2 = {};
let value = environment.__proto__;
const getMediaSessionId = StreamRTCConnectionStore.getMediaSessionId;
const binding = env0_0;
object2.mediaSessionId = Reflect.apply(getMediaSessionId, StreamRTCConnectionStore, [binding]);
value = importDefault(10867) /* metro dependency 10867: RTCConnectionUtils */;
const getShortHostname = value.getShortHostname;
const getHostname = StreamRTCConnectionStore.getHostname;
object2.hostname = Reflect.apply(getShortHostname, value, [Reflect.apply(getHostname, StreamRTCConnectionStore,
[binding])]);
object2.quality = StreamRTCConnectionStore.getQuality(binding);
return object2;
}
function _fun83222() { // fn#83222, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11050:3397, offset: 0x01f11cb8, size: 46 bytes, params: 1, frame: 11
var environment;
const value = environment.__proto__;
(importAll(10866) /* metro dependency 10866: RTCDebugActionCreators */).open();
return function() {
return importDefault(dependencyMap[18]).wait(importAll(dependencyMap[17]).close);
};
}
function _fun83224(a0) { // fn#83224, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11050:3660, offset: 0x01f11d22, size: 31 bytes, params: 2, frame: 15
return <RTCDebugContext context={a0} key={a0} />;
}
function _fun83210(a0, a1) { // fn#83210, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11050:3029, offset: 0x01f117ad, size: 34 bytes, params: 3, frame: 15
return ((Component) => <Component data={a0} key={a1} />)(env2_19);
}
function _fun83211(a0) { // fn#83211, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11050:3152, offset: 0x01f117cf, size: 46 bytes, params: 2, frame: 15
return ((Component) => <Component userId={a0} data={inbound[a0]} key={a0} />)(env2_20);
}
@@ -0,0 +1,114 @@
/* Metro module 15698; source: components_native/calls/stream/StreamFeedbackActionSheet.tsx; dependencies: [31, 1226, 661, 9906, 33, 7128, 566, 1244, 2454, 9909, 15699, 683, 15559, 15700, 4080, 15701, 1962, 3856, 2] */
function _fun120498(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#120498, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15906:6, offset: 0x0252c980, size: 218 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const authenticationStore = importDefault(1226) /* metro dependency 1226: AuthenticationStore */;
const env0_4 = (require(661) /* metro dependency 661: Constants */).AnalyticEvents;
const constantsModule = require(9906) /* metro dependency 9906: Constants */;
const env0_5 = constantsModule.FeedbackCategory;
const env0_6 = constantsModule.FeedbackType;
const env0_7 = constantsModule.StreamFeedbackOption;
const env0_8 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('components_native/calls/stream/StreamFeedbackActionSheet.tsx');
exports.default = StreamFeedbackActionSheet;
}
function StreamFeedbackActionSheet({stream, analyticsData}) { // fn#120499, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15906:331, offset: 0x0252ca5a, size: 661 bytes, params: 2, frame: 25
var object4;
const env0_2 = (require(7128) /* metro dependency 7128: StreamerApplicationSelectors */).useGetStreamApplication(stream);
const value2 = (require(566) /* metro dependency 566: flux */).useStateFromStores([AuthenticationStore], _fun120500);
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
let string = intl.string;
const value3 = Reflect.apply(string, intl, [(require(1244) /* metro dependency 1244: indexNative */).t['5smP3R']]);
const value4 = intl.string((require(1244) /* metro dependency 1244: indexNative */).t['0uxA2V']);
string = intl.string;
const CqjnLN = (require(1244) /* metro dependency 1244: indexNative */).t.CqjnLN;
const value5 = Reflect.apply(string, intl, [CqjnLN]);
object4 = {};
object4.value = value2 ? FeedbackCategory.STREAMING : FeedbackCategory.STREAM_WATCHING;
string = intl.string;
const defaultImport = importDefault(2454) /* metro dependency 2454: FeedbackMessages */;
object4.label = Reflect.apply(string, intl, [value2 ? defaultImport['0ZBLiZ'] : defaultImport.TVTIT1]);
object4.problemsHeader = intl.string((require(1244) /* metro dependency 1244: indexNative */).t['6Y1t5P']);
object4.problemOptions = (require(9909) /* metro dependency 9909: FeedbackUtils */).getStreamFeedbackOptions({isStreamer: value2});
const object2 = {};
const FREEFORM = StreamFeedbackOption.FREEFORM;
object2.value = FREEFORM;
object2.label = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.emlT91);
object4.freeformConfig = object2;
return ((Component) => <Component headerLabel={value3} showHeaderCloseButton ratingBody={value2 ? value4 : value5} categoriesHeader={intl.string(defaultImport.tq8598)} optionsTree={[object4]} trackOpen={trackOpen_120501} trackReport={trackReport} />)(importDefault(15699) /* metro dependency 15699: FeedbackActionSheetV2 */);
}
function _fun120500() { // fn#120500, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15906:469, offset: 0x0252ccef, size: 36 bytes, params: 1, frame: 9
const value = environment.__proto__;
return AuthenticationStore.getId() === stream.ownerId;
}
function StreamFeedbackActionSheetTrackOpen() { // fn#120501, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15906:1079, owner: StreamFeedbackActionSheet.trackOpen, offset: 0x0252cd13, size: 161 bytes, params: 1, frame: 18
const defaultImport = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
const track = defaultImport.track;
const OPEN_POPOUT = AnalyticEvents.OPEN_POPOUT;
const value2 = null;
Reflect.apply(track, defaultImport, [OPEN_POPOUT, {type: 'Stream Feedback Sheet', other_user_id: stream.ownerId,
application_id: value2 != env0_2 ? env0_2.id : value2,
application_name: value2 != env0_2 ? env0_2.name : value2, game_id: value2 != env0_2 ? env0_2.id : value2}]);
}
function StreamFeedbackActionSheetTrackReport({dontShowAgain, rating, category, reason, feedback}) { // fn#120502, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15906:1278, owner: StreamFeedbackActionSheet.trackReport, offset: 0x0252cdb4, size: 445 bytes, params: 2, frame: 22
var r9;
var r0;
var variant;
var value;
var object2;
var value2;
var value3;
var defaultImport;
var analyticsDataBinding;
var openLazy;
var value7;
if (dontShowAgain) {
value = environment.__proto__;
require(dependencyMap[9]).processOptOut({feedbackType: FeedbackType.STREAM,
location: 'StreamFeedbackActionSheet'});
}
value = null;
if (value != rating) {
value2 = environment.__proto__;
value3 = undefined;
defaultImport = importDefault(dependencyMap[12]);
object2 = {category: category};
r9 = value == reason ? value3 : reason.value;
r0 = value != r9 ? r9 : value;
object2.problem = r0;
variant = value == reason ? value3 : reason.variant;
r0 = value != variant ? variant : value;
object2.variant = r0;
object2.stream = stream;
r9 = value != feedback ? feedback : '';
object2.feedback = r9;
object2.streamApplication = env0_2;
object2.analyticsData = analyticsData;
object2.location = 'Stream End';
object2.rating = rating;
defaultImport(object2);
if (value == reason) {
require(dependencyMap[17]).presentFeedbackSent();
} else {
value = require(dependencyMap[13]);
if (value.shouldShowLogUploadForCategory(rating, category, reason)) {
value = importDefault(dependencyMap[14]);
openLazy = value.openLazy;
value7 = require(dependencyMap[16])(dependencyMap[15], dependencyMap.paths);
analyticsDataBinding = analyticsData;
Reflect.apply(openLazy, value, [value7, 'UploadLogs',
{mediaSessionId: analyticsDataBinding.media_session_id,
rtcConnectionId: analyticsDataBinding.rtc_connection_id}]);
} else {
require(dependencyMap[17]).presentFeedbackSent();
}
}
}
}
@@ -0,0 +1,46 @@
/* Metro module 16190; source: components_native/calls/stream/StreamFullAlert.tsx; dependencies: [31, 27, 33, 9235, 1244, 4596, 4573, 16191, 2] */
function _fun125092(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#125092, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16398:6, offset: 0x025cdb23, size: 207 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(27) /* metro dependency 27 */).Image;
const value = require(33) /* metro dependency 33 */;
const env0_4 = value.jsx;
const env0_5 = value.jsxs;
({image: {'alignSelf': 'center', 'marginTop': 32}}).body = {marginTop: 16};
(require(2) /* metro dependency 2 */).fileFinishedImporting('components_native/calls/stream/StreamFullAlert.tsx');
exports.default = StreamFullAlert;
}
function StreamFullAlert(a0) { // fn#125093, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16398:217, offset: 0x025cdbf2, size: 444 bytes, params: 2, frame: 26
const value2 = undefined;
const avErrorModule = require(9235) /* metro dependency 9235: AVError */;
const getErrorInfo = avErrorModule.getErrorInfo;
const AVError = avErrorModule.AVError;
const STREAM_FULL = AVError.STREAM_FULL;
const value3 = Reflect.apply(getErrorInfo, avErrorModule, [STREAM_FULL]);
const errorCode = value3 == null ? value2 : value3.errorCode;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
const value4 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.ejOT95,
{errorCode: errorCode});
const Alert = importDefault(4596) /* metro dependency 4596: Alert */;
const defaultImportProps = {...a0};
let string = intl.string;
const GzjdO5 = (require(1244) /* metro dependency 1244: indexNative */).t.GzjdO5;
defaultImportProps['title'] = Reflect.apply(string, intl, [GzjdO5]);
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
const binding = env0_6;
const body = binding.body;
string = intl.string;
const VVZDBL = (require(1244) /* metro dependency 1244: indexNative */).t.VVZDBL;
const items2 = [<Text variant="text-md/normal" style={body}>{Reflect.apply(string, intl, [VVZDBL])}</Text>];
items2[1] = <Text variant="text-md/normal" selectable color="text-muted" style={binding.body}>{value4}</Text>;
items2[2] = <Image source={importDefault(16191) /* metro dependency 16191 */} style={binding.image} />;
return (
<Alert {...defaultImportProps}>
{items2}
</Alert>
);
}
@@ -0,0 +1,90 @@
/* Metro module 15558; source: components_native/calls/stream/StreamReportProblemActionSheet.tsx; dependencies: [31, 4396, 661, 33, 4501, 697, 4594, 7128, 683, 15559, 4080, 3856, 15560, 6807, 6805, 6758, 1244, 6277, 2] */
function _fun119091(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#119091, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15755:6, offset: 0x024fc007, size: 244 bytes, params: 8, frame: 21
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const presenceStore = importDefault(4396) /* metro dependency 4396: PresenceStore */;
const env0_4 = (require(661) /* metro dependency 661: Constants */).AnalyticEvents;
const env0_5 = (require(33) /* metro dependency 33 */).jsx;
const createStylesModule = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = createStylesModule.createStyles;
const BACKGROUND_SURFACE_HIGH = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGH;
const env0_6 = Reflect.apply(createStyles, createStylesModule, [{container: {padding: 16,
backgroundColor: BACKGROUND_SURFACE_HIGH}}]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('components_native/calls/stream/StreamReportProblemActionSheet.tsx');
exports.default = ReportProblem;
}
function ReportProblem({stream, analyticsData}) { // fn#119092, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15755:370, offset: 0x024fc0fb, size: 330 bytes, params: 2, frame: 23
const styles = useStyles();
(importDefault(4594) /* metro dependency 4594: useMountEffect */)(_fun119093);
const value3 = (importDefault(15560) /* metro dependency 15560: getStreamIssueReportOptions */)({'isStreamer': false,
'isEndStream': false}).map(_fun119094);
const ActionSheet = (require(6805) /* metro dependency 6805: ActionSheetNative */).ActionSheet;
const object2 = {scrollable: true};
const BottomSheetTitleHeader = (require(6758) /* metro dependency 6758: BottomSheetTitleHeaderNative */).BottomSheetTitleHeader;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
const string = intl.string;
const XuqqwI = (require(1244) /* metro dependency 1244: indexNative */).t.XuqqwI;
object2.header = <BottomSheetTitleHeader title={Reflect.apply(string, intl, [XuqqwI])} />;
const BottomSheetScrollView = (require(6277) /* metro dependency 6277 */).BottomSheetScrollView;
const ActionSheetRow = (require(6807) /* metro dependency 6807: ActionSheetRowNative */).ActionSheetRow;
const Group = ActionSheetRow.Group;
return (
<ActionSheet {...object2}>
<BottomSheetScrollView style={styles.container}>
<Group hasIcons={false}>
{value3}
</Group>
</BottomSheetScrollView>
</ActionSheet>
);
}
function _fun119093() { // fn#119093, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15755:441, offset: 0x024fc245, size: 169 bytes, params: 1, frame: 18
let value = environment.__proto__;
const streamerApplicationSelectorsModule = require(7128) /* metro dependency 7128: StreamerApplicationSelectors */;
const getStreamerApplication = streamerApplicationSelectorsModule.getStreamerApplication;
const streamBinding = stream;
const value3 = Reflect.apply(getStreamerApplication, streamerApplicationSelectorsModule, [streamBinding,
PresenceStore]);
const defaultImport = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
const track = defaultImport.track;
const OPEN_POPOUT = AnalyticEvents.OPEN_POPOUT;
value = null;
Reflect.apply(track, defaultImport, [OPEN_POPOUT, {type: 'Stream Issue Sheet', other_user_id: streamBinding.ownerId,
application_id: value != value3 ? value3.id : value, application_name: value != value3 ? value3.name : value,
game_id: value != value3 ? value3.id : value}]);
}
function _fun119094({value, label}, a1) { // fn#119094, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15755:722, offset: 0x024fc2ee, size: 90 bytes, params: 3, frame: 16
var environment;
value = environment.__proto__;
const ActionSheetRow = (require(6807) /* metro dependency 6807: ActionSheetRowNative */).ActionSheetRow;
return (
<ActionSheetRow
label={label}
arrow
onPress={onPress_119095}
key={a1}
/>
);
}
function onPress_119095() { // fn#119095, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15755:797, offset: 0x024fc348, size: 165 bytes, params: 1, frame: 20
const valueBinding = value;
const defaultImport = importDefault(15559) /* metro dependency 15559: trackStreamProblem */;
const object2 = {problem: valueBinding};
const streamBinding = stream;
object2.stream = streamBinding;
object2.feedback = '';
object2.streamApplication = (require(7128) /* metro dependency 7128: StreamerApplicationSelectors */).getStreamerApplication(streamBinding,
PresenceStore);
object2.analyticsData = analyticsData;
object2.location = 'Stream';
defaultImport(object2);
(importDefault(4080) /* metro dependency 4080: ActionSheetActionCreators */).hideActionSheet();
(require(3856) /* metro dependency 3856: ToastUtils */).presentFeedbackSent();
}
@@ -0,0 +1,130 @@
/* Metro module 10673; source: components_native/calls/stream/VideoEmptyState.tsx; dependencies: [31, 27, 1379, 661, 33, 4501, 697, 10674, 1305, 1244, 9933, 9235, 566, 4594, 8913, 4285, 4573, 4579, 2] */
function _fun82078(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#82078, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10859:6, offset: 0x01eea25a, size: 454 bytes, params: 8, frame: 24
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(27) /* metro dependency 27 */).View;
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
const Fonts = (require(661) /* metro dependency 661: Constants */).Fonts;
let value = require(33) /* metro dependency 33 */;
const env0_5 = value.jsx;
const env0_6 = value.Fragment;
const env0_7 = value.jsxs;
value = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = value.createStyles;
const object = {};
const PRIMARY_700 = (importDefault(697) /* metro dependency 697: native */).unsafe_rawColors.PRIMARY_700;
object.container = {'alignItems': 'center', 'justifyContent': 'center', 'backgroundColor': null, 'padding': 8,
backgroundColor: PRIMARY_700};
object.placeholderImage = {'marginBottom': 8, 'width': '100%', 'resizeMode': 'contain'};
const WHITE = (importDefault(697) /* metro dependency 697: native */).unsafe_rawColors.WHITE;
const PRIMARY_SEMIBOLD = Fonts.PRIMARY_SEMIBOLD;
object.placeholderText = {'color': null, 'fontFamily': null, 'fontSize': 16, 'lineHeight': 20,
'textAlign': 'center', color: WHITE, fontFamily: PRIMARY_SEMIBOLD};
object.buttonWrapper = {'marginTop': 16, 'alignSelf': 'center'};
const object3 = {};
object3.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.round;
object.buttonPill = object3;
const env0_9 = Reflect.apply(createStyles, value, [object]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('components_native/calls/stream/VideoEmptyState.tsx');
exports.default = VideoEmptyState;
exports.VideoEmptyTypes = {NONE: 'NONE', STREAM_ENDED: 'STREAM_ENDED', STREAM_FAILED: 'STREAM_FAILED'};
}
function VideoEmptyState(a0) { // fn#82079, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10859:821, offset: 0x01eea420, size: 1098 bytes, params: 2, frame: 35
var r7;
var errorCode;
var r4;
var jsxRuntimeEnv0_6Binding;
var items3;
const LegacyText = (require(1305) /* metro dependency 1305: native */).LegacyText;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
var items2;
var moduleValue;
var moduleValue2;
var BaseTextButton;
const type = a0.type;
const style = a0.style;
const avError = a0.avError;
const removeSplashImage = a0.removeSplashImage;
const removeCloseButton = a0.removeCloseButton;
const stream = a0.stream;
const object2 = {'type': 0, 'style': 0, 'avError': 0, 'removeSplashImage': 0, 'removeCloseButton': 0, 'stream': 0};
let value = null;
silentSetPrototypeOf(object2, value, undefined);
const value2 = copyDataProperties({}, a0, object2, undefined);
const value3 = undefined;
const styles = useStyles();
const STREAM_ENDED = env0_8.STREAM_ENDED;
if (STREAM_ENDED === type) {
jsxRuntimeEnv0_6Binding = jsxRuntimeEnv0_6;
items2 = [!removeSplashImage && ((StreamEnded) => <StreamEnded style={styles.placeholderImage} />)((require(10674) /* metro dependency 10674: StreamEnded */).StreamEnded)];
items2[1] = <LegacyText style={styles.placeholderText}>{intl.formatToMarkdownString((require(1244) /* metro dependency 1244: indexNative */).t['1Ww0Hi'],
{})}</LegacyText>;
r7 = <>{items2}</>;
} else if (env0_8.STREAM_FAILED === type) {
jsxRuntimeEnv0_6Binding = jsxRuntimeEnv0_6;
items3 = [!removeSplashImage && ((StreamFailed) => <StreamFailed style={styles.placeholderImage} />)((require(9933) /* metro dependency 9933: StreamFailed */).StreamFailed)];
items3[1] = <LegacyText style={styles.placeholderText}>{intl.string((require(1244) /* metro dependency 1244: indexNative */).t.rSlOep)}</LegacyText>;
r7 = <>{items3}</>;
} else {
r7 = env0_8.NONE !== type ? value3 : value;
}
if (value != avError) {
moduleValue2 = require(9235) /* metro dependency 9235: AVError */;
errorCode = moduleValue2.getErrorInfo(avError).errorCode;
} else if (type !== env0_8.STREAM_FAILED) {
errorCode = value;
} else {
moduleValue = require(9235) /* metro dependency 9235: AVError */;
errorCode = moduleValue.getErrorInfo((require(9235) /* metro dependency 9235: AVError */).AVError.STREAM_FAILED_TO_START).errorCode;
}
const env0_1 = (require(566) /* metro dependency 566: flux */).useStateFromStores([ChannelStore], function() {
return ChannelStore.getChannel(stream.channelId);
}, [stream.channelId]);
(importDefault(4594) /* metro dependency 4594: useMountEffect */)(_fun82081);
const viewBindingProps = {...value2};
viewBindingProps['style'] = [styles.container, style];
value = value != errorCode;
const r6 = value && ((Text) => <Text variant="text-sm/semibold" color="text-muted" selectable>{intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.ejOT95,
{errorCode: errorCode})}</Text>)((require(4573) /* metro dependency 4573: Text */).Text);
if (removeCloseButton) {
r4 = !removeCloseButton;
} else {
var viewBinding2Props = {style: styles.buttonWrapper};
BaseTextButton = (require(4579) /* metro dependency 4579: BaseTextButtonNative */).BaseTextButton;
r4 = <View {...viewBinding2Props}><BaseTextButton pillStyle={styles.buttonPill} variant="secondary" text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t['4EGMWL'])} onPress={onPress_82082} /></View>;
}
return (
<View {...viewBindingProps}>
{r7}
{r6}
{r4}
</View>
);
}
function _fun82081() { // fn#82081, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10859:1727, offset: 0x01eea889, size: 100 bytes, params: 1, frame: 15
var value3;
var moduleValue;
var stopStream;
var moduleValue2;
if (env0_1 != null && env0_1.isGuildStageVoice()) {
value3 = environment.__proto__;
moduleValue = require(8913) /* metro dependency 8913: StreamActionCreators */;
stopStream = moduleValue.stopStream;
moduleValue2 = require(4285) /* metro dependency 4285: StreamKeyUtils */;
Reflect.apply(stopStream, moduleValue, [moduleValue2.encodeStreamKey(stream)]);
}
}
function VideoEmptyStateOnPress() { // fn#82082, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10859:2186, owner: VideoEmptyState.onPress, offset: 0x01eea8ed, size: 68 bytes, params: 1, frame: 14
let value = environment.__proto__;
value = require(8913) /* metro dependency 8913: StreamActionCreators */;
const stopStream = value.stopStream;
const streamKeyUtilsModule = require(4285) /* metro dependency 4285: StreamKeyUtils */;
Reflect.apply(stopStream, value, [streamKeyUtilsModule.encodeStreamKey(stream)]);
}