// Module ID: 15432 // Function ID: 15433 // Name: onServerTrendingNotificationSettingsChanged // Dependencies: [4133, 673, 4166, 695, 2] // Exports: onServerTrendingNotificationSettingsChanged // Module 15432 (onServerTrendingNotificationSettingsChanged) import set from "set" /* 2 */; import ME from "ME" /* 673 */; import expandEventPropertiesDefault from "expandEventProperties" /* 695 */; import AccountNotificationFlags from "AccountNotificationFlags" /* 4133 */; import explicitContentFromProto from "explicitContentFromProto" /* 4166 */; let closure_3 = AccountNotificationFlags.NotificationSettingsUpdateType; const AnalyticEvents = ME.AnalyticEvents; const result = set.fileFinishedImporting("modules/notifications/server_trending/ServerTrendingNotificationUtils.tsx"); export const onServerTrendingNotificationSettingsChanged = function onServerTrendingNotificationSettingsChanged(server_trending_notifications) { const EnableServerTrendingNotifications = explicitContentFromProto.EnableServerTrendingNotifications; EnableServerTrendingNotifications.updateSetting(server_trending_notifications); let obj = expandEventPropertiesDefault; obj = { update_type: constants.ACCOUNT, server_trending_notifications }; obj.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, obj); };