text: import r from"../../web_modules/bignumberjs.js";import u from"../../web_modules/moment.js";export const formatTime=(t,e,o="L LTS")=>u(Math.floor(t),"x").locale(e).format(o),quantile=(t,e)=>{const o=t.length;if(!o)return NaN;if((e=+e)<=0||o<2)return t[0];if(e>=1)return t[o-1];const i=new r(e).multipliedBy(o-1),n=i.integerValue().toNumber(),m=new r(t[n]),s=new r(t[n+1]);return m.plus(s.minus(m).multipliedBy(i.minus(n))).toNumber()},distance=(t,e)=>Math.sqrt((t[0]-e[0])**2+(t[1]-e[1])**2),safeSplit=(t,e)=>t.length?t.split(e):[];
  