decord/alpha/source/modules/applications/utils/isApplicationAgeRestricted.tsx
github-actions 45f5884862 chore: update source for alpha 348.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5012.js (118.4 MB)
2026-09-23 06:49:31 +00:00

28 lines
989 B
TypeScript

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