import{S as e,d as t,f as n,p as r,s as i,u as a}from"./_Uint8Array.DjkcCK1N.js";import{_ as o,t as s}from"./_getTag.-mRH5aCm.js";import{f as c,r as l,t as u}from"./_baseEach.DRw6djL6.js";var d=`[object Map]`,f=`[object Set]`,p=Object.prototype.hasOwnProperty;function m(c){if(c==null)return!0;if(r(c)&&(e(c)||typeof c==`string`||typeof c.splice==`function`||a(c)||i(c)||t(c)))return!c.length;var l=s(c);if(l==d||l==f)return!c.size;if(n(c))return!o(c).length;for(var u in c)if(p.call(c,u))return!1;return!0}function h(e,t,n,r,i){return i(e,function(e,i,a){n=r?(r=!1,e):t(n,e,i,a)}),n}function g(t,n,r){var i=e(t)?c:h,a=arguments.length<3;return i(t,l(n,4),r,a,u)}export{m as n,g as t};