Build 533169stable
Module 798819
828 characters · in 33645dc6ae61c139.jsDependencies
Source Raw
function(e,t,n){n.d(t,{p:()=>h});var i=n(311907),s=n(506774),l=n(832712),r=n(419954),a=n(71393),o=n(543465),d=n(287809),c=n(954571),u=n(780964),m=n(652215),g=n(406535),_=n(790782),x=n(985018);let h=(0,r.zD)(u.X.EXPERIMENTAL_UNREADS,{useTitle:()=>x.intl.string(x.t["k6m/si"]),useSubtitle:()=>x.intl.string(x.t.LGynPs),useValue:()=>(0,i.bG)([o.Ay],()=>o.Ay.useNewNotifications),setValue:function(e){l.A.setAccountFlag(g.i.USE_NEW_NOTIFICATIONS,e),e||(s.w.set("turnedOffNewNotifications",!0),c.default.track(m.HAw.NOTIFICATION_MIGRATION_OPTOUT,{num_guilds_with_new_setting:a.A.getGuildsArray().filter(e=>o.Ay.resolveGuildUnreadSetting(e)===_.e.ONLY_MENTIONS).length}))},usePredicate:()=>(0,i.bG)([d.default,o.Ay],()=>d.default.getCurrentUser()?.isStaff()||d.default.getCurrentUser()?.isStaffPersonal()||o.Ay.useNewNotifications)})}