Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,109 @@
|
||||
/* Metro module 4399; source: stores/ApplicationStreamingSettingsStore.tsx; dependencies: [6, 7, 15, 17, 18, 4282, 4291, 566, 694, 2] */
|
||||
function _fun37376(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#37376, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4571:6, offset: 0x010a3d1c, size: 373 bytes, params: 8, frame: 21
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_0 = importDefault(6) /* metro dependency 6 */;
|
||||
const env0_1 = importDefault(7) /* metro dependency 7 */;
|
||||
const env0_2 = importDefault(15) /* metro dependency 15 */;
|
||||
const env0_3 = importDefault(17) /* metro dependency 17 */;
|
||||
const env0_4 = importDefault(18) /* metro dependency 18 */;
|
||||
let value = require(4282) /* metro dependency 4282: StreamSettingsConstants */;
|
||||
const ApplicationStreamResolutions = value.ApplicationStreamResolutions;
|
||||
const ApplicationStreamFPS = value.ApplicationStreamFPS;
|
||||
const ApplicationStreamPresets = value.ApplicationStreamPresets;
|
||||
const env0_6 = (require(4291) /* metro dependency 4291: Constants */).MediaEngineContextTypes;
|
||||
const env0_7 = ApplicationStreamPresets.PRESET_VIDEO;
|
||||
const env0_8 = ApplicationStreamResolutions.RESOLUTION_720;
|
||||
const env0_9 = ApplicationStreamFPS.FPS_30;
|
||||
const PersistedStore = (importDefault(566) /* metro dependency 566: flux */).PersistedStore;
|
||||
value = _fun37380(PersistedStore);
|
||||
value.displayName = 'ApplicationStreamingSettingsStore';
|
||||
value.persistKey = 'ApplicationStreamingSettingStore';
|
||||
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */,
|
||||
{MEDIA_ENGINE_SET_GO_LIVE_SOURCE: MEDIA_ENGINE_SET_GO_LIVE_SOURCE_37384,
|
||||
STREAM_UPDATE_SETTINGS: STREAM_UPDATE_SETTINGS});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('stores/ApplicationStreamingSettingsStore.tsx');
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
function _isNativeReflectConstruct_37377() { // fn#37377, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4571:279, offset: 0x010a3e91, size: 94 bytes, params: 1, frame: 18
|
||||
var Boolean;
|
||||
var prototype;
|
||||
var valueOf;
|
||||
var call;
|
||||
var Reflect;
|
||||
var construct;
|
||||
var closure;
|
||||
var value;
|
||||
var error;
|
||||
try {
|
||||
Boolean = global.Boolean;
|
||||
prototype = Boolean.prototype;
|
||||
valueOf = prototype.valueOf;
|
||||
call = valueOf.call;
|
||||
Reflect = global.Reflect;
|
||||
construct = Reflect.construct;
|
||||
Boolean = global.Boolean;
|
||||
closure = function() {
|
||||
};
|
||||
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
|
||||
value = Reflect.apply(call, valueOf, [value]);
|
||||
var result = !value;
|
||||
} catch (error) {
|
||||
}
|
||||
return (_isNativeReflectConstruct_37377_isNativeReflectConstruct = function() {
|
||||
return !!result;
|
||||
})();
|
||||
}
|
||||
|
||||
function _fun37380(a0) { // fn#37380, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4571:534, offset: 0x010a3eef, size: 91 bytes, params: 2, frame: 16
|
||||
const closure = ApplicationStreamingSettingsStore;
|
||||
env0_4(closure, a0);
|
||||
return env0_1(closure, [{key: 'initialize', value: value_37382}, {key: 'getState', value: value_37383}]);
|
||||
}
|
||||
|
||||
function MEDIA_ENGINE_SET_GO_LIVE_SOURCE_37384({settings}) { // fn#37384, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4571:1327, offset: 0x010a4039, size: 186 bytes, params: 2, frame: 6
|
||||
const value = undefined;
|
||||
const context = settings == null ? value : settings.context;
|
||||
const STREAM = MediaEngineContextTypes.STREAM;
|
||||
if (context !== STREAM) {
|
||||
return false;
|
||||
}
|
||||
if ((settings == null ? value : settings.qualityOptions) == null) {
|
||||
return false;
|
||||
}
|
||||
let r0 = !(PRESET_VIDEO === settings.qualityOptions.preset) && true;
|
||||
r0 = RESOLUTION_720 !== settings.qualityOptions.resolution || r0;
|
||||
r0 = FPS_30 !== settings.qualityOptions.frameRate || r0;
|
||||
return r0;
|
||||
}
|
||||
|
||||
function STREAM_UPDATE_SETTINGS({preset, resolution, frameRate, soundshareEnabled}) { // fn#37385, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4571:1705, offset: 0x010a40f3, size: 153 bytes, params: 2, frame: 7
|
||||
let r0 = preset != null && preset !== PRESET_VIDEO && true;
|
||||
r0 = resolution != null && resolution !== RESOLUTION_720 || r0;
|
||||
r0 = frameRate != null && frameRate !== FPS_30 || r0;
|
||||
r0 = soundshareEnabled != null && soundshareEnabled !== env0_10 || r0;
|
||||
return r0;
|
||||
}
|
||||
|
||||
function value_37382(a0) { // fn#37382, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4571:929, offset: 0x010a3fbb, size: 83 bytes, params: 2, frame: 4
|
||||
var r3;
|
||||
var r0;
|
||||
var value;
|
||||
var resolution;
|
||||
var fps;
|
||||
var soundshareEnabled;
|
||||
if (a0 != null) {
|
||||
r3 = a0.preset ?? ApplicationStreamPresets.PRESET_VIDEO;
|
||||
value = environment.__proto__;
|
||||
resolution = a0.resolution;
|
||||
fps = a0.fps;
|
||||
soundshareEnabled = a0.soundshareEnabled;
|
||||
r0 = soundshareEnabled == null || soundshareEnabled;
|
||||
}
|
||||
}
|
||||
|
||||
function value_37383() { // fn#37383, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4571:1080, offset: 0x010a400e, size: 43 bytes, params: 1, frame: 3
|
||||
return {preset: PRESET_VIDEO, resolution: RESOLUTION_720, fps: FPS_30, soundshareEnabled: env1_10};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user