import{c as f,t as h,b as _,a as p}from"./_baseSet.fcc45203.js";import{S as l,a as c,d as g,u as d,w as x,x as y,p as P}from"./helpers.80db7619.js";import{a as S}from"./_getTag.986c60ac.js";var o=l?l.isConcatSpreadable:void 0;function A(n){return c(n)||g(n)||!!(o&&n&&n[o])}function m(n,r,a,s,t){var i=-1,e=n.length;for(a||(a=A),t||(t=[]);++i<e;){var u=n[i];r>0&&a(u)?r>1?m(u,r-1,a,s,t):S(t,u):t[t.length]=u}return t}function v(n){var r=n==null?0:n.length;return r?m(n,1):[]}function w(n){return d(x(n,void 0,v),n+"")}function I(n,r){return n!=null&&r in Object(n)}function L(n,r,a){r=f(r,n);for(var s=-1,t=r.length,i=!1;++s<t;){var e=h(r[s]);if(!(i=n!=null&&a(n,e)))break;n=n[e]}return i||++s!=t?i:(t=n==null?0:n.length,!!t&&y(t)&&P(e,t)&&(c(n)||g(n)))}function R(n,r){return n!=null&&L(n,r,I)}function C(n){return n===void 0}function b(n,r,a){for(var s=-1,t=r.length,i={};++s<t;){var e=r[s],u=_(n,e);a(u,e)&&p(i,f(e,n),u)}return i}function k(n,r){return b(n,r,function(a,s){return R(n,s)})}var G=w(function(n,r){return n==null?{}:k(n,r)});export{w as a,m as b,v as f,R as h,C as i,G as p};
