import{S as l,a as f,d as c,x as m,y as _,z as g,A as d,B as p,C as x,D as y,E as A}from"./helpers.633a054c.js";import{a as P}from"./_getTag.6fb74b2e.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 U(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 b=w(function(n,r){return n==null?{}:B(n,r)});export{w as a,h as b,v as f,R as h,U as i,b as p};
