Module 267859

632 characters · in b919bf395c1091c4.js
Dependencies
Required by (1)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){n.d(t,{A:()=>u});var l=n(405269),i=n(927813),a=n(403362),r=n(403918),s=n(985018);let o=e=>{let t=Date.now()+e;return(0,l.ro)(new Date,new Date(t))?s.intl.formatToPlainString(s.t["+3jw2j"],{time:s.intl.data.formatTime(t,{format:"short"})}):s.intl.formatToPlainString(s.t["/Avy4C"],{time:s.intl.data.formatTime(t,{format:"short"})})};function u(e){switch(e){case r.yt.TODAY:return o(i.A.Millis.DAY);case r.yt.HOURS_4:return o(4*i.A.Millis.HOUR);case r.yt.HOURS_1:return o(+i.A.Millis.HOUR);case r.yt.MINUTES_30:return o(30*i.A.Millis.MINUTE);case r.yt.DONT_CLEAR:return s.intl.string(s.t.bRn8cq);default:(0,a.xb)(e)}}}