decord/source/5430_useMappingHelper.js

25 lines
575 B
JavaScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 5430
2026-07-24 07:16:23 +00:00
// Function ID: 46523
2026-07-20 16:05:17 +00:00
// Name: useMappingHelper
2026-07-23 10:11:24 +00:00
// Dependencies: [31, 5378]
2026-07-20 16:05:17 +00:00
// Exports: useMappingHelper
2026-07-23 10:11:24 +00:00
// Module 5430 (useMappingHelper)
require("result").useCallback;
2026-07-20 16:05:17 +00:00
export const useMappingHelper = function useMappingHelper() {
2026-07-23 10:11:24 +00:00
let obj = recyclerViewContext(5378);
recyclerViewContext = obj.useRecyclerViewContext();
2026-07-20 16:05:17 +00:00
obj = {
getMappingKey: useCallback((arg0, arg1) => {
let tmp = arg0;
if (recyclerViewContext) {
tmp = arg1;
}
return tmp;
}, items)
};
2026-07-23 10:11:24 +00:00
items = [recyclerViewContext];
2026-07-20 16:05:17 +00:00
return obj;
};