import{a as m,d as b,e as d}from"./_baseUniq.CKRj1yn1.js";import{a as h,i as l}from"./_getAllKeys.DZaJc8Pt.js";import{v as o,x as g,y as p}from"./transform.B1W4q_4U.js";function M(n){var a=n==null?0:n.length;return a?m(n):[]}function v(n,a){var t=-1,s=o(n)?Array(n.length):[];return b(n,function(f,i,e){s[++t]=a(f,i,e)}),s}function k(n,a){var t=g(n)?h:v;return t(n,d(a))}function x(n,a){return n<a}function A(n,a,t){for(var s=-1,f=n.length;++s<f;){var i=n[s],e=a(i);if(e!=null&&(r===void 0?e===e&&!l(e):t(e,r)))var r=e,u=i}return u}function w(n){return n&&n.length?A(n,p,x):void 0}export{x as a,A as b,v as c,w as d,M as f,k as m};
