const u=(e,t,n=1)=>Array(Math.ceil((t-e)/n)).fill(e).map((s,r)=>s+r*n),l=(e,t)=>n=>n<e?e:n>t?t:n,g=e=>/\S+@\S+\.\S+/.test(e),d=(e,t=8,n=3)=>e.length<t?!1:[/[a-z]/,/[A-Z]/,/[0-9]/,/[#$%^&*()+=\-[\]{};:'",.<>?~!@]/].filter(o=>o.test(e)).length>=n,S=e=>{const t=["ms","s","m","h"],n=[1e3,60,60];let s=0;for(;e>=n[s]&&s<n.length;)e/=n[s],s++;return s===0?`${e} ${t[s]}`:`${e.toFixed(e%1===0?0:2)} ${t[s]}`},p=(e,t="bytes")=>{const s=t.toLowerCase()==="bits"?["Bits","Kb","Mb","Gb","Tb"]:["Bytes","KB","MB","GB","TB"];let r=0;for(;e>=1e3&&r<s.length-1;)e/=1024,r++;const o=r===0||e>=100?0:2;return`${e.toFixed(o)} ${s[r]}`},f=e=>{const t=["bps","kbps","mbps","gbps","tbps"];let n=0;for(;e>=1e3&&n<t.length-1;)e/=1e3,n++;return`${e.toFixed(0)} ${t[n]}`},c=(e,t,n)=>Array.isArray(t)&&Array.isArray(n)?t.concat(n):typeof t=="object"&&typeof n=="object"?i(t,n,c):typeof t=="string"&&typeof n=="string"?[t,n].join(" "):n??t,i=(e,t,n=c)=>[...new Set([...Object.keys(e),...Object.keys(t)])].reduce((s,r)=>({...s,[r]:n(r,e[r],t[r])}),{}),$=e=>{const t=new Date(e),n=String(t.getDate()).padStart(2,"0"),s=String(t.getMonth()+1).padStart(2,"0"),r=t.getFullYear(),o=String(t.getHours()).padStart(2,"0"),a=String(t.getMinutes()).padStart(2,"0");return`${n}.${s}.${r} ${o}:${a}`},h=(e,t)=>(new Date(t).getTime()-new Date(e).getTime())/6e4;export{$ as a,f as b,l as c,i as d,S as e,p as f,d as g,h as m,u as r,g as v};
