"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const index = require("../../_virtual/index11.cjs");
const index$1 = require("../set-function-length/index.cjs");
const index$2 = require("../es-define-property/index.cjs");
const index$3 = require("../call-bind-apply-helpers/index.cjs");
const applyBind = require("../call-bind-apply-helpers/applyBind.cjs");
(function(module2) {
  var setFunctionLength = index$1.setFunctionLength;
  var $defineProperty = index$2.esDefineProperty;
  var callBindBasic = index$3.callBindApplyHelpers;
  var applyBind$1 = applyBind.applyBind;
  module2.exports = function callBind(originalFunction) {
    var func = callBindBasic(arguments);
    var adjustedLength = originalFunction.length - (arguments.length - 1);
    return setFunctionLength(
      func,
      1 + (adjustedLength > 0 ? adjustedLength : 0),
      true
    );
  };
  if ($defineProperty) {
    $defineProperty(module2.exports, "apply", { value: applyBind$1 });
  } else {
    module2.exports.apply = applyBind$1;
  }
})(index.__module);
var callBindExports = index.__module.exports;
exports.callBindExports = callBindExports;
//# sourceMappingURL=index.cjs.map
