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