"use client";
function s(e, u) {
  e = e.slice();
  var t = 0, c = e.length - 1, l = e[t], f = e[c], r;
  return f < l && (r = t, t = c, c = r, r = l, l = f, f = r), e[t] = u.floor(l), e[c] = u.ceil(f), e;
}
export {
  s as default
};
