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