import{_ as i,a as _,b as d,c as o,i as m}from"./reduce-BFKSG9Rs.zv3q4g-a.js";import{O as b,L as v,P as c}from"./katex-D8o5-F7C.d_mIDReB.js";function p(a,r){var u=-1,e=v(a)?Array(a.length):[];return d(a,function(f,n,t){e[++u]=r(f,n,t)}),e}var y=p;function h(a,r){return(b(a)?i:y)(a,_(r))}var I=h;function L(a,r,u){for(var e=-1,f=a.length;++e<f;){var n=a[e],t=r(n);if(t!=null&&(l===void 0?t===t&&!m(t):u(t,l)))var l=t,s=n}return s}var g=L;function x(a,r){return a<r}var A=x;function E(a){return a&&a.length?g(a,c,A):void 0}var O=E;function M(a){return a!=null&&a.length?o(a,1):[]}var P=M;export{y as _,I as a,g as b,A as c,P as f,O as m};
