29 lines
663 B
TypeScript
29 lines
663 B
TypeScript
// Module ID: 7255
|
|
// Function ID: 7256
|
|
// Name: getInviteURL
|
|
// Dependencies: [2]
|
|
// Exports: default
|
|
|
|
// Module 7255 (getInviteURL)
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("modules/instant_invite/getInviteURL.tsx");
|
|
|
|
export default function getInviteURL() {
|
|
let str = arg0;
|
|
if (arg0 === undefined) {
|
|
str = "";
|
|
}
|
|
let flag = arg1;
|
|
if (arg1 === undefined) {
|
|
flag = true;
|
|
}
|
|
let str2 = "";
|
|
const combined = "/" + str;
|
|
if (flag) {
|
|
const _location = location;
|
|
const _HermesInternal = HermesInternal;
|
|
str2 = "" + location.protocol + "//";
|
|
}
|
|
return "" + str2 + INVITE_HOST + combined;
|
|
};
|