import{G as e,I as r,L as t,U as a,V as n,b as s,f as o,g as c,m as i,w as u,x as f,y as b}from"./isArrayLikeObject-BEnQnUJ1.js";var j=r(e,"WeakMap"),p=i(Object.keys,Object),w=Object.prototype.hasOwnProperty;function l(e){if(!f(e))return p(e);var r=[];for(var t in Object(e))w.call(e,t)&&"constructor"!=t&&r.push(t);return r}var v=r(e,"DataView"),y=r(e,"Promise"),O=r(e,"Set"),h="[object Map]",m="[object Promise]",g="[object Set]",k="[object WeakMap]",M="[object DataView]",P=t(v),S=t(o),V=t(y),x=t(O),A=t(j),D=a;(v&&D(new v(new ArrayBuffer(1)))!=M||o&&D(new o)!=h||y&&D(y.resolve())!=m||O&&D(new O)!=g||j&&D(new j)!=k)&&(D=function(e){var r=a(e),n="[object Object]"==r?e.constructor:void 0,s=n?t(n):"";if(s)switch(s){case P:return M;case S:return h;case V:return m;case x:return g;case A:return k}return r});var L=D,W=Object.prototype.hasOwnProperty;function d(e){if(null==e)return!0;if(u(e)&&(n(e)||"string"==typeof e||"function"==typeof e.splice||b(e)||c(e)||s(e)))return!e.length;var r=L(e);if("[object Map]"==r||"[object Set]"==r)return!e.size;if(f(e))return!l(e).length;for(var t in e)if(W.call(e,t))return!1;return!0}export{l as i,L as n,O as r,d as t};