import{f as e,h as t,m as n}from"./identity-B3eK6bFK-BTSfj-Wx.js";import{i as r,n as i,o as a,u as o,x as s}from"./reduce-C8YmxejP-CDkTrop8.js";function c(e,n){var i=-1,a=t(e)?Array(e.length):[];return r(e,function(e,t,r){a[++i]=n(e,t,r)}),a}function l(e,t){return(n(e)?i:c)(e,o(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(t){return t&&t.length?u(t,e,d):void 0}function p(e){return e!=null&&e.length?a(e,1):[]}export{l as a,p as i,d as n,f as o,c as r,u as t};
//# sourceMappingURL=flatten-D2Jbxvro-mW5iyAIQ.js.map