Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5021.js (118.4 MB)
19 lines
610 B
TypeScript
19 lines
610 B
TypeScript
// Module ID: 14669
|
|
// Function ID: 14670
|
|
// Name: SessionManager
|
|
// Dependencies: [2]
|
|
|
|
// Module 14669 (SessionManager)
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("modules/video-qoe/utils/SessionManager.tsx");
|
|
const prototype = function SessionManager() {
|
|
return Object.create(new.target.prototype);
|
|
}.prototype;
|
|
prototype["generateSessionId"] = function generateSessionId() {
|
|
const timestamp = Date.now();
|
|
const str = Math.random();
|
|
return "discord-video-" + timestamp + "-" + Math.random().toString(36).substr(2, 9);
|
|
};
|
|
|
|
export const SessionManager = prototype;
|