import{S as h,g as d,m as g}from"./_Uint8Array-BGESiCQL.js";import{t as O}from"./isSymbol-BGkTcW3U.js";import{n as y}from"./toString-DlRqgfqz.js";import{t as b}from"./toInteger-Cl1doThW.js";import{c as j,d as w,u as x,y as P}from"./isArrayLikeObject-BkJc8lDE.js";import{m as M}from"./_baseIsEqual-BU8KB_Ip.js";import{a as S}from"./_baseUniq-qwHSJi3M.js";import{r as l}from"./_baseEach-DKvBKtvu.js";import{n as k}from"./hasIn-Dzwrcr75.js";import{t as A}from"./_baseMap-ypWFjvN8.js";var c=Object.prototype,C=c.hasOwnProperty,D=w(function(r,a){r=Object(r);var o=-1,i=a.length,t=i>2?a[2]:void 0;for(t&&x(a[0],a[1],t)&&(i=1);++o<i;)for(var u=a[o],n=j(u),v=-1,m=n.length;++v<m;){var f=n[v],s=r[f];(s===void 0||d(s,c[f])&&!C.call(r,f))&&(r[f]=u[f])}return r});function E(r){var a=r==null?0:r.length;return a?r[a-1]:void 0}var F=E;function I(r){return function(a,o,i){var t=Object(a);if(!g(a)){var u=l(o,3);a=M(a),o=function(v){return u(t[v],v,t)}}var n=r(a,o,i);return n>-1?t[u?a[n]:n]:void 0}}var L=I,N=Math.max;function T(r,a,o){var i=r==null?0:r.length;if(!i)return-1;var t=o==null?0:b(o);return t<0&&(t=N(i+t,0)),S(r,l(a,3),t)}var _=L(T);function q(r,a){return(h(r)?y:A)(r,l(a,3))}var z=q,B=Object.prototype.hasOwnProperty;function G(r,a){return r!=null&&B.call(r,a)}var H=G;function J(r,a){return r!=null&&k(r,a,H)}var K=J;function Q(r,a){return r<a}var p=Q;function R(r,a,o){for(var i=-1,t=r.length;++i<t;){var u=r[i],n=a(u);if(n!=null&&(v===void 0?n===n&&!O(n):o(n,v)))var v=n,m=u}return m}var e=R;function U(r){return r&&r.length?e(r,P,p):void 0}var V=U;export{z as a,D as c,K as i,e as n,_ as o,p as r,F as s,V as t};
