import{S as O,m as d,n as x,x as w}from"./_Uint8Array-BGESiCQL.js";import{n as S,y as k}from"./isArrayLikeObject-BkJc8lDE.js";import{m as p,t as l}from"./_baseIsEqual-BU8KB_Ip.js";import{a as b,n as z,r as h,t as A}from"./get-6uJrSKbw.js";import{t as C}from"./hasIn-Dzwrcr75.js";import{t as D}from"./_baseProperty-DuoFhI7N.js";var E=1,F=2;function I(r,n,t,u){var a=t.length,f=a,i=!u;if(r==null)return!f;for(r=Object(r);a--;){var o=t[a];if(i&&o[2]?o[1]!==r[o[0]]:!(o[0]in r))return!1}for(;++a<f;){o=t[a];var v=o[0],c=r[v],e=o[1];if(i&&o[2]){if(c===void 0&&!(v in r))return!1}else{var s=new x;if(u)var m=u(c,e,v,r,n,s);if(!(m===void 0?l(e,c,E|F,u,s):m))return!1}}return!0}var L=I;function M(r){return r===r&&!w(r)}var j=M;function N(r){for(var n=p(r),t=n.length;t--;){var u=n[t],a=r[u];n[t]=[u,a,j(a)]}return n}var P=N;function R(r,n){return function(t){return t==null?!1:t[r]===n&&(n!==void 0||r in Object(t))}}var g=R;function T(r){var n=P(r);return n.length==1&&n[0][2]?g(n[0][0],n[0][1]):function(t){return t===r||L(t,r,n)}}var _=T,q=1,B=2;function G(r,n){return b(r)&&j(n)?g(h(r),n):function(t){var u=A(t,r);return u===void 0&&u===n?C(t,r):l(n,u,q|B)}}var H=G;function J(r){return function(n){return z(n,r)}}var K=J;function Q(r){return b(r)?D(h(r)):K(r)}var U=Q;function V(r){return typeof r=="function"?r:r==null?k:typeof r=="object"?O(r)?H(r[0],r[1]):_(r):U(r)}var W=V;function X(r,n){return r&&S(r,n,p)}var y=X;function Y(r,n){return function(t,u){if(t==null)return t;if(!d(t))return r(t,u);for(var a=t.length,f=n?a:-1,i=Object(t);(n?f--:++f<a)&&u(i[f],f,i)!==!1;);return t}}var Z=Y(y);export{y as n,W as r,Z as t};
