decord/source/modules/quests/native/VideoQuestModal/VideoQuestPlayerControlButton.tsx

46 lines
2.1 KiB
TypeScript
Raw Normal View History

2026-08-27 16:17:25 +00:00
// Module ID: 14583
// Function ID: 14584
2026-07-20 16:05:17 +00:00
// Name: VideoQuestPlayerControlButton
2026-08-27 16:17:25 +00:00
// Dependencies: [19, 21, 4445, 712, 689, 5020, 4870, 2]
2026-07-20 16:05:17 +00:00
2026-08-27 16:17:25 +00:00
// Module 14583 (VideoQuestPlayerControlButton)
2026-08-24 06:08:38 +00:00
import ThemesDefault from "Themes" /* 712 */;
2026-08-27 16:17:25 +00:00
import isBlurDisabledDefault from "isBlurDisabled" /* 4870 */;
import PressableBase from "PressableBase" /* 5020 */;
2026-08-24 06:08:38 +00:00
import { jsx } from "jsxProd" /* 21 */;
2026-08-27 16:17:25 +00:00
import createCacheKey from "createCacheKey" /* 4445 */;
2026-08-24 06:08:38 +00:00
import importAllResult from "noop" /* 19 */;
import importDefaultResult from "n" /* 689 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
2026-07-29 08:29:29 +00:00
let obj = { disabled: { opacity: 0.5 }, container: null, blur: null };
2026-08-24 06:08:38 +00:00
obj = { borderRadius: ThemesDefault.radii.round, overflow: "hidden" };
2026-07-29 08:29:29 +00:00
obj[1] = obj;
createCacheKey = { backgroundColor: null, padding: null };
2026-08-24 06:08:38 +00:00
const importDefaultResultResult = importDefaultResult(ThemesDefault.unsafe_rawColors.BLACK);
createCacheKey[0] = importDefaultResult(ThemesDefault.unsafe_rawColors.BLACK).alpha(0.5).hex();
createCacheKey[1] = ThemesDefault.space.PX_12;
2026-07-29 08:29:29 +00:00
obj[2] = createCacheKey;
let closure_4 = createCacheKey.createStyles(obj);
2026-08-24 06:08:38 +00:00
const alphaResult = importDefaultResult(ThemesDefault.unsafe_rawColors.BLACK).alpha(0.5);
2026-07-20 16:05:17 +00:00
const memoResult = importAllResult.memo((arg0) => {
({ style, children } = arg0);
2026-07-29 08:29:29 +00:00
const merged = Object.assign(arg0, Object.create(null));
const tmp2 = callback();
const items = [tmp2.container, , ];
2026-07-20 16:05:17 +00:00
let disabled = merged.disabled;
if (disabled) {
2026-07-29 08:29:29 +00:00
disabled = tmp2.disabled;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
let obj = { style: items };
2026-07-20 16:05:17 +00:00
items[1] = disabled;
items[2] = style;
const merged1 = Object.assign(merged);
2026-07-29 08:29:29 +00:00
obj = { style: tmp2.blur, blurAmount: 0.2, blurStyle: "default", blurTheme: "dark", children };
2026-08-24 06:08:38 +00:00
obj.children = jsx(isBlurDisabledDefault, { style: tmp2.blur, blurAmount: 0.2, blurStyle: "default", blurTheme: "dark", children });
return jsx(PressableBase.PressableOpacity, { style: tmp2.blur, blurAmount: 0.2, blurStyle: "default", blurTheme: "dark", children });
2026-07-20 16:05:17 +00:00
});
2026-08-24 06:08:38 +00:00
const result = require("set").fileFinishedImporting("modules/quests/native/VideoQuestModal/VideoQuestPlayerControlButton.tsx");
2026-07-20 16:05:17 +00:00
export const VideoQuestPlayerControlButton = memoResult;