decord/source/modules/notifications/settings/native/MobileNotifSettingsNodes.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

219 lines
8.5 KiB
TypeScript

// Module ID: 15923
// Function ID: 15924
// Name: toggle
// Dependencies: [11468, 1114, 2722, 13679, 14445, 15924, 14450, 15914, 2]
// Module 15923 (toggle)
import set from "set" /* 2 */;
import getSystemLocale from "getSystemLocale" /* 1114 */;
import messagesProxyDefault from "messagesProxy" /* 2722 */;
import b64ToDeclarativeSettingsProto from "b64ToDeclarativeSettingsProto" /* 13679 */;
import NotifSettings from "NotifSettings" /* 14445 */;
import getNamedExperiment from "getNamedExperiment" /* 14450 */;
import MobileNotifSettings from "MobileNotifSettings" /* 15914 */;
import updateNotifSettingValue from "updateNotifSettingValue" /* 15924 */;
import createToggle from "createToggle" /* 11468 */;
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;