import{c as l,t as o,b as f,a as c}from"./_baseSet.a2dfaed5.js";import{o as _,p as g,a as p,d as m}from"./helpers.2304d5ee.js";function y(n,r){return n!=null&&r in Object(n)}function h(n,r,e){r=l(r,n);for(var t=-1,s=r.length,u=!1;++t<s;){var a=o(r[t]);if(!(u=n!=null&&e(n,a)))break;n=n[a]}return u||++t!=s?u:(s=n==null?0:n.length,!!s&&_(s)&&g(a,s)&&(p(n)||m(n)))}function d(n,r){return n!=null&&h(n,r,y)}function P(n,r,e){for(var t=-1,s=r.length,u={};++t<s;){var a=r[t],i=f(n,a);e(i,a)&&c(u,l(a,n),i)}return u}export{P as b,d as h};
