2026-09-30 07:29:52 +00:00
|
|
|
// Module ID: 7276
|
|
|
|
|
// Function ID: 7277
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: AuthenticationUtils
|
2026-09-30 07:29:52 +00:00
|
|
|
// Dependencies: [1100, 7277, 2]
|
2026-07-29 08:29:29 +00:00
|
|
|
// Exports: getArtForPath, getToken, isAuthenticated
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-30 07:29:52 +00:00
|
|
|
// Module 7276 (AuthenticationUtils)
|
2026-09-15 14:23:42 +00:00
|
|
|
import TokenManagerAll from "TokenManager" /* 1100 */;
|
2026-09-30 07:29:52 +00:00
|
|
|
import _mod7277 from "module_7277" /* 7277 */;
|
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-30 07:29:52 +00:00
|
|
|
tmp = _mod7277;
|
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;
|
|
|
|
|
};
|