globalThis.Intl||(globalThis.Intl={}),Intl.RelativeTimeFormat||(Intl.RelativeTimeFormat=function(locales,options){this.options=options||{},this.locales=Array.isArray(locales)?locales:[locales]},Intl.RelativeTimeFormat.prototype.format=function(elapsed,unit){var prefix="",suffix="";return elapsed<0?suffix=" ago":0<elapsed&&(prefix="in "),1<(elapsed=Math.abs(elapsed))&&(unit+="s"),prefix+elapsed+" "+unit+suffix});