function o(n){return[...new Set(n)]}function f(n,e){return e===void 0&&(e=n,n=0),Array.from({length:e-n},(t,l)=>l+n)}function i(n,e,t){const l=e<0?n.length+e:e;if(l>=0&&l<n.length){const u=t<0?n.length+t:t,[c]=n.splice(e,1);n.splice(u,0,c)}}function h(n,e,t){return n=[...n],i(n,e,t),n}function g(n,e){return n.label<e.label?-1:n.label>e.label?1:0}function r(n,e){return Array.from({length:Math.ceil(n.length/e)},(t,l)=>n.slice(l*e,l*e+e))}export{h as a,r as b,g as c,f as r,o as u};