function u(o,t,r=0){let e=0;switch(!0){case r===0:e=Math.round(Math.random()*(t-o))+o;break;case r===1:e=Math.ceil(Math.random()*(t-o))+o;break;case r===2:e=Math.floor(Math.random()*(t-o))+o;break;case r===3:e=Math.floor(Math.random()*(t-o))===o?o+1:Math.floor(Math.random()*(t-o))+o;break}return e}function M(o,t){let n=0;n=t-o;let l=Math.floor(n/864e5),h=Math.floor(n%864e5/36e5),c=Math.floor(n%36e5/6e4),d=Math.floor(n%6e4/1e3);const a=Math.floor(n%1e3/100);return l=s(l),h=s(h),c=s(c),d=s(d),[l,h,c,d,a]}function s(o){return o<10?"0"+o:o}const w=o=>{if(!o)return;const t={r:255,g:255,b:255},r={r:Math.round(o.a*o.r+(1-o.a)*t.r),g:Math.round(o.a*o.g+(1-o.a)*t.g),b:Math.round(o.a*o.b+(1-o.a)*t.b)};return`rgb(${r.r},${r.g},${r.b})`},g=``,k=``,f=``,p=``;export{g as E,k as S,M as a,u as b,p as c,f as d,w as g};