2026-09-21 19:31:18 +00:00
|
|
|
// Module ID: 7535
|
|
|
|
|
// Function ID: 7536
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: SelfModUtils
|
2026-09-21 19:31:18 +00:00
|
|
|
// Dependencies: [1376, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: isCurrentUserTeen
|
|
|
|
|
|
2026-09-21 19:31:18 +00:00
|
|
|
// Module 7535 (SelfModUtils)
|
|
|
|
|
import UserStore from "UserStore" /* 1376 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
|
|
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/self_mod/SelfModUtils.tsx");
|
|
|
|
|
|
|
|
|
|
export const isCurrentUserTeen = function isCurrentUserTeen() {
|
|
|
|
|
const currentUser = UserStore.getCurrentUser();
|
|
|
|
|
let nsfwAllowed;
|
|
|
|
|
if (currentUser != null) {
|
|
|
|
|
nsfwAllowed = currentUser.nsfwAllowed;
|
|
|
|
|
}
|
|
|
|
|
return false === nsfwAllowed;
|
|
|
|
|
};
|