2026-08-25 06:04:03 +00:00
|
|
|
// Module ID: 9689
|
|
|
|
|
// Function ID: 9690
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: isApplicationAgeRestricted
|
2026-08-25 06:04:03 +00:00
|
|
|
// Dependencies: [4421, 9690, 4939, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-08-25 06:04:03 +00:00
|
|
|
// Module 9689 (isApplicationAgeRestricted)
|
|
|
|
|
import isAgeRestrictedContentClassification from "isAgeRestrictedContentClassification" /* 4939 */;
|
|
|
|
|
import getUnitIdDefault from "getUnitId" /* 9690 */;
|
|
|
|
|
import closure_3 from "addApplication" /* 4421 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
require = arg1;
|
|
|
|
|
const result = require("set").fileFinishedImporting("modules/applications/utils/isApplicationAgeRestricted.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
export default function isApplicationAgeRestricted(arg0) {
|
2026-07-20 16:05:17 +00:00
|
|
|
if (obj.getConfig({ location: "isApplicationAgeRestricted" }).enabled) {
|
2026-07-29 08:29:29 +00:00
|
|
|
application = application.getApplication(arg0);
|
2026-07-20 16:05:17 +00:00
|
|
|
let prop;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (application != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
prop = application.contentClassification;
|
|
|
|
|
}
|
2026-08-24 06:08:38 +00:00
|
|
|
return isAgeRestrictedContentClassification.isAgeRestrictedContentClassification(prop);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
2026-08-24 06:08:38 +00:00
|
|
|
obj = getUnitIdDefault;
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|