decord/source/modules/messages/getHeaderTextForInvite.tsx
2026-08-24 06:08:38 +00:00

55 lines
1.6 KiB
TypeScript

// Module ID: 12816
// Function ID: 12817
// Name: getHeaderTextForInvite
// Dependencies: [1236, 2]
// Exports: getHeaderTextForInvite
// Module 12816 (getHeaderTextForInvite)
import set from "set" /* 2 */;
import getSystemLocale from "getSystemLocale" /* 1236 */;
const result = set.fileFinishedImporting("modules/messages/getHeaderTextForInvite.tsx");
export const getHeaderTextForInvite = function getHeaderTextForInvite(arg0) {
({ isOwnInvite, isGuest, isStage, isStream } = arg0);
({ isVoiceChannel, isHubGuild } = arg0);
const intl = getSystemLocale.intl;
const string = intl.string;
let N85DCl = getSystemLocale.t;
if (isVoiceChannel) {
if (!isOwnInvite) {
if (isStream) {
let stringResult = string(N85DCl.Mnvc3C);
} else if (isStage) {
stringResult = string(N85DCl.FdPNr5);
} else if (isGuest) {
stringResult = string(N85DCl.f4gmrf);
} else {
stringResult = string(N85DCl.H39rEY);
}
}
if (isStream) {
N85DCl = N85DCl.N85DCl;
let stringResult1 = string(N85DCl);
} else if (isStage) {
stringResult1 = string(N85DCl.TJQcNv);
} else if (isGuest) {
stringResult1 = string(N85DCl.mJyBir);
} else {
stringResult1 = string(N85DCl.lxTgP9);
}
} else if (isHubGuild) {
if (isOwnInvite) {
let stringResult2 = string(N85DCl.UxmnHx);
} else {
stringResult2 = string(N85DCl.sigPEf);
}
} else {
if (isOwnInvite) {
let stringResult3 = string(N85DCl["oU/lsl"]);
} else {
stringResult3 = string(N85DCl.BoQUFf);
}
return stringResult3;
}
};