import { memoize } from '@rocket.chat/memo' ; export const cssSupports = typeof window !== 'undefined' && typeof window . CSS !== 'undefined' && window . CSS . supports ? memoize ( ( value ) => window . CSS . supports ( value ) ) : ( ) => false ;