65 lines
2.8 KiB
React
65 lines
2.8 KiB
React
/* Metro module 1142; source: unknown; dependencies: [65, 1010, 1143] */
|
|
function _fun12688(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#12688, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1269:6, offset: 0x00dd2886, size: 93 bytes, params: 8, frame: 17
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_2 = importDefault(65) /* metro dependency 65 */;
|
|
const browserReplayIntegrationNoop = function() {
|
|
return {name: 'Replay', start: _fun12690, startBuffering: _fun12691, stop: _fun12692, flush: _fun12693,
|
|
getReplayId: _fun12694, getRecordingMode: _fun12695};
|
|
};
|
|
exports.browserReplayIntegration = browserReplayIntegration;
|
|
}
|
|
|
|
function browserReplayIntegrationNoop() { // fn#12689, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1269:108, offset: 0x00dd28e3, size: 75 bytes, params: 1, frame: 3
|
|
return {name: 'Replay', start: function() {
|
|
}, startBuffering: function() {
|
|
}, stop: function() {
|
|
var Promise = global.Promise;
|
|
return Promise.resolve();
|
|
}, flush: function() {
|
|
var Promise = global.Promise;
|
|
return Promise.resolve();
|
|
}, getReplayId: function() {
|
|
}, getRecordingMode: function() {
|
|
}};
|
|
}
|
|
|
|
function browserReplayIntegration() { // fn#12696, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1269:446, offset: 0x00dd292e, size: 245 bytes, params: 1, frame: 23
|
|
var r0;
|
|
var object2;
|
|
var moduleValue2;
|
|
var replayIntegration;
|
|
var Object;
|
|
var assign;
|
|
var value2;
|
|
var items2;
|
|
var concat;
|
|
var binding;
|
|
var items3;
|
|
let r8 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
const moduleValue = require(1010) /* metro dependency 1010 */;
|
|
if (moduleValue.notWeb()) {
|
|
r0 = browserReplayIntegrationNoop();
|
|
} else {
|
|
moduleValue2 = require(1143) /* metro dependency 1143 */;
|
|
replayIntegration = moduleValue2.replayIntegration;
|
|
Object = global.Object;
|
|
assign = Object.assign;
|
|
value2 = global.Object.assign({}, r8);
|
|
object2 = {};
|
|
items2 = ['.sentry-react-native-mask'];
|
|
concat = items2.concat;
|
|
binding = env0_2;
|
|
object2.mask = Reflect.apply(concat, items2, [binding(r8.mask || [])]);
|
|
items3 = ['.sentry-react-native-unmask:not(.sentry-react-native-mask *) > *'];
|
|
concat = items3.concat;
|
|
binding = env0_2;
|
|
r8 = r8.unmask || [];
|
|
object2.unmask = Reflect.apply(concat, items3, [binding(r8)]);
|
|
r0 = Reflect.apply(replayIntegration, moduleValue2, [Reflect.apply(assign, Object, [value2, object2])]);
|
|
}
|
|
return r0;
|
|
}
|
|
|