decord/source/modules/parent_tools/FamilyCenterConstants.tsx

440 lines
16 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 5302
// Function ID: 5303
2026-07-20 16:05:17 +00:00
// Name: items
2026-08-24 06:08:38 +00:00
// Dependencies: [687, 507, 1236, 2336, 2]
2026-07-20 16:05:17 +00:00
// Exports: ACCEPTED_LINK_REQUEST_TIMESTAMP_FORMATTER, FAMILY_CENTER_REQUEST_QR_CODE_URL, PENDING_LINK_REQUEST_TIMESTAMP_FORMATTER
2026-08-24 06:08:38 +00:00
// Module 5302 (items)
import setDefault from "set" /* 687 */;
import getSystemLocale from "getSystemLocale" /* 1236 */;
import messagesProxyDefault from "messagesProxy" /* 2336 */;
import getAuthenticationPath from "getAuthenticationPath" /* 507 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
const result = 30 * setDefault.Millis.SECOND;
const result1 = 5 * setDefault.Millis.MINUTE;
const result2 = 5 * setDefault.Millis.MINUTE;
2026-07-23 10:11:24 +00:00
getAuthenticationPath = { USER_ADD: 1, [1]: "USER_ADD", GUILD_ADD: 2, [2]: "GUILD_ADD", USER_INTERACTION: 3, [3]: "USER_INTERACTION", GUILD_INTERACTION: 4, [4]: "GUILD_INTERACTION", USER_CALLED: 5, [5]: "USER_CALLED", TOTAL_VOICE_MINUTES: 6, [6]: "TOTAL_VOICE_MINUTES", PURCHASES: 7, [7]: "PURCHASES", GIFTS: 8, [8]: "GIFTS" };
2026-07-29 08:29:29 +00:00
const items = [
getAuthenticationPath.USER_INTERACTION,
{
priority: 100,
tooltipHeader() {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.kvTgWP);
2026-07-29 08:29:29 +00:00
},
tooltipDescription(arg0) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
2026-07-29 08:29:29 +00:00
const string = intl.string;
2026-08-24 06:08:38 +00:00
const tmp = messagesProxyDefault;
2026-07-29 08:29:29 +00:00
if (arg0) {
let stringResult = string(tmp.w4wmnb);
} else {
stringResult = string(tmp.foTzbd);
}
return stringResult;
},
sectionHeader(count) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.formatToPlainString(messagesProxyDefault["4T3zWT"], { count });
2026-07-29 08:29:29 +00:00
},
sectionDescription(arg0) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
2026-07-29 08:29:29 +00:00
const string = intl.string;
2026-08-24 06:08:38 +00:00
const tmp = messagesProxyDefault;
2026-07-29 08:29:29 +00:00
if (arg0) {
let stringResult = string(tmp.w4wmnb);
} else {
stringResult = string(tmp.foTzbd);
}
return stringResult;
},
timestampFormatter() {
const obj = { today: null, yesterday: null, days: null };
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
obj[0] = intl.string(messagesProxyDefault.fLBUx7);
const intl2 = getSystemLocale.intl;
obj[1] = intl2.string(messagesProxyDefault.cHHgxI);
obj[2] = messagesProxyDefault.qvKjp8;
2026-07-29 08:29:29 +00:00
return obj;
2026-07-20 16:05:17 +00:00
}
}
2026-07-29 08:29:29 +00:00
];
2026-07-20 16:05:17 +00:00
const items1 = [items, , , , , , , ];
const items2 = [
2026-07-23 10:11:24 +00:00
getAuthenticationPath.USER_CALLED,
2026-07-20 16:05:17 +00:00
{
priority: 200,
tooltipHeader() {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.D7Sngz);
2026-07-20 16:05:17 +00:00
},
tooltipDescription(arg0) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
2026-07-20 16:05:17 +00:00
const string = intl.string;
2026-08-24 06:08:38 +00:00
const tmp = messagesProxyDefault;
2026-07-20 16:05:17 +00:00
if (arg0) {
let stringResult = string(tmp.aiAhnQ);
} else {
2026-07-23 10:11:24 +00:00
stringResult = string(tmp["4ufgdz"]);
2026-07-20 16:05:17 +00:00
}
return stringResult;
},
sectionHeader(count) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.formatToPlainString(messagesProxyDefault["0GE4Ni"], { count });
2026-07-20 16:05:17 +00:00
},
sectionDescription(arg0) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
2026-07-20 16:05:17 +00:00
const string = intl.string;
2026-08-24 06:08:38 +00:00
const tmp = messagesProxyDefault;
2026-07-20 16:05:17 +00:00
if (arg0) {
let stringResult = string(tmp.aiAhnQ);
} else {
2026-07-23 10:11:24 +00:00
stringResult = string(tmp["4ufgdz"]);
2026-07-20 16:05:17 +00:00
}
return stringResult;
},
timestampFormatter() {
2026-07-29 08:29:29 +00:00
const obj = { today: null, yesterday: null, days: null };
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
obj[0] = intl.string(messagesProxyDefault.IHd5cZ);
const intl2 = getSystemLocale.intl;
obj[1] = intl2.string(messagesProxyDefault.wOsfxv);
obj[2] = messagesProxyDefault.oCk8c4;
2026-07-20 16:05:17 +00:00
return obj;
}
}
];
items1[1] = items2;
const items3 = [
2026-07-23 10:11:24 +00:00
getAuthenticationPath.USER_ADD,
2026-07-20 16:05:17 +00:00
{
priority: 300,
tooltipHeader() {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.kIcKAj);
2026-07-20 16:05:17 +00:00
},
tooltipDescription(arg0) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
2026-07-20 16:05:17 +00:00
const string = intl.string;
2026-08-24 06:08:38 +00:00
const tmp = messagesProxyDefault;
2026-07-20 16:05:17 +00:00
if (arg0) {
let stringResult = string(tmp.BkVb1X);
} else {
stringResult = string(tmp.mpHHfa);
}
return stringResult;
},
sectionHeader(count) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.formatToPlainString(messagesProxyDefault["TEvo+H"], { count });
2026-07-20 16:05:17 +00:00
},
sectionDescription(arg0) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
2026-07-20 16:05:17 +00:00
const string = intl.string;
2026-08-24 06:08:38 +00:00
const tmp = messagesProxyDefault;
2026-07-20 16:05:17 +00:00
if (arg0) {
let stringResult = string(tmp.BkVb1X);
} else {
stringResult = string(tmp.mpHHfa);
}
return stringResult;
},
timestampFormatter() {
2026-07-29 08:29:29 +00:00
const obj = { today: null, yesterday: null, days: null };
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
obj[0] = intl.string(messagesProxyDefault.JUHIYZ);
const intl2 = getSystemLocale.intl;
obj[1] = intl2.string(messagesProxyDefault.GiswUW);
obj[2] = messagesProxyDefault["fwQgE/"];
2026-07-20 16:05:17 +00:00
return obj;
}
}
];
items1[2] = items3;
const items4 = [
2026-07-23 10:11:24 +00:00
getAuthenticationPath.GUILD_ADD,
2026-07-20 16:05:17 +00:00
{
priority: 400,
tooltipHeader() {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.uav9Bh);
2026-07-20 16:05:17 +00:00
},
tooltipDescription(arg0) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
2026-07-20 16:05:17 +00:00
const string = intl.string;
2026-08-24 06:08:38 +00:00
const tmp = messagesProxyDefault;
2026-07-20 16:05:17 +00:00
if (arg0) {
let stringResult = string(tmp.LVNgTD);
} else {
stringResult = string(tmp.TA8GFt);
}
return stringResult;
},
sectionHeader(count) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.formatToPlainString(messagesProxyDefault["7feG7T"], { count });
2026-07-20 16:05:17 +00:00
},
sectionDescription(arg0) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
2026-07-20 16:05:17 +00:00
const string = intl.string;
2026-08-24 06:08:38 +00:00
const tmp = messagesProxyDefault;
2026-07-20 16:05:17 +00:00
if (arg0) {
let stringResult = string(tmp.LVNgTD);
} else {
stringResult = string(tmp.TA8GFt);
}
return stringResult;
}
}
];
items1[3] = items4;
const items5 = [
2026-07-23 10:11:24 +00:00
getAuthenticationPath.GUILD_INTERACTION,
2026-07-20 16:05:17 +00:00
{
priority: 500,
tooltipHeader() {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.CcrbCw);
2026-07-20 16:05:17 +00:00
},
tooltipDescription(arg0) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
2026-07-20 16:05:17 +00:00
const string = intl.string;
2026-08-24 06:08:38 +00:00
const tmp = messagesProxyDefault;
2026-07-20 16:05:17 +00:00
if (arg0) {
let stringResult = string(tmp.BLgIrk);
} else {
stringResult = string(tmp.sSJauZ);
}
return stringResult;
},
sectionHeader(count) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.formatToPlainString(messagesProxyDefault.rcPInc, { count });
2026-07-20 16:05:17 +00:00
},
sectionDescription(arg0) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
2026-07-20 16:05:17 +00:00
const string = intl.string;
2026-08-24 06:08:38 +00:00
const tmp = messagesProxyDefault;
2026-07-20 16:05:17 +00:00
if (arg0) {
let stringResult = string(tmp.BLgIrk);
} else {
stringResult = string(tmp.sSJauZ);
}
return stringResult;
}
}
];
items1[4] = items5;
const items6 = [
2026-07-23 10:11:24 +00:00
getAuthenticationPath.TOTAL_VOICE_MINUTES,
2026-07-20 16:05:17 +00:00
{
priority: 175,
tooltipHeader() {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.eo4Fxh);
2026-07-20 16:05:17 +00:00
},
tooltipDescription() {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault["O/AElu"]);
2026-07-20 16:05:17 +00:00
},
sectionHeader(count) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.formatToPlainString(messagesProxyDefault.eGFWUd, { count });
2026-07-20 16:05:17 +00:00
},
sectionDescription() {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault["O/AElu"]);
2026-07-20 16:05:17 +00:00
}
}
];
items1[5] = items6;
const items7 = [
2026-07-23 10:11:24 +00:00
getAuthenticationPath.PURCHASES,
2026-07-20 16:05:17 +00:00
{
priority: 150,
tooltipHeader() {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.NMYKsh);
2026-07-20 16:05:17 +00:00
},
tooltipDescription(arg0) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
2026-07-20 16:05:17 +00:00
const string = intl.string;
2026-08-24 06:08:38 +00:00
const tmp = messagesProxyDefault;
2026-07-20 16:05:17 +00:00
if (arg0) {
let stringResult = string(tmp.cqIdqZ);
} else {
2026-07-23 10:11:24 +00:00
stringResult = string(tmp["85PtWu"]);
2026-07-20 16:05:17 +00:00
}
return stringResult;
},
sectionHeader(amount) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.formatToPlainString(messagesProxyDefault.FPViWL, { amount });
2026-07-20 16:05:17 +00:00
},
sectionDescription(arg0) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
2026-07-20 16:05:17 +00:00
const string = intl.string;
2026-08-24 06:08:38 +00:00
const tmp = messagesProxyDefault;
2026-07-20 16:05:17 +00:00
if (arg0) {
let stringResult = string(tmp.cqIdqZ);
} else {
2026-07-23 10:11:24 +00:00
stringResult = string(tmp["85PtWu"]);
2026-07-20 16:05:17 +00:00
}
return stringResult;
}
}
];
items1[6] = items7;
const items8 = [
2026-07-23 10:11:24 +00:00
getAuthenticationPath.GIFTS,
2026-07-20 16:05:17 +00:00
{
priority: 600,
tooltipHeader() {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.ULUspo);
2026-07-20 16:05:17 +00:00
},
tooltipDescription() {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.nH8vlc);
2026-07-20 16:05:17 +00:00
},
sectionHeader(amount) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.formatToPlainString(messagesProxyDefault["0R6I/b"], { amount });
2026-07-20 16:05:17 +00:00
},
sectionDescription() {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.nH8vlc);
2026-07-20 16:05:17 +00:00
}
}
];
items1[7] = items8;
2026-07-29 08:29:29 +00:00
const wrapPathsResult = getAuthenticationPath.wrapPaths(Object.freeze({ FAMILY_CENTER_SETTINGS: "/family-center/settings", FAMILY_CENTER_MY_FAMILY: "/family-center/my-family" }), [":", "?", "@"]);
getAuthenticationPath = { CHECK: 0, [0]: "CHECK", X: 1, [1]: "X" };
const obj1 = { GENERIC_ERROR: 0, [0]: "GENERIC_ERROR", INELIGIBLE_FOR_FAMILY_CENTER: 1, [1]: "INELIGIBLE_FOR_FAMILY_CENTER", PENDING_REQUEST_EXISTS: 2, [2]: "PENDING_REQUEST_EXISTS", MAX_CONNECTIONS_REACHED: 3, [3]: "MAX_CONNECTIONS_REACHED" };
({ INELIGIBLE_FOR_FAMILY_CENTER: obj5[290000], MAX_CONNECTIONS_REACHED: obj5[290002], PENDING_REQUEST_EXISTS: obj5[290005] } = obj1);
2026-07-20 16:05:17 +00:00
const obj5 = {
2026-07-29 08:29:29 +00:00
header(isAdult) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
2026-07-20 16:05:17 +00:00
const string = intl.string;
2026-08-24 06:08:38 +00:00
const tmp = messagesProxyDefault;
2026-07-29 08:29:29 +00:00
if (isAdult.isAdult) {
let stringResult = string(tmp.bS5x94);
2026-07-20 16:05:17 +00:00
} else {
2026-07-29 08:29:29 +00:00
stringResult = string(tmp.MzX4RP);
2026-07-20 16:05:17 +00:00
}
return stringResult;
},
2026-07-29 08:29:29 +00:00
description(isAdult) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
2026-07-29 08:29:29 +00:00
const format = intl.format;
2026-08-24 06:08:38 +00:00
const tmp = messagesProxyDefault;
2026-07-29 08:29:29 +00:00
if (isAdult.isAdult) {
let formatResult = format(tmp.GKzqWi, { link: "https://support.discord.com/hc/articles/14155043715735" });
2026-07-20 16:05:17 +00:00
} else {
2026-07-29 08:29:29 +00:00
formatResult = format(tmp["69F+eS"], { link: "https://support.discord.com/hc/articles/14155060633623" });
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
return formatResult;
2026-07-20 16:05:17 +00:00
},
2026-07-29 08:29:29 +00:00
icon: getAuthenticationPath.X
2026-07-20 16:05:17 +00:00
};
const map = new Map(items1);
2026-07-29 08:29:29 +00:00
const obj2 = { 290000: null, 290002: null, 290005: null };
const obj3 = {
2026-07-20 16:05:17 +00:00
header() {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.nGX8Co);
2026-07-20 16:05:17 +00:00
},
description() {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.Uss2dn);
2026-07-20 16:05:17 +00:00
},
2026-07-29 08:29:29 +00:00
icon: getAuthenticationPath.X
2026-07-20 16:05:17 +00:00
};
2026-07-29 08:29:29 +00:00
const obj4 = {
2026-07-20 16:05:17 +00:00
header() {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.tu0MRv);
2026-07-20 16:05:17 +00:00
},
description(email) {
email = email.email;
if (null != email) {
2026-08-24 06:08:38 +00:00
const intl2 = getSystemLocale.intl;
2026-07-29 08:29:29 +00:00
const obj = { email: null };
obj[0] = email;
2026-08-24 06:08:38 +00:00
let formatToPlainStringResult = intl2.formatToPlainString(messagesProxyDefault.xNEkdx, obj);
2026-07-20 16:05:17 +00:00
} else {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
formatToPlainStringResult = intl.string(messagesProxyDefault.Xyjnwn);
2026-07-20 16:05:17 +00:00
}
return formatToPlainStringResult;
},
2026-07-29 08:29:29 +00:00
icon: getAuthenticationPath.CHECK
2026-07-20 16:05:17 +00:00
};
2026-07-29 08:29:29 +00:00
const obj6 = {
2026-07-20 16:05:17 +00:00
header() {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.W9JLJh);
2026-07-20 16:05:17 +00:00
},
description() {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.format(messagesProxyDefault.On5iRI, { link: "https://support.discord.com/hc/requests/new?ticket_form_id=360000029731" });
2026-07-20 16:05:17 +00:00
},
2026-07-29 08:29:29 +00:00
icon: getAuthenticationPath.X
2026-07-20 16:05:17 +00:00
};
2026-08-24 06:08:38 +00:00
const result3 = require("set").fileFinishedImporting("modules/parent_tools/FamilyCenterConstants.tsx");
2026-07-20 16:05:17 +00:00
export const RESTRICTED_HOURS_LAYER_KEY = "RESTRICTED_HOURS_LAYER";
export const FAMILY_CENTER_REFETCH_COOLDOWN = result;
export const FAMILY_CENTER_AGE_VERIFICATION_RESUME_TIMEOUT = result1;
export const MAX_PARENT_TO_TEEN_ACTIVE_CONNECTIONS = 8;
export const MAX_TEEN_TO_PARENT_ACTIVE_CONNECTIONS = 3;
export const FAMILY_CENTER_REQUEST_SECTION_HEIGHT = 26;
export const FAMILY_CENTER_REQUEST_ROW_HEIGHT = 64;
export const FAMILY_CENTER_LINK_REQUEST_REGEX = /\/feature\/family-center\/my-family\/(\w+)\/(\w+)/;
export const FAMILY_CENTER_REQUEST_QR_CODE_URL = (arg0, arg1) => "https://discord.com/feature/family-center/my-family/" + arg0 + "/" + arg1;
export const FAMILY_CENTER_ITEMS_SHOWN_INCREMENTS = 4;
export const QR_CODE_AUTO_HIDE_TIMEOUT = result2;
export const PLACEHOLDER_QR_CODE_URL = "https://www.youtube.com/watch?v=dQw4w9WgXcQ";
export const FAMILY_CENTER_SUB_ROUTES = wrapPathsResult;
export const TeenActionType = { DM_MESSAGE_SEND: 1, [1]: "DM_MESSAGE_SEND", GDM_MESSAGE_SEND: 2, [2]: "GDM_MESSAGE_SEND", MESSAGE_REACT: 3, [3]: "MESSAGE_REACT", ADD_FRIEND: 4, [4]: "ADD_FRIEND", SEND_CALL: 5, [5]: "SEND_CALL", CALL_JOIN: 6, [6]: "CALL_JOIN", GUILD_JOIN: 7, [7]: "GUILD_JOIN", GUILD_MESSAGE_SEND: 8, [8]: "GUILD_MESSAGE_SEND", GUILD_VC_JOIN: 9, [9]: "GUILD_VC_JOIN", GUILD_VOICE_CHANNEL_LEAVE: 10, [10]: "GUILD_VOICE_CHANNEL_LEAVE", CALL_LEAVE: 11, [11]: "CALL_LEAVE", CALL_START: 12, [12]: "CALL_START", INVOICE_COMPLETE: 13, [13]: "INVOICE_COMPLETE" };
export const UserLinkType = { PARENT: 1, [1]: "PARENT", CHILD: 2, [2]: "CHILD" };
export const UserLinkStatus = { PENDING: 1, [1]: "PENDING", ACTIVE: 2, [2]: "ACTIVE", INACTIVE: 3, [3]: "INACTIVE", DECLINED: 4, [4]: "DECLINED", EXPIRED: 5, [5]: "EXPIRED" };
2026-07-23 10:11:24 +00:00
export const TeenActionDisplayType = getAuthenticationPath;
2026-07-20 16:05:17 +00:00
export const FamilyCenterSubPages = { ACTIVITY: "ACTIVITY", REQUESTS: "REQUESTS", SETTINGS: "SETTINGS", CONTENT_AND_SOCIAL: "CONTENT_AND_SOCIAL", DATA_AND_PRIVACY: "DATA_AND_PRIVACY", SCREEN_TIME_CONTROLS: "SCREEN_TIME_CONTROLS" };
export const FamilyCenterSubPageAnalyticsIds = { ACTIVITY: 0, [0]: "ACTIVITY", REQUESTS: 1, [1]: "REQUESTS", SETTINGS: 2, [2]: "SETTINGS", CONTENT_AND_SOCIAL: 3, [3]: "CONTENT_AND_SOCIAL", DATA_AND_PRIVACY: 4, [4]: "DATA_AND_PRIVACY", SCREEN_TIME_CONTROLS: 5, [5]: "SCREEN_TIME_CONTROLS" };
export const FamilyCenterPageLocation = { SIDENAV: "SIDENAV", SETTINGS: "SETTINGS" };
export const FamilyCenterPageLocationAnalyticsIds = { SIDENAV: 0, [0]: "SIDENAV", SETTINGS: 1, [1]: "SETTINGS" };
export const FamilyCenterAction = { TabChange: 0, [0]: "TabChange", ShowQRCodeModal: 1, [1]: "ShowQRCodeModal", RevealQRCode: 2, [2]: "RevealQRCode", ScanQRCodeButton: 3, [3]: "ScanQRCodeButton", ScanQRCode: 4, [4]: "ScanQRCode", LoadMore: 5, [5]: "LoadMore", SelectTeen: 6, [6]: "SelectTeen", HideQRCode: 7, [7]: "HideQRCode", NufConsentGateLinkCodeError: 8, [8]: "NufConsentGateLinkCodeError", ShareLink: 9, [9]: "ShareLink", CopyLink: 10, [10]: "CopyLink" };
export const ACTION_TO_TEXT = map;
2026-07-29 08:29:29 +00:00
export const FamilyCenterIconType = getAuthenticationPath;
export const FamilyCenterFailureCode = obj1;
export const FAMILY_CENTER_ERROR_CODE_TO_FAILURE = obj2;
export const FAMILY_CENTER_LINK_REQUEST_ERROR_EXPERIENCES = { [obj1.GENERIC_ERROR]: obj3, [obj1.PENDING_REQUEST_EXISTS]: obj4, [obj1.MAX_CONNECTIONS_REACHED]: obj5, [obj1.INELIGIBLE_FOR_FAMILY_CENTER]: obj6 };
2026-07-20 16:05:17 +00:00
export const CONNECT_GUARDIAN_BOTTOM_SHEET_KEY = "ConnectGuardianBottomSheet";
export const PENDING_LINK_REQUEST_TIMESTAMP_FORMATTER = () => {
2026-07-29 08:29:29 +00:00
const obj = { seconds: null, minutes: null, hours: null, yesterday: null, days: null, date: null };
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
obj[0] = intl.string(messagesProxyDefault.CJdoee);
obj[1] = messagesProxyDefault.InzMn3;
obj[2] = messagesProxyDefault.ErkYCI;
const intl2 = getSystemLocale.intl;
obj[3] = intl2.string(messagesProxyDefault.GvfssA);
obj[4] = messagesProxyDefault.pWig18;
obj[5] = messagesProxyDefault.MP3khg;
2026-07-20 16:05:17 +00:00
return obj;
};
export const ACCEPTED_LINK_REQUEST_TIMESTAMP_FORMATTER = () => {
2026-07-29 08:29:29 +00:00
const obj = { seconds: null, minutes: null, hours: null, yesterday: null, days: null, date: null };
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
obj[0] = intl.string(messagesProxyDefault.Bqsamd);
obj[1] = messagesProxyDefault.kX3wJg;
obj[2] = messagesProxyDefault.J18GbG;
const intl2 = getSystemLocale.intl;
obj[3] = intl2.string(messagesProxyDefault.Ln9zMn);
obj[4] = messagesProxyDefault.WRtySz;
obj[5] = messagesProxyDefault.Y3ZYtM;
2026-07-20 16:05:17 +00:00
return obj;
};