var u=(r,t)=>r-t,l=(r,t)=>{if(r.length!==t.length)return!0;let n=r.slice().sort(u),o=t.slice().sort(u);for(let e=0;e<n.length;e+=1)if(n[e]!==o[e])return!0;return!1},s=(r,t)=>{let n=r.getBoundingClientRect(),o=n.width;if(o<=0)return 0;let e=t;return e-=n.left,e<=0?0:e>=o?1:(e/=o,e)};export{u as a,l as b,s as c};
