decord/alpha/source/modules/toast/native/ToastUtils.tsx

445 lines
19 KiB
TypeScript
Raw Normal View History

2026-10-09 10:00:15 +00:00
// Module ID: 4767
// Function ID: 4768
// Name: ToastUtils
2026-10-09 10:00:15 +00:00
// Dependencies: [1085, 4768, 1126, 5032, 5034, 5036, 5038, 5040, 5042, 5044, 5046, 4776, 1415, 4996, 5013, 5048, 1279, 4993, 5050, 2]
// Exports: communityAdminOnly, communityRequirementSatisfied, memberOrRoleAddedToast, memberOrRoleRemovedToast, presentAddedFriendToast, presentCommandCopied, presentCopiedToClipboard, presentEmoji, presentError, presentFailedToast, presentFeedbackSent, presentFriendRequestAcceptedToast, presentFriendRequestIgnoredToast, presentGameFriendRequestAcceptedToast, presentGameFriendRequestIgnoredToast, presentGifSaved, presentGuildRoleSubscriptionTrialTierMonthCost, presentIdCopied, presentImageSaved, presentInviteSent, presentLinkCopied, presentMessageCopied, presentMessageIdCopied, presentNoiseCancellation, presentNoiseCancellationError, presentPostIdCopied, presentTimestamp, presentUserPronouns, presentUsernameCopied, presentVideoSaved, presentVoiceActivityDetectionError, roleCreateFailedToast, roleCreatedToast, roleIdCopied, roleTemplateAppliedToast, showMaxGroupMembers, showSafetySuccess, showTransferOwnershipSuccess, showVerificationSent, showVoiceRecordingFailed, transferOwnershipProtected, unverifiedVoiceGate
2026-07-20 16:05:17 +00:00
2026-10-09 10:00:15 +00:00
// Module 4767 (ToastUtils)
2026-10-03 08:58:59 +00:00
import Constants from "Constants" /* 1085 */;
import intl7 from "intl" /* 1126 */;
2026-10-09 10:00:15 +00:00
import v1 from "v1" /* 1279 */;
import AvatarUtilsDefault from "AvatarUtils" /* 1415 */;
import ToastActionCreatorsDefault from "ToastActionCreators" /* 4768 */;
import CheckmarkLargeIcon from "CheckmarkLargeIcon" /* 4776 */;
import CircleCheckIcon from "CircleCheckIcon" /* 4993 */;
import XLargeIcon2 from "XLargeIcon" /* 4996 */;
import CircleInformationIcon from "CircleInformationIcon" /* 5013 */;
import FriendsIcon from "FriendsIcon" /* 5032 */;
import UserPlatformIcon from "UserPlatformIcon" /* 5036 */;
import UserMinusIcon from "UserMinusIcon" /* 5038 */;
import LinkIcon from "LinkIcon" /* 5040 */;
import SendMessageIcon from "SendMessageIcon" /* 5042 */;
import CopyIcon from "CopyIcon" /* 5044 */;
import DownloadIcon from "DownloadIcon" /* 5046 */;
import TrashIcon from "TrashIcon" /* 5048 */;
import ClockIcon from "ClockIcon" /* 5050 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const VerificationCriteria = Constants.VerificationCriteria;
const result = size.fileFinishedImporting("modules/toast/native/ToastUtils.tsx");
2026-07-20 16:05:17 +00:00
export const presentAddedFriendToast = function presentAddedFriendToast() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "TOAST_ADD_FRIEND", content: intl.string(intl7.t.Fn5bwO), iconColor: "status-positive", IconComponent: FriendsIcon.FriendsIcon };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
};
export const presentFriendRequestAcceptedToast = function presentFriendRequestAcceptedToast(username) {
let stringResult;
let tmp3;
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
if (null == username) {
const intl2 = intl7.intl;
stringResult = intl2.string(intl7.t.UhJna5);
tmp3 = require;
2026-07-20 16:05:17 +00:00
} else {
2026-10-03 08:58:59 +00:00
tmp3 = require;
const intl = intl7.intl;
const obj = { username: username.username };
stringResult = intl.formatToPlainString(intl7.t.b3eoD4, obj);
2026-07-20 16:05:17 +00:00
}
2026-10-09 10:00:15 +00:00
const obj2 = { key: "TOAST_FRIEND_REQUEST_ACCEPTED", content: stringResult, IconComponent: tmp3(5034).UserPlusIcon, iconColor: "status-positive" };
2026-10-03 08:58:59 +00:00
open(obj2);
2026-07-20 16:05:17 +00:00
};
export const presentGameFriendRequestAcceptedToast = function presentGameFriendRequestAcceptedToast() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "TOAST_GAME_FRIEND_REQUEST_ACCEPTED", content: intl.string(intl7.t.xjNLeZ), IconComponent: UserPlatformIcon.UserPlatformIcon, iconColor: "status-positive" };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const presentFriendRequestIgnoredToast = function presentFriendRequestIgnoredToast() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "TOAST_FRIEND_REQUEST_IGNORED", content: intl.string(intl7.t.YlavlY), IconComponent: UserMinusIcon.UserMinusIcon, iconColor: "icon-feedback-critical" };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const presentGameFriendRequestIgnoredToast = function presentGameFriendRequestIgnoredToast() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "TOAST_GAME_FRIEND_REQUEST_IGNORED", content: intl.string(intl7.t.P6BzJP), IconComponent: UserMinusIcon.UserMinusIcon, iconColor: "icon-feedback-critical" };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const presentLinkCopied = function presentLinkCopied() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "LINK_COPIED", content: intl.string(intl7.t["+5kSoW"]), IconComponent: LinkIcon.LinkIcon };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const presentInviteSent = function presentInviteSent() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "INVITE_SENT", content: intl.string(intl7.t.sVwWdV), IconComponent: SendMessageIcon.SendMessageIcon };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const presentIdCopied = function presentIdCopied() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "TOAST_ID_COPIED", content: intl.string(intl7.t.eNjAah), IconComponent: CopyIcon.CopyIcon };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const presentImageSaved = function presentImageSaved() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "TOAST_IMAGE_SAVED", content: intl.string(intl7.t.cqpdJW), IconComponent: DownloadIcon.DownloadIcon };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const presentVideoSaved = function presentVideoSaved() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "TOAST_VIDEO_SAVED", content: intl.string(intl7.t["cEK+1g"]), IconComponent: DownloadIcon.DownloadIcon };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const presentGifSaved = function presentGifSaved() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "TOAST_GIF_SAVED", content: intl.string(intl7.t.LktEtN), IconComponent: DownloadIcon.DownloadIcon };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const presentMessageCopied = function presentMessageCopied() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "TOAST_MESSAGE_COPIED", content: intl.string(intl7.t.R3o53R), IconComponent: CopyIcon.CopyIcon };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const presentMessageIdCopied = function presentMessageIdCopied() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "TOAST_MESSAGE_ID_COPIED", content: intl.string(intl7.t.svRBmK), IconComponent: CopyIcon.CopyIcon };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const presentPostIdCopied = function presentPostIdCopied() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "TOAST_FORUM_POST_ID_COPIED", content: intl.string(intl7.t.aBQ2RP), IconComponent: CopyIcon.CopyIcon };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const presentUsernameCopied = function presentUsernameCopied() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "TOAST_USERNAME_SAVED", content: intl.string(intl7.t["FHVR/+"]), IconComponent: CopyIcon.CopyIcon };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const presentFeedbackSent = function presentFeedbackSent() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "TOAST_FEEDBACK_SENT", content: intl.string(intl7.t.xpiDtu), IconComponent: CheckmarkLargeIcon.CheckmarkLargeIcon, iconColor: "status-positive" };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
};
export const presentEmoji = function presentEmoji(id) {
2026-10-03 08:58:59 +00:00
const obj = AvatarUtilsDefault;
const obj2 = { id: id.id, animated: id.animated, size: 48 };
2026-10-03 08:58:59 +00:00
const emojiURL = obj.getEmojiURL(obj2);
2026-10-09 10:00:15 +00:00
const openMana = ToastActionCreatorsDefault.openMana;
const obj3 = { text: ":" + id.name + ":", icon: { type: "emoji", src: emojiURL, alt: id.name } };
ToastActionCreatorsDefault;
const combined = "PRESENT_EMOJI-" + id.id;
openMana(combined, obj3);
2026-07-20 16:05:17 +00:00
};
export const presentNoiseCancellation = function presentNoiseCancellation(arg0) {
2026-10-03 08:58:59 +00:00
let XLargeIcon;
let str;
let stringResult;
let tmp5;
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
const intl = intl7.intl;
2026-07-20 16:05:17 +00:00
const string = intl.string;
2026-10-03 08:58:59 +00:00
const t = intl7.t;
2026-07-20 16:05:17 +00:00
if (arg0) {
2026-10-03 08:58:59 +00:00
stringResult = string(t["Q+fhfv"]);
tmp5 = tmp3;
2026-07-20 16:05:17 +00:00
} else {
stringResult = string(t.hEMHnF);
2026-10-03 08:58:59 +00:00
tmp5 = tmp3;
2026-07-20 16:05:17 +00:00
}
2026-10-03 08:58:59 +00:00
const obj = { key: "NOISE_CANCELLATION_TOGGLE", content: stringResult, IconComponent: XLargeIcon, iconColor: str };
2026-07-20 16:05:17 +00:00
if (arg0) {
2026-10-09 10:00:15 +00:00
XLargeIcon = tmp5(4776).CheckmarkLargeIcon;
2026-07-20 16:05:17 +00:00
} else {
2026-10-09 10:00:15 +00:00
XLargeIcon = tmp5(4996).XLargeIcon;
2026-07-20 16:05:17 +00:00
}
2026-10-03 08:58:59 +00:00
str = "icon-feedback-critical";
2026-07-20 16:05:17 +00:00
if (arg0) {
str = "status-positive";
}
2026-10-03 08:58:59 +00:00
open(obj);
2026-07-20 16:05:17 +00:00
};
export const presentNoiseCancellationError = function presentNoiseCancellationError() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "MOBILE_NOISE_CANCELLATION_CPU_OVERUSE", content: intl.string(intl7.t.DnmX2G), IconComponent: XLargeIcon2.XLargeIcon, iconColor: "icon-feedback-critical" };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
2026-07-29 08:29:29 +00:00
export const presentError = function presentError(intl) {
const obj = ToastActionCreatorsDefault;
2026-10-03 08:58:59 +00:00
const obj2 = { key: "ERROR", content: intl, IconComponent: XLargeIcon2.XLargeIcon, iconColor: "icon-feedback-critical" };
obj.open(obj2);
2026-07-20 16:05:17 +00:00
};
export const presentVoiceActivityDetectionError = function presentVoiceActivityDetectionError() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "MOBILE_ADVANCED_VOICE_ACTIVITY_CPU_OVERUSE", content: intl.string(intl7.t.zz1Tft), IconComponent: XLargeIcon2.XLargeIcon, iconColor: "icon-feedback-critical" };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
};
export const roleIdCopied = function roleIdCopied(combined) {
2026-10-03 08:58:59 +00:00
let intl;
let obj2;
const tmp = ToastActionCreatorsDefault;
const open = tmp.open;
const obj = { key: "ROLE_ID_COPIED-" + combined, content: intl.formatToPlainString(intl7.t.iOWpeB, obj2), IconComponent: CopyIcon.CopyIcon };
intl = intl7.intl;
obj2 = { role: combined };
open(obj);
2026-07-20 16:05:17 +00:00
};
export const communityRequirementSatisfied = function communityRequirementSatisfied() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "ENABLE_COMMUNITY_MODAL_REQUIREMENT_SATISFIED_TOOLTIP", content: intl.string(intl7.t.PHjrpp), IconComponent: CheckmarkLargeIcon.CheckmarkLargeIcon, iconColor: "status-positive" };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const communityAdminOnly = function communityAdminOnly() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "GUILD_SETTINGS_COMMUNITY_ADMINISTRATOR_ONLY", content: intl.string(intl7.t["pjG+T3"]), IconComponent: CircleInformationIcon.CircleInformationIcon };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const unverifiedVoiceGate = function unverifiedVoiceGate(check) {
2026-10-03 08:58:59 +00:00
let missingVerificationRole;
let stringResult;
let verificationRole;
2026-07-20 16:05:17 +00:00
({ missingVerificationRole, verificationRole } = check);
if (check.notClaimed) {
2026-10-03 08:58:59 +00:00
const intl6 = intl7.intl;
stringResult = intl6.string(intl7.t.IRxUlG);
2026-07-20 16:05:17 +00:00
} else if (tmp2) {
2026-10-03 08:58:59 +00:00
const intl5 = intl7.intl;
stringResult = intl5.string(intl7.t.vW8iUF);
2026-07-20 16:05:17 +00:00
} else if (tmp) {
2026-10-03 08:58:59 +00:00
const intl4 = intl7.intl;
stringResult = intl4.string(intl7.t.vdSOpz);
2026-07-20 16:05:17 +00:00
} else if (tmp4) {
2026-10-03 08:58:59 +00:00
const intl3 = intl7.intl;
const obj2 = { min: VerificationCriteria.MEMBER_AGE };
2026-10-03 08:58:59 +00:00
stringResult = intl3.formatToPlainString(intl7.t.v1ktYb, obj2);
2026-07-20 16:05:17 +00:00
} else if (tmp3) {
2026-10-03 08:58:59 +00:00
const intl2 = intl7.intl;
const obj3 = { min: VerificationCriteria.ACCOUNT_AGE };
2026-10-03 08:58:59 +00:00
stringResult = intl2.formatToPlainString(intl7.t.sncw41, obj3);
2026-07-20 16:05:17 +00:00
} else {
if (missingVerificationRole) {
missingVerificationRole = null != verificationRole;
}
stringResult = null;
if (missingVerificationRole) {
2026-10-03 08:58:59 +00:00
const intl = intl7.intl;
const formatToPlainString = intl.formatToPlainString;
2026-07-20 16:05:17 +00:00
const _HermesInternal = HermesInternal;
2026-10-03 08:58:59 +00:00
const obj = { roleName: "@" + verificationRole.name };
const MZbCuG = intl7.t.MZbCuG;
stringResult = formatToPlainString(MZbCuG, obj);
2026-07-20 16:05:17 +00:00
}
}
if (null != stringResult) {
2026-10-03 08:58:59 +00:00
const obj4 = { key: "UNVERIFIED_VOICE_GATE", content: stringResult, IconComponent: CircleInformationIcon.CircleInformationIcon };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
open(obj4);
2026-07-20 16:05:17 +00:00
}
};
export const transferOwnershipProtected = function transferOwnershipProtected() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "TRANSFER_OWNERSHIP_PROTECTED_GUILD", content: intl.string(intl7.t.wDkfrN), IconComponent: CircleInformationIcon.CircleInformationIcon };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
};
export const memberOrRoleRemovedToast = function memberOrRoleRemovedToast(name) {
2026-10-03 08:58:59 +00:00
let intl;
let obj2;
const obj = { key: "PRIVATE_CHANNEL_MEMBERS_REMOVED", content: intl.formatToPlainString(intl7.t.vJGtXc, obj2), IconComponent: TrashIcon.TrashIcon };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
obj2 = { name };
open(obj);
};
export const memberOrRoleAddedToast = function memberOrRoleAddedToast(c1, c0) {
let stringResult;
if (c1 > 0) {
if (c0 > 0) {
const intl3 = intl7.intl;
stringResult = intl3.string(intl7.t.fRD8wW);
2026-07-20 16:05:17 +00:00
}
if (null != stringResult) {
const obj2 = { key: "MEMBER_OR_ROLE_ADDED", content: stringResult, IconComponent: CheckmarkLargeIcon.CheckmarkLargeIcon, iconColor: "status-positive" };
2026-10-03 08:58:59 +00:00
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
open(obj2);
2026-07-20 16:05:17 +00:00
}
}
2026-10-03 08:58:59 +00:00
if (c1 > 0) {
const intl2 = intl7.intl;
const obj3 = { count: c1 };
stringResult = intl2.formatToPlainString(intl7.t["yM/8JE"], obj3);
} else if (c0 > 0) {
const intl = intl7.intl;
const obj = { count: c0 };
stringResult = intl.formatToPlainString(intl7.t.yvV5Ye, obj);
2026-07-20 16:05:17 +00:00
}
};
export const roleTemplateAppliedToast = function roleTemplateAppliedToast() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "ROLE_PERMISSION_TEMPLATE_SELECT_CONFIRMATION_TOAST", content: intl.string(intl7.t.e6xHUV), IconComponent: CheckmarkLargeIcon.CheckmarkLargeIcon, iconColor: "status-positive" };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const roleCreatedToast = function roleCreatedToast() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "ROLE_CREATED_TOAST", content: intl.string(intl7.t.kubT4R), IconComponent: CheckmarkLargeIcon.CheckmarkLargeIcon, iconColor: "status-positive" };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const roleCreateFailedToast = function roleCreateFailedToast() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "ROLE_CREATION_FAILED", content: intl.string(intl7.t.hbr6Uj), IconComponent: XLargeIcon2.XLargeIcon, iconColor: "icon-feedback-critical" };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const presentFailedToast = function presentFailedToast(intl) {
const obj = ToastActionCreatorsDefault;
2026-10-03 08:58:59 +00:00
const obj2 = { key: "FAILED", content: intl, IconComponent: XLargeIcon2.XLargeIcon, iconColor: "icon-feedback-critical" };
obj.open(obj2);
2026-07-20 16:05:17 +00:00
};
export const presentCommandCopied = function presentCommandCopied() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "TOAST_COMMAND_COPIED", content: intl.string(intl7.t.U989ct), IconComponent: LinkIcon.LinkIcon };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
};
2026-07-20 16:05:17 +00:00
export const presentUserPronouns = function presentUserPronouns() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "USER_POPOUT_PRONOUNS", content: intl.string(intl7.t["1w6drw"]) };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const presentCopiedToClipboard = function presentCopiedToClipboard() {
2026-10-03 08:58:59 +00:00
let intl;
let obj2;
const obj = { key: "COPIED_TEXT_" + obj2.v4(), content: intl.string(intl7.t.mGZ66D), IconComponent: CopyIcon.CopyIcon };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
obj2 = v1;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const presentGuildRoleSubscriptionTrialTierMonthCost = function presentGuildRoleSubscriptionTrialTierMonthCost() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "GUILD_ROLE_SUBSCRIPTION_MANAGE_SUBSCRIPTION_PAGE_TRIAL_PRICE_INFO", content: intl.string(intl7.t["/q6fpa"]), IconComponent: CircleInformationIcon.CircleInformationIcon };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const showVoiceRecordingFailed = function showVoiceRecordingFailed() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "VOICE_MESSAGES_RECORDING_FAILED", content: intl.string(intl7.t.H03AqF), IconComponent: XLargeIcon2.XLargeIcon, iconColor: "icon-feedback-critical" };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const showMaxGroupMembers = function showMaxGroupMembers() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "GROUP_DM_INVITE_FULL_MAIN", content: intl.string(intl7.t.OtTQDz), IconComponent: XLargeIcon2.XLargeIcon, iconColor: "icon-feedback-critical" };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const showTransferOwnershipSuccess = function showTransferOwnershipSuccess() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "TRANSFER_OWNERSHIP_SUCCESS", content: intl.string(intl7.t["2Eyydu"]), IconComponent: CheckmarkLargeIcon.CheckmarkLargeIcon, iconColor: "status-positive" };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
};
export const showSafetySuccess = function showSafetySuccess(IAR_SHARE_WITH_PARENT_SUCCESS, safetyToastTypeContent) {
const obj = ToastActionCreatorsDefault;
2026-10-03 08:58:59 +00:00
const obj2 = { key: IAR_SHARE_WITH_PARENT_SUCCESS, content: safetyToastTypeContent, IconComponent: CircleCheckIcon.CircleCheckIcon, iconColor: "status-positive" };
obj.open(obj2);
2026-07-20 16:05:17 +00:00
};
export const showVerificationSent = function showVerificationSent() {
2026-10-03 08:58:59 +00:00
let intl;
const obj = { key: "VERIFICATION_RESENT", content: intl.string(intl7.t.gI8IST), IconComponent: CheckmarkLargeIcon.CheckmarkLargeIcon, iconColor: "status-positive" };
const open = ToastActionCreatorsDefault.open;
ToastActionCreatorsDefault;
intl = intl7.intl;
open(obj);
2026-07-20 16:05:17 +00:00
};
export const presentTimestamp = function presentTimestamp(full) {
const obj = ToastActionCreatorsDefault;
2026-10-03 08:58:59 +00:00
const obj2 = { key: "MESSAGE_TIMESTAMP", content: full, IconComponent: ClockIcon.ClockIcon };
obj.open(obj2);
2026-07-20 16:05:17 +00:00
};