decord/source/modules/devtools/dev_settings/DevSettingsActions.tsx

30 lines
808 B
TypeScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 14662
// Function ID: 111749
2026-07-20 16:05:17 +00:00
// Name: toggle
2026-07-23 10:11:24 +00:00
// Dependencies: [4129, 686, 2]
2026-07-20 16:05:17 +00:00
// Exports: clearAll
2026-07-23 10:11:24 +00:00
// Module 14662 (toggle)
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
2026-07-20 16:05:17 +00:00
function toggle(toggle) {
let tmp = arg1;
if ("boolean" !== typeof arg1) {
2026-07-23 10:11:24 +00:00
tmp = !_isNativeReflectConstruct.get(toggle);
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
let obj = importDefault(686);
2026-07-20 16:05:17 +00:00
obj = { type: "DEV_TOOLS_DEV_SETTING_SET", toggle, value: tmp };
obj.dispatch(obj);
}
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/devtools/dev_settings/DevSettingsActions.tsx");
2026-07-20 16:05:17 +00:00
export { toggle };
export const clearAll = function clearAll() {
2026-07-23 10:11:24 +00:00
for (const key10006 in _isNativeReflectConstruct.enabled()) {
2026-07-20 16:05:17 +00:00
let tmp = key10006;
2026-07-23 10:11:24 +00:00
let tmp2 = toggle;
let tmp3 = toggle(key10006, false);
continue;
2026-07-20 16:05:17 +00:00
}
};