decord/beta/source/modules/applications/utils/isApplicationAgeRestricted.tsx
github-actions 19e52f659f chore: update source for beta 347.11
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4973.js (118.4 MB)
2026-09-26 17:57:22 +00:00

28 lines
989 B
TypeScript

// Module ID: 9552
// Function ID: 9553
// Name: isApplicationAgeRestricted
// Dependencies: [5015, 9553, 5360, 2]
// Exports: default
// Module 9552 (isApplicationAgeRestricted)
import utils from "utils" /* 5360 */;
import AgeRestrictedApplicationCommandsExperimentDefault from "AgeRestrictedApplicationCommandsExperiment" /* 9553 */;
import ApplicationStore from "ApplicationStore" /* 5015 */;
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;
};