decord/stable/source/modules/applications/utils/isApplicationAgeRestricted.tsx
github-actions 528a3dd5ba chore: update source for stable 345.9
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4745.js (118.4 MB)
2026-09-18 20:18:48 +00:00

28 lines
989 B
TypeScript

// Module ID: 9412
// Function ID: 9413
// Name: isApplicationAgeRestricted
// Dependencies: [4788, 9413, 5112, 2]
// Exports: default
// Module 9412 (isApplicationAgeRestricted)
import utils from "utils" /* 5112 */;
import AgeRestrictedApplicationCommandsExperimentDefault from "AgeRestrictedApplicationCommandsExperiment" /* 9413 */;
import ApplicationStore from "ApplicationStore" /* 4788 */;
require = fn;
const size = fn(2);
const result = size.fileFinishedImporting("modules/applications/utils/isApplicationAgeRestricted.tsx");
export default function isApplicationAgeRestricted(arg0) {
if (obj.getConfig({ location: "isApplicationAgeRestricted" }).enabled) {
const application = ApplicationStore.getApplication(arg0);
let prop;
if (application != null) {
prop = application.contentClassification;
}
return utils.isAgeRestrictedContentClassification(prop);
} else {
return false;
}
obj = AgeRestrictedApplicationCommandsExperimentDefault;
};