Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,85 @@
|
||||
/* Metro module 1843; source: unknown; dependencies: [31, 1610, 1840] */
|
||||
function _fun19976(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#19976, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1970:6, offset: 0x00ebb68b, size: 134 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = (require(31) /* metro dependency 31 */).useMemo;
|
||||
object = {code: 'function pnpm_useEndVisibleTs1(){const{layout,size,isScrollAtEnd,scroll,inverted}=this.__closure;if(layout.value.height===0||size.value.height===0){return null;}return isScrollAtEnd(scroll.value,layout.value.height,size.value.height,inverted);}'};
|
||||
object = {code: 'function pnpm_useEndVisibleTs2(){const{isAtEnd}=this.__closure;return isAtEnd.value;}'};
|
||||
object = {code: 'function pnpm_useEndVisibleTs3(current,previous){const{onEndVisible,isWorklet,runOnJS}=this.__closure;if(current===null||current===previous||!onEndVisible){return;}if(isWorklet){onEndVisible(current);}else{runOnJS(onEndVisible)(current);}}'};
|
||||
exports.useEndVisible = useEndVisible;
|
||||
}
|
||||
|
||||
function useEndVisible({scroll, layout, size, inverted, onEndVisible}) { // fn#19977, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1970:734, offset: 0x00ebb711, size: 355 bytes, params: 2, frame: 26
|
||||
var object2;
|
||||
const env0_3 = inverted;
|
||||
const env0_4 = onEndVisible;
|
||||
const value2 = useMemo(_fun19978, [onEndVisible]);
|
||||
const env0_5 = value2;
|
||||
const moduleValue = require(1610) /* metro dependency 1610 */;
|
||||
const useDerivedValue = moduleValue.useDerivedValue;
|
||||
let closure = pnpm_useEndVisibleTs1;
|
||||
object2 = {layout: layout, size: size};
|
||||
object2.isScrollAtEnd = (require(1840) /* metro dependency 1840 */).isScrollAtEnd;
|
||||
object2.scroll = scroll;
|
||||
object2.inverted = inverted;
|
||||
closure.__closure = object2;
|
||||
closure.__workletHash = 9190864194226;
|
||||
closure.__initData = env0_3;
|
||||
const value3 = Reflect.apply(useDerivedValue, moduleValue, [closure]);
|
||||
const moduleValue2 = moduleValue;
|
||||
const useAnimatedReaction = moduleValue2.useAnimatedReaction;
|
||||
closure = pnpm_useEndVisibleTs2;
|
||||
closure.__closure = {isAtEnd: value3};
|
||||
closure.__workletHash = 3323533137377;
|
||||
closure.__initData = env0_4;
|
||||
const closure2 = pnpm_useEndVisibleTs3;
|
||||
object2 = {onEndVisible: onEndVisible, isWorklet: value2};
|
||||
object2.runOnJS = moduleValue.runOnJS;
|
||||
closure2.__closure = object2;
|
||||
closure2.__workletHash = 2507987378306;
|
||||
closure2.__initData = env0_5;
|
||||
Reflect.apply(useAnimatedReaction, moduleValue2, [closure, closure2, [onEndVisible, value2, inverted]]);
|
||||
}
|
||||
|
||||
function _fun19978() { // fn#19978, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1970:836, offset: 0x00ebb874, size: 34 bytes, params: 1, frame: 3
|
||||
const onEndVisibleBinding = onEndVisible;
|
||||
return typeof onEndVisibleBinding === 'function' && !!onEndVisibleBinding.__workletHash;
|
||||
}
|
||||
|
||||
function pnpm_useEndVisibleTs1() { // fn#19979, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1970:968, owner: useEndVisible.pnpm_useEndVisibleTs1, offset: 0x00ebb896, size: 126 bytes, params: 1, frame: 18
|
||||
var r0;
|
||||
var value5;
|
||||
var moduleValue;
|
||||
const height = layout.value.height;
|
||||
const value3 = null;
|
||||
if (height === 0) {
|
||||
r0 = value3;
|
||||
} else if (size.value.height === 0) {
|
||||
r0 = value3;
|
||||
} else {
|
||||
value5 = environment.__proto__;
|
||||
moduleValue = require(1840) /* metro dependency 1840 */;
|
||||
r0 = moduleValue.isScrollAtEnd(scroll.value, layout.value.height, size.value.height, inverted);
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
function pnpm_useEndVisibleTs2() { // fn#19980, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1970:1282, owner: useEndVisible.pnpm_useEndVisibleTs2, offset: 0x00ebb914, size: 14 bytes, params: 1, frame: 1
|
||||
return env0_6.value;
|
||||
}
|
||||
|
||||
function pnpm_useEndVisibleTs3(a0, a1) { // fn#19981, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1970:1406, owner: useEndVisible.pnpm_useEndVisibleTs3, offset: 0x00ebb922, size: 103 bytes, params: 3, frame: 14
|
||||
var value2;
|
||||
var moduleValue;
|
||||
if (a0 !== null && a0 !== a1 && onEndVisible) {
|
||||
if (env0_5) {
|
||||
onEndVisible(a0);
|
||||
} else {
|
||||
value2 = environment.__proto__;
|
||||
moduleValue = require(1610) /* metro dependency 1610 */;
|
||||
moduleValue.runOnJS(onEndVisible)(a0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user