decord/source/modules/notifications/settings/native/MobileNotifSettingsNodes.tsx
2026-09-02 09:53:35 +00:00

219 lines
8.5 KiB
TypeScript

// Module ID: 15745
// Function ID: 15746
// Name: toggle
// Dependencies: [11288, 1233, 2694, 13555, 14323, 15746, 14328, 15742, 2]
// Module 15745 (toggle)
import set from "set" /* 2 */;
import getSystemLocale from "getSystemLocale" /* 1233 */;
import messagesProxyDefault from "messagesProxy" /* 2694 */;
import b64ToDeclarativeSettingsProto from "b64ToDeclarativeSettingsProto" /* 13555 */;
import NotifSettings from "NotifSettings" /* 14323 */;
import getNamedExperiment from "getNamedExperiment" /* 14328 */;
import MobileNotifSettings from "MobileNotifSettings" /* 15742 */;
import updateNotifSettingValue from "updateNotifSettingValue" /* 15746 */;
import createToggle from "createToggle" /* 11288 */;
let obj = {
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.wv4QHR);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.REACTIONS);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.REACTIONS, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.REACTIONS);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
};
const toggle = createToggle.createToggle(obj);
obj = {
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.n0Wp6j);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.MISSED_MESSAGES_LOW);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.MISSED_MESSAGES_LOW, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.MISSED_MESSAGES_LOW);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
};
const toggle1 = createToggle.createToggle(obj);
const toggle2 = createToggle.createToggle({
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.n0Wp6j);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.MISSED_MESSAGES_DEFAULT);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.MISSED_MESSAGES_DEFAULT, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.MISSED_MESSAGES_DEFAULT);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
});
const obj1 = {
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.n0Wp6j);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.MISSED_MESSAGES_DEFAULT);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.MISSED_MESSAGES_DEFAULT, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.MISSED_MESSAGES_DEFAULT);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
};
const toggle3 = createToggle.createToggle({
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.Iy9grw);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.VOICE_ACTIVITY_LOW);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.VOICE_ACTIVITY_LOW, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.VOICE_ACTIVITY_LOW);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
});
const obj2 = {
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.Iy9grw);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.VOICE_ACTIVITY_LOW);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.VOICE_ACTIVITY_LOW, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.VOICE_ACTIVITY_LOW);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
};
const toggle4 = createToggle.createToggle({
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.Iy9grw);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.VOICE_ACTIVITY_DEFAULT);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.VOICE_ACTIVITY_DEFAULT, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.VOICE_ACTIVITY_DEFAULT);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
});
const obj3 = {
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.Iy9grw);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.VOICE_ACTIVITY_DEFAULT);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.VOICE_ACTIVITY_DEFAULT, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.VOICE_ACTIVITY_DEFAULT);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
};
const toggle5 = createToggle.createToggle({
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault["9EDo+/"]);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.GAMING_LOW);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.GAMING_LOW, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.GAMING_LOW);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
});
const obj4 = {
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault["9EDo+/"]);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.GAMING_LOW);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.GAMING_LOW, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.GAMING_LOW);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
};
const toggle6 = createToggle.createToggle({
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault["9EDo+/"]);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.GAMING_DEFAULT);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.GAMING_DEFAULT, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.GAMING_DEFAULT);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
});
const obj5 = {
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault["9EDo+/"]);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.GAMING_DEFAULT);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.GAMING_DEFAULT, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.GAMING_DEFAULT);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
};
const result = set.fileFinishedImporting("modules/notifications/settings/native/MobileNotifSettingsNodes.tsx");
export const Reactions = toggle;
export const MissedMessagesLow = toggle1;
export const MissedMessagesDefault = toggle2;
export const VoiceActivityLow = toggle3;
export const VoiceActivityDefault = toggle4;
export const GamingLow = toggle5;
export const GamingDefault = toggle6;