Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,163 @@
|
||||
/* Metro module 6447; source: unknown; dependencies: [6448, 6450] */
|
||||
function _fun50585(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#50585, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6625:6, offset: 0x0121d6fc, size: 123 bytes, params: 8, frame: 18
|
||||
const value = this;
|
||||
const env0_0 = require;
|
||||
if (value && value.__extends) {
|
||||
}
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
exports.default = _fun50591((require(6448) /* metro dependency 6448 */).default);
|
||||
}
|
||||
|
||||
function extendStatics_50586(a0, a1) { // fn#50586, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6625:77, offset: 0x0121d777, size: 78 bytes, params: 3, frame: 13
|
||||
var r3;
|
||||
var Array;
|
||||
var value;
|
||||
const Object = global.Object;
|
||||
const setPrototypeOf = Object.setPrototypeOf;
|
||||
if (setPrototypeOf) {
|
||||
r3 = setPrototypeOf;
|
||||
} else {
|
||||
Array = global.Array;
|
||||
value = Object.create([]);
|
||||
value = value instanceof Array;
|
||||
r3 = value && (function(a0, a1) {
|
||||
a0.__proto__ = a1;
|
||||
});
|
||||
}
|
||||
r3 = !r3 ? function(a0, a1) {
|
||||
var r3;
|
||||
var propertyName;
|
||||
var propertyName2;
|
||||
var hasOwnProperty;
|
||||
for (propertyName in a1) {
|
||||
hasOwnProperty = global.Object.prototype.hasOwnProperty;
|
||||
if (!hasOwnProperty.call(a1, propertyName)) {
|
||||
r3 = propertyName2;
|
||||
continue;
|
||||
}
|
||||
a0[propertyName] = a1[propertyName];
|
||||
r3 = propertyName2;
|
||||
}
|
||||
} : r3;
|
||||
return r3(a0, a1);
|
||||
}
|
||||
|
||||
function _fun50589(a0, a1) { // fn#50589, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6625:292, offset: 0x0121d7c5, size: 177 bytes, params: 3, frame: 15
|
||||
var r1;
|
||||
var value;
|
||||
var prototype;
|
||||
var closure2;
|
||||
var TypeError;
|
||||
var value3;
|
||||
var typeError;
|
||||
const env0_0 = a0;
|
||||
const closure = ___50590;
|
||||
if (typeof a1 === 'function') {
|
||||
extendStatics_50586(a0, a1);
|
||||
if (a1 === null) {
|
||||
r1 = global.Object.create(a1);
|
||||
} else {
|
||||
prototype = a1.prototype;
|
||||
closure.prototype = prototype;
|
||||
prototype = closure.prototype;
|
||||
value = Object.create(prototype, {constructor: {value: closure}});
|
||||
closure2 = new closure();
|
||||
value = closure2 instanceof Object ? closure2 : value;
|
||||
r1 = value;
|
||||
}
|
||||
a0.prototype = r1;
|
||||
} else {
|
||||
if (a1 !== null) {
|
||||
TypeError = global.TypeError;
|
||||
value = global.String(a1);
|
||||
value = 'Class extends value ' + value;
|
||||
value3 = Object.create(TypeError.prototype, {constructor: {value: TypeError}});
|
||||
value += ' is not a constructor or null';
|
||||
typeError = new TypeError();
|
||||
value = typeError instanceof Object ? typeError : value3;
|
||||
throw value;
|
||||
}
|
||||
extendStatics_50586(a0, a1);
|
||||
if (a1 === null) {
|
||||
r1 = global.Object.create(a1);
|
||||
} else {
|
||||
prototype = a1.prototype;
|
||||
closure.prototype = prototype;
|
||||
prototype = closure.prototype;
|
||||
value = Object.create(prototype, {constructor: {value: closure}});
|
||||
closure2 = new closure();
|
||||
value = closure2 instanceof Object ? closure2 : value;
|
||||
r1 = value;
|
||||
}
|
||||
a0.prototype = r1;
|
||||
}
|
||||
}
|
||||
|
||||
function _fun50591(a0) { // fn#50591, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6625:595, offset: 0x0121d876, size: 143 bytes, params: 2, frame: 14
|
||||
const env0_0 = a0;
|
||||
const closure = StickyHeader;
|
||||
env0_3(closure, a0);
|
||||
closure.prototype.onScroll = onScroll;
|
||||
closure.prototype.initStickyParams = function() {
|
||||
this.stickyType = require(dependencyMap[0]).StickyType.HEADER;
|
||||
this.stickyTypeMultiplier = 1;
|
||||
this.containerPosition = {top: this.getWindowCorrection(this.props).startCorrection};
|
||||
this.bounceScrolling = true;
|
||||
};
|
||||
closure.prototype.calculateVisibleStickyIndex = calculateVisibleStickyIndex;
|
||||
closure.prototype.getNextYd = function(a0, a1) {
|
||||
return a0;
|
||||
};
|
||||
closure.prototype.getCurrentYd = function(a0, a1) {
|
||||
return a0;
|
||||
};
|
||||
closure.prototype.getScrollY = function(a0, a1) {
|
||||
return a0;
|
||||
};
|
||||
closure.prototype.hasReachedBoundary = function(a0, a1) {
|
||||
return false;
|
||||
};
|
||||
return closure;
|
||||
}
|
||||
|
||||
function onScroll(a0) { // fn#50593, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6625:721, offset: 0x0121d929, size: 83 bytes, params: 2, frame: 15
|
||||
var r2;
|
||||
let value = a0;
|
||||
const getWindowCorrection = this.getWindowCorrection;
|
||||
const startCorrection = Reflect.apply(getWindowCorrection, this, [this.props]).startCorrection;
|
||||
if (startCorrection) {
|
||||
this.containerPosition = {top: startCorrection};
|
||||
value += startCorrection;
|
||||
r2 = value;
|
||||
} else {
|
||||
r2 = value;
|
||||
}
|
||||
env0_0.prototype.onScroll.call(this, r2);
|
||||
}
|
||||
|
||||
function calculateVisibleStickyIndex(a0, a1, a2, a3, a4) { // fn#50595, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6625:1148, offset: 0x0121d9de, size: 181 bytes, params: 6, frame: 16
|
||||
var value;
|
||||
if (a0) {
|
||||
if (a1 !== undefined) {
|
||||
this.bounceScrolling = this.hasReachedBoundary(a3, a4);
|
||||
if (a1 < a0[0]) {
|
||||
this.stickyVisiblity = false;
|
||||
} else if (this.bounceScrolling) {
|
||||
this.stickyVisiblity = false;
|
||||
} else {
|
||||
this.stickyVisiblity = true;
|
||||
value = environment.__proto__;
|
||||
value = (require(6450) /* metro dependency 6450 */).default.findValueSmallerThanTarget(a0, a1);
|
||||
if (value) {
|
||||
this.currentIndex = value.index;
|
||||
value = value.value;
|
||||
this.currentStickyIndex = value;
|
||||
} else {
|
||||
global.console.log('Header sticky index calculation gone wrong.');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user