function s(a, r) {
  return r = r == null ? a.length - 1 : +r, function() {
    for (var g = Math.max(arguments.length - r, 0), l = Array(g), e = 0; e < g; e++)
      l[e] = arguments[e + r];
    switch (r) {
      case 0:
        return a.call(this, l);
      case 1:
        return a.call(this, arguments[0], l);
      case 2:
        return a.call(this, arguments[0], arguments[1], l);
    }
    var u = Array(r + 1);
    for (e = 0; e < r; e++)
      u[e] = arguments[e];
    return u[r] = l, a.apply(this, u);
  };
}
export {
  s as default
};
//# sourceMappingURL=index.es120.js.map
