decord/beta/source/utils/ErrorCommonUtils.tsx

38 lines
1.1 KiB
TypeScript
Raw Permalink Normal View History

2026-10-12 16:32:48 +00:00
// Module ID: 14392
// Function ID: 14393
// Name: ErrorCommonUtils
2026-10-07 22:43:51 +00:00
// Dependencies: [584, 509, 2]
// Exports: getUpdatedOptions
2026-10-12 16:32:48 +00:00
// Module 14392 (ErrorCommonUtils)
import LastFewActions from "LastFewActions" /* 509 */;
2026-10-07 22:43:51 +00:00
import DispatcherDefault from "Dispatcher" /* 584 */;
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("utils/ErrorCommonUtils.tsx");
export const getUpdatedOptions = function getUpdatedOptions(extra) {
2026-10-01 14:13:23 +00:00
let obj2;
let obj4;
let serializer;
const obj = { extra: obj2 };
const merged = Object.assign(extra);
extra = undefined;
if (extra != null) {
extra = extra.extra;
}
2026-10-01 14:13:23 +00:00
obj2 = {};
const merged1 = Object.assign(extra);
if (null != DispatcherDefault._currentDispatchActionType) {
2026-10-01 14:13:23 +00:00
obj4 = { currentAction: DispatcherDefault._currentDispatchActionType };
const obj3 = { currentAction: DispatcherDefault._currentDispatchActionType };
} else {
obj4 = {};
}
2026-10-01 14:13:23 +00:00
const obj5 = { lastFewActions: serializer.serialize() };
const merged2 = Object.assign(obj4);
2026-10-01 14:13:23 +00:00
serializer = LastFewActions;
const merged3 = Object.assign(obj5);
return obj;
};