decord/source/utils/ErrorCommonUtils.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

36 lines
984 B
TypeScript

// Module ID: 14083
// Function ID: 14084
// Name: getUpdatedOptions
// Dependencies: [573, 509, 2]
// Exports: getUpdatedOptions
// Module 14083 (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;
};