decord/stable/source/modules/themes/UIDensityConstants.tsx
github-actions 57c2214117 chore: update source for stable 347.12
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4973.js (118.4 MB)
2026-09-29 21:26:22 +00:00

27 lines
913 B
TypeScript

// Module ID: 9758
// Function ID: 9759
// Name: UIDensityConstants
// Dependencies: [1186, 2]
// Exports: resolveUIDensity
// Module 9758 (UIDensityConstants)
import preloaded_user_settings from "preloaded_user_settings" /* 1186 */;
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/themes/UIDensityConstants.tsx");
export const RESPONSIVE_DENSITY_MEDIA_QUERY = "(min-width: 1024px) and (min-height: 820px)";
export const RESPONSIVE_DENSITY_FALLBACK = "cozy";
export const resolveUIDensity = function resolveUIDensity(arg0, arg1) {
if (preloaded_user_settings.UIDensity.RESPONSIVE === arg0) {
return arg1;
} else if (tmp(1186).UIDensity.COZY === arg0) {
return "cozy";
} else if (tmp(1186).UIDensity.DEFAULT === arg0) {
return "default";
} else if (tmp(1186).UIDensity.COMPACT === arg0) {
return "compact";
} else {
return "default";
}
};