2026-09-24 10:59:02 +00:00
|
|
|
// Module ID: 7991
|
|
|
|
|
// Function ID: 7992
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: AuthenticationUtils
|
2026-09-24 10:59:02 +00:00
|
|
|
// Dependencies: [1100, 7992, 2]
|
2026-07-29 08:29:29 +00:00
|
|
|
// Exports: getArtForPath, getToken, isAuthenticated
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-24 10:59:02 +00:00
|
|
|
// Module 7991 (AuthenticationUtils)
|
2026-09-15 14:23:42 +00:00
|
|
|
import TokenManagerAll from "TokenManager" /* 1100 */;
|
2026-09-24 10:59:02 +00:00
|
|
|
import _mod7992 from "module_7992" /* 7992 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.fileFinishedImporting("utils/AuthenticationUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
export const getToken = function getToken() {
|
2026-09-10 05:38:07 +00:00
|
|
|
return TokenManagerAll.getToken();
|
2026-07-29 08:29:29 +00:00
|
|
|
};
|
2026-07-20 16:05:17 +00:00
|
|
|
export const isAuthenticated = function isAuthenticated() {
|
2026-09-10 05:38:07 +00:00
|
|
|
return null != TokenManagerAll.getToken();
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
export const getArtForPath = function getArtForPath(arg0) {
|
|
|
|
|
let tmp = null;
|
|
|
|
|
if (null != arg0) {
|
|
|
|
|
tmp = null;
|
|
|
|
|
if (obj.test(arg0)) {
|
2026-09-24 10:59:02 +00:00
|
|
|
tmp = _mod7992;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
obj = /^\/developers/;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
};
|