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

22 lines
793 B
TypeScript
Raw Permalink Normal View History

2026-10-12 16:32:48 +00:00
// Module ID: 8918
// Function ID: 8919
// Name: ObscuredSurfaceContext
2026-10-02 13:37:24 +00:00
// Dependencies: [19, 558, 2]
// Exports: useObscuredSurface
2026-10-12 16:32:48 +00:00
// Module 8918 (ObscuredSurfaceContext)
2026-10-01 14:13:23 +00:00
import react from "react" /* 19 */;
2026-10-02 13:37:24 +00:00
import ReactCompilerGating_mod from "ReactCompilerGating" /* 558 */;
2026-10-01 14:13:23 +00:00
import size from "module_2" /* 2 */;
2026-10-01 14:13:23 +00:00
const context = react.createContext({ obscured: false });
2026-10-02 13:37:24 +00:00
let ReactCompilerGating = ReactCompilerGating_mod;
ReactCompilerGating = ReactCompilerGating.isReactCompilerEnabled();
const result1 = size.fileFinishedImporting("modules/safety_common/ObscuredSurfaceContext.tsx");
export const ObscuredSurfaceContext = context;
export const OBSCURED_VALUE = { obscured: true };
2026-10-12 16:32:48 +00:00
export const useObscuredSurface = function useObscuredSurface() {
return react.useContext(context);
};