decord/source/__polyfill/06xxx/module_6952.js
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

42 lines
1.7 KiB
JavaScript

// Module ID: 6952
// Function ID: 6953
// Dependencies: [109, 19, 21, 6953, 6950]
// Module 6952
import _objectWithoutProperties from "_objectWithoutProperties" /* 109 */;
import noop_mod from "module_19" /* 19 */;
let closure_2 = ["focusHook", "scrollEventsHandlersHook", "enableFooterMarginAdjustment"];
let noop = fn(19);
const forwardRef = noop.forwardRef;
({ useMemo: metroRequire, memo } = noop);
let noop = noop_mod;
const jsx = fn(21).jsx;
try {
const FlashList = fn(6953);
const memoResult = memo(forwardRef((focusHook, ref) => {
focusHook = focusHook.focusHook;
const scrollEventsHandlersHook = focusHook.scrollEventsHandlersHook;
const enableFooterMarginAdjustment = focusHook.enableFooterMarginAdjustment;
closure_6(() => {
if (!FlashList) {
throw "You need to install FlashList first, `yarn install @shopify/flash-list`";
}
}, []);
const items = [focusHook, scrollEventsHandlersHook, enableFooterMarginAdjustment];
const tmp = _objectWithoutProperties(focusHook, enableFooterMarginAdjustment);
let merged = Object.assign(tmp);
return <FlashList.FlashList ref={arg1} renderScrollComponent={closure_6(() => forwardRef((arg0, ref) => {
const merged = Object.assign(arg0, Object.assign({ data: 0 }));
const obj = { ref };
const merged1 = Object.assign(merged);
obj.focusHook = focusHook;
obj.scrollEventsHandlersHook = scrollEventsHandlersHook;
obj.enableFooterMarginAdjustment = enableFooterMarginAdjustment;
return jsx(focusHook(scrollEventsHandlersHook[4]), { ref });
}), items)} />;
}));
exports.default = memoResult;
exports.BottomSheetFlashList = memoResult;
} catch (err) {
}