import{c as e,t,u as n}from"./1.65.0CUhUs_L.js";import{E as r,d as i,l as a,s as o,y as s}from"./12.65.0pHtk-yj.js";function c(t,n){var r=-1,i=e(t)?Array(t.length):[];return a(t,function(e,t,a){i[++r]=n(e,t,a)}),i}function l(e,t){return(n(e)?r:c)(e,i(t,3))}function u(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],o=t(a);if(o!=null&&(c===void 0?o===o&&!s(o):n(o,c)))var c=o,l=a}return l}function d(e,t){return e<t}function f(e){return e&&e.length?u(e,t,d):void 0}function p(e){return e!=null&&e.length?o(e,1):[]}export{l as a,u as i,f as n,c as o,d as r,p as t};