2026-07-28 08:39:19 +00:00
|
|
|
// Module ID: 8001
|
|
|
|
|
// Function ID: 63543
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: isApplicationAgeRestricted
|
2026-07-28 08:39:19 +00:00
|
|
|
// Dependencies: [4202, 8002, 8003, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-07-28 08:39:19 +00:00
|
|
|
// Module 8001 (isApplicationAgeRestricted)
|
2026-07-23 10:11:24 +00:00
|
|
|
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
|
|
|
|
|
|
|
|
|
|
const require = arg1;
|
|
|
|
|
const result = require("isAgeRestrictedContentClassification").fileFinishedImporting("modules/applications/utils/isApplicationAgeRestricted.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function isApplicationAgeRestricted(applicationId) {
|
|
|
|
|
if (obj.getConfig({ location: "isApplicationAgeRestricted" }).enabled) {
|
2026-07-23 10:11:24 +00:00
|
|
|
application = application.getApplication(applicationId);
|
2026-07-20 16:05:17 +00:00
|
|
|
let prop;
|
|
|
|
|
if (null != application) {
|
|
|
|
|
prop = application.contentClassification;
|
|
|
|
|
}
|
2026-07-28 08:39:19 +00:00
|
|
|
return require(8003) /* isAgeRestrictedContentClassification */.isAgeRestrictedContentClassification(prop);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
2026-07-28 08:39:19 +00:00
|
|
|
obj = importDefault(8002);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|