import { __require as requireFunctionBind } from "../function-bind/index.js";
import { __require as requireType } from "../es-errors/type.js";
import { __require as requireFunctionCall } from "./functionCall.js";
import { __require as requireActualApply } from "./actualApply.js";
var callBindApplyHelpers;
var hasRequiredCallBindApplyHelpers;
function requireCallBindApplyHelpers() {
  if (hasRequiredCallBindApplyHelpers) return callBindApplyHelpers;
  hasRequiredCallBindApplyHelpers = 1;
  var bind = requireFunctionBind();
  var $TypeError = requireType();
  var $call = requireFunctionCall();
  var $actualApply = requireActualApply();
  callBindApplyHelpers = function callBindBasic(args) {
    if (args.length < 1 || typeof args[0] !== "function") {
      throw new $TypeError("a function is required");
    }
    return $actualApply(bind, $call, args);
  };
  return callBindApplyHelpers;
}
export {
  requireCallBindApplyHelpers as __require
};
