66 lines
3.1 KiB
TypeScript
66 lines
3.1 KiB
TypeScript
/* Metro module 16139; source: modules/clips/native/ClipsManager.tsx; dependencies: [6, 7, 15, 17, 18, 4281, 3857, 1244, 16140, 2] */
|
|
function _fun124624(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#124624, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16347:6, offset: 0x025bf6a0, size: 252 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_3 = importDefault(6) /* metro dependency 6 */;
|
|
const env0_4 = importDefault(7) /* metro dependency 7 */;
|
|
const env0_5 = importDefault(15) /* metro dependency 15 */;
|
|
const env0_6 = importDefault(17) /* metro dependency 17 */;
|
|
const env0_7 = importDefault(18) /* metro dependency 18 */;
|
|
const env0_8 = (require(4281) /* metro dependency 4281: ClipsConstants */).CLIPS_TOAST_DURATION;
|
|
let value = importDefault(16140) /* metro dependency 16140: ClipsManager */;
|
|
value = _fun124628(value);
|
|
value = new value();
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/clips/native/ClipsManager.tsx');
|
|
exports.default = value;
|
|
}
|
|
|
|
function _isNativeReflectConstruct_124625() { // fn#124625, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16347:179, offset: 0x025bf79c, size: 98 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_124625_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun124628(a0) { // fn#124628, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16347:378, offset: 0x025bf7fe, size: 205 bytes, params: 2, frame: 16
|
|
const closure = ClipsManager;
|
|
env0_7(closure, a0);
|
|
return env0_4(closure, [{key: 'showClipsToast', value: function() {
|
|
var defaultImport = importDefault(dependencyMap[6]);
|
|
var object = {key: 'CLIPS_IN_CALL_WARNING'};
|
|
object.content = require(dependencyMap[7]).intl.string(require(dependencyMap[7]).t['d+41qJ']);
|
|
object.toastDurationMs = CLIPS_TOAST_DURATION;
|
|
defaultImport.open(object);
|
|
}}, {key: 'applyNativeClipsSettings', value: function() {
|
|
}}, {key: 'handleClipsInitOnToggleDetection', value: function() {
|
|
}}, {key: 'handleClipsInitOnGamesChange', value: function() {
|
|
}}, {key: 'fireClipsInitEvent', value: function() {
|
|
}}, {key: 'handleStreamEnded', value: function() {
|
|
}}]);
|
|
}
|
|
|