import{__exports as r}from"../../../_virtual/quick-sort2.mjs";var t;function n(){if(t)return r;function n(r,t,n){var o=r[t];r[t]=r[n],r[n]=o}function o(r,t,a,i){if(a<i){var u=a-1;n(r,(c=a,s=i,Math.round(c+Math.random()*(s-c))),i);for(var f=r[i],e=a;e<i;e++)t(r[e],f)<=0&&n(r,u+=1,e);n(r,u+1,e);var v=u+1;o(r,t,a,v-1),o(r,t,v+1,i)}var c,s}return t=1,r.quickSort=function(r,t){o(r,t,0,r.length-1)},r}export{n as __require};