decord/alpha/source/modules/safety_common/ObscuredSurfaceContext.tsx

22 lines
793 B
TypeScript
Raw Permalink Normal View History

2026-10-12 06:59:38 +00:00
// Module ID: 8918
// Function ID: 8919
// Name: ObscuredSurfaceContext
2026-10-03 08:58:59 +00:00
// Dependencies: [19, 558, 2]
2026-07-20 16:05:17 +00:00
// Exports: useObscuredSurface
2026-10-12 06:59:38 +00:00
// Module 8918 (ObscuredSurfaceContext)
2026-10-03 08:58:59 +00:00
import react from "react" /* 19 */;
import ReactCompilerGating_mod from "ReactCompilerGating" /* 558 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
2026-10-03 08:58:59 +00:00
const context = react.createContext({ obscured: false });
let ReactCompilerGating = ReactCompilerGating_mod;
ReactCompilerGating = ReactCompilerGating.isReactCompilerEnabled();
const result1 = size.fileFinishedImporting("modules/safety_common/ObscuredSurfaceContext.tsx");
2026-07-20 16:05:17 +00:00
export const ObscuredSurfaceContext = context;
export const OBSCURED_VALUE = { obscured: true };
2026-10-08 09:57:35 +00:00
export const useObscuredSurface = function useObscuredSurface() {
return react.useContext(context);
};