decord/source/utils/ErrorCommonUtils.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

36 lines
984 B
TypeScript

// Module ID: 14086
// Function ID: 14087
// Name: getUpdatedOptions
// Dependencies: [573, 509, 2]
// Exports: getUpdatedOptions
// Module 14086 (getUpdatedOptions)
import set from "set" /* 2 */;
import add from "add" /* 509 */;
import dispatcherDefault from "dispatcher" /* 573 */;
const result = 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 != dispatcherDefault._currentDispatchActionType) {
obj = { currentAction: null };
obj[0] = dispatcherDefault._currentDispatchActionType;
obj1 = obj;
} else {
obj1 = {};
}
const obj2 = {};
const merged2 = Object.assign(obj1);
obj2.lastFewActions = add.serialize();
const merged3 = Object.assign(obj2);
obj.extra = obj;
return obj;
};