/* Metro module 1205; source: unknown; dependencies: [15, 17, 18, 6, 7, 1206, 1010, 826] */ function _fun13379(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#13379, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1332:6, offset: 0x00de9b06, size: 356 bytes, params: 8, frame: 18 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_2 = importDefault(15) /* metro dependency 15 */; const env0_3 = importDefault(17) /* metro dependency 17 */; const env0_4 = importDefault(18) /* metro dependency 18 */; const env0_5 = importDefault(6) /* metro dependency 6 */; const env0_6 = importDefault(7) /* metro dependency 7 */; const NOOP_SET_VISIBILITY = function() { }; let value = _fun13385(); value._isVisible = false; const value2 = _fun13393(value); const value3 = _fun13396(value); value = _fun13399(value); exports.PULL_DOWN_CLOSE_THRESHOLD = 200; exports.SLIDE_ANIMATION_DURATION = 200; exports.BACKGROUND_ANIMATION_DURATION = 200; exports.FeedbackWidgetManager = value2; exports.FeedbackButtonManager = value3; exports.ScreenshotButtonManager = value; exports.showFeedbackButton = showFeedbackButton; exports.hideFeedbackButton = hideFeedbackButton; exports.showFeedbackWidget = showFeedbackWidget; exports.showScreenshotButton = showScreenshotButton; exports.hideScreenshotButton = hideScreenshotButton; exports.resetFeedbackButtonManager = resetFeedbackButtonManager; exports.resetFeedbackWidgetManager = resetFeedbackWidgetManager; exports.resetScreenshotButtonManager = resetScreenshotButtonManager; } function _callSuper_13380(a0, a1, a2) { // fn#13380, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1332:148, offset: 0x00de9c6a, size: 100 bytes, params: 4, frame: 20 var r0; var Reflect; let value = a2; const value3 = env0_3(a1); const binding = env0_2; if (_isNativeReflectConstruct_13381()) { Reflect = global.Reflect; value = Reflect.construct(value3, value || [], env0_3(a0).constructor); r0 = value; } else { value = value3.apply(a0, value); r0 = value; } return binding(a0, r0); } function _isNativeReflectConstruct_13381() { // fn#13381, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1332:279, offset: 0x00de9cce, 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_13381_isNativeReflectConstruct = function() { return !!result; })(); } function _fun13385() { // fn#13385, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1332:539, offset: 0x00de9d2c, size: 175 bytes, params: 1, frame: 16 return env0_6(FeedbackManager, null, [{key: '_feedbackComponentName', get: function() { var Error = global.Error; throw new Error('Subclasses must override feedbackComponentName'); }}, {key: 'initialize', value: function(a0) { this._setVisibility = a0; }}, {key: 'reset', value: function() { this._isVisible = false; this._setVisibility = NOOP_SET_VISIBILITY; }}, {key: 'show', value: function() { if (this._setVisibility !== NOOP_SET_VISIBILITY) { this._isVisible = true; this._setVisibility(true); } else { global.console.warn('[Sentry] ' + this._feedbackComponentName + " requires 'Sentry.wrap(RootComponent)' to be called before 'show" + this._feedbackComponentName + "()'."); } }}, {key: 'hide', value: function() { if (this._setVisibility !== NOOP_SET_VISIBILITY) { this._isVisible = false; this._setVisibility(false); } else { global.console.warn('[Sentry] ' + this._feedbackComponentName + " requires 'Sentry.wrap(RootComponent)' before interacting with the widget."); } }}, {key: 'isFormVisible', value: function() { return this._isVisible; }}]); } function _fun13393(a0) { // fn#13393, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1332:1484, offset: 0x00de9f1f, size: 71 bytes, params: 2, frame: 16 const closure = FeedbackWidgetManager; env0_4(closure, a0); return env0_6(closure, null, [{key: '_feedbackComponentName', get: function() { return 'FeedbackWidget'; }}]); } function _fun13396(a0) { // fn#13396, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1332:1761, offset: 0x00de9f96, size: 71 bytes, params: 2, frame: 16 const closure = FeedbackButtonManager; env0_4(closure, a0); return env0_6(closure, null, [{key: '_feedbackComponentName', get: function() { return 'FeedbackButton'; }}]); } function _fun13399(a0) { // fn#13399, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1332:2038, offset: 0x00de9fe3, size: 71 bytes, params: 2, frame: 16 const closure = ScreenshotButtonManager; env0_4(closure, a0); return env0_6(closure, null, [{key: '_feedbackComponentName', get: function() { return 'ScreenshotButton'; }}]); } function showFeedbackButton() { // fn#13402, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1332:2532, offset: 0x00dea030, size: 51 bytes, params: 1, frame: 12 (require(1206) /* metro dependency 1206 */).lazyLoadAutoInjectFeedbackButtonIntegration(); env0_9.show(); } function hideFeedbackButton() { // fn#13403, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1332:2648, offset: 0x00dea063, size: 21 bytes, params: 1, frame: 9 env0_9.hide(); } function showFeedbackWidget() { // fn#13404, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1332:2710, offset: 0x00dea078, size: 51 bytes, params: 1, frame: 12 (require(1206) /* metro dependency 1206 */).lazyLoadAutoInjectFeedbackIntegration(); env0_8.show(); } function showScreenshotButton() { // fn#13405, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1332:2822, offset: 0x00dea0ab, size: 120 bytes, params: 1, frame: 14 if ((require(1010) /* metro dependency 1010 */).isWeb()) { (require(826) /* metro dependency 826 */).debug.warn('ScreenshotButton is not supported on Web.'); } else { (require(1206) /* metro dependency 1206 */).lazyLoadAutoInjectScreenshotButtonIntegration(); env0_10.show(); } } function hideScreenshotButton() { // fn#13406, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1332:3026, offset: 0x00dea123, size: 21 bytes, params: 1, frame: 9 env0_10.hide(); } function resetFeedbackWidgetManager() { // fn#13408, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1332:3177, offset: 0x00dea14d, size: 21 bytes, params: 1, frame: 9 env0_8.reset(); } function resetScreenshotButtonManager() { // fn#13409, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1332:3258, offset: 0x00dea162, size: 21 bytes, params: 1, frame: 9 env0_10.reset(); } function FeedbackWidgetManager() { // fn#13394, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1332:1496, offset: 0x00de9f66, size: 42 bytes, params: 1, frame: 16 env1_5(this, FeedbackWidgetManager); return _callSuper_13380(this, FeedbackWidgetManager, arguments); }