Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,254 @@
|
||||
/* Metro module 312; source: unknown; dependencies: [6, 7, 15, 17, 18, 31, 27, 33, 44, 313] */
|
||||
function _fun4777(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#4777, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:353:6, offset: 0x00ccce23, size: 328 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 */;
|
||||
let value = importAll(31) /* metro dependency 31 */;
|
||||
const env0_8 = (require(31) /* metro dependency 31 */).isValidElement;
|
||||
const value2 = require(27) /* metro dependency 27 */;
|
||||
const StyleSheet = value2.StyleSheet;
|
||||
const env0_9 = value2.View;
|
||||
const value3 = require(33) /* metro dependency 33 */;
|
||||
const env0_10 = value3.jsx;
|
||||
const env0_11 = value3.jsxs;
|
||||
const PureComponent = value.PureComponent;
|
||||
value = _fun4781(PureComponent);
|
||||
const env0_12 = StyleSheet.create({row: {flexDirection: 'row'}, rowReverse: {flexDirection: 'row-reverse'},
|
||||
columnReverse: {flexDirection: 'column-reverse'}});
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
function _isNativeReflectConstruct_4778() { // fn#4778, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:353:244, offset: 0x00cccf6b, 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_4778_isNativeReflectConstruct = function() {
|
||||
return !!result;
|
||||
})();
|
||||
}
|
||||
|
||||
function _fun4781(a0) { // fn#4781, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:353:469, offset: 0x00cccfc9, size: 165 bytes, params: 2, frame: 17
|
||||
const closure = CellRenderer;
|
||||
env0_7(closure, a0);
|
||||
return env0_4(closure, [{key: 'updateSeparatorProps', value: function(a0) {
|
||||
var env0_0 = a0;
|
||||
this.setState(_fun4789);
|
||||
}}, {key: 'componentWillUnmount', value: function() {
|
||||
this.props.onUnmount(this.props.cellKey);
|
||||
}}, {key: '_renderElement', value: value_4791}, {key: 'render', value: value_4792}],
|
||||
[{key: 'getDerivedStateFromProps', value: function(a0, a1) {
|
||||
var r0;
|
||||
var object;
|
||||
if (a0.item === a1.separatorProps.leadingItem) {
|
||||
r0 = null;
|
||||
} else {
|
||||
object = {};
|
||||
object.separatorProps = global.Object.assign({}, a1.separatorProps, {leadingItem: a0.item});
|
||||
r0 = object;
|
||||
}
|
||||
return r0;
|
||||
}}]);
|
||||
}
|
||||
|
||||
function CellRenderer() { // fn#4782, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:353:481, offset: 0x00ccd06e, size: 290 bytes, params: 1, frame: 21
|
||||
var environment;
|
||||
var r2;
|
||||
var r6;
|
||||
var r0;
|
||||
var value7;
|
||||
var Reflect;
|
||||
var construct;
|
||||
let value = environment.__proto__;
|
||||
let binding = env1_3;
|
||||
binding(this, CellRenderer);
|
||||
const length = arguments.length;
|
||||
const Array = global.Array;
|
||||
const array = new Array(length);
|
||||
const value6 = 0;
|
||||
if (value6 < length) {
|
||||
r2 = value6;
|
||||
reducibleLoop1: while (true) {
|
||||
array[r2] = arguments[r2];
|
||||
value7 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
|
||||
if (value7 < length) {
|
||||
r2 = value7;
|
||||
continue reducibleLoop1;
|
||||
}
|
||||
break reducibleLoop1;
|
||||
}
|
||||
}
|
||||
const value8 = [].concat(array);
|
||||
const value9 = env1_6(CellRenderer);
|
||||
binding = env1_5;
|
||||
if (_isNativeReflectConstruct_4778()) {
|
||||
Reflect = global.Reflect;
|
||||
construct = Reflect.construct;
|
||||
reducibleJoin6: while (true) {
|
||||
if (value8) {
|
||||
r6 = value8;
|
||||
break reducibleJoin6;
|
||||
}
|
||||
r6 = [];
|
||||
break reducibleJoin6;
|
||||
}
|
||||
r0 = Reflect.apply(construct, Reflect, [value9, r6, env1_6(this).constructor]);
|
||||
} else {
|
||||
r0 = value9.apply(this, value8);
|
||||
}
|
||||
value = binding(this, r0);
|
||||
value.state = {separatorProps: {highlighted: false, leadingItem: value.props.item}};
|
||||
value._separators = {highlight: highlight_4783, unhighlight: unhighlight_4784, updateProps: updateProps_4785};
|
||||
value._onLayout = _onLayout;
|
||||
value._onCellFocusCapture = _onCellFocusCapture;
|
||||
return value;
|
||||
}
|
||||
|
||||
function value_4788(a0) { // fn#4788, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:353:1541, offset: 0x00ccd2f7, size: 32 bytes, params: 2, frame: 11
|
||||
const env0_0 = a0;
|
||||
this.setState(_fun4789);
|
||||
}
|
||||
|
||||
function value_4791(a0, a1, a2, a3) { // fn#4791, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:353:1803, offset: 0x00ccd368, size: 168 bytes, params: 5, frame: 18
|
||||
let value = a0;
|
||||
const value2 = a1;
|
||||
let r0 = value && value2;
|
||||
if (r0) {
|
||||
global.console.warn('VirtualizedList: Both ListItemComponent and renderItem props are present. ListItemComponent will take precedence over renderItem.');
|
||||
}
|
||||
if (value2) {
|
||||
value = environment.__proto__;
|
||||
value = ((Component) => <Component item={a2} index={a3} separators={this._separators} />)(value2);
|
||||
r0 = value;
|
||||
} else if (value) {
|
||||
value = value({item: a2, index: a3, separators: this._separators});
|
||||
r0 = value;
|
||||
} else {
|
||||
value = environment.__proto__;
|
||||
value = undefined;
|
||||
(importDefault(44) /* metro dependency 44 */)(false,
|
||||
'VirtualizedList: Either ListItemComponent or renderItem props are required but none were found.');
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
function value_4792() { // fn#4792, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:353:2234, offset: 0x00ccd410, size: 490 bytes, params: 1, frame: 32
|
||||
var r1;
|
||||
var r12;
|
||||
var r4;
|
||||
var Object;
|
||||
const props = this.props;
|
||||
const CellRendererComponent = props.CellRendererComponent;
|
||||
const ItemSeparatorComponent = props.ItemSeparatorComponent;
|
||||
const ListItemComponent = props.ListItemComponent;
|
||||
const cellKey = props.cellKey;
|
||||
const horizontal = props.horizontal;
|
||||
const item = props.item;
|
||||
const index = props.index;
|
||||
const inversionStyle = props.inversionStyle;
|
||||
const onCellLayout = props.onCellLayout;
|
||||
let value = this._renderElement(props.renderItem, ListItemComponent, item, index);
|
||||
if (isValidElement(ItemSeparatorComponent)) {
|
||||
r12 = ItemSeparatorComponent;
|
||||
} else {
|
||||
if (ItemSeparatorComponent) {
|
||||
Object = global.Object;
|
||||
r1 = <ItemSeparatorComponent {...Object.assign({}, this.state.separatorProps)} />;
|
||||
} else {
|
||||
r1 = ItemSeparatorComponent;
|
||||
}
|
||||
r12 = r1;
|
||||
}
|
||||
r1 = inversionStyle ? horizontal ? [env1_12.rowReverse, inversionStyle] : [env1_12.columnReverse,
|
||||
inversionStyle] : horizontal ? [env1_12.row, inversionStyle] : inversionStyle;
|
||||
if (CellRendererComponent) {
|
||||
Object = global.Object;
|
||||
value = <CellRendererComponent {...Object.assign({cellKey: cellKey, index: index, item: item, style: r1,
|
||||
onFocusCapture: this._onCellFocusCapture}, onCellLayout && ({onLayout: this._onLayout}), {children: [value,
|
||||
r12]})} />;
|
||||
r4 = value;
|
||||
} else {
|
||||
Object = global.Object;
|
||||
value = <View {...Object.assign({style: r1, onFocusCapture: this._onCellFocusCapture},
|
||||
onCellLayout && ({onLayout: this._onLayout}), {children: [value, r12]})} />;
|
||||
r4 = value;
|
||||
}
|
||||
const VirtualizedListCellContextProvider = (require(313) /* metro dependency 313 */).VirtualizedListCellContextProvider;
|
||||
return (
|
||||
<VirtualizedListCellContextProvider cellKey={this.props.cellKey}>
|
||||
{r4}
|
||||
</VirtualizedListCellContextProvider>
|
||||
);
|
||||
}
|
||||
|
||||
function CellRendererHighlight() { // fn#4783, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:353:868, owner: CellRenderer.highlight, offset: 0x00ccd190, size: 70 bytes, params: 1, frame: 14
|
||||
let props = env0_0.props;
|
||||
const cellKey = props.cellKey;
|
||||
const prevCellKey = props.prevCellKey;
|
||||
props = env0_0.props;
|
||||
props.onUpdateSeparators([cellKey, prevCellKey], {highlighted: true});
|
||||
}
|
||||
|
||||
function CellRendererUnhighlight() { // fn#4784, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:353:995, owner: CellRenderer.unhighlight, offset: 0x00ccd1d6, size: 70 bytes, params: 1, frame: 14
|
||||
let props = env0_0.props;
|
||||
const cellKey = props.cellKey;
|
||||
const prevCellKey = props.prevCellKey;
|
||||
props = env0_0.props;
|
||||
props.onUpdateSeparators([cellKey, prevCellKey], {highlighted: false});
|
||||
}
|
||||
|
||||
function CellRendererUpdateProps(a0, a1) { // fn#4785, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:353:1124, owner: CellRenderer.updateProps, offset: 0x00ccd21c, size: 74 bytes, params: 3, frame: 15
|
||||
let props = env0_0.props;
|
||||
const cellKey = props.cellKey;
|
||||
const prevCellKey = props.prevCellKey;
|
||||
props = env0_0.props;
|
||||
props.onUpdateSeparators([a0 !== 'leading' ? cellKey : prevCellKey], a1);
|
||||
}
|
||||
|
||||
function CellRenderer_onLayout(a0) { // fn#4786, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:353:1256, owner: CellRenderer._onLayout, offset: 0x00ccd266, size: 82 bytes, params: 2, frame: 15
|
||||
let props = env0_0.props;
|
||||
if (props.onCellLayout != null) {
|
||||
props = env0_0.props;
|
||||
props.onCellLayout(a0, env0_0.props.cellKey, env0_0.props.index);
|
||||
}
|
||||
}
|
||||
|
||||
function CellRenderer_onCellFocusCapture(a0) { // fn#4787, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:353:1373, owner: CellRenderer._onCellFocusCapture, offset: 0x00ccd2b8, size: 63 bytes, params: 2, frame: 11
|
||||
let props = env0_0.props;
|
||||
if (props.onCellFocusCapture != null) {
|
||||
props = env0_0.props;
|
||||
props.onCellFocusCapture(env0_0.props.cellKey);
|
||||
}
|
||||
}
|
||||
|
||||
function _fun4789({separatorProps}) { // fn#4789, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:353:1589, offset: 0x00ccd317, size: 47 bytes, params: 2, frame: 16
|
||||
const Object = global.Object;
|
||||
return {separatorProps: Object.assign({}, separatorProps, env0_0)};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user