decord/source/modules/instant_invite/getInviteURL.tsx

29 lines
698 B
TypeScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 6995
// Function ID: 55922
2026-07-20 16:05:17 +00:00
// Name: getInviteURL
2026-07-21 06:55:02 +00:00
// Dependencies: [284214097]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-21 06:55:02 +00:00
// Module 6995 (getInviteURL)
2026-07-20 16:05:17 +00:00
const _module = require(dependencyMap[0]);
const result = _module.fileFinishedImporting("modules/instant_invite/getInviteURL.tsx");
export default function getInviteURL() {
let str = arg0;
let flag = arg1;
if (arg0 === undefined) {
str = "";
}
if (flag === undefined) {
flag = true;
}
let str2 = "";
const combined = "/" + str;
if (flag) {
const _location = location;
const _HermesInternal = HermesInternal;
str2 = "" + location.protocol + "//";
}
return "" + str2 + window.GLOBAL_ENV.INVITE_HOST + combined;
};