import{__require as r}from"./descriptors.mjs";import{__require as e}from"./is-array.mjs";var t,n;function i(){if(n)return t;n=1;var i=r(),o=e(),a=TypeError,u=Object.getOwnPropertyDescriptor,s=i&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){return r instanceof TypeError}}();return t=s?function(r,e){if(o(r)&&!u(r,"length").writable)throw new a("Cannot set read only .length");return r.length=e}:function(r,e){return r.length=e}}export{i as __require};