decord/source/modules/notifications/settings/native/MobileNotifSettingsNodes.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

219 lines
8.5 KiB
TypeScript

// Module ID: 15847
// Function ID: 15848
// Name: toggle
// Dependencies: [11400, 1233, 2694, 13603, 14371, 15848, 14376, 15838, 2]
// Module 15847 (toggle)
import set from "set" /* 2 */;
import getSystemLocale from "getSystemLocale" /* 1233 */;
import messagesProxyDefault from "messagesProxy" /* 2694 */;
import b64ToDeclarativeSettingsProto from "b64ToDeclarativeSettingsProto" /* 13603 */;
import NotifSettings from "NotifSettings" /* 14371 */;
import getNamedExperiment from "getNamedExperiment" /* 14376 */;
import MobileNotifSettings from "MobileNotifSettings" /* 15838 */;
import updateNotifSettingValue from "updateNotifSettingValue" /* 15848 */;
import createToggle from "createToggle" /* 11400 */;
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;