Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,128 @@
|
||||
/* Metro module 1208; source: unknown; dependencies: [6, 7, 15, 17, 18, 31, 27, 1206, 1207, 1209, 1210, 1205, 1211] */
|
||||
function _fun13417(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#13417, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1335:6, offset: 0x00dea5a5, size: 238 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = importDefault(6) /* metro dependency 6 */;
|
||||
const env0_3 = importDefault(7) /* metro dependency 7 */;
|
||||
const env0_4 = importDefault(15) /* metro dependency 15 */;
|
||||
const env0_5 = importDefault(17) /* metro dependency 17 */;
|
||||
const env0_6 = importDefault(18) /* metro dependency 18 */;
|
||||
const value = importAll(31) /* metro dependency 31 */;
|
||||
const value2 = require(27) /* metro dependency 27 */;
|
||||
const env0_8 = value2.Appearance;
|
||||
const env0_9 = value2.Image;
|
||||
const env0_10 = value2.Text;
|
||||
const env0_11 = value2.TouchableOpacity;
|
||||
const Component = value.Component;
|
||||
exports.FeedbackButton = _fun13421(Component);
|
||||
}
|
||||
|
||||
function _isNativeReflectConstruct_13418() { // fn#13418, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1335:223, offset: 0x00dea693, 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_13418_isNativeReflectConstruct = function() {
|
||||
return !!result;
|
||||
})();
|
||||
}
|
||||
|
||||
function _fun13421(a0) { // fn#13421, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1335:448, offset: 0x00dea6f1, size: 114 bytes, params: 2, frame: 16
|
||||
const closure = FeedbackButton;
|
||||
env0_6(closure, a0);
|
||||
return env0_3(closure, [{key: 'componentDidMount', value: function() {
|
||||
var env0_0 = this;
|
||||
this._themeListener = Appearance.addChangeListener(_fun13424);
|
||||
}}, {key: 'componentWillUnmount', value: function() {
|
||||
if (this._themeListener) {
|
||||
this._themeListener.remove();
|
||||
}
|
||||
}}, {key: 'render', value: value_13426}]);
|
||||
}
|
||||
|
||||
function FeedbackButton(a0) { // fn#13422, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1335:460, offset: 0x00dea763, size: 145 bytes, params: 2, frame: 20
|
||||
const value = environment.__proto__;
|
||||
env1_2(this, FeedbackButton);
|
||||
const items2 = [a0];
|
||||
const value3 = env1_5(FeedbackButton);
|
||||
const value6 = env1_4(this, _isNativeReflectConstruct_13418() ? global.Reflect.construct(value3, items2,
|
||||
env1_5(this).constructor) : value3.apply(this, items2));
|
||||
(require(1206) /* metro dependency 1206 */).lazyLoadFeedbackIntegration();
|
||||
return value6;
|
||||
}
|
||||
|
||||
function value_13423() { // fn#13423, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1335:798, offset: 0x00dea7f4, size: 42 bytes, params: 1, frame: 12
|
||||
this._themeListener = Appearance.addChangeListener(_fun13424);
|
||||
}
|
||||
|
||||
function value_13426() { // fn#13426, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1335:1049, offset: 0x00dea81e, size: 596 bytes, params: 1, frame: 26
|
||||
const value2 = undefined;
|
||||
const theme = (require(1207) /* metro dependency 1207 */).getTheme();
|
||||
let Object = global.Object;
|
||||
let assign = Object.assign;
|
||||
const Object2 = global.Object;
|
||||
const value5 = Reflect.apply(assign, Object, [Object2.assign({},
|
||||
(require(1209) /* metro dependency 1209 */).defaultButtonConfiguration), this.props]);
|
||||
const object3 = {};
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
const Object3 = global.Object;
|
||||
const assign3 = Object3.assign;
|
||||
const moduleValue2 = require(1210) /* metro dependency 1210 */;
|
||||
const value6 = Reflect.apply(assign3, Object3, [{}, moduleValue2.defaultButtonStyles(theme).triggerButton]);
|
||||
let styles = this.props.styles;
|
||||
object3.triggerButton = Reflect.apply(assign, Object, [value6,
|
||||
styles === null || value2 === styles ? value2 : styles.triggerButton]);
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
const Object4 = global.Object;
|
||||
const assign4 = Object4.assign;
|
||||
const moduleValue3 = moduleValue2;
|
||||
const value7 = Reflect.apply(assign4, Object4, [{}, moduleValue3.defaultButtonStyles(theme).triggerText]);
|
||||
styles = this.props.styles;
|
||||
object3.triggerText = Reflect.apply(assign, Object, [value7,
|
||||
styles === null || value2 === styles ? value2 : styles.triggerText]);
|
||||
Object = global.Object;
|
||||
assign = Object.assign;
|
||||
const Object5 = global.Object;
|
||||
const assign5 = Object5.assign;
|
||||
const moduleValue4 = moduleValue2;
|
||||
const value8 = Reflect.apply(assign5, Object5, [{}, moduleValue4.defaultButtonStyles(theme).triggerIcon]);
|
||||
styles = this.props.styles;
|
||||
object3.triggerIcon = Reflect.apply(assign, Object, [value8,
|
||||
styles === null || value2 === styles ? value2 : styles.triggerIcon]);
|
||||
const binding = env1_7;
|
||||
const createElement = binding.createElement;
|
||||
const object5 = {};
|
||||
object5.style = object3.triggerButton;
|
||||
object5.onPress = (require(1205) /* metro dependency 1205 */).showFeedbackWidget;
|
||||
object5.accessibilityLabel = value5.triggerAriaLabel;
|
||||
const createElement2 = binding.createElement;
|
||||
const object6 = {};
|
||||
object6.uri = (require(1211) /* metro dependency 1211 */).feedbackIcon;
|
||||
return Reflect.apply(createElement, binding, [TouchableOpacity, object5, Reflect.apply(createElement2, binding,
|
||||
[Image, {source: object6, style: object3.triggerIcon}]), binding.createElement(Text,
|
||||
{style: object3.triggerText, testID: 'sentry-feedback-button'}, value5.triggerLabel)]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user