/* Socket Lib - Built with esbuild */
var u=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var m=(n,t)=>{for(var e in t)u(n,e,{get:t[e],enumerable:!0})},y=(n,t,e,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of d(t))!f.call(n,r)&&r!==e&&u(n,r,{get:()=>t[r],enumerable:!(o=l(t,r))||o.enumerable});return n};var g=n=>y(u({},"__esModule",{value:!0}),n);var x={};m(x,{arrayChunk:()=>j,arrayUnique:()=>p,isArray:()=>F,joinAnd:()=>k,joinOr:()=>w});module.exports=g(x);let s;function h(){return s===void 0&&(s=new Intl.ListFormat("en",{style:"long",type:"conjunction"})),s}let a;function T(){return a===void 0&&(a=new Intl.ListFormat("en",{style:"long",type:"disjunction"})),a}function j(n,t){const e=t??2;if(e<=0)throw new Error("Chunk size must be greater than 0");const{length:o}=n,r=Math.min(o,e),c=[];for(let i=0;i<o;i+=r)c.push(n.slice(i,i+r));return c}function p(n){return[...new Set(n)]}const F=Array.isArray;function k(n){return h().format(n)}function w(n){return T().format(n)}0&&(module.exports={arrayChunk,arrayUnique,isArray,joinAnd,joinOr});
//# sourceMappingURL=arrays.js.map
