decord/alpha/source/modules/guild_templates/getGuildTemplateUrl.tsx
github-actions c6aa9eb120 chore: update source for alpha 349.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5030.js (118.4 MB)
2026-10-01 06:55:13 +00:00

28 lines
692 B
TypeScript

// Module ID: 17712
// Function ID: 17713
// Name: getGuildTemplateUrl
// Dependencies: [2]
// Exports: default
// Module 17712 (getGuildTemplateUrl)
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/guild_templates/getGuildTemplateUrl.tsx");
export default function getGuildTemplateUrl() {
let str = arg0;
if (arg0 === undefined) {
str = "";
}
let flag = arg1;
if (arg1 === undefined) {
flag = true;
}
let str2 = "";
if (flag) {
const _location = location;
const _HermesInternal = HermesInternal;
str2 = "" + location.protocol;
}
return "" + str2 + "//" + window.GLOBAL_ENV.GUILD_TEMPLATE_HOST + "/" + str;
};