decord/source/utils/ErrorCommonUtils.tsx
2026-08-13 07:00:46 +00:00

32 lines
901 B
TypeScript

// Module ID: 13534
// Function ID: 13535
// Name: getUpdatedOptions
// Dependencies: [709, 594, 2]
// Exports: getUpdatedOptions
// Module 13534 (getUpdatedOptions)
const result = require("set").fileFinishedImporting("utils/ErrorCommonUtils.tsx");
export const getUpdatedOptions = function getUpdatedOptions(extra) {
let obj = {};
const merged = Object.assign(extra);
extra = undefined;
if (extra != null) {
extra = extra.extra;
}
obj = {};
const merged1 = Object.assign(extra);
if (null != importDefault(709)._currentDispatchActionType) {
obj = { currentAction: null };
obj[0] = importDefault(709)._currentDispatchActionType;
let obj1 = obj;
} else {
obj1 = {};
}
const obj2 = {};
const merged2 = Object.assign(obj1);
obj2.lastFewActions = require(594) /* add */.serialize();
const merged3 = Object.assign(obj2);
obj.extra = obj;
return obj;
};