Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,57 @@
|
||||
/* Metro module 6503; source: unknown; dependencies: [29, 31, 27, 33, 6282, 6504, 6278] */
|
||||
function _fun51196(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#51196, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6681:6, offset: 0x0122b581, size: 208 bytes, params: 8, frame: 20
|
||||
const env0_0 = require;
|
||||
const env0_2 = ['focusHook', 'enableFooterMarginAdjustment', 'onLayout', 'style', 'children'];
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = importDefault(29) /* metro dependency 29 */;
|
||||
let value = require(31) /* metro dependency 31 */;
|
||||
const memo = value.memo;
|
||||
const env0_4 = value.useEffect;
|
||||
const env0_5 = value.useCallback;
|
||||
const env0_6 = value.useMemo;
|
||||
importDefault(31) /* metro dependency 31 */;
|
||||
const env0_7 = (require(27) /* metro dependency 27 */).View;
|
||||
const env0_8 = (require(33) /* metro dependency 33 */).jsx;
|
||||
value = memo(BottomSheetViewComponent);
|
||||
value.displayName = 'BottomSheetView';
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
function BottomSheetViewComponent(a0) { // fn#51197, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6681:296, offset: 0x0122b651, size: 307 bytes, params: 2, frame: 27
|
||||
const focusHook = a0.focusHook;
|
||||
const r4 = focusHook !== undefined ? focusHook : useEffect;
|
||||
const enableFooterMarginAdjustment = a0.enableFooterMarginAdjustment;
|
||||
const r14 = enableFooterMarginAdjustment !== undefined && enableFooterMarginAdjustment;
|
||||
const onLayout = a0.onLayout;
|
||||
const style = a0.style;
|
||||
const children = a0.children;
|
||||
const value2 = env0_3(a0, env0_2);
|
||||
const {animatedScrollableContentOffsetY, animatedScrollableType, enableDynamicSizing,
|
||||
animatedContentHeight} = (require(6282) /* metro dependency 6282 */).useBottomSheetInternal();
|
||||
const value5 = useMemo(_fun51198,
|
||||
[(require(6282) /* metro dependency 6282 */).useBottomSheetContentContainerStyle(r14, style)]);
|
||||
const value6 = useCallback(function() {
|
||||
animatedScrollableContentOffsetY.value = 0;
|
||||
animatedScrollableType.value = require(dependencyMap[6]).SCROLLABLE_TYPE.VIEW;
|
||||
}, [animatedScrollableContentOffsetY, animatedScrollableType]);
|
||||
const value7 = useCallback(function(a0) {
|
||||
if (enableDynamicSizing) {
|
||||
animatedContentHeight.set(a0.nativeEvent.layout.height);
|
||||
}
|
||||
if (onLayout) {
|
||||
onLayout(a0);
|
||||
}
|
||||
}, [onLayout, animatedContentHeight, enableDynamicSizing]);
|
||||
r4(value6);
|
||||
const Object = global.Object;
|
||||
return <View {...Object.assign({}, value2, {onLayout: value7, style: value5, children: children})} />;
|
||||
}
|
||||
|
||||
function _fun51198() { // fn#51198, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6681:667, offset: 0x0122b784, size: 57 bytes, params: 1, frame: 12
|
||||
const items2 = [env0_5];
|
||||
const styles = (require(6504) /* metro dependency 6504 */).styles;
|
||||
items2[1] = styles.container;
|
||||
return items2;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user