import{g as f}from"./get-intrinsic@1.2.2-f0420bfa.js";import{f as $}from"./function-bind@1.1.2-fcf556ca.js";import{s as m}from"./set-function-length@1.1.1-87e1ee04.js";var s={exports:{}};(function(a){var t=$,r=f,n=m,d=r("%TypeError%"),i=r("%Function.prototype.apply%"),p=r("%Function.prototype.call%"),o=r("%Reflect.apply%",!0)||t.call(p,i),e=r("%Object.defineProperty%",!0),x=r("%Math.max%");if(e)try{e({},"a",{value:1})}catch{e=null}a.exports=function(u){if(typeof u!="function")throw new d("a function is required");var g=o(t,p,arguments);return n(g,1+x(0,u.length-(arguments.length-1)),!0)};var c=function(){return o(t,i,arguments)};e?e(a.exports,"apply",{value:c}):a.exports.apply=c})(s);var v=f,y=s.exports,B=y(v("String.prototype.indexOf")),O=function(t,r){var n=v(t,!!r);return typeof n=="function"&&B(t,".prototype.")>-1?y(n):n};export{O as c};
