decord/source/modules/video_backgrounds/VideoBackgroundConstants.tsx

29 lines
1.3 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 8420
// Function ID: 8421
2026-07-20 16:05:17 +00:00
// Name: VideoFilterType
2026-07-23 10:11:24 +00:00
// Dependencies: [2]
2026-07-20 16:05:17 +00:00
2026-08-24 06:08:38 +00:00
// Module 8420 (VideoFilterType)
import set from "set" /* 2 */;
2026-07-23 10:11:24 +00:00
let obj = { OPTION_1: 0, [0]: "OPTION_1", OPTION_2: 1, [1]: "OPTION_2", OPTION_3: 2, [2]: "OPTION_3", OPTION_4: 3, [3]: "OPTION_4", OPTION_7: 7, [7]: "OPTION_7", OPTION_8: 8, [8]: "OPTION_8", OPTION_9: 9, [9]: "OPTION_9", OPTION_10: 10, [10]: "OPTION_10" };
2026-07-20 16:05:17 +00:00
const items = [, , , ];
({ OPTION_7: arr[0], OPTION_8: arr[1], OPTION_9: arr[2], OPTION_10: arr[3] } = obj);
const items1 = [, , , , , , , ];
({ OPTION_7: arr2[0], OPTION_8: arr2[1], OPTION_9: arr2[2], OPTION_10: arr2[3], OPTION_1: arr2[4], OPTION_2: arr2[5], OPTION_3: arr2[6], OPTION_4: arr2[7] } = obj);
const reduced = items1.reduce((arg0, arg1, arg2) => {
const obj = {};
const merged = Object.assign(arg0);
obj[arg1] = arg2;
return obj;
}, {});
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("modules/video_backgrounds/VideoBackgroundConstants.tsx");
2026-07-20 16:05:17 +00:00
export const VideoFilterType = { BACKGROUND: 0, [0]: "BACKGROUND" };
export const DefaultVideoBackground = obj;
export const ANIMATED_DEFAULT_VIDEO_BACKGROUNDS = items;
export const DEFAULT_VIDEO_BACKGROUND_SORT = reduced;
export const BLUR_BACKGROUND_OPTION = "blur";
2026-07-23 10:11:24 +00:00
export const BACKGROUND_REPLACEMENT_SIZE = { width: 1280, height: 720 };
2026-07-20 16:05:17 +00:00
export const MAX_BACKGROUND_IMAGE_UPLOAD_FILESIZE_BYTES = 10485760;