vendor: 941 bytes, line 1
1import{he as b,hd as a,aL as M,hf as w,aK as A,hg as B,fn as C}from"./c-index-D0PNHfG-.js";import{b as L}from"./c-_baseMap-vQxfWueh.js";function k(r,n){var c=r.length;for(r.sort(n);c--;)r[c]=r[c].value;return r}function m(r,n){if(r!==n){var c=r!==void 0,u=r===null,g=r===r,i=b(r),f=n!==void 0,p=n===null,d=n===n,t=b(n);if(!p&&!t&&!i&&r>n||i&&f&&d&&!p&&!t||u&&f&&d||!c&&d||!g)return 1;if(!u&&!i&&!t&&r<n||t&&c&&g&&!u&&!i||p&&c&&g||!f&&g||!d)return-1}return 0}function G(r,n,c){for(var u=-1,g=r.criteria,i=n.criteria,f=g.length,p=c.length;++u<f;){var d=m(g[u],i[u]);if(d){if(u>=p)return d;var t=c[u];return d*(t=="desc"?-1:1)}}return r.index-n.index}function U(r,n,c){n.length?n=a(n,function(i){return M(i)?function(f){return w(f,i.length===1?i[0]:i)}:i}):n=[A];var u=-1;n=a(n,B(C));var g=L(r,function(i,f,p){var d=a(n,function(t){return t(i)});return{criteria:d,index:++u,value:i}});return k(g,function(i,f){return G(i,f,c)})}export{U as b};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.