Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
30 lines
822 B
TypeScript
30 lines
822 B
TypeScript
// Module ID: 7741
|
|
// Function ID: 7742
|
|
// Name: AuthenticationUtils
|
|
// Dependencies: [1099, 7742, 2]
|
|
// Exports: getArtForPath, getToken, isAuthenticated
|
|
|
|
// Module 7741 (AuthenticationUtils)
|
|
import TokenManagerAll from "TokenManager" /* 1099 */;
|
|
import _mod7742 from "module_7742" /* 7742 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("utils/AuthenticationUtils.tsx");
|
|
|
|
export const getToken = function getToken() {
|
|
return TokenManagerAll.getToken();
|
|
};
|
|
export const isAuthenticated = function isAuthenticated() {
|
|
return null != TokenManagerAll.getToken();
|
|
};
|
|
export const getArtForPath = function getArtForPath(arg0) {
|
|
let tmp = null;
|
|
if (null != arg0) {
|
|
tmp = null;
|
|
if (obj.test(arg0)) {
|
|
tmp = _mod7742;
|
|
}
|
|
obj = /^\/developers/;
|
|
}
|
|
return tmp;
|
|
};
|