function n(n){return typeof n==="string"&&n.length>0?{"lu-color":true,[`lu-color-${n}`]:true}:undefined}function r(n,r){return r.closest(n)!==null}const t=n=>{if(n!==undefined){const r=Array.isArray(n)?n:n.split(" ");return r.filter((n=>n!=null)).map((n=>n.trim())).filter((n=>n!==""))}return[]};const u=n=>{const r={};t(n).forEach((n=>r[n]=true));return r};export{n as c,u as g,r as h};
//# sourceMappingURL=p-86bff9b3.js.map