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