import{c as l,t as o,b as f,a as c}from"./_baseSet.ifi8fiaf.js";import{m as _,n as g,b as m,e as p}from"./helpers.dyu2l85l.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)&&(m(n)||p(n)))}function P(n,r){return n!=null&&h(n,r,y)}function d(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{d as b,P as h};
