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