var e=1024*1024,t=25e5;function n(t){return`${((typeof t==`number`&&Number.isFinite(t)?Math.max(0,t):0)/e).toFixed(1)}MB`}function r(e){return`${(Number.isFinite(e)?Math.max(0,e):0).toFixed(1)}s`}function i(e){let t=Number.isFinite(e)?Math.max(0,Math.floor(e)):0,n=Math.floor(t/60),r=t%60;return`${String(n).padStart(2,`0`)}:${String(r).padStart(2,`0`)}`}function a(e){if(!e||!Number.isFinite(e)||e<=0)return``;let t=Math.round(e/1e3),n=Math.floor(t/60),r=t%60;return`${n}:${String(r).padStart(2,`0`)}`}function o(e){let t=Math.max(1,Math.round(typeof e==`number`&&Number.isFinite(e)?e:0));if(t<60)return`${t}s`;let n=Math.floor(t/60),r=t%60;return`${n}:${String(r).padStart(2,`0`)}`}function s(e){if(e.originalQuality)return e.sourceSize;let t=e.durationMs?e.durationMs/1e3:0;return t<=0?e.sourceSize:Math.ceil(2596e3*t/8)}export{i as a,n as i,s as n,o,r,a as s,t};
//# sourceMappingURL=impl-TYNTuguB.js.map