1import{h6 as b,h5 as a,aL as M,h7 as w,aK as A,h8 as B,fd as C}from"./c-index-C7aDQtMU.js";import{b as L}from"./c-_baseMap-Cu2k9MJB.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,t=r===r,i=b(r),f=n!==void 0,p=n===null,d=n===n,g=b(n);if(!p&&!g&&!i&&r>n||i&&f&&d&&!p&&!g||u&&f&&d||!c&&d||!t)return 1;if(!u&&!i&&!g&&r<n||g&&c&&t&&!u&&!i||p&&c&&t||!f&&t||!d)return-1}return 0}function G(r,n,c){for(var u=-1,t=r.criteria,i=n.criteria,f=t.length,p=c.length;++u<f;){var d=m(t[u],i[u]);if(d){if(u>=p)return d;var g=c[u];return d*(g=="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 t=L(r,function(i,f,p){var d=a(n,function(g){return g(i)});return{criteria:d,index:++u,value:i}});return k(t,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.