import{b,a as m}from"./_baseUniq-C7BtuOD4.js";import{aJ as h,aK as l,aL as d,aM as g,aN as o,aO as p}from"./index-DZgiecHp.js";function E(a){var n=a==null?0:a.length;return n?b(a):[]}function v(a,n){var s=-1,t=h(a)?Array(a.length):[];return m(a,function(f,i,e){t[++s]=n(f,i,e)}),t}function k(a,n){var s=g(a)?l:v;return s(a,d(n))}function x(a,n){return a<n}function A(a,n,s){for(var t=-1,f=a.length;++t<f;){var i=a[t],e=n(i);if(e!=null&&(r===void 0?e===e&&!o(e):s(e,r)))var r=e,u=i}return u}function w(a){return a&&a.length?A(a,p,x):void 0}export{x as a,A as b,v as c,w as d,E as f,k as m};
